@fluid-topics/ft-search-facet 1.1.74 → 1.1.76

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,8 +1,8 @@
1
- "use strict";(()=>{var As=Object.create;var Kr=Object.defineProperty;var ws=Object.getOwnPropertyDescriptor;var Rs=Object.getOwnPropertyNames;var Ns=Object.getPrototypeOf,Ls=Object.prototype.hasOwnProperty;var ye=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var Is=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rs(t))!Ls.call(o,n)&&n!==r&&Kr(o,n,{get:()=>t[n],enumerable:!(i=ws(t,n))||i.enumerable});return o};var f=(o,t,r)=>(r=o!=null?As(Ns(o)):{},Is(t||!o||!o.__esModule?Kr(r,"default",{value:o,enumerable:!0}):r,o));var O=ye((dl,Zr)=>{Zr.exports=ftGlobals.wcUtils});var R=ye((fl,jr)=>{jr.exports=ftGlobals.lit});var G=ye((ul,qr)=>{qr.exports=ftGlobals.litDecorators});var rn=ye((Jd,on)=>{on.exports=ftGlobals.litRepeat});var We=ye((cf,vn)=>{vn.exports=ftGlobals.litClassMap});var Qn=ye((Xf,Xn)=>{Xn.exports=ftGlobals.litUnsafeHTML});var Fa=ye(Ua=>{(function(o){var t=function(r){var i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};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]"],l=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function c(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 u(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 b(d){this.map={},d instanceof b?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)}b.prototype.append=function(d,m){d=c(d),m=u(m);var C=this.map[d];this.map[d]=C?C+", "+m:m},b.prototype.delete=function(d){delete this.map[c(d)]},b.prototype.get=function(d){return d=c(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(c(d))},b.prototype.set=function(d,m){this.map[c(d)]=u(m)},b.prototype.forEach=function(d,m){for(var C in this.map)this.map.hasOwnProperty(C)&&d.call(m,this.map[C],C,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,C){d.push(C)}),h(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,C){d.push([C,m])}),h(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function v(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function N(d){return new Promise(function(m,C){d.onload=function(){m(d.result)},d.onerror=function(){C(d.error)}})}function w(d){var m=new FileReader,C=N(m);return m.readAsArrayBuffer(d),C}function I(d){var m=new FileReader,C=N(m);return m.readAsText(d),C}function M(d){for(var m=new Uint8Array(d),C=new Array(m.length),tt=0;tt<m.length;tt++)C[tt]=String.fromCharCode(m[tt]);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 F(){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)||l(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=v(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?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=v(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(J)}),this.json=function(){return this.text().then(JSON.parse)},this}var V=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function nt(d){var m=d.toUpperCase();return V.indexOf(m)>-1?m:d}function ct(d,m){m=m||{};var C=m.body;if(d instanceof ct){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(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 b(m.headers)),this.method=nt(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)}ct.prototype.clone=function(){return new ct(this,{body:this._bodyInit})};function J(d){var m=new FormData;return d.trim().split("&").forEach(function(C){if(C){var tt=C.split("="),at=tt.shift().replace(/\+/g," "),$=tt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(at),decodeURIComponent($))}}),m}function wo(d){var m=new b,C=d.replace(/\r?\n[\t ]+/g," ");return C.split(/\r?\n/).forEach(function(tt){var at=tt.split(":"),$=at.shift().trim();if($){var Ro=at.join(":").trim();m.append($,Ro)}}),m}F.call(ct.prototype);function Ct(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 b(m.headers),this.url=m.url||"",this._initBody(d)}F.call(Ct.prototype),Ct.prototype.clone=function(){return new Ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Ct.error=function(){var d=new Ct(null,{status:0,statusText:""});return d.type="error",d};var Gr=[301,302,303,307,308];Ct.redirect=function(d,m){if(Gr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Ct(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,C){this.message=m,this.name=C;var tt=Error(m);this.stack=tt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Te(d,m){return new Promise(function(C,tt){var at=new ct(d,m);if(at.signal&&at.signal.aborted)return tt(new r.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function Ro(){$.abort()}$.onload=function(){var no={status:$.status,statusText:$.statusText,headers:wo($.getAllResponseHeaders()||"")};no.url="responseURL"in $?$.responseURL:no.headers.get("X-Request-URL");var lr="response"in $?$.response:$.responseText;C(new Ct(lr,no))},$.onerror=function(){tt(new TypeError("Network request failed"))},$.ontimeout=function(){tt(new TypeError("Network request failed"))},$.onabort=function(){tt(new r.DOMException("Aborted","AbortError"))},$.open(at.method,at.url,!0),at.credentials==="include"?$.withCredentials=!0:at.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&i.blob&&($.responseType="blob"),at.headers.forEach(function(no,lr){$.setRequestHeader(lr,no)}),at.signal&&(at.signal.addEventListener("abort",Ro),$.onreadystatechange=function(){$.readyState===4&&at.signal.removeEventListener("abort",Ro)}),$.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return Te.polyfill=!0,o.fetch||(o.fetch=Te,o.Headers=b,o.Request=ct,o.Response=Ct),r.Headers=b,r.Request=ct,r.Response=Ct,r.fetch=Te,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ua)});var Es=f(O());var ro=f(R()),io=f(O()),Ie=f(G());var Yr=f(R()),hl={},Xr=Yr.css`
2
- `;var $r=f(O());var Re=f(R()),_=f(G()),kt=f(O());var en=f(O());var mr=globalThis,No=mr.trustedTypes,Qr=No?No.createPolicy("lit-html",{createHTML:o=>o}):void 0,ii="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,ni="?"+se,Ts=`<${ni}>`,xe=document,Lo=()=>xe.createComment(""),so=o=>o===null||typeof o!="object"&&typeof o!="function",ai=Array.isArray,Ps=o=>ai(o)||typeof o?.[Symbol.iterator]=="function",cr=`[
3
- \f\r]`,ao=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jr=/-->/g,ti=/>/g,ge=RegExp(`>|${cr}(?:([^\\s"'>=/]+)(${cr}*=${cr}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ei=/'/g,oi=/"/g,si=/^(?:script|style|textarea|title)$/i,li=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),ci=li(1),pi=li(2),lo=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ri=new WeakMap,be=xe.createTreeWalker(xe,129);function di(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qr!==void 0?Qr.createHTML(t):t}var ks=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",l=ao;for(let c=0;c<r;c++){let u=o[c],h,b,v=-1,N=0;for(;N<u.length&&(l.lastIndex=N,b=l.exec(u),b!==null);)N=l.lastIndex,l===ao?b[1]==="!--"?l=Jr:b[1]!==void 0?l=ti:b[2]!==void 0?(si.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=ge):b[3]!==void 0&&(l=ge):l===ge?b[0]===">"?(l=n??ao,v=-1):b[1]===void 0?v=-2:(v=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?ge:b[3]==='"'?oi:ei):l===oi||l===ei?l=ge:l===Jr||l===ti?l=ao:(l=ge,n=void 0);let w=l===ge&&o[c+1].startsWith("/>")?" ":"";a+=l===ao?u+Ts:v>=0?(i.push(h),u.slice(0,v)+ii+u.slice(v)+se+w):u+se+(v===-2?c:w)}return[di(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},co=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,c=t.length-1,u=this.parts,[h,b]=ks(t,r);if(this.el=o.createElement(h,i),be.currentNode=this.el.content,r===2){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=be.nextNode())!==null&&u.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let v of n.getAttributeNames())if(v.endsWith(ii)){let N=b[l++],w=n.getAttribute(v).split(se),I=/([.?@])?(.*)/.exec(N);u.push({type:1,index:a,name:I[2],strings:w,ctor:I[1]==="."?dr:I[1]==="?"?fr:I[1]==="@"?ur:ke}),n.removeAttribute(v)}else v.startsWith(se)&&(u.push({type:6,index:a}),n.removeAttribute(v));if(si.test(n.tagName)){let v=n.textContent.split(se),N=v.length-1;if(N>0){n.textContent=No?No.emptyScript:"";for(let w=0;w<N;w++)n.append(v[w],Lo()),be.nextNode(),u.push({type:2,index:++a});n.append(v[N],Lo())}}}else if(n.nodeType===8)if(n.data===ni)u.push({type:2,index:a});else{let v=-1;for(;(v=n.data.indexOf(se,v+1))!==-1;)u.push({type:7,index:a}),v+=se.length-1}a++}}static createElement(t,r){let i=xe.createElement("template");return i.innerHTML=t,i}};function Pe(o,t,r=o,i){if(t===lo)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=so(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=Pe(o,n._$AS(o,t.values),n,i)),t}var pr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??xe).importNode(r,!0);be.currentNode=n;let a=be.nextNode(),l=0,c=0,u=i[0];for(;u!==void 0;){if(l===u.index){let h;u.type===2?h=new Io(a,a.nextSibling,this,t):u.type===1?h=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(h=new hr(a,this,t)),this._$AV.push(h),u=i[++c]}l!==u?.index&&(a=be.nextNode(),l++)}return be.currentNode=xe,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Io=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Pe(this,t,r),so(t)?t===et||t==null||t===""?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==lo&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ps(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!==et&&so(this._$AH)?this._$AA.nextSibling.data=t:this.$(xe.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=co.createElement(di(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new pr(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(t){let r=ri.get(t.strings);return r===void 0&&ri.set(t.strings,r=new co(t)),r}T(t){ai(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(Lo()),this.k(Lo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,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=et}_$AI(t,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)t=Pe(this,t,r,0),l=!so(t)||t!==this._$AH&&t!==lo,l&&(this._$AH=t);else{let c=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=Pe(this,c[i+u],r,u),h===lo&&(h=this._$AH[u]),l||=!so(h)||h!==this._$AH[u],h===et?t=et:t!==et&&(t+=(h??"")+a[u+1]),this._$AH[u]=h}l&&!n&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dr=class extends ke{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},fr=class extends ke{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ur=class extends ke{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=Pe(this,t,r,0)??et)===lo)return;let i=this._$AH,n=t===et&&i!==et||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==et&&(i===et||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},hr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Pe(this,t)}};var $s=mr.litHtmlPolyfillSupport;$s?.(co,Io),(mr.litHtmlVersions??=[]).push("3.1.0");var ui=Symbol.for(""),_s=o=>{if(o?.r===ui)return o?._$litStatic$},yr=o=>({_$litStatic$:o,r:ui});var fi=new Map,hi=o=>(t,...r)=>{let i=r.length,n,a,l=[],c=[],u,h=0,b=!1;for(;h<i;){for(u=t[h];h<i&&(a=r[h],(n=_s(a))!==void 0);)u+=n+t[++h],b=!0;h!==i&&c.push(a),l.push(u),h++}if(h===i&&l.push(t[i]),b){let v=l.join("$$lit$$");(t=fi.get(v))===void 0&&(l.raw=l,fi.set(v,t=l)),r=c}return o(t,...r)},gr=hi(ci),bl=hi(pi);var br=f(G()),tn=f(O());var ve;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(ve||(ve={}));var It=f(R()),g=f(O());var qt=f(R(),1),le=o=>typeof o=="string"?(0,qt.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>le(c??n),l=qt.css`var(${le(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>qt.css`var(${le(t)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(t,r,i,n){let a=c=>i.get(c??n),l=qt.css`var(${le(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>qt.css`var(${le(t)}, ${a(c)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):le(a??t.lastResortDefaultValue()),n=qt.css`var(${le(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>qt.css`var(${le(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var s={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},mi={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},yi={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},gi={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},bi={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},xi={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},vi={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Si={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Oi={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ci={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Bs={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ei={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ai={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},wi={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pi={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ki={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},$i={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_i={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Bi={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Di={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ui={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Fi={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},To={display:mi,"title-1":yi,"title-2":gi,"title-3":bi,"body-1-regular":xi,"body-1-medium":vi,"body-1-semibold":Si,"body-2-regular":Oi,"body-2-medium":Ci,"body-2-medium-underline":Bs,"body-2-semibold":Ei,"label-1-medium":Ai,"label-1-semibold":wi,"label-1-bold":Ri,"label-2-medium":Ni,"label-2-semibold":Li,"label-2-bold":Ii,"caption-1-medium":Ti,"caption-1-semibold":Pi,"caption-1-bold":ki,"caption-2-medium":$i,"caption-2-semibold":_i,"caption-2-bold":Bi,"caption-3-medium":Di,"caption-3-semibold":Ui,"caption-3-bold":Fi};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var x={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:e.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing3),smallGap:e.extend("--ft-button-small-gap","",s.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Bl={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly)};var Ml={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentElementColor:e.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Kl={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Xl={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:e.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",s.borderRadiusM)};var oc={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var sc={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var fc={backgroundColor:e.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var gc={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Oc={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Rc={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Pc={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",s.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var Dc={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),labelHorizontalPadding:e.extend("--ft-tabs-label-horizontal-padding","",s.spacing4),labelVerticalPadding:e.extend("--ft-tabs-label-vertical-padding","",s.spacing3),labelGap:e.extend("--ft-tabs-label-gap","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-tabs-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-tabs-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-tabs-icon-vertical-padding","",s.spacing4),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Wc={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Zc={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:e.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Xc={color1Light:e.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",s.colorRed40),color5Base:e.extend("--ft-chart-5-base","",s.colorRed60),color6Light:e.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",s.colorGray50),color10Base:e.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var op={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",s.spacing2),largeGap:e.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",s.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",s.spacing05),smallGap:e.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var ap={infoBorderColor:e.extend("--ft-border-info-border-color","",p.borderInfoSubtle)};var dp={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-notice-vertical-padding","",s.spacing1),borderRadius:e.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:e.extend("--ft-notice-gap","",s.spacing2),iconSize:e.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var yp={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",s.spacing3)};var Sp={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",s.spacing3)};var wp={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",s.spacing3)};var Tp={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",s.spacing8)};var Bp={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:e.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",s.spacing05)};var Po=f(R());function zi(o){let t=To[o];return Po.css`
1
+ "use strict";(()=>{var As=Object.create;var Kr=Object.defineProperty;var ws=Object.getOwnPropertyDescriptor;var Rs=Object.getOwnPropertyNames;var Ns=Object.getPrototypeOf,Ls=Object.prototype.hasOwnProperty;var ge=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var Is=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rs(t))!Ls.call(o,n)&&n!==r&&Kr(o,n,{get:()=>t[n],enumerable:!(i=ws(t,n))||i.enumerable});return o};var f=(o,t,r)=>(r=o!=null?As(Ns(o)):{},Is(t||!o||!o.__esModule?Kr(r,"default",{value:o,enumerable:!0}):r,o));var O=ge((dl,Zr)=>{Zr.exports=ftGlobals.wcUtils});var R=ge((fl,jr)=>{jr.exports=ftGlobals.lit});var V=ge((ul,qr)=>{qr.exports=ftGlobals.litDecorators});var rn=ge((sf,on)=>{on.exports=ftGlobals.litRepeat});var He=ge((yf,vn)=>{vn.exports=ftGlobals.litClassMap});var Qn=ge((iu,Xn)=>{Xn.exports=ftGlobals.litUnsafeHTML});var Fa=ge(Ua=>{(function(o){var t=function(r){var i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};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]"],l=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 u(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 b(d){this.map={},d instanceof b?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)}b.prototype.append=function(d,m){d=p(d),m=u(m);var C=this.map[d];this.map[d]=C?C+", "+m:m},b.prototype.delete=function(d){delete this.map[p(d)]},b.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},b.prototype.set=function(d,m){this.map[p(d)]=u(m)},b.prototype.forEach=function(d,m){for(var C in this.map)this.map.hasOwnProperty(C)&&d.call(m,this.map[C],C,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,C){d.push(C)}),h(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,C){d.push([C,m])}),h(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function v(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function N(d){return new Promise(function(m,C){d.onload=function(){m(d.result)},d.onerror=function(){C(d.error)}})}function w(d){var m=new FileReader,C=N(m);return m.readAsArrayBuffer(d),C}function I(d){var m=new FileReader,C=N(m);return m.readAsText(d),C}function M(d){for(var m=new Uint8Array(d),C=new Array(m.length),tt=0;tt<m.length;tt++)C[tt]=String.fromCharCode(m[tt]);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 F(){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)||l(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=v(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?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=v(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(J)}),this.json=function(){return this.text().then(JSON.parse)},this}var G=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function nt(d){var m=d.toUpperCase();return G.indexOf(m)>-1?m:d}function ct(d,m){m=m||{};var C=m.body;if(d instanceof ct){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(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 b(m.headers)),this.method=nt(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)}ct.prototype.clone=function(){return new ct(this,{body:this._bodyInit})};function J(d){var m=new FormData;return d.trim().split("&").forEach(function(C){if(C){var tt=C.split("="),at=tt.shift().replace(/\+/g," "),$=tt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(at),decodeURIComponent($))}}),m}function wo(d){var m=new b,C=d.replace(/\r?\n[\t ]+/g," ");return C.split(/\r?\n/).forEach(function(tt){var at=tt.split(":"),$=at.shift().trim();if($){var Ro=at.join(":").trim();m.append($,Ro)}}),m}F.call(ct.prototype);function Ct(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 b(m.headers),this.url=m.url||"",this._initBody(d)}F.call(Ct.prototype),Ct.prototype.clone=function(){return new Ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Ct.error=function(){var d=new Ct(null,{status:0,statusText:""});return d.type="error",d};var Vr=[301,302,303,307,308];Ct.redirect=function(d,m){if(Vr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Ct(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,C){this.message=m,this.name=C;var tt=Error(m);this.stack=tt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Pe(d,m){return new Promise(function(C,tt){var at=new ct(d,m);if(at.signal&&at.signal.aborted)return tt(new r.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function Ro(){$.abort()}$.onload=function(){var ao={status:$.status,statusText:$.statusText,headers:wo($.getAllResponseHeaders()||"")};ao.url="responseURL"in $?$.responseURL:ao.headers.get("X-Request-URL");var lr="response"in $?$.response:$.responseText;C(new Ct(lr,ao))},$.onerror=function(){tt(new TypeError("Network request failed"))},$.ontimeout=function(){tt(new TypeError("Network request failed"))},$.onabort=function(){tt(new r.DOMException("Aborted","AbortError"))},$.open(at.method,at.url,!0),at.credentials==="include"?$.withCredentials=!0:at.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&i.blob&&($.responseType="blob"),at.headers.forEach(function(ao,lr){$.setRequestHeader(lr,ao)}),at.signal&&(at.signal.addEventListener("abort",Ro),$.onreadystatechange=function(){$.readyState===4&&at.signal.removeEventListener("abort",Ro)}),$.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return Pe.polyfill=!0,o.fetch||(o.fetch=Pe,o.Headers=b,o.Request=ct,o.Response=Ct),r.Headers=b,r.Request=ct,r.Response=Ct,r.fetch=Pe,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ua)});var Es=f(O());var io=f(R()),no=f(O()),Te=f(V());var Yr=f(R()),hl={},Xr=Yr.css`
2
+ `;var $r=f(O());var Ne=f(R()),_=f(V()),$t=f(O());var en=f(O());var mr=globalThis,No=mr.trustedTypes,Qr=No?No.createPolicy("lit-html",{createHTML:o=>o}):void 0,ii="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,ni="?"+le,Ts=`<${ni}>`,ve=document,Lo=()=>ve.createComment(""),lo=o=>o===null||typeof o!="object"&&typeof o!="function",ai=Array.isArray,Ps=o=>ai(o)||typeof o?.[Symbol.iterator]=="function",cr=`[
3
+ \f\r]`,so=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jr=/-->/g,ti=/>/g,be=RegExp(`>|${cr}(?:([^\\s"'>=/]+)(${cr}*=${cr}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ei=/'/g,oi=/"/g,si=/^(?:script|style|textarea|title)$/i,li=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),ci=li(1),pi=li(2),co=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ri=new WeakMap,xe=ve.createTreeWalker(ve,129);function di(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qr!==void 0?Qr.createHTML(t):t}var ks=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",l=so;for(let p=0;p<r;p++){let u=o[p],h,b,v=-1,N=0;for(;N<u.length&&(l.lastIndex=N,b=l.exec(u),b!==null);)N=l.lastIndex,l===so?b[1]==="!--"?l=Jr:b[1]!==void 0?l=ti:b[2]!==void 0?(si.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=be):b[3]!==void 0&&(l=be):l===be?b[0]===">"?(l=n??so,v=-1):b[1]===void 0?v=-2:(v=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?be:b[3]==='"'?oi:ei):l===oi||l===ei?l=be:l===Jr||l===ti?l=so:(l=be,n=void 0);let w=l===be&&o[p+1].startsWith("/>")?" ":"";a+=l===so?u+Ts:v>=0?(i.push(h),u.slice(0,v)+ii+u.slice(v)+le+w):u+le+(v===-2?p:w)}return[di(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},po=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,p=t.length-1,u=this.parts,[h,b]=ks(t,r);if(this.el=o.createElement(h,i),xe.currentNode=this.el.content,r===2){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=xe.nextNode())!==null&&u.length<p;){if(n.nodeType===1){if(n.hasAttributes())for(let v of n.getAttributeNames())if(v.endsWith(ii)){let N=b[l++],w=n.getAttribute(v).split(le),I=/([.?@])?(.*)/.exec(N);u.push({type:1,index:a,name:I[2],strings:w,ctor:I[1]==="."?dr:I[1]==="?"?fr:I[1]==="@"?ur:$e}),n.removeAttribute(v)}else v.startsWith(le)&&(u.push({type:6,index:a}),n.removeAttribute(v));if(si.test(n.tagName)){let v=n.textContent.split(le),N=v.length-1;if(N>0){n.textContent=No?No.emptyScript:"";for(let w=0;w<N;w++)n.append(v[w],Lo()),xe.nextNode(),u.push({type:2,index:++a});n.append(v[N],Lo())}}}else if(n.nodeType===8)if(n.data===ni)u.push({type:2,index:a});else{let v=-1;for(;(v=n.data.indexOf(le,v+1))!==-1;)u.push({type:7,index:a}),v+=le.length-1}a++}}static createElement(t,r){let i=ve.createElement("template");return i.innerHTML=t,i}};function ke(o,t,r=o,i){if(t===co)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=lo(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=ke(o,n._$AS(o,t.values),n,i)),t}var pr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??ve).importNode(r,!0);xe.currentNode=n;let a=xe.nextNode(),l=0,p=0,u=i[0];for(;u!==void 0;){if(l===u.index){let h;u.type===2?h=new Io(a,a.nextSibling,this,t):u.type===1?h=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(h=new hr(a,this,t)),this._$AV.push(h),u=i[++p]}l!==u?.index&&(a=xe.nextNode(),l++)}return xe.currentNode=ve,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Io=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ke(this,t,r),lo(t)?t===et||t==null||t===""?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==co&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ps(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!==et&&lo(this._$AH)?this._$AA.nextSibling.data=t:this.$(ve.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=po.createElement(di(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new pr(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(t){let r=ri.get(t.strings);return r===void 0&&ri.set(t.strings,r=new po(t)),r}T(t){ai(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(Lo()),this.k(Lo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,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=et}_$AI(t,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)t=ke(this,t,r,0),l=!lo(t)||t!==this._$AH&&t!==co,l&&(this._$AH=t);else{let p=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=ke(this,p[i+u],r,u),h===co&&(h=this._$AH[u]),l||=!lo(h)||h!==this._$AH[u],h===et?t=et:t!==et&&(t+=(h??"")+a[u+1]),this._$AH[u]=h}l&&!n&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dr=class extends $e{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},fr=class extends $e{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ur=class extends $e{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=ke(this,t,r,0)??et)===co)return;let i=this._$AH,n=t===et&&i!==et||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==et&&(i===et||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},hr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ke(this,t)}};var $s=mr.litHtmlPolyfillSupport;$s?.(po,Io),(mr.litHtmlVersions??=[]).push("3.1.0");var ui=Symbol.for(""),_s=o=>{if(o?.r===ui)return o?._$litStatic$},yr=o=>({_$litStatic$:o,r:ui});var fi=new Map,hi=o=>(t,...r)=>{let i=r.length,n,a,l=[],p=[],u,h=0,b=!1;for(;h<i;){for(u=t[h];h<i&&(a=r[h],(n=_s(a))!==void 0);)u+=n+t[++h],b=!0;h!==i&&p.push(a),l.push(u),h++}if(h===i&&l.push(t[i]),b){let v=l.join("$$lit$$");(t=fi.get(v))===void 0&&(l.raw=l,fi.set(v,t=l)),r=p}return o(t,...r)},gr=hi(ci),bl=hi(pi);var br=f(V()),tn=f(O());var Se;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Se||(Se={}));var Tt=f(R()),g=f(O());var qt=f(R(),1),ce=o=>typeof o=="string"?(0,qt.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=p=>ce(p??n),l=qt.css`var(${ce(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>qt.css`var(${ce(t)}, ${a(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(t,r,i,n){let a=p=>i.get(p??n),l=qt.css`var(${ce(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>qt.css`var(${ce(t)}, ${a(p)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):ce(a??t.lastResortDefaultValue()),n=qt.css`var(${ce(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>qt.css`var(${ce(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var s={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},mi={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},yi={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},gi={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},bi={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},xi={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},vi={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Si={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Oi={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ci={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Bs={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ei={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ai={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},wi={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pi={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ki={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},$i={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_i={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Bi={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Di={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ui={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Fi={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},To={display:mi,"title-1":yi,"title-2":gi,"title-3":bi,"body-1-regular":xi,"body-1-medium":vi,"body-1-semibold":Si,"body-2-regular":Oi,"body-2-medium":Ci,"body-2-medium-underline":Bs,"body-2-semibold":Ei,"label-1-medium":Ai,"label-1-semibold":wi,"label-1-bold":Ri,"label-2-medium":Ni,"label-2-semibold":Li,"label-2-bold":Ii,"caption-1-medium":Ti,"caption-1-semibold":Pi,"caption-1-bold":ki,"caption-2-medium":$i,"caption-2-semibold":_i,"caption-2-bold":Bi,"caption-3-medium":Di,"caption-3-semibold":Ui,"caption-3-bold":Fi};var c={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var x={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:e.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing3),smallGap:e.extend("--ft-button-small-gap","",s.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Bl={focusOpacity:e.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",c.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",c.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",c.contentInfoPrimary)};var Ml={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var Kl={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:e.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",c.contentActionPrimary)};var Xl={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var oc={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var sc={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:e.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",s.borderRadiusM)};var fc={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var gc={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Oc={backgroundColor:e.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Rc={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var Pc={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Dc={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Wc={backgroundColor:e.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),iconColor:e.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",s.iconSize2),titleColor:e.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:e.extend("--ft-popover-gap","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var Zc={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Qc={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:e.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",s.iconSize3)};var rp={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:e.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var sp={color1Light:e.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",s.colorRed40),color5Base:e.extend("--ft-chart-5-base","",s.colorRed60),color6Light:e.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",s.colorGray50),color10Base:e.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var fp={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",s.spacing2),largeGap:e.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",s.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",s.spacing05),smallGap:e.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var gp={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:e.extend("--ft-notice-gap","",s.spacing2),iconSize:e.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var Op={color:e.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",s.spacing3)};var Rp={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:e.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",s.spacing3)};var Pp={color:e.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",s.spacing3)};var Dp={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",s.spacing8)};var Wp={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:e.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:e.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",s.spacing05)};var Po=f(R());function zi(o){let t=To[o];return Po.css`
6
6
  .ft-typography--${(0,Po.unsafeCSS)(o)} {
7
7
  font-family: ${t.fontFamily};
8
8
  font-size: ${t.fontSize};
@@ -11,17 +11,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
11
11
  line-height: ${t.lineHeight};
12
12
  text-transform: ${t.textCase};
13
13
  }
14
- `}var Mi=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),Yt=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),S={fontFamily:Yt,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},$e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Mi),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},_e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Mi),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},Be={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},De={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},Ue={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},Et={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},Fe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},ze={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},Me={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},Wt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Wi=It.css`
14
+ `}var Mi=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),Yt=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),S={fontFamily:Yt,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},_e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Mi),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},Be={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Mi),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},De={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},Ue={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},Fe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},Et={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},ze={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},Me={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},We={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},Ht={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Yt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Wi=Tt.css`
15
15
  .ft-typography--title {
16
- font-family: ${$e.fontFamily};
17
- font-size: ${$e.fontSize};
18
- font-weight: ${$e.fontWeight};
19
- letter-spacing: ${$e.letterSpacing};
20
- line-height: ${$e.lineHeight};
21
- text-transform: ${$e.textTransform};
22
- }
23
- `,Hi=It.css`
24
- .ft-typography--title-dense {
25
16
  font-family: ${_e.fontFamily};
26
17
  font-size: ${_e.fontSize};
27
18
  font-weight: ${_e.fontWeight};
@@ -29,8 +20,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
29
20
  line-height: ${_e.lineHeight};
30
21
  text-transform: ${_e.textTransform};
31
22
  }
32
- `,Vi=It.css`
33
- .ft-typography--subtitle1 {
23
+ `,Hi=Tt.css`
24
+ .ft-typography--title-dense {
34
25
  font-family: ${Be.fontFamily};
35
26
  font-size: ${Be.fontSize};
36
27
  font-weight: ${Be.fontWeight};
@@ -38,8 +29,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
38
29
  line-height: ${Be.lineHeight};
39
30
  text-transform: ${Be.textTransform};
40
31
  }
41
- `,Gi=It.css`
42
- .ft-typography--subtitle2 {
32
+ `,Gi=Tt.css`
33
+ .ft-typography--subtitle1 {
43
34
  font-family: ${De.fontFamily};
44
35
  font-size: ${De.fontSize};
45
36
  font-weight: ${De.fontWeight};
@@ -47,9 +38,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
47
38
  line-height: ${De.lineHeight};
48
39
  text-transform: ${De.textTransform};
49
40
  }
50
-
51
- `,Ki=It.css`
52
- .ft-typography--body1 {
41
+ `,Vi=Tt.css`
42
+ .ft-typography--subtitle2 {
53
43
  font-family: ${Ue.fontFamily};
54
44
  font-size: ${Ue.fontSize};
55
45
  font-weight: ${Ue.fontWeight};
@@ -57,7 +47,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
57
47
  line-height: ${Ue.lineHeight};
58
48
  text-transform: ${Ue.textTransform};
59
49
  }
60
- `,Zi=It.css`
50
+
51
+ `,Ki=Tt.css`
52
+ .ft-typography--body1 {
53
+ font-family: ${Fe.fontFamily};
54
+ font-size: ${Fe.fontSize};
55
+ font-weight: ${Fe.fontWeight};
56
+ letter-spacing: ${Fe.letterSpacing};
57
+ line-height: ${Fe.lineHeight};
58
+ text-transform: ${Fe.textTransform};
59
+ }
60
+ `,Zi=Tt.css`
61
61
  .ft-typography--body2 {
62
62
  font-family: ${Et.fontFamily};
63
63
  font-size: ${Et.fontSize};
@@ -66,17 +66,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
66
66
  line-height: ${Et.lineHeight};
67
67
  text-transform: ${Et.textTransform};
68
68
  }
69
- `,ko=It.css`
69
+ `,ko=Tt.css`
70
70
  .ft-typography--caption {
71
- font-family: ${Fe.fontFamily};
72
- font-size: ${Fe.fontSize};
73
- font-weight: ${Fe.fontWeight};
74
- letter-spacing: ${Fe.letterSpacing};
75
- line-height: ${Fe.lineHeight};
76
- text-transform: ${Fe.textTransform};
77
- }
78
- `,ji=It.css`
79
- .ft-typography--breadcrumb {
80
71
  font-family: ${ze.fontFamily};
81
72
  font-size: ${ze.fontSize};
82
73
  font-weight: ${ze.fontWeight};
@@ -84,8 +75,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
84
75
  line-height: ${ze.lineHeight};
85
76
  text-transform: ${ze.textTransform};
86
77
  }
87
- `,qi=It.css`
88
- .ft-typography--overline {
78
+ `,ji=Tt.css`
79
+ .ft-typography--breadcrumb {
89
80
  font-family: ${Me.fontFamily};
90
81
  font-size: ${Me.fontSize};
91
82
  font-weight: ${Me.fontWeight};
@@ -93,20 +84,29 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
93
84
  line-height: ${Me.lineHeight};
94
85
  text-transform: ${Me.textTransform};
95
86
  }
96
- `,Yi=It.css`
87
+ `,qi=Tt.css`
88
+ .ft-typography--overline {
89
+ font-family: ${We.fontFamily};
90
+ font-size: ${We.fontSize};
91
+ font-weight: ${We.fontWeight};
92
+ letter-spacing: ${We.letterSpacing};
93
+ line-height: ${We.lineHeight};
94
+ text-transform: ${We.textTransform};
95
+ }
96
+ `,Yi=Tt.css`
97
97
  .ft-typography--button {
98
- font-family: ${Wt.fontFamily};
99
- font-size: ${Wt.fontSize};
100
- font-weight: ${Wt.fontWeight};
101
- letter-spacing: ${Wt.letterSpacing};
102
- line-height: ${Wt.lineHeight};
103
- text-transform: ${Wt.textTransform};
104
- }
105
- `,Xi=It.css`
98
+ font-family: ${Ht.fontFamily};
99
+ font-size: ${Ht.fontSize};
100
+ font-weight: ${Ht.fontWeight};
101
+ letter-spacing: ${Ht.letterSpacing};
102
+ line-height: ${Ht.lineHeight};
103
+ text-transform: ${Ht.textTransform};
104
+ }
105
+ `,Xi=Tt.css`
106
106
  .ft-typography {
107
107
  vertical-align: inherit;
108
108
  }
109
- `,Qi=[Object.keys(To).map(o=>zi(o))];var Ji=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},K=class extends tn.FtLitElement{constructor(){super(...arguments),this.variant=ve.body1}render(){return this.element?gr`
109
+ `,Qi=[Object.keys(To).map(o=>zi(o))];var Ji=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},K=class extends tn.FtLitElement{constructor(){super(...arguments),this.variant=Se.body1}render(){return this.element?gr`
110
110
  <${yr(this.element)}
111
111
  part="text"
112
112
  class="ft-typography ft-typography--${this.variant}">
@@ -114,7 +114,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
114
114
  </${yr(this.element)}>
115
115
  `:gr`
116
116
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
117
- `}};K.styles=[Wi,Hi,Vi,Gi,Ki,Zi,ko,ji,qi,Yi,Xi,...Qi];Ji([(0,br.property)()],K.prototype,"element",void 0);Ji([(0,br.property)()],K.prototype,"variant",void 0);(0,en.customElement)("ft-typography")(K);var Nt=f(R()),ot=f(G()),Ra=f(rn()),Go=f(O());var Ir=f(O());var vo=f(G()),aa=f(O());var bn=f(R()),A=f(O());var pn=f(R()),Y=f(O()),nn=Y.FtCssVariableFactory.extend("--ft-ripple-color","",Y.designSystemVariables.colorContent),T={color:nn,backgroundColor:Y.FtCssVariableFactory.extend("--ft-ripple-background-color","",nn),opacityContentOnSurfacePressed:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Y.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},an=Y.FtCssVariableFactory.extend("--ft-ripple-color","",Y.designSystemVariables.colorPrimary),sn={color:an,backgroundColor:Y.FtCssVariableFactory.extend("--ft-ripple-background-color","",an)},ln=Y.FtCssVariableFactory.extend("--ft-ripple-color","",Y.designSystemVariables.colorSecondary),cn={color:ln,backgroundColor:Y.FtCssVariableFactory.extend("--ft-ripple-background-color","",ln)},dn=pn.css`
117
+ `}};K.styles=[Wi,Hi,Gi,Vi,Ki,Zi,ko,ji,qi,Yi,Xi,...Qi];Ji([(0,br.property)()],K.prototype,"element",void 0);Ji([(0,br.property)()],K.prototype,"variant",void 0);(0,en.customElement)("ft-typography")(K);var Lt=f(R()),ot=f(V()),Ra=f(rn()),Vo=f(O());var Ir=f(O());var So=f(V()),aa=f(O());var bn=f(R()),A=f(O());var pn=f(R()),Y=f(O()),nn=Y.FtCssVariableFactory.extend("--ft-ripple-color","",Y.designSystemVariables.colorContent),T={color:nn,backgroundColor:Y.FtCssVariableFactory.extend("--ft-ripple-background-color","",nn),opacityContentOnSurfacePressed:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Y.FtCssVariableFactory.external(Y.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Y.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},an=Y.FtCssVariableFactory.extend("--ft-ripple-color","",Y.designSystemVariables.colorPrimary),sn={color:an,backgroundColor:Y.FtCssVariableFactory.extend("--ft-ripple-background-color","",an)},ln=Y.FtCssVariableFactory.extend("--ft-ripple-color","",Y.designSystemVariables.colorSecondary),cn={color:ln,backgroundColor:Y.FtCssVariableFactory.extend("--ft-ripple-background-color","",ln)},dn=pn.css`
118
118
  :host {
119
119
  display: contents;
120
120
  }
@@ -226,7 +226,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
226
226
  opacity: ${T.opacityContentOnSurfacePressed};
227
227
  transform: translate(-50%, -50%) scale(1);
228
228
  }
229
- `;var fn=f(R()),po=f(O()),yt={color:po.FtCssVariableFactory.extend("--ft-loader-color","",po.designSystemVariables.colorPrimary),size:po.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},un=fn.css`
229
+ `;var fn=f(R()),fo=f(O()),yt={color:fo.FtCssVariableFactory.extend("--ft-loader-color","",fo.designSystemVariables.colorPrimary),size:fo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},un=fn.css`
230
230
  :host {
231
231
  line-height: 0;
232
232
  }
@@ -343,7 +343,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
343
343
  .ft-icon--material {
344
344
  font-family: ${gt.materialFontFamily}, "Material Icons", sans-serif;
345
345
  }
346
- `;var yn=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),B={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:yn,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",Wt.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",yn),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},gn=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),xr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:gn,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",gn)},Ht={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},xn=[bn.css`
346
+ `;var yn=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),B={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:yn,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",Ht.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",yn),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},gn=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),xr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:gn,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",gn)},Gt={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},xn=[bn.css`
347
347
  :host {
348
348
  display: inline-block;
349
349
  max-width: 100%;
@@ -401,13 +401,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
401
401
  }
402
402
 
403
403
  .ft-button.ft-button--dense {
404
- padding: ${Ht.verticalPadding} ${Ht.horizontalPadding};
405
- border-radius: ${Ht.borderRadius};
406
- gap: ${Ht.iconPadding};
404
+ padding: ${Gt.verticalPadding} ${Gt.horizontalPadding};
405
+ border-radius: ${Gt.borderRadius};
406
+ gap: ${Gt.iconPadding};
407
407
  }
408
408
 
409
409
  .ft-button.ft-button--dense.ft-button--outlined {
410
- padding: calc(${Ht.verticalPadding} - 1px) calc(${Ht.horizontalPadding} - 1px);
410
+ padding: calc(${Gt.verticalPadding} - 1px) calc(${Gt.horizontalPadding} - 1px);
411
411
  }
412
412
 
413
413
  .ft-button:not([disabled]):hover {
@@ -419,7 +419,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
419
419
  }
420
420
 
421
421
  .ft-button--round.ft-button--dense {
422
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ht.verticalPadding});
422
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gt.verticalPadding});
423
423
  }
424
424
 
425
425
  .ft-button[disabled] {
@@ -444,12 +444,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
444
444
  text-overflow: ellipsis;
445
445
  display: block;
446
446
  margin: 0 ${B.iconPadding};
447
- ${(0,A.setVariable)(Wt.fontSize,"1em")};
448
- ${(0,A.setVariable)(Wt.lineHeight,"var(--ft-button-internal-line-height)")};
447
+ ${(0,A.setVariable)(Ht.fontSize,"1em")};
448
+ ${(0,A.setVariable)(Ht.lineHeight,"var(--ft-button-internal-line-height)")};
449
449
  }
450
450
 
451
451
  .ft-button--dense .ft-button--label {
452
- margin: 0 ${Ht.iconPadding};
452
+ margin: 0 ${Gt.iconPadding};
453
453
  }
454
454
 
455
455
  .ft-button--label[hidden] {
@@ -467,8 +467,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
467
467
  }
468
468
 
469
469
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
470
- margin: 0 calc(${Ht.horizontalPadding} * -1);
471
- padding: 0 ${Ht.verticalPadding};
470
+ margin: 0 calc(${Gt.horizontalPadding} * -1);
471
+ padding: 0 ${Gt.verticalPadding};
472
472
  }
473
473
 
474
474
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -479,7 +479,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
479
479
  ${(0,A.setVariable)(yt.size,B.iconSize)};
480
480
  ${(0,A.setVariable)(yt.color,"var(--ft-button-internal-color)")};
481
481
  }
482
- `,A.noTextSelect];var je=f(O());var Cn=f(O());var Sn=f(R()),st=f(G()),On=f(We()),fo=f(O());var bt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},k=class extends fo.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 fo.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new fo.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:n,y:a}=this.getCoordinates(t),l=(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-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.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(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 Sn.html`
482
+ `,A.noTextSelect];var qe=f(O());var Cn=f(O());var Sn=f(R()),st=f(V()),On=f(He()),uo=f(O());var bt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},k=class extends uo.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 uo.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new uo.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:n,y:a}=this.getCoordinates(t),l=(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-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.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(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 Sn.html`
483
483
  <style>
484
484
  .ft-ripple .ft-ripple--effect {
485
485
  left: ${this.originX}px;
@@ -490,7 +490,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
490
490
  <div class="ft-ripple--background"></div>
491
491
  <div class="ft-ripple--effect"></div>
492
492
  </div>
493
- `}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 r,i;super.update(t),t.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 t,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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");let r=(...c)=>u=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(u)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",i,l),t.addEventListener("touchstart",n,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",a,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",i,l),t.removeEventListener("touchstart",n,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",a,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.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()}};k.elementDefinitions={};k.styles=dn;bt([(0,st.property)({type:Boolean})],k.prototype,"primary",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"secondary",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"unbounded",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"activated",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"selected",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"disabled",void 0);bt([(0,st.state)()],k.prototype,"hovered",void 0);bt([(0,st.state)()],k.prototype,"focused",void 0);bt([(0,st.state)()],k.prototype,"pressed",void 0);bt([(0,st.state)()],k.prototype,"rippling",void 0);bt([(0,st.state)()],k.prototype,"originX",void 0);bt([(0,st.state)()],k.prototype,"originY",void 0);bt([(0,st.query)(".ft-ripple")],k.prototype,"ripple",void 0);bt([(0,st.query)(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0);(0,Cn.customElement)("ft-ripple")(k);var Yn=f(O());var qn=f(R()),Q=f(G()),bo=f(O());var En=f(R()),Qt=f(O()),He={distance:Qt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qt.FtCssVariableFactory.external(Qt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Qt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},An=En.css`
493
+ `}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 r,i;super.update(t),t.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 t,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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");let r=(...p)=>u=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(u)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",i,l),t.addEventListener("touchstart",n,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",a,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",i,l),t.removeEventListener("touchstart",n,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",a,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.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()}};k.elementDefinitions={};k.styles=dn;bt([(0,st.property)({type:Boolean})],k.prototype,"primary",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"secondary",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"unbounded",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"activated",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"selected",void 0);bt([(0,st.property)({type:Boolean})],k.prototype,"disabled",void 0);bt([(0,st.state)()],k.prototype,"hovered",void 0);bt([(0,st.state)()],k.prototype,"focused",void 0);bt([(0,st.state)()],k.prototype,"pressed",void 0);bt([(0,st.state)()],k.prototype,"rippling",void 0);bt([(0,st.state)()],k.prototype,"originX",void 0);bt([(0,st.state)()],k.prototype,"originY",void 0);bt([(0,st.query)(".ft-ripple")],k.prototype,"ripple",void 0);bt([(0,st.query)(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0);(0,Cn.customElement)("ft-ripple")(k);var Yn=f(O());var qn=f(R()),Q=f(V()),xo=f(O());var En=f(R()),Qt=f(O()),Ge={distance:Qt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qt.FtCssVariableFactory.external(Qt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Qt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},An=En.css`
494
494
  .ft-tooltip--container {
495
495
  display: block;
496
496
  }
@@ -505,21 +505,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
505
505
  box-sizing: border-box;
506
506
  overflow: hidden;
507
507
  width: max-content;
508
- max-width: ${He.maxWidth};
508
+ max-width: ${Ge.maxWidth};
509
509
  text-align: center;
510
- padding: ${He.distance};
511
- z-index: ${He.zIndex};
510
+ padding: ${Ge.distance};
511
+ z-index: ${Ge.zIndex};
512
512
  }
513
513
 
514
514
  .ft-tooltip--content {
515
515
  padding: 4px 8px;
516
- border-radius: ${He.borderRadiusS};
517
- background-color: ${He.backgroundColor};
518
- color: ${He.color};
516
+ border-radius: ${Ge.borderRadiusS};
517
+ background-color: ${Ge.backgroundColor};
518
+ color: ${Ge.color};
519
519
  position: relative;
520
520
  word-break: break-word;
521
521
  }
522
- `;var Rn=["top","right","bottom","left"],wn=["start","end"],Sr=Rn.reduce((o,t)=>o.concat(t,t+"-"+wn[0],t+"-"+wn[1]),[]),uo=Math.min,ce=Math.max,ho=Math.round;var Jt=o=>({x:o,y:o}),Ds={left:"right",right:"left",bottom:"top",top:"bottom"},Us={start:"end",end:"start"};function Or(o,t,r){return ce(o,uo(t,r))}function $o(o,t){return typeof o=="function"?o(t):o}function Ve(o){return o.split("-")[0]}function pe(o){return o.split("-")[1]}function Cr(o){return o==="x"?"y":"x"}function Er(o){return o==="y"?"height":"width"}function _o(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function Ar(o){return Cr(_o(o))}function Nn(o,t,r){r===void 0&&(r=!1);let i=pe(o),n=Ar(o),a=Er(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=vr(l)),[l,vr(l)]}function Ln(o){return o.replace(/start|end/g,t=>Us[t])}function vr(o){return o.replace(/left|right|bottom|top/g,t=>Ds[t])}function Fs(o){return{top:0,right:0,bottom:0,left:0,...o}}function In(o){return typeof o!="number"?Fs(o):{top:o,right:o,bottom:o,left:o}}function Se(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Tn(o,t,r){let{reference:i,floating:n}=o,a=_o(t),l=Ar(t),c=Er(l),u=Ve(t),h=a==="y",b=i.x+i.width/2-n.width/2,v=i.y+i.height/2-n.height/2,N=i[c]/2-n[c]/2,w;switch(u){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:v};break;case"left":w={x:i.x-n.width,y:v};break;default:w={x:i.x,y:i.y}}switch(pe(t)){case"start":w[l]-=N*(r&&h?-1:1);break;case"end":w[l]+=N*(r&&h?-1:1);break}return w}var Pn=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,c=a.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t)),h=await l.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:v}=Tn(h,i,u),N=i,w={},I=0;for(let M=0;M<c.length;M++){let{name:W,fn:F}=c[M],{x:V,y:nt,data:ct,reset:J}=await F({x:b,y:v,initialPlacement:i,placement:N,strategy:n,middlewareData:w,rects:h,platform:l,elements:{reference:o,floating:t}});if(b=V??b,v=nt??v,w={...w,[W]:{...w[W],...ct}},J&&I<=50){I++,typeof J=="object"&&(J.placement&&(N=J.placement),J.rects&&(h=J.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:n}):J.rects),{x:b,y:v}=Tn(h,N,u)),M=-1;continue}}return{x:b,y:v,placement:N,strategy:n,middlewareData:w}};async function wr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:l,elements:c,strategy:u}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:v="floating",altBoundary:N=!1,padding:w=0}=$o(t,o),I=In(w),W=c[N?v==="floating"?"reference":"floating":v],F=Se(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(c.floating)),boundary:h,rootBoundary:b,strategy:u})),V=v==="floating"?{...l.floating,x:i,y:n}:l.reference,nt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),ct=await(a.isElement==null?void 0:a.isElement(nt))?await(a.getScale==null?void 0:a.getScale(nt))||{x:1,y:1}:{x:1,y:1},J=Se(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:V,offsetParent:nt,strategy:u}):V);return{top:(F.top-J.top+I.top)/ct.y,bottom:(J.bottom-F.bottom+I.bottom)/ct.y,left:(F.left-J.left+I.left)/ct.x,right:(J.right-F.right+I.right)/ct.x}}function zs(o,t,r){return(o?[...r.filter(n=>pe(n)===o),...r.filter(n=>pe(n)!==o)]:r.filter(n=>Ve(n)===n)).filter(n=>o?pe(n)===o||(t?Ln(n)!==n:!1):!0)}var Rr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:l,placement:c,platform:u,elements:h}=t,{crossAxis:b=!1,alignment:v,allowedPlacements:N=Sr,autoAlignment:w=!0,...I}=$o(o,t),M=v!==void 0||N===Sr?zs(v||null,w,N):N,W=await wr(t,I),F=((r=l.autoPlacement)==null?void 0:r.index)||0,V=M[F];if(V==null)return{};let nt=Nn(V,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(c!==V)return{reset:{placement:M[0]}};let ct=[W[Ve(V)],W[nt[0]],W[nt[1]]],J=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:V,overflows:ct}],wo=M[F+1];if(wo)return{data:{index:F+1,overflows:J},reset:{placement:wo}};let Ct=J.map(d=>{let m=pe(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((C,tt)=>C+tt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Te=((n=Ct.filter(d=>d[2].slice(0,pe(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Ct[0][0];return Te!==c?{data:{index:F+1,overflows:J},reset:{placement:Te}}:{}}}};var Nr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:W=>{let{x:F,y:V}=W;return{x:F,y:V}}},...u}=$o(o,t),h={x:r,y:i},b=await wr(t,u),v=_o(Ve(n)),N=Cr(v),w=h[N],I=h[v];if(a){let W=N==="y"?"top":"left",F=N==="y"?"bottom":"right",V=w+b[W],nt=w-b[F];w=Or(V,w,nt)}if(l){let W=v==="y"?"top":"left",F=v==="y"?"bottom":"right",V=I+b[W],nt=I-b[F];I=Or(V,I,nt)}let M=c.fn({...t,[N]:w,[v]:I});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function te(o){return $n(o)?(o.nodeName||"").toLowerCase():"#document"}function xt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ee(o){var t;return(t=($n(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function $n(o){return o instanceof Node||o instanceof xt(o).Node}function Vt(o){return o instanceof Element||o instanceof xt(o).Element}function _t(o){return o instanceof HTMLElement||o instanceof xt(o).HTMLElement}function kn(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof xt(o).ShadowRoot}function Ge(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=At(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function _n(o){return["table","td","th"].includes(te(o))}function Do(o){let t=Uo(),r=At(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 Bn(o){let t=Oe(o);for(;_t(t)&&!mo(t);){if(Do(t))return t;t=Oe(t)}return null}function Uo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function mo(o){return["html","body","#document"].includes(te(o))}function At(o){return xt(o).getComputedStyle(o)}function yo(o){return Vt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Oe(o){if(te(o)==="html")return o;let t=o.assignedSlot||o.parentNode||kn(o)&&o.host||ee(o);return kn(t)?t.host:t}function Dn(o){let t=Oe(o);return mo(t)?o.ownerDocument?o.ownerDocument.body:o.body:_t(t)&&Ge(t)?t:Dn(t)}function Bo(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=Dn(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),l=xt(n);return a?t.concat(l,l.visualViewport||[],Ge(n)?n:[],l.frameElement&&r?Bo(l.frameElement):[]):t.concat(n,Bo(n,[],r))}function zn(o){let t=At(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=_t(o),a=n?o.offsetWidth:r,l=n?o.offsetHeight:i,c=ho(r)!==a||ho(i)!==l;return c&&(r=a,i=l),{width:r,height:i,$:c}}function Mn(o){return Vt(o)?o:o.contextElement}function Ke(o){let t=Mn(o);if(!_t(t))return Jt(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=zn(t),l=(a?ho(r.width):r.width)/i,c=(a?ho(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Ms=Jt(0);function Wn(o){let t=xt(o);return!Uo()||!t.visualViewport?Ms:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ws(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==xt(o)?!1:t}function go(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Mn(o),l=Jt(1);t&&(i?Vt(i)&&(l=Ke(i)):l=Ke(o));let c=Ws(a,r,i)?Wn(a):Jt(0),u=(n.left+c.x)/l.x,h=(n.top+c.y)/l.y,b=n.width/l.x,v=n.height/l.y;if(a){let N=xt(a),w=i&&Vt(i)?xt(i):i,I=N.frameElement;for(;I&&i&&w!==N;){let M=Ke(I),W=I.getBoundingClientRect(),F=At(I),V=W.left+(I.clientLeft+parseFloat(F.paddingLeft))*M.x,nt=W.top+(I.clientTop+parseFloat(F.paddingTop))*M.y;u*=M.x,h*=M.y,b*=M.x,v*=M.y,u+=V,h+=nt,I=xt(I).frameElement}}return Se({width:b,height:v,x:u,y:h})}function Hs(o){let{rect:t,offsetParent:r,strategy:i}=o,n=_t(r),a=ee(r);if(r===a)return t;let l={scrollLeft:0,scrollTop:0},c=Jt(1),u=Jt(0);if((n||!n&&i!=="fixed")&&((te(r)!=="body"||Ge(a))&&(l=yo(r)),_t(r))){let h=go(r);c=Ke(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+u.x,y:t.y*c.y-l.scrollTop*c.y+u.y}}function Vs(o){return Array.from(o.getClientRects())}function Hn(o){return go(ee(o)).left+yo(o).scrollLeft}function Gs(o){let t=ee(o),r=yo(o),i=o.ownerDocument.body,n=ce(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=ce(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+Hn(o),c=-r.scrollTop;return At(i).direction==="rtl"&&(l+=ce(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:c}}function Ks(o,t){let r=xt(o),i=ee(o),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,c=0,u=0;if(n){a=n.width,l=n.height;let h=Uo();(!h||h&&t==="fixed")&&(c=n.offsetLeft,u=n.offsetTop)}return{width:a,height:l,x:c,y:u}}function Zs(o,t){let r=go(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=_t(o)?Ke(o):Jt(1),l=o.clientWidth*a.x,c=o.clientHeight*a.y,u=n*a.x,h=i*a.y;return{width:l,height:c,x:u,y:h}}function Un(o,t,r){let i;if(t==="viewport")i=Ks(o,r);else if(t==="document")i=Gs(ee(o));else if(Vt(t))i=Zs(t,r);else{let n=Wn(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return Se(i)}function Vn(o,t){let r=Oe(o);return r===t||!Vt(r)||mo(r)?!1:At(r).position==="fixed"||Vn(r,t)}function js(o,t){let r=t.get(o);if(r)return r;let i=Bo(o,[],!1).filter(c=>Vt(c)&&te(c)!=="body"),n=null,a=At(o).position==="fixed",l=a?Oe(o):o;for(;Vt(l)&&!mo(l);){let c=At(l),u=Do(l);!u&&c.position==="fixed"&&(n=null),(a?!u&&!n:!u&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ge(l)&&!u&&Vn(o,l))?i=i.filter(b=>b!==l):n=c,l=Oe(l)}return t.set(o,i),i}function qs(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,l=[...r==="clippingAncestors"?js(t,this._c):[].concat(r),i],c=l[0],u=l.reduce((h,b)=>{let v=Un(t,b,n);return h.top=ce(v.top,h.top),h.right=uo(v.right,h.right),h.bottom=uo(v.bottom,h.bottom),h.left=ce(v.left,h.left),h},Un(t,c,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Ys(o){return zn(o)}function Xs(o,t,r){let i=_t(t),n=ee(t),a=r==="fixed",l=go(o,!0,a,t),c={scrollLeft:0,scrollTop:0},u=Jt(0);if(i||!i&&!a)if((te(t)!=="body"||Ge(n))&&(c=yo(t)),i){let h=go(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else n&&(u.x=Hn(n));return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Fn(o,t){return!_t(o)||At(o).position==="fixed"?null:t?t(o):o.offsetParent}function Gn(o,t){let r=xt(o);if(!_t(o))return r;let i=Fn(o,t);for(;i&&_n(i)&&At(i).position==="static";)i=Fn(i,t);return i&&(te(i)==="html"||te(i)==="body"&&At(i).position==="static"&&!Do(i))?r:i||Bn(o)||r}var Qs=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||Gn,a=this.getDimensions;return{reference:Xs(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Js(o){return At(o).direction==="rtl"}var Fo={convertOffsetParentRelativeRectToViewportRelativeRect:Hs,getDocumentElement:ee,getClippingRect:qs,getOffsetParent:Gn,getElementRects:Qs,getClientRects:Vs,getDimensions:Ys,getScale:Ke,isElement:Vt,isRTL:Js};var Kn=(o,t,r)=>{let i=new Map,n={platform:Fo,...r},a={...n.platform,_c:i};return Pn(o,t,{...n,platform:a})};function Zn(o){return tl(o)}function Lr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function tl(o){for(let t=o;t;t=Lr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Lr(o);t;t=Lr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function jn(o,t,r){return Kn(o,t,{platform:{...Fo,getOffsetParent:i=>Fo.getOffsetParent(i,Zn)},middleware:[Nr({crossAxis:!0}),Rr({allowedPlacements:[r]})]})}var vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},H=class extends bo.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 bo.Debouncer,this.revealDebouncer=new bo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return qn.html`
522
+ `;var Rn=["top","right","bottom","left"],wn=["start","end"],Sr=Rn.reduce((o,t)=>o.concat(t,t+"-"+wn[0],t+"-"+wn[1]),[]),ho=Math.min,pe=Math.max,mo=Math.round;var Jt=o=>({x:o,y:o}),Ds={left:"right",right:"left",bottom:"top",top:"bottom"},Us={start:"end",end:"start"};function Or(o,t,r){return pe(o,ho(t,r))}function $o(o,t){return typeof o=="function"?o(t):o}function Ve(o){return o.split("-")[0]}function de(o){return o.split("-")[1]}function Cr(o){return o==="x"?"y":"x"}function Er(o){return o==="y"?"height":"width"}function _o(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function Ar(o){return Cr(_o(o))}function Nn(o,t,r){r===void 0&&(r=!1);let i=de(o),n=Ar(o),a=Er(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=vr(l)),[l,vr(l)]}function Ln(o){return o.replace(/start|end/g,t=>Us[t])}function vr(o){return o.replace(/left|right|bottom|top/g,t=>Ds[t])}function Fs(o){return{top:0,right:0,bottom:0,left:0,...o}}function In(o){return typeof o!="number"?Fs(o):{top:o,right:o,bottom:o,left:o}}function Oe(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Tn(o,t,r){let{reference:i,floating:n}=o,a=_o(t),l=Ar(t),p=Er(l),u=Ve(t),h=a==="y",b=i.x+i.width/2-n.width/2,v=i.y+i.height/2-n.height/2,N=i[p]/2-n[p]/2,w;switch(u){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:v};break;case"left":w={x:i.x-n.width,y:v};break;default:w={x:i.x,y:i.y}}switch(de(t)){case"start":w[l]-=N*(r&&h?-1:1);break;case"end":w[l]+=N*(r&&h?-1:1);break}return w}var Pn=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,p=a.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t)),h=await l.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:v}=Tn(h,i,u),N=i,w={},I=0;for(let M=0;M<p.length;M++){let{name:W,fn:F}=p[M],{x:G,y:nt,data:ct,reset:J}=await F({x:b,y:v,initialPlacement:i,placement:N,strategy:n,middlewareData:w,rects:h,platform:l,elements:{reference:o,floating:t}});if(b=G??b,v=nt??v,w={...w,[W]:{...w[W],...ct}},J&&I<=50){I++,typeof J=="object"&&(J.placement&&(N=J.placement),J.rects&&(h=J.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:n}):J.rects),{x:b,y:v}=Tn(h,N,u)),M=-1;continue}}return{x:b,y:v,placement:N,strategy:n,middlewareData:w}};async function wr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:l,elements:p,strategy:u}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:v="floating",altBoundary:N=!1,padding:w=0}=$o(t,o),I=In(w),W=p[N?v==="floating"?"reference":"floating":v],F=Oe(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:b,strategy:u})),G=v==="floating"?{...l.floating,x:i,y:n}:l.reference,nt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p.floating)),ct=await(a.isElement==null?void 0:a.isElement(nt))?await(a.getScale==null?void 0:a.getScale(nt))||{x:1,y:1}:{x:1,y:1},J=Oe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:nt,strategy:u}):G);return{top:(F.top-J.top+I.top)/ct.y,bottom:(J.bottom-F.bottom+I.bottom)/ct.y,left:(F.left-J.left+I.left)/ct.x,right:(J.right-F.right+I.right)/ct.x}}function zs(o,t,r){return(o?[...r.filter(n=>de(n)===o),...r.filter(n=>de(n)!==o)]:r.filter(n=>Ve(n)===n)).filter(n=>o?de(n)===o||(t?Ln(n)!==n:!1):!0)}var Rr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:l,placement:p,platform:u,elements:h}=t,{crossAxis:b=!1,alignment:v,allowedPlacements:N=Sr,autoAlignment:w=!0,...I}=$o(o,t),M=v!==void 0||N===Sr?zs(v||null,w,N):N,W=await wr(t,I),F=((r=l.autoPlacement)==null?void 0:r.index)||0,G=M[F];if(G==null)return{};let nt=Nn(G,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(p!==G)return{reset:{placement:M[0]}};let ct=[W[Ve(G)],W[nt[0]],W[nt[1]]],J=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:G,overflows:ct}],wo=M[F+1];if(wo)return{data:{index:F+1,overflows:J},reset:{placement:wo}};let Ct=J.map(d=>{let m=de(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((C,tt)=>C+tt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Pe=((n=Ct.filter(d=>d[2].slice(0,de(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Ct[0][0];return Pe!==p?{data:{index:F+1,overflows:J},reset:{placement:Pe}}:{}}}};var Nr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:p={fn:W=>{let{x:F,y:G}=W;return{x:F,y:G}}},...u}=$o(o,t),h={x:r,y:i},b=await wr(t,u),v=_o(Ve(n)),N=Cr(v),w=h[N],I=h[v];if(a){let W=N==="y"?"top":"left",F=N==="y"?"bottom":"right",G=w+b[W],nt=w-b[F];w=Or(G,w,nt)}if(l){let W=v==="y"?"top":"left",F=v==="y"?"bottom":"right",G=I+b[W],nt=I-b[F];I=Or(G,I,nt)}let M=p.fn({...t,[N]:w,[v]:I});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function te(o){return $n(o)?(o.nodeName||"").toLowerCase():"#document"}function xt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ee(o){var t;return(t=($n(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function $n(o){return o instanceof Node||o instanceof xt(o).Node}function Vt(o){return o instanceof Element||o instanceof xt(o).Element}function Bt(o){return o instanceof HTMLElement||o instanceof xt(o).HTMLElement}function kn(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof xt(o).ShadowRoot}function Ke(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=At(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function _n(o){return["table","td","th"].includes(te(o))}function Do(o){let t=Uo(),r=At(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 Bn(o){let t=Ce(o);for(;Bt(t)&&!yo(t);){if(Do(t))return t;t=Ce(t)}return null}function Uo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yo(o){return["html","body","#document"].includes(te(o))}function At(o){return xt(o).getComputedStyle(o)}function go(o){return Vt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ce(o){if(te(o)==="html")return o;let t=o.assignedSlot||o.parentNode||kn(o)&&o.host||ee(o);return kn(t)?t.host:t}function Dn(o){let t=Ce(o);return yo(t)?o.ownerDocument?o.ownerDocument.body:o.body:Bt(t)&&Ke(t)?t:Dn(t)}function Bo(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=Dn(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),l=xt(n);return a?t.concat(l,l.visualViewport||[],Ke(n)?n:[],l.frameElement&&r?Bo(l.frameElement):[]):t.concat(n,Bo(n,[],r))}function zn(o){let t=At(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=Bt(o),a=n?o.offsetWidth:r,l=n?o.offsetHeight:i,p=mo(r)!==a||mo(i)!==l;return p&&(r=a,i=l),{width:r,height:i,$:p}}function Mn(o){return Vt(o)?o:o.contextElement}function Ze(o){let t=Mn(o);if(!Bt(t))return Jt(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=zn(t),l=(a?mo(r.width):r.width)/i,p=(a?mo(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Ms=Jt(0);function Wn(o){let t=xt(o);return!Uo()||!t.visualViewport?Ms:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ws(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==xt(o)?!1:t}function bo(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Mn(o),l=Jt(1);t&&(i?Vt(i)&&(l=Ze(i)):l=Ze(o));let p=Ws(a,r,i)?Wn(a):Jt(0),u=(n.left+p.x)/l.x,h=(n.top+p.y)/l.y,b=n.width/l.x,v=n.height/l.y;if(a){let N=xt(a),w=i&&Vt(i)?xt(i):i,I=N.frameElement;for(;I&&i&&w!==N;){let M=Ze(I),W=I.getBoundingClientRect(),F=At(I),G=W.left+(I.clientLeft+parseFloat(F.paddingLeft))*M.x,nt=W.top+(I.clientTop+parseFloat(F.paddingTop))*M.y;u*=M.x,h*=M.y,b*=M.x,v*=M.y,u+=G,h+=nt,I=xt(I).frameElement}}return Oe({width:b,height:v,x:u,y:h})}function Hs(o){let{rect:t,offsetParent:r,strategy:i}=o,n=Bt(r),a=ee(r);if(r===a)return t;let l={scrollLeft:0,scrollTop:0},p=Jt(1),u=Jt(0);if((n||!n&&i!=="fixed")&&((te(r)!=="body"||Ke(a))&&(l=go(r)),Bt(r))){let h=bo(r);p=Ze(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}return{width:t.width*p.x,height:t.height*p.y,x:t.x*p.x-l.scrollLeft*p.x+u.x,y:t.y*p.y-l.scrollTop*p.y+u.y}}function Gs(o){return Array.from(o.getClientRects())}function Hn(o){return bo(ee(o)).left+go(o).scrollLeft}function Vs(o){let t=ee(o),r=go(o),i=o.ownerDocument.body,n=pe(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=pe(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+Hn(o),p=-r.scrollTop;return At(i).direction==="rtl"&&(l+=pe(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:p}}function Ks(o,t){let r=xt(o),i=ee(o),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,p=0,u=0;if(n){a=n.width,l=n.height;let h=Uo();(!h||h&&t==="fixed")&&(p=n.offsetLeft,u=n.offsetTop)}return{width:a,height:l,x:p,y:u}}function Zs(o,t){let r=bo(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Bt(o)?Ze(o):Jt(1),l=o.clientWidth*a.x,p=o.clientHeight*a.y,u=n*a.x,h=i*a.y;return{width:l,height:p,x:u,y:h}}function Un(o,t,r){let i;if(t==="viewport")i=Ks(o,r);else if(t==="document")i=Vs(ee(o));else if(Vt(t))i=Zs(t,r);else{let n=Wn(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return Oe(i)}function Gn(o,t){let r=Ce(o);return r===t||!Vt(r)||yo(r)?!1:At(r).position==="fixed"||Gn(r,t)}function js(o,t){let r=t.get(o);if(r)return r;let i=Bo(o,[],!1).filter(p=>Vt(p)&&te(p)!=="body"),n=null,a=At(o).position==="fixed",l=a?Ce(o):o;for(;Vt(l)&&!yo(l);){let p=At(l),u=Do(l);!u&&p.position==="fixed"&&(n=null),(a?!u&&!n:!u&&p.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ke(l)&&!u&&Gn(o,l))?i=i.filter(b=>b!==l):n=p,l=Ce(l)}return t.set(o,i),i}function qs(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,l=[...r==="clippingAncestors"?js(t,this._c):[].concat(r),i],p=l[0],u=l.reduce((h,b)=>{let v=Un(t,b,n);return h.top=pe(v.top,h.top),h.right=ho(v.right,h.right),h.bottom=ho(v.bottom,h.bottom),h.left=pe(v.left,h.left),h},Un(t,p,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Ys(o){return zn(o)}function Xs(o,t,r){let i=Bt(t),n=ee(t),a=r==="fixed",l=bo(o,!0,a,t),p={scrollLeft:0,scrollTop:0},u=Jt(0);if(i||!i&&!a)if((te(t)!=="body"||Ke(n))&&(p=go(t)),i){let h=bo(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else n&&(u.x=Hn(n));return{x:l.left+p.scrollLeft-u.x,y:l.top+p.scrollTop-u.y,width:l.width,height:l.height}}function Fn(o,t){return!Bt(o)||At(o).position==="fixed"?null:t?t(o):o.offsetParent}function Vn(o,t){let r=xt(o);if(!Bt(o))return r;let i=Fn(o,t);for(;i&&_n(i)&&At(i).position==="static";)i=Fn(i,t);return i&&(te(i)==="html"||te(i)==="body"&&At(i).position==="static"&&!Do(i))?r:i||Bn(o)||r}var Qs=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||Vn,a=this.getDimensions;return{reference:Xs(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Js(o){return At(o).direction==="rtl"}var Fo={convertOffsetParentRelativeRectToViewportRelativeRect:Hs,getDocumentElement:ee,getClippingRect:qs,getOffsetParent:Vn,getElementRects:Qs,getClientRects:Gs,getDimensions:Ys,getScale:Ze,isElement:Vt,isRTL:Js};var Kn=(o,t,r)=>{let i=new Map,n={platform:Fo,...r},a={...n.platform,_c:i};return Pn(o,t,{...n,platform:a})};function Zn(o){return tl(o)}function Lr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function tl(o){for(let t=o;t;t=Lr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Lr(o);t;t=Lr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function jn(o,t,r){return Kn(o,t,{platform:{...Fo,getOffsetParent:i=>Fo.getOffsetParent(i,Zn)},middleware:[Nr({crossAxis:!0}),Rr({allowedPlacements:[r]})]})}var vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},H=class extends xo.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 xo.Debouncer,this.revealDebouncer=new xo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return qn.html`
523
523
  <div part="container"
524
524
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
525
525
  @mouseenter=${this.onHover}
@@ -537,19 +537,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
537
537
  </div>
538
538
  </div>
539
539
  </div>
540
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",jn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}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",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,r){return Math.max(t,Math.min(0,-r))}};H.elementDefinitions={"ft-typography":K};H.styles=An;vt([(0,Q.property)()],H.prototype,"text",void 0);vt([(0,Q.property)({type:Boolean})],H.prototype,"manual",void 0);vt([(0,Q.property)({type:Boolean})],H.prototype,"inline",void 0);vt([(0,Q.property)({type:Number})],H.prototype,"delay",void 0);vt([(0,Q.property)()],H.prototype,"position",void 0);vt([(0,Q.queryAssignedNodes)()],H.prototype,"slotNodes",void 0);vt([(0,Q.query)(".ft-tooltip--container")],H.prototype,"container",void 0);vt([(0,Q.query)(".ft-tooltip")],H.prototype,"tooltip",void 0);vt([(0,Q.query)(".ft-tooltip--content")],H.prototype,"tooltipContent",void 0);vt([(0,Q.state)()],H.prototype,"visible",void 0);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onTouch",null);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onHover",null);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onOut",null);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onClick",null);(0,Yn.customElement)("ft-tooltip")(H);var ea=f(O());var xo=f(R()),Ce=f(G()),Jn=f(O()),ta=f(Qn());var zo;(function(o){o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.STAR="&#xe94c;",o.STAR_PLAIN="&#xe900;",o.DESKTOP="&#xe95e;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.THIN_ARROW_UP="&#xe95c;",o.CONTEXTUAL="&#xe95b;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.UNSTRUCTURED_DOC="&#xe95a;",o.RESET="&#xe958;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.MY_COLLECTIONS="&#xe955;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_LIBRARY="&#xe959;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.FEEDBACK_PLAIN="&#xe951;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.SHORTCUT_MENU="&#xe946;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.ACCOUNT_SETTINGS="&#xe943;",o.ONLINE="&#xe941;",o.OFFLINE="&#xe816;",o.UPLOAD="&#xe940;",o.BOOK_PLAIN="&#xe93f;",o.SYNC="&#xe93d;",o.SHARED_PBK="&#xe931;",o.COLLECTIONS="&#xe92a;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.BOOKS="&#xe806;",o.LOCKER="&#xe93b;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SAVE="&#xe93a;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.FILTERS="&#xe935;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.STRIPE_ARROW_LEFT="&#xe933;",o.ATTACHMENTS="&#xe932;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.EXPORT="&#xe80f;",o.MENU="&#xe807;",o.TAG="&#xe93e;",o.TAG_PLAIN="&#xe942;",o.COPY_TO_CLIPBOARD="&#xe930;",o.COLUMNS="&#xe928;",o.ARTICLE="&#xe927;",o.CLOSE="&#xe909;",o.OCTAGON_XMARK="&#xe97d;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.LOGOUT="&#xe923;",o.SIGN_IN="&#xe922;",o.THIN_ARROW="&#xe921;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.INFO="&#xe919;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.SHARE="&#xe80f1;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.EXTLINK="&#xe814;",o.EXTLINK_LIGHT="&#xe978;",o.CALENDAR="&#xe815;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.TOPICS="&#xe901;",o.EYE="&#xf06e;",o.EYE_SLASH="&#xe970;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN_THEME="&#xe911;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.HOME="&#xe80b;",o.TRANSLATE="&#xe924;",o.USER="&#xe813;",o.ADMIN="&#xe90f;",o.ANALYTICS="&#xe929;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_USERS="&#xe912;",o.ADMIN_INTEGRATION="&#xe93c;",o.ADMIN_PORTAL="&#xe94b;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.EXPAND_WIDE="&#xe972;",o.X_MARK="&#xe971;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CONSUMER="&#xe97c;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;"})(zo||(zo={}));var y;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(y||(y={}));var Qf=new Map([...["abw"].map(o=>[o,y.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(o=>[o,y.AUDIO]),...["avi"].map(o=>[o,y.AVI]),...["chm","xhs"].map(o=>[o,y.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(o=>[o,y.CODE]),...["csv"].map(o=>[o,y.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,y.DITA]),...["epub"].map(o=>[o,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,y.EXCEL]),...["flac"].map(o=>[o,y.FLAC]),...["gif"].map(o=>[o,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,y.GZIP]),...["html","htm","xhtml"].map(o=>[o,y.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(o=>[o,y.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,y.JPEG]),...["json"].map(o=>[o,y.JSON]),...["m4a","m4p"].map(o=>[o,y.M4A]),...["mov","qt"].map(o=>[o,y.MOV]),...["mp3"].map(o=>[o,y.MP3]),...["mp4","m4v"].map(o=>[o,y.MP4]),...["ogg","oga"].map(o=>[o,y.OGG]),...["pdf","ps"].map(o=>[o,y.PDF]),...["png"].map(o=>[o,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,y.POWERPOINT]),...["rar"].map(o=>[o,y.RAR]),...["stp"].map(o=>[o,y.STP]),...["txt","rtf","md","mdown"].map(o=>[o,y.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(o=>[o,y.VIDEO]),...["wav"].map(o=>[o,y.WAV]),...["wma"].map(o=>[o,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,y.WORD]),...["xml","xsl","rdf"].map(o=>[o,y.XML]),...["yaml","yml","x-yaml"].map(o=>[o,y.YAML]),...["zip"].map(o=>[o,y.ZIP])]);var Jf={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var de;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(de||(de={}));var Mo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},St=class extends Jn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=xo.nothing}render(){let t=this.variant&&Object.values(de).includes(this.variant)?this.variant:de.fluid_topics,r=t!==de.material||!!this.value;return xo.html`
540
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",jn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}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",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,r){return Math.max(t,Math.min(0,-r))}};H.elementDefinitions={"ft-typography":K};H.styles=An;vt([(0,Q.property)()],H.prototype,"text",void 0);vt([(0,Q.property)({type:Boolean})],H.prototype,"manual",void 0);vt([(0,Q.property)({type:Boolean})],H.prototype,"inline",void 0);vt([(0,Q.property)({type:Number})],H.prototype,"delay",void 0);vt([(0,Q.property)()],H.prototype,"position",void 0);vt([(0,Q.queryAssignedNodes)()],H.prototype,"slotNodes",void 0);vt([(0,Q.query)(".ft-tooltip--container")],H.prototype,"container",void 0);vt([(0,Q.query)(".ft-tooltip")],H.prototype,"tooltip",void 0);vt([(0,Q.query)(".ft-tooltip--content")],H.prototype,"tooltipContent",void 0);vt([(0,Q.state)()],H.prototype,"visible",void 0);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onTouch",null);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onHover",null);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onOut",null);vt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onClick",null);(0,Yn.customElement)("ft-tooltip")(H);var ea=f(O());var vo=f(R()),Ee=f(V()),Jn=f(O()),ta=f(Qn());var zo;(function(o){o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.STAR="&#xe94c;",o.STAR_PLAIN="&#xe900;",o.DESKTOP="&#xe95e;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.THIN_ARROW_UP="&#xe95c;",o.CONTEXTUAL="&#xe95b;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.UNSTRUCTURED_DOC="&#xe95a;",o.RESET="&#xe958;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.MY_COLLECTIONS="&#xe955;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_LIBRARY="&#xe959;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.FEEDBACK_PLAIN="&#xe951;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.SHORTCUT_MENU="&#xe946;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.ACCOUNT_SETTINGS="&#xe943;",o.ONLINE="&#xe941;",o.OFFLINE="&#xe816;",o.UPLOAD="&#xe940;",o.BOOK_PLAIN="&#xe93f;",o.SYNC="&#xe93d;",o.SHARED_PBK="&#xe931;",o.COLLECTIONS="&#xe92a;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.BOOKS="&#xe806;",o.LOCKER="&#xe93b;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SAVE="&#xe93a;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.FILTERS="&#xe935;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.STRIPE_ARROW_LEFT="&#xe933;",o.ATTACHMENTS="&#xe932;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.EXPORT="&#xe80f;",o.MENU="&#xe807;",o.TAG="&#xe93e;",o.TAG_PLAIN="&#xe942;",o.COPY_TO_CLIPBOARD="&#xe930;",o.COLUMNS="&#xe928;",o.ARTICLE="&#xe927;",o.CLOSE="&#xe909;",o.OCTAGON_XMARK="&#xe97d;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.LOGOUT="&#xe923;",o.SIGN_IN="&#xe922;",o.THIN_ARROW="&#xe921;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.INFO="&#xe919;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.SHARE="&#xe80f1;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.EXTLINK="&#xe814;",o.EXTLINK_LIGHT="&#xe978;",o.CALENDAR="&#xe815;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.TOPICS="&#xe901;",o.EYE="&#xf06e;",o.EYE_SLASH="&#xe970;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN_THEME="&#xe911;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.HOME="&#xe80b;",o.TRANSLATE="&#xe924;",o.USER="&#xe813;",o.ADMIN="&#xe90f;",o.ANALYTICS="&#xe929;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_USERS="&#xe912;",o.ADMIN_INTEGRATION="&#xe93c;",o.ADMIN_PORTAL="&#xe94b;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.EXPAND_WIDE="&#xe972;",o.X_MARK="&#xe971;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CONSUMER="&#xe97c;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;"})(zo||(zo={}));var y;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(y||(y={}));var nu=new Map([...["abw"].map(o=>[o,y.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(o=>[o,y.AUDIO]),...["avi"].map(o=>[o,y.AVI]),...["chm","xhs"].map(o=>[o,y.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(o=>[o,y.CODE]),...["csv"].map(o=>[o,y.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,y.DITA]),...["epub"].map(o=>[o,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,y.EXCEL]),...["flac"].map(o=>[o,y.FLAC]),...["gif"].map(o=>[o,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,y.GZIP]),...["html","htm","xhtml"].map(o=>[o,y.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(o=>[o,y.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,y.JPEG]),...["json"].map(o=>[o,y.JSON]),...["m4a","m4p"].map(o=>[o,y.M4A]),...["mov","qt"].map(o=>[o,y.MOV]),...["mp3"].map(o=>[o,y.MP3]),...["mp4","m4v"].map(o=>[o,y.MP4]),...["ogg","oga"].map(o=>[o,y.OGG]),...["pdf","ps"].map(o=>[o,y.PDF]),...["png"].map(o=>[o,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,y.POWERPOINT]),...["rar"].map(o=>[o,y.RAR]),...["stp"].map(o=>[o,y.STP]),...["txt","rtf","md","mdown"].map(o=>[o,y.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(o=>[o,y.VIDEO]),...["wav"].map(o=>[o,y.WAV]),...["wma"].map(o=>[o,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,y.WORD]),...["xml","xsl","rdf"].map(o=>[o,y.XML]),...["yaml","yml","x-yaml"].map(o=>[o,y.YAML]),...["zip"].map(o=>[o,y.ZIP])]);var au={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var fe;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(fe||(fe={}));var Mo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},St=class extends Jn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=vo.nothing}render(){let t=this.variant&&Object.values(fe).includes(this.variant)?this.variant:fe.fluid_topics,r=t!==fe.material||!!this.value;return vo.html`
541
541
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
542
542
  ${(0,ta.unsafeHTML)(this.resolvedIcon)}
543
543
  <slot ?hidden=${r}></slot>
544
544
  </i>
545
- `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case de.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case de.material:this.resolvedIcon=this.value||xo.nothing;break;default:this.resolvedIcon=(r=zo[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};St.elementDefinitions={};St.styles=mn;Mo([(0,Ce.property)()],St.prototype,"variant",void 0);Mo([(0,Ce.property)()],St.prototype,"value",void 0);Mo([(0,Ce.state)()],St.prototype,"resolvedIcon",void 0);Mo([(0,Ce.query)("slot")],St.prototype,"slottedContent",void 0);(0,ea.customElement)("ft-icon")(St);var ia=f(O());var oa=f(R()),ra=f(O());var Ee=class extends ra.FtLitElement{render(){return oa.html`
545
+ `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case fe.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case fe.material:this.resolvedIcon=this.value||vo.nothing;break;default:this.resolvedIcon=(r=zo[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};St.elementDefinitions={};St.styles=mn;Mo([(0,Ee.property)()],St.prototype,"variant",void 0);Mo([(0,Ee.property)()],St.prototype,"value",void 0);Mo([(0,Ee.state)()],St.prototype,"resolvedIcon",void 0);Mo([(0,Ee.query)("slot")],St.prototype,"slottedContent",void 0);(0,ea.customElement)("ft-icon")(St);var ia=f(O());var oa=f(R()),ra=f(O());var Ae=class extends ra.FtLitElement{render(){return oa.html`
546
546
  <div class="ft-loader">
547
547
  <div></div>
548
548
  <div></div>
549
549
  <div></div>
550
550
  <div></div>
551
551
  </div>
552
- `}};Ee.styles=un;(0,ia.customElement)("ft-loader")(Ee);var Ze=f(R()),na=f(We()),pt=f(G()),wt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},X=class extends(0,je.toFtFormComponent)(je.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 r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Ze.html`
552
+ `}};Ae.styles=un;(0,ia.customElement)("ft-loader")(Ae);var je=f(R()),na=f(He()),pt=f(V()),wt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},X=class extends(0,qe.toFtFormComponent)(qe.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 r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(je.html`
553
553
  <button part="button"
554
554
  class="${(0,na.classMap)(this.buttonClasses)}"
555
555
  aria-label="${this.getLabel()}"
@@ -558,24 +558,24 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
558
558
  <ft-typography part="label"
559
559
  variant=${this.typographyVariant}
560
560
  element="span"
561
- class="ft-button--label ${je.isSafari?"ft-safari-ellipsis-fix":""}"
561
+ class="ft-button--label ${qe.isSafari?"ft-safari-ellipsis-fix":""}"
562
562
  ?hidden=${!this.hasTextContent()}>
563
563
  <slot @slotchange=${this.onSlotchange}></slot>
564
564
  </ft-typography>
565
565
  ${this.resolveIcon()}
566
566
  </button>
567
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ze.html`
567
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?je.html`
568
568
  <ft-tooltip part="tooltip"
569
569
  text="${this.getLabel()}"
570
570
  position="${this.tooltipPosition}">
571
571
  ${t}
572
572
  </ft-tooltip>
573
- `:t}resolveIcon(){return this.loading?Ze.html`
574
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Ze.html`
573
+ `:t}resolveIcon(){return this.loading?je.html`
574
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?je.html`
575
575
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
576
- `:Ze.html`
576
+ `:je.html`
577
577
  <slot part="icon" name="icon"></slot>
578
- `}focus(){var t;(t=this.button)===null||t===void 0||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(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};X.elementDefinitions={"ft-ripple":k,"ft-tooltip":H,"ft-typography":K,"ft-icon":St,"ft-loader":Ee};wt([(0,pt.property)({type:String,reflect:!0})],X.prototype,"role",void 0);wt([(0,pt.property)()],X.prototype,"type",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"disabled",void 0);wt([(0,pt.property)()],X.prototype,"label",void 0);wt([(0,pt.property)()],X.prototype,"icon",void 0);wt([(0,pt.property)()],X.prototype,"iconVariant",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"trailingIcon",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"loading",void 0);wt([(0,pt.property)()],X.prototype,"tooltipPosition",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"hideTooltip",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"forceTooltip",void 0);wt([(0,pt.query)(".ft-button")],X.prototype,"button",void 0);wt([(0,pt.query)(".ft-button--label slot")],X.prototype,"slottedContent",void 0);var Wo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends X{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"}};dt.styles=[aa.safariEllipsisFix,xn];Wo([(0,vo.property)({type:Boolean})],dt.prototype,"primary",void 0);Wo([(0,vo.property)({type:Boolean})],dt.prototype,"outlined",void 0);Wo([(0,vo.property)({type:Boolean})],dt.prototype,"dense",void 0);Wo([(0,vo.property)({type:Boolean})],dt.prototype,"round",void 0);var qe=f(G());var ca=f(O());var sa=f(R()),P=f(O());var la=[sa.css`
578
+ `}focus(){var t;(t=this.button)===null||t===void 0||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(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};X.elementDefinitions={"ft-ripple":k,"ft-tooltip":H,"ft-typography":K,"ft-icon":St,"ft-loader":Ae};wt([(0,pt.property)({type:String,reflect:!0})],X.prototype,"role",void 0);wt([(0,pt.property)()],X.prototype,"type",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"disabled",void 0);wt([(0,pt.property)()],X.prototype,"label",void 0);wt([(0,pt.property)()],X.prototype,"icon",void 0);wt([(0,pt.property)()],X.prototype,"iconVariant",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"trailingIcon",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"loading",void 0);wt([(0,pt.property)()],X.prototype,"tooltipPosition",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"hideTooltip",void 0);wt([(0,pt.property)({type:Boolean})],X.prototype,"forceTooltip",void 0);wt([(0,pt.query)(".ft-button")],X.prototype,"button",void 0);wt([(0,pt.query)(".ft-button--label slot")],X.prototype,"slottedContent",void 0);var Wo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends X{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"}};dt.styles=[aa.safariEllipsisFix,xn];Wo([(0,So.property)({type:Boolean})],dt.prototype,"primary",void 0);Wo([(0,So.property)({type:Boolean})],dt.prototype,"outlined",void 0);Wo([(0,So.property)({type:Boolean})],dt.prototype,"dense",void 0);Wo([(0,So.property)({type:Boolean})],dt.prototype,"round",void 0);var Ye=f(V());var ca=f(O());var sa=f(R()),P=f(O());var la=[sa.css`
579
579
  :host {
580
580
  display: inline-block;
581
581
  max-width: 100%;
@@ -793,7 +793,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
793
793
  width: ${x.smallIconOnlyWidth};
794
794
  padding: unset;
795
795
  }
796
- `,P.noTextSelect];var So=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Gt=class extends X{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?ve.caption1medium:ve.body2medium}};Gt.styles=[ca.safariEllipsisFix,la];So([(0,qe.property)({type:Boolean})],Gt.prototype,"primary",void 0);So([(0,qe.property)({type:Boolean})],Gt.prototype,"secondary",void 0);So([(0,qe.property)({type:Boolean})],Gt.prototype,"tertiary",void 0);So([(0,qe.property)({type:Boolean})],Gt.prototype,"neutral",void 0);So([(0,qe.property)({type:Boolean})],Gt.prototype,"small",void 0);(0,Ir.customElement)("ft-button")(dt);(0,Ir.customElement)("ftds-button")(Gt);var ma=f(O());var fa=f(R()),fe=f(G()),ua=f(O()),ha=f(We());var Rt=f(O()),pa=f(R());var oe={textColor:Rt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Rt.designSystemVariables.colorOnSurfaceHigh),fontSize:Rt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",S.fontSize),colorPrimary:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Rt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Rt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},da=pa.css`
796
+ `,P.noTextSelect];var Oo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Kt=class extends X{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?Se.caption1medium:Se.body2medium}};Kt.styles=[ca.safariEllipsisFix,la];Oo([(0,Ye.property)({type:Boolean})],Kt.prototype,"primary",void 0);Oo([(0,Ye.property)({type:Boolean})],Kt.prototype,"secondary",void 0);Oo([(0,Ye.property)({type:Boolean})],Kt.prototype,"tertiary",void 0);Oo([(0,Ye.property)({type:Boolean})],Kt.prototype,"neutral",void 0);Oo([(0,Ye.property)({type:Boolean})],Kt.prototype,"small",void 0);(0,Ir.customElement)("ft-button")(dt);(0,Ir.customElement)("ftds-button")(Kt);var ma=f(O());var fa=f(R()),ue=f(V()),ua=f(O()),ha=f(He());var Rt=f(O()),pa=f(R());var oe={textColor:Rt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Rt.designSystemVariables.colorOnSurfaceHigh),fontSize:Rt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",S.fontSize),colorPrimary:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Rt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Rt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},da=pa.css`
797
797
  * {
798
798
  box-sizing: border-box;
799
799
  }
@@ -871,7 +871,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
871
871
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
872
872
  opacity: 1;
873
873
  }
874
- `;var Ye=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ot=class extends ua.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return fa.html`
874
+ `;var Xe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ot=class extends ua.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return fa.html`
875
875
  <label class="${(0,ha.classMap)(t)}" for="checkbox-input">
876
876
  <div class="ft-checkbox--box-container">
877
877
  <ft-ripple
@@ -898,14 +898,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
898
898
  <slot></slot>
899
899
  </ft-typography>
900
900
  </label>
901
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};Ot.elementDefinitions={"ft-ripple":k,"ft-typography":K};Ot.styles=da;Ye([(0,fe.property)()],Ot.prototype,"name",void 0);Ye([(0,fe.property)({type:Boolean,reflect:!0})],Ot.prototype,"checked",void 0);Ye([(0,fe.property)({type:Boolean})],Ot.prototype,"indeterminate",void 0);Ye([(0,fe.property)({type:Boolean})],Ot.prototype,"disabled",void 0);Ye([(0,fe.query)(".ft-checkbox")],Ot.prototype,"container",void 0);Ye([(0,fe.query)("ft-ripple")],Ot.prototype,"ripple",void 0);(0,ma.customElement)("ft-checkbox")(Ot);var Tr=f(O());var ba=f(R()),Bt=f(G()),xa=f(O()),va=f(We());var ya=f(R()),Tt=f(O()),Ae={textColor:Tt.FtCssVariableFactory.extend("--ft-radio-text-color","",Tt.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Tt.FtCssVariableFactory.extend("--ft-radio-border-color","",Tt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ga=ya.css`
901
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};Ot.elementDefinitions={"ft-ripple":k,"ft-typography":K};Ot.styles=da;Xe([(0,ue.property)()],Ot.prototype,"name",void 0);Xe([(0,ue.property)({type:Boolean,reflect:!0})],Ot.prototype,"checked",void 0);Xe([(0,ue.property)({type:Boolean})],Ot.prototype,"indeterminate",void 0);Xe([(0,ue.property)({type:Boolean})],Ot.prototype,"disabled",void 0);Xe([(0,ue.query)(".ft-checkbox")],Ot.prototype,"container",void 0);Xe([(0,ue.query)("ft-ripple")],Ot.prototype,"ripple",void 0);(0,ma.customElement)("ft-checkbox")(Ot);var Tr=f(O());var ba=f(R()),Dt=f(V()),xa=f(O()),va=f(He());var ya=f(R()),Nt=f(O()),we={textColor:Nt.FtCssVariableFactory.extend("--ft-radio-text-color","",Nt.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Nt.FtCssVariableFactory.external(Nt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Nt.FtCssVariableFactory.external(Nt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Nt.FtCssVariableFactory.extend("--ft-radio-border-color","",Nt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Nt.FtCssVariableFactory.external(Nt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ga=ya.css`
902
902
  * {
903
903
  box-sizing: border-box;
904
904
  }
905
905
 
906
906
  .ft-radio {
907
907
  box-sizing: border-box;
908
- color: ${Ae.textColor};
908
+ color: ${we.textColor};
909
909
 
910
910
  display: inline-flex;
911
911
  align-items: center;
@@ -913,7 +913,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
913
913
  }
914
914
 
915
915
  .ft-radio--disabled {
916
- color: ${Ae.colorOnSurfaceDisabled};
916
+ color: ${we.colorOnSurfaceDisabled};
917
917
  }
918
918
 
919
919
  input {
@@ -936,7 +936,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
936
936
  }
937
937
 
938
938
  .ft-radio--box {
939
- border: 2px solid ${Ae.borderColor};
939
+ border: 2px solid ${we.borderColor};
940
940
  border-radius: 50%;
941
941
 
942
942
  display: flex;
@@ -949,7 +949,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
949
949
 
950
950
  .ft-radio--box:after {
951
951
  content: " ";
952
- background-color: ${Ae.colorPrimary};
952
+ background-color: ${we.colorPrimary};
953
953
 
954
954
  border-radius: 50%;
955
955
 
@@ -961,7 +961,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
961
961
  }
962
962
 
963
963
  .ft-radio--checked .ft-radio--box {
964
- border-color: ${Ae.colorPrimary};
964
+ border-color: ${we.colorPrimary};
965
965
  }
966
966
 
967
967
 
@@ -970,14 +970,23 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
970
970
  }
971
971
 
972
972
  .ft-radio--disabled .ft-radio--box {
973
- border-color: ${Ae.colorOnSurfaceDisabled};
973
+ border-color: ${we.colorOnSurfaceDisabled};
974
974
  background-color: transparent;
975
975
  }
976
976
 
977
977
  .ft-radio--disabled .ft-radio--box:after {
978
- background-color: ${Ae.colorOnSurfaceDisabled};
978
+ background-color: ${we.colorOnSurfaceDisabled};
979
+ }
980
+
981
+ .ft-radio:has(:focus-visible) {
982
+ outline: 2px solid ${Nt.designSystemVariables.colorPrimary};
983
+ outline-offset: -2px;
984
+ }
985
+
986
+ .ft-radio ft-typography {
987
+ padding-right: 2px;
979
988
  }
980
- `;var re=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Oo=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},lt=class extends xa.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ba.html`
989
+ `;var re=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ho=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},lt=class extends xa.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ba.html`
981
990
  <div class="${(0,va.classMap)(t)}">
982
991
  <div class="ft-radio--box-container">
983
992
  <ft-ripple
@@ -1002,16 +1011,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1002
1011
  </ft-typography>
1003
1012
  </label>
1004
1013
  </div>
1005
- `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Oo(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){this.removeEventListener("focus",this.onFocus),super.disconnectedCallback()}onFocus(t){this.dispatchEvent(new Oo(this.name,this.checked))}select(){this.checked=!0,this.dispatchEvent(new Oo(this.value,this.checked))}};lt.elementDefinitions={"ft-ripple":k,"ft-typography":K};lt.styles=ga;re([(0,Bt.property)()],lt.prototype,"value",void 0);re([(0,Bt.property)()],lt.prototype,"name",void 0);re([(0,Bt.property)({type:Boolean,reflect:!0})],lt.prototype,"checked",void 0);re([(0,Bt.property)({type:Boolean})],lt.prototype,"disabled",void 0);re([(0,Bt.property)({reflect:!0})],lt.prototype,"tabIndex",void 0);re([(0,Bt.property)({reflect:!0,attribute:"role"})],lt.prototype,"role",void 0);re([(0,Bt.query)(".ft-radio")],lt.prototype,"container",void 0);re([(0,Bt.query)("ft-ripple")],lt.prototype,"ripple",void 0);re([(0,Bt.query)("input")],lt.prototype,"input",void 0);var Ca=f(O()),Xe=f(G()),Ea=f(R());var Sa=f(R());var Oa=Sa.css`
1014
+ `}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ho(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ho(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};lt.elementDefinitions={"ft-ripple":k,"ft-typography":K};lt.styles=ga;re([(0,Dt.property)()],lt.prototype,"value",void 0);re([(0,Dt.property)()],lt.prototype,"name",void 0);re([(0,Dt.property)({type:Boolean,reflect:!0})],lt.prototype,"checked",void 0);re([(0,Dt.property)({attribute:"aria-checked",reflect:!0})],lt.prototype,"ariaChecked",void 0);re([(0,Dt.property)({type:Boolean})],lt.prototype,"disabled",void 0);re([(0,Dt.property)({reflect:!0,attribute:"role"})],lt.prototype,"role",void 0);re([(0,Dt.query)(".ft-radio")],lt.prototype,"container",void 0);re([(0,Dt.query)("ft-ripple")],lt.prototype,"ripple",void 0);re([(0,Dt.query)("input")],lt.prototype,"input",void 0);var Ca=f(O()),ie=f(V()),Ea=f(R());var Sa=f(R());var Oa=Sa.css`
1006
1015
  :host {
1007
- display: contents;
1016
+ display: block;
1008
1017
  }
1009
- `;var Ho=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Kt=class extends Ca.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Ea.html`
1018
+ `;var Qe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pt=class extends Ca.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex=-1,this.focusCurrentChecked()},this.onFocusOut=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return Ea.html`
1010
1019
  <slot @slotchange=${this.onSlotChange}
1011
1020
  @change=${this.onChange}
1012
1021
  @keydown=${this.onKeyDown}
1013
1022
  ></slot>
1014
- `}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.findFtRadio(t),n=this.radioButtons.indexOf(i)-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":{let i=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[i].select()}}r&&(t.stopPropagation(),t.preventDefault())}findFtRadio(t){return t.composedPath().find(r=>r.tagName==="FT-RADIO")}focusCurrentValue(){setTimeout(()=>{var t;return(t=this.radioButtons.find(r=>r.checked))===null||t===void 0?void 0:t.focus()},10)}};Kt.elementDefinitions={};Kt.styles=Oa;Ho([(0,Xe.property)()],Kt.prototype,"name",void 0);Ho([(0,Xe.property)({reflect:!0,attribute:"role"})],Kt.prototype,"role",void 0);Ho([(0,Xe.property)({reflect:!0,attribute:"aria-labelledby"})],Kt.prototype,"ariaLabelledBy",void 0);Ho([(0,Xe.queryAssignedElements)()],Kt.prototype,"radioButtons",void 0);(0,Tr.customElement)("ft-radio")(lt);(0,Tr.customElement)("ft-radio-group")(Kt);var Aa=f(R()),D=f(O());var Vo={borderRadiusM:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusM,"Design system"),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:D.FtCssVariableFactory.external(Et.fontFamily,"Body2 typography"),fontSize:D.FtCssVariableFactory.external(Et.fontSize,"Body2 typography"),fontWeight:D.FtCssVariableFactory.external(Et.fontWeight,"Body2 typography"),letterSpacing:D.FtCssVariableFactory.external(Et.letterSpacing,"Body2 typography"),lineHeight:D.FtCssVariableFactory.external(Et.lineHeight,"Body2 typography"),textTransform:D.FtCssVariableFactory.external(Et.textTransform,"Body2 typography")},wa=Aa.css`
1023
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(r=>r.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Pt.elementDefinitions={};Pt.styles=Oa;Qe([(0,ie.property)()],Pt.prototype,"name",void 0);Qe([(0,ie.property)({reflect:!0,attribute:"role"})],Pt.prototype,"role",void 0);Qe([(0,ie.property)({reflect:!0})],Pt.prototype,"tabIndex",void 0);Qe([(0,ie.property)({reflect:!0,attribute:"aria-labelledby"})],Pt.prototype,"ariaLabelledBy",void 0);Qe([(0,ie.queryAssignedElements)()],Pt.prototype,"radioButtons",void 0);Qe([(0,ie.state)()],Pt.prototype,"currentSelectedIndex",void 0);(0,Tr.customElement)("ft-radio")(lt);(0,Tr.customElement)("ft-radio-group")(Pt);var Aa=f(R()),D=f(O());var Go={borderRadiusM:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusM,"Design system"),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:D.FtCssVariableFactory.external(Et.fontFamily,"Body2 typography"),fontSize:D.FtCssVariableFactory.external(Et.fontSize,"Body2 typography"),fontWeight:D.FtCssVariableFactory.external(Et.fontWeight,"Body2 typography"),letterSpacing:D.FtCssVariableFactory.external(Et.letterSpacing,"Body2 typography"),lineHeight:D.FtCssVariableFactory.external(Et.lineHeight,"Body2 typography"),textTransform:D.FtCssVariableFactory.external(Et.textTransform,"Body2 typography")},wa=Aa.css`
1015
1024
  .ft-filter-level--container {
1016
1025
  display: flex;
1017
1026
  flex-direction: column;
@@ -1025,14 +1034,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1025
1034
  flex-shrink: 0;
1026
1035
  text-decoration: none;
1027
1036
  position: relative;
1028
- border-radius: ${Vo.borderRadiusM};
1037
+ border-radius: ${Go.borderRadiusM};
1029
1038
  overflow: hidden;
1030
1039
  display: flex;
1031
1040
  align-items: center;
1032
1041
  padding: 4px 4px;
1033
1042
  gap: 4px;
1034
1043
  cursor: pointer;
1035
- color: ${Vo.colorOnSurface};
1044
+ color: ${Go.colorOnSurface};
1036
1045
  }
1037
1046
 
1038
1047
  .ft-filter-level--go-back:focus {
@@ -1061,7 +1070,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1061
1070
  }
1062
1071
 
1063
1072
  ft-button {
1064
- ${(0,D.setVariable)(B.color,Vo.colorOnSurface)};
1073
+ ${(0,D.setVariable)(B.color,Go.colorOnSurface)};
1065
1074
  }
1066
1075
 
1067
1076
  ft-radio, ft-checkbox {
@@ -1075,11 +1084,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1075
1084
 
1076
1085
  .ft-filter-level--no-values {
1077
1086
  margin: 10px 0;
1078
- color: ${Vo.colorOnSurfaceMedium};
1087
+ color: ${Go.colorOnSurfaceMedium};
1079
1088
  }
1080
- `;var ft=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Z=class extends Go.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return Nt.html`
1089
+ `;var ft=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Z=class extends Vo.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return Lt.html`
1081
1090
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1082
- ${this.parent==null?null:Nt.html`
1091
+ ${this.parent==null?null:Lt.html`
1083
1092
  <div tabindex="0"
1084
1093
  part="controls go-back"
1085
1094
  class="ft-filter-level--go-back"
@@ -1092,15 +1101,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1092
1101
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1093
1102
  </div>
1094
1103
  `}
1095
- ${this.options.length===0&&this.noValuesLabel?Nt.html`
1104
+ ${this.options.length===0&&this.noValuesLabel?Lt.html`
1096
1105
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1097
1106
  ${this.noValuesLabel}
1098
1107
  </ft-typography>
1099
- `:Nt.nothing}
1100
- ${(0,Ra.repeat)(r,i=>i.value,i=>{var n;return Nt.html`
1108
+ `:Lt.nothing}
1109
+ ${(0,Ra.repeat)(r,i=>i.value,i=>{var n;return Lt.html`
1101
1110
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1102
1111
  ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1103
- ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Nt.nothing:Nt.html`
1112
+ ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Lt.nothing:Lt.html`
1104
1113
  <ft-button icon="thin_arrow_right"
1105
1114
  part="controls navigate-hierarchy"
1106
1115
  aria-label="expand node"
@@ -1111,7 +1120,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1111
1120
  `}
1112
1121
  </div>
1113
1122
  `})}
1114
- ${r.length<t.length?Nt.html`
1123
+ ${r.length<t.length?Lt.html`
1115
1124
  <ft-button
1116
1125
  class="ft-filter-level--display-more"
1117
1126
  icon="thin_arrow"
@@ -1120,31 +1129,30 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1120
1129
  @click=${this.displayMore}>
1121
1130
  ${this.moreValuesButtonLabel}
1122
1131
  </ft-button>
1123
- `:Nt.nothing}
1132
+ `:Lt.nothing}
1124
1133
  </div>
1125
- `}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++,this.makeRadioKeyBoardNavigable()}onRadioChange(t){var r;t.stopPropagation();let i=t;(r=this.radios)===null||r===void 0||r.forEach(n=>{n.checked=n.name===i.detail.value,n.setAttribute("tabindex","0")})}buildMultiValuedOption(t){var r;return Nt.html`
1134
+ `}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var r;return Lt.html`
1126
1135
  <ft-checkbox name="${this.filterId}"
1127
1136
  part="multivalued-option"
1128
1137
  data-value="${t.value}"
1129
-
1130
1138
  .checked=${t.selected}
1131
1139
  .disabled=${this.disabled}
1132
- .indeterminate=${(0,Go.flatDeep)((r=t.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1140
+ .indeterminate=${(0,Vo.flatDeep)((r=t.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1133
1141
  @change=${i=>this.optionsChanged(i,t)}>
1134
1142
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1135
1143
  </ft-checkbox>
1136
- `}buildMonoValuedOption(t){return Nt.html`
1144
+ `}buildMonoValuedOption(t){return Lt.html`
1137
1145
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1138
1146
  part="monovalued-option"
1139
1147
  data-value="${t.value}"
1148
+ value="${t.value}"
1140
1149
  .checked=${t.selected}
1141
1150
  .disabled=${this.disabled}
1142
- @click=${r=>this.optionsChanged(r,t)}
1143
- @keyup=${r=>this.onRadioKeyUp(r,t)}
1144
- @change=${r=>this.onRadioChange(r)}>
1151
+ @keydown=${r=>this.onRadioKeyDown(r,t)}
1152
+ @change=${r=>this.optionsChanged(r,t)}>
1145
1153
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1146
1154
  </ft-radio>
1147
- `}onRadioKeyUp(t,r){r.selected&&t.key===" "&&this.optionsChanged(t,r)}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}connectedCallback(){super.connectedCallback(),this.makeRadioKeyBoardNavigable()}makeRadioKeyBoardNavigable(){this.multivalued||setTimeout(()=>{var t,r;this.radios=Array.from((t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("ft-radio")),(r=this.radios)===null||r===void 0||r.forEach(i=>{var n,a;i.setAttribute("tabindex","0"),(a=(n=i.shadowRoot)===null||n===void 0?void 0:n.querySelector('input[type="radio"]'))===null||a===void 0||a.setAttribute("tabindex","-1")})},5)}};Z.elementDefinitions={"ft-button":dt,"ft-ripple":k,"ft-typography":K,"ft-checkbox":Ot,"ft-icon":St,"ft-radio":lt};Z.styles=wa;ft([(0,ot.property)({type:String})],Z.prototype,"filterId",void 0);ft([(0,ot.property)({type:Object})],Z.prototype,"parent",void 0);ft([(0,ot.property)({type:Array})],Z.prototype,"options",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"multivalued",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"disabled",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"hideSelectedOptions",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"displayCount",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"preventNavigation",void 0);ft([(0,ot.property)({type:String})],Z.prototype,"filter",void 0);ft([(0,ot.property)({type:String})],Z.prototype,"moreValuesButtonLabel",void 0);ft([(0,ot.property)({type:String})],Z.prototype,"noValuesLabel",void 0);ft([(0,ot.property)({type:Number})],Z.prototype,"displayedValuesLimit",void 0);ft([(0,ot.query)(".ft-filter-level--container")],Z.prototype,"container",void 0);ft([(0,ot.state)()],Z.prototype,"radios",void 0);ft([(0,ot.state)()],Z.prototype,"displayedPages",void 0);var Pa=f(O());var Ia=f(R()),Lt=f(G()),we=f(O());var Ta=f(We());var Na=f(R()),Dt=f(O());var ue={buttonsColor:Dt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Dt.designSystemVariables.colorPrimary),buttonsZIndex:Dt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Dt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Dt.FtCssVariableFactory.external(Dt.designSystemVariables.colorSurface,"Design system")},La=Na.css`
1155
+ `}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};Z.elementDefinitions={"ft-button":dt,"ft-ripple":k,"ft-typography":K,"ft-checkbox":Ot,"ft-icon":St,"ft-radio":lt};Z.styles=wa;ft([(0,ot.property)({type:String})],Z.prototype,"filterId",void 0);ft([(0,ot.property)({type:Object})],Z.prototype,"parent",void 0);ft([(0,ot.property)({type:Array})],Z.prototype,"options",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"multivalued",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"disabled",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"hideSelectedOptions",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"displayCount",void 0);ft([(0,ot.property)({type:Boolean})],Z.prototype,"preventNavigation",void 0);ft([(0,ot.property)({type:String})],Z.prototype,"filter",void 0);ft([(0,ot.property)({type:String})],Z.prototype,"moreValuesButtonLabel",void 0);ft([(0,ot.property)({type:String})],Z.prototype,"noValuesLabel",void 0);ft([(0,ot.property)({type:Number})],Z.prototype,"displayedValuesLimit",void 0);ft([(0,ot.query)(".ft-filter-level--container")],Z.prototype,"container",void 0);ft([(0,ot.state)()],Z.prototype,"radios",void 0);ft([(0,ot.state)()],Z.prototype,"displayedPages",void 0);var Pa=f(O());var Ia=f(R()),It=f(V()),Re=f(O());var Ta=f(He());var Na=f(R()),Ut=f(O());var he={buttonsColor:Ut.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Ut.designSystemVariables.colorPrimary),buttonsZIndex:Ut.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Ut.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorSurface,"Design system")},La=Na.css`
1148
1156
  .ft-snap-scroll {
1149
1157
  box-sizing: border-box;
1150
1158
  position: relative;
@@ -1179,7 +1187,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1179
1187
  flex-wrap: nowrap;
1180
1188
  align-items: flex-start;
1181
1189
  justify-content: flex-start;
1182
- gap: ${ue.gap};
1190
+ gap: ${he.gap};
1183
1191
  }
1184
1192
 
1185
1193
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1222,11 +1230,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1222
1230
  .ft-snap-scroll--next {
1223
1231
  position: absolute;
1224
1232
  display: flex;
1225
- z-index: ${ue.buttonsZIndex};
1233
+ z-index: ${he.buttonsZIndex};
1226
1234
  opacity: 1;
1227
1235
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1228
- ${(0,Dt.setVariable)(B.backgroundColor,"transparent")};
1229
- ${(0,Dt.setVariable)(B.color,ue.buttonsColor)};
1236
+ ${(0,Ut.setVariable)(B.backgroundColor,"transparent")};
1237
+ ${(0,Ut.setVariable)(B.color,he.buttonsColor)};
1230
1238
  }
1231
1239
 
1232
1240
  .ft-snap-scroll--previous[hidden],
@@ -1239,37 +1247,37 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1239
1247
  top: 0;
1240
1248
  left: -1px;
1241
1249
  bottom: 0;
1242
- background: linear-gradient(to right, ${ue.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1250
+ background: linear-gradient(to right, ${he.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1243
1251
  }
1244
1252
 
1245
1253
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1246
1254
  top: -1px;
1247
1255
  left: 0;
1248
1256
  right: 0;
1249
- background: linear-gradient(to bottom, ${ue.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1257
+ background: linear-gradient(to bottom, ${he.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1250
1258
  }
1251
1259
 
1252
1260
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1253
1261
  top: 0;
1254
1262
  right: -1px;
1255
1263
  bottom: 0;
1256
- background: linear-gradient(to left, ${ue.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1264
+ background: linear-gradient(to left, ${he.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1257
1265
  }
1258
1266
 
1259
1267
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1260
1268
  left: 0;
1261
1269
  right: 0;
1262
1270
  bottom: -1px;
1263
- background: linear-gradient(to top, ${ue.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1271
+ background: linear-gradient(to top, ${he.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1264
1272
  }
1265
1273
 
1266
1274
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1267
1275
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1268
1276
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1269
1277
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1270
- background-color: ${ue.colorSurface};
1278
+ background-color: ${he.colorSurface};
1271
1279
  }
1272
- `;var Zt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pr=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},rt=class extends we.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new we.Debouncer(200),this.updateScrollDebouncer=new we.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,Ta.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":we.isSafari}),r=this.controls&&this.withScroll;return Ia.html`
1280
+ `;var Zt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pr=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},rt=class extends Re.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new Re.Debouncer(200),this.updateScrollDebouncer=new Re.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,Ta.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Re.isSafari}),r=this.controls&&this.withScroll;return Ia.html`
1273
1281
  <div part="container" class="${t}">
1274
1282
  <ft-button
1275
1283
  class="ft-snap-scroll--previous"
@@ -1293,7 +1301,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1293
1301
  @click=${this.next}
1294
1302
  ></ft-button>
1295
1303
  </div>
1296
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Pr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};rt.elementDefinitions={"ft-button":dt};rt.styles=La;Zt([(0,Lt.property)({type:Boolean})],rt.prototype,"horizontal",void 0);Zt([(0,Lt.property)({type:Boolean})],rt.prototype,"hideScrollbar",void 0);Zt([(0,Lt.property)({type:Boolean})],rt.prototype,"controls",void 0);Zt([(0,Lt.property)({type:Boolean})],rt.prototype,"limitSize",void 0);Zt([(0,Lt.state)()],rt.prototype,"elements",void 0);Zt([(0,Lt.state)()],rt.prototype,"currentElement",void 0);Zt([(0,Lt.state)()],rt.prototype,"withScroll",void 0);Zt([(0,Lt.state)()],rt.prototype,"startReached",void 0);Zt([(0,Lt.state)()],rt.prototype,"endReached",void 0);Zt([(0,Lt.query)(".ft-snap-scroll--content")],rt.prototype,"contentSlot",void 0);(0,Pa.customElement)("ft-snap-scroll")(rt);var ka=f(R()),z=f(O());var Pt={colorOutline:z.FtCssVariableFactory.external(z.designSystemVariables.colorOutline,"Design system"),colorOnSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:z.FtCssVariableFactory.external(z.designSystemVariables.colorPrimary,"Design system"),colorSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorSurface,"Design system"),transitionDuration:z.FtCssVariableFactory.external(z.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:z.FtCssVariableFactory.external(z.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:z.FtCssVariableFactory.extend("--ft-filter-label-color","",z.designSystemVariables.colorOnSurface),labelFontSize:z.FtCssVariableFactory.extend("--ft-filter-label-font-size","",S.fontSize,"16px")},$a=[ko,ka.css`
1304
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Pr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};rt.elementDefinitions={"ft-button":dt};rt.styles=La;Zt([(0,It.property)({type:Boolean})],rt.prototype,"horizontal",void 0);Zt([(0,It.property)({type:Boolean})],rt.prototype,"hideScrollbar",void 0);Zt([(0,It.property)({type:Boolean})],rt.prototype,"controls",void 0);Zt([(0,It.property)({type:Boolean})],rt.prototype,"limitSize",void 0);Zt([(0,It.state)()],rt.prototype,"elements",void 0);Zt([(0,It.state)()],rt.prototype,"currentElement",void 0);Zt([(0,It.state)()],rt.prototype,"withScroll",void 0);Zt([(0,It.state)()],rt.prototype,"startReached",void 0);Zt([(0,It.state)()],rt.prototype,"endReached",void 0);Zt([(0,It.query)(".ft-snap-scroll--content")],rt.prototype,"contentSlot",void 0);(0,Pa.customElement)("ft-snap-scroll")(rt);var ka=f(R()),z=f(O());var kt={colorOutline:z.FtCssVariableFactory.external(z.designSystemVariables.colorOutline,"Design system"),colorOnSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:z.FtCssVariableFactory.external(z.designSystemVariables.colorPrimary,"Design system"),colorSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorSurface,"Design system"),transitionDuration:z.FtCssVariableFactory.external(z.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:z.FtCssVariableFactory.external(z.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:z.FtCssVariableFactory.extend("--ft-filter-label-color","",z.designSystemVariables.colorOnSurface),labelFontSize:z.FtCssVariableFactory.extend("--ft-filter-label-font-size","",S.fontSize,"16px")},$a=[ko,ka.css`
1297
1305
  :host {
1298
1306
  display: flex;
1299
1307
  max-height: 100%;
@@ -1331,8 +1339,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1331
1339
  flex-shrink: 1;
1332
1340
  flex-grow: 1;
1333
1341
  word-break: break-word;
1334
- color: ${Pt.labelColor};
1335
- font-size: ${Pt.labelFontSize};
1342
+ color: ${kt.labelColor};
1343
+ font-size: ${kt.labelFontSize};
1336
1344
  ${(0,z.setVariable)(S.lineHeight,"22px")};
1337
1345
  ${(0,z.setVariable)(S.fontWeight,"bold")};
1338
1346
  }
@@ -1345,8 +1353,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1345
1353
  padding: 0 10px;
1346
1354
  overflow: hidden;
1347
1355
  height: 32px;
1348
- transition: height ${Pt.transitionDuration} ${Pt.transitionTimingFunction},
1349
- margin ${Pt.transitionDuration} ${Pt.transitionTimingFunction};
1356
+ transition: height ${kt.transitionDuration} ${kt.transitionTimingFunction},
1357
+ margin ${kt.transitionDuration} ${kt.transitionTimingFunction};
1350
1358
  transition-delay: 500ms;
1351
1359
  }
1352
1360
 
@@ -1359,15 +1367,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1359
1367
  display: block;
1360
1368
  width: 100%;
1361
1369
  border-radius: 4px;
1362
- border: 1px solid ${Pt.colorOutline};
1370
+ border: 1px solid ${kt.colorOutline};
1363
1371
  padding: 4px;
1364
- background-color: ${Pt.colorSurface};
1365
- color: ${Pt.colorOnSurface};
1366
- outline-color: ${Pt.colorPrimary};
1372
+ background-color: ${kt.colorSurface};
1373
+ color: ${kt.colorOnSurface};
1374
+ outline-color: ${kt.colorPrimary};
1367
1375
  }
1368
1376
 
1369
1377
  input::placeholder {
1370
- color: ${Pt.colorOnSurfaceMedium};
1378
+ color: ${kt.colorOnSurfaceMedium};
1371
1379
  }
1372
1380
 
1373
1381
  input:placeholder-shown {
@@ -1383,7 +1391,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1383
1391
  }
1384
1392
 
1385
1393
  .ft-filter--separator {
1386
- border-top: 1px solid ${Pt.colorOutline};
1394
+ border-top: 1px solid ${kt.colorOutline};
1387
1395
  margin: 4px 10px;
1388
1396
  }
1389
1397
 
@@ -1408,10 +1416,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1408
1416
  slot:not([name]) {
1409
1417
  display: none;
1410
1418
  }
1411
- `];var U=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},kr=class extends CustomEvent{constructor(t){super("change",{detail:t})}},L=class extends kt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new kt.Debouncer(300),this.changeDebouncer=new kt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,kt.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,kt.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Re.html`
1419
+ `];var U=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},kr=class extends CustomEvent{constructor(t){super("change",{detail:t})}},L=class extends $t.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new $t.Debouncer(300),this.changeDebouncer=new $t.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,$t.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,$t.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Ne.html`
1412
1420
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1413
1421
  part="container">
1414
- ${!this.label&&!t?null:Re.html`
1422
+ ${!this.label&&!t?null:Ne.html`
1415
1423
 
1416
1424
  <div class="ft-filter--header" part="header">
1417
1425
  <div class="filter-label" id="id-group-${this.id}">
@@ -1420,7 +1428,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1420
1428
  </ft-typography>
1421
1429
  <slot name="label"></slot>
1422
1430
  </div>
1423
- ${t&&!this.hideClearButton?Re.html`
1431
+ ${t&&!this.hideClearButton?Ne.html`
1424
1432
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1425
1433
  ${this.clearButtonLabel}
1426
1434
  </ft-button>
@@ -1444,8 +1452,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1444
1452
  @slotchange=${this.updateOptionsFromSlot}
1445
1453
  @option-change=${this.optionsChanged}></slot>
1446
1454
  </div>
1447
- `}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,l;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),t.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let t=this.flatOptions,r=t.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Re.html`
1448
- ${this.raiseSelectedOptions&&r.length>0?Re.html`
1455
+ `}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,l;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout(()=>{var p;(p=this.levelsContainer)===null||p===void 0||p.next(),this.slideIn=void 0},0),t.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let t=this.flatOptions,r=t.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Ne.html`
1456
+ ${this.raiseSelectedOptions&&r.length>0?Ne.html`
1449
1457
  <ft-filter-level
1450
1458
  filterId="${this.id}"
1451
1459
  ?multivalued=${this.multivalued}
@@ -1463,9 +1471,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1463
1471
  class="ft-filter--levels"
1464
1472
  @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1465
1473
  ${this.renderLevel(n,this.options)}
1466
- ${this.displayedLevels.map(a=>t.find(l=>l.value===a)).map((a,l)=>{var c;let u=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(u,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
1474
+ ${this.displayedLevels.map(a=>t.find(l=>l.value===a)).map((a,l)=>{var p;let u=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(u,(p=a?.subOptions)!==null&&p!==void 0?p:[],a)})}
1467
1475
  </ft-snap-scroll>
1468
- `}renderLevel(t,r,i){return Re.html`
1476
+ `}renderLevel(t,r,i){return Ne.html`
1469
1477
  <ft-filter-level
1470
1478
  class="${t}"
1471
1479
  filterId="${this.id}"
@@ -1485,20 +1493,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1485
1493
  .exportpartsPrefixes=${["values","available-values"]}
1486
1494
  noValuesLabel="${this.noValuesLabel}"
1487
1495
  ></ft-filter-level>
1488
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var l;a!==i&&(a.selected=!1),(l=a.subOptions)===null||l===void 0||l.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,kt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new kr(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};L.elementDefinitions={"ft-button":dt,"ft-filter-level":Z,"ft-snap-scroll":rt,"ft-typography":K};L.styles=$a;U([(0,_.property)({type:String})],L.prototype,"id",void 0);U([(0,_.property)({type:String})],L.prototype,"label",void 0);U([(0,_.property)({type:String})],L.prototype,"filterPlaceHolder",void 0);U([(0,_.property)({type:String})],L.prototype,"clearButtonLabel",void 0);U([(0,_.property)({type:String})],L.prototype,"moreValuesButtonLabel",void 0);U([(0,_.property)({type:String})],L.prototype,"noValuesLabel",void 0);U([(0,kt.jsonProperty)([])],L.prototype,"options",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"multivalued",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"disabled",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"raiseSelectedOptions",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"displayCount",void 0);U([(0,_.property)({type:Number})],L.prototype,"displayedValuesLimit",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"hideClearButton",void 0);U([(0,_.query)(".ft-filter--slot")],L.prototype,"slotElement",void 0);U([(0,_.query)(".ft-filter--container")],L.prototype,"container",void 0);U([(0,_.query)(".ft-filter--values")],L.prototype,"valuesContainer",void 0);U([(0,_.query)(".ft-filter--levels")],L.prototype,"levelsContainer",void 0);U([(0,_.state)()],L.prototype,"lastLevelHasHiddenvalues",void 0);U([(0,_.query)(".ft-filter--filter input")],L.prototype,"filterInput",void 0);U([(0,_.queryAll)(".ft-filter--levels ft-filter-level")],L.prototype,"levels",void 0);U([(0,_.state)()],L.prototype,"withScroll",void 0);U([(0,_.state)()],L.prototype,"filter",void 0);U([(0,_.state)()],L.prototype,"slideIn",void 0);U([(0,_.state)()],L.prototype,"slideOut",void 0);var Ko=f(O()),Ne=f(G()),_a=f(R()),Qe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ut=class extends Ko.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _a.html`
1496
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var l;a!==i&&(a.selected=!1),(l=a.subOptions)===null||l===void 0||l.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,$t.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new kr(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};L.elementDefinitions={"ft-button":dt,"ft-filter-level":Z,"ft-snap-scroll":rt,"ft-typography":K};L.styles=$a;U([(0,_.property)({type:String})],L.prototype,"id",void 0);U([(0,_.property)({type:String})],L.prototype,"label",void 0);U([(0,_.property)({type:String})],L.prototype,"filterPlaceHolder",void 0);U([(0,_.property)({type:String})],L.prototype,"clearButtonLabel",void 0);U([(0,_.property)({type:String})],L.prototype,"moreValuesButtonLabel",void 0);U([(0,_.property)({type:String})],L.prototype,"noValuesLabel",void 0);U([(0,$t.jsonProperty)([])],L.prototype,"options",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"multivalued",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"disabled",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"raiseSelectedOptions",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"displayCount",void 0);U([(0,_.property)({type:Number})],L.prototype,"displayedValuesLimit",void 0);U([(0,_.property)({type:Boolean})],L.prototype,"hideClearButton",void 0);U([(0,_.query)(".ft-filter--slot")],L.prototype,"slotElement",void 0);U([(0,_.query)(".ft-filter--container")],L.prototype,"container",void 0);U([(0,_.query)(".ft-filter--values")],L.prototype,"valuesContainer",void 0);U([(0,_.query)(".ft-filter--levels")],L.prototype,"levelsContainer",void 0);U([(0,_.state)()],L.prototype,"lastLevelHasHiddenvalues",void 0);U([(0,_.query)(".ft-filter--filter input")],L.prototype,"filterInput",void 0);U([(0,_.queryAll)(".ft-filter--levels ft-filter-level")],L.prototype,"levels",void 0);U([(0,_.state)()],L.prototype,"withScroll",void 0);U([(0,_.state)()],L.prototype,"filter",void 0);U([(0,_.state)()],L.prototype,"slideIn",void 0);U([(0,_.state)()],L.prototype,"slideOut",void 0);var Ko=f(O()),Le=f(V()),_a=f(R()),Je=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ft=class extends Ko.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _a.html`
1489
1497
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1490
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ut.elementDefinitions={};Qe([(0,Ne.property)({type:String})],Ut.prototype,"label",void 0);Qe([(0,Ne.property)({type:Object,converter:o=>o})],Ut.prototype,"value",void 0);Qe([(0,Ne.property)({type:Boolean,reflect:!0})],Ut.prototype,"selected",void 0);Qe([(0,Ne.property)({type:Object})],Ut.prototype,"subOptions",void 0);Qe([(0,Ko.jsonProperty)({})],Ut.prototype,"renderOption",void 0);Qe([(0,Ne.query)(".ft-filter-option--slot")],Ut.prototype,"slotElement",void 0);(0,$r.customElement)("ft-filter")(L);(0,$r.customElement)("ft-filter-option")(Ut);var ds=f(O()),fs=f(G());var ie=f(O());var Ba=f(O()),el={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Da=o=>Ba.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:el});var gm=f(Fa(),1);var za;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(za||(za={}));var Ma;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ma||(Ma={}));var Wa;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Wa||(Wa={}));var Ha;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Ha||(Ha={}));var Va;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Va||(Va={}));var Ga;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(Ga||(Ga={}));var Ka;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(Ka||(Ka={}));var Za;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(Za||(Za={}));var ja;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(ja||(ja={}));var qa;(function(o){o.ASC="ASC",o.DESC="DESC"})(qa||(qa={}));var Ya;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(Ya||(Ya={}));var Je;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Je||(Je={}));var Xa;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Xa||(Xa={}));var Qa;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(Qa||(Qa={}));var Ja;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Ja||(Ja={}));var ts;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(ts||(ts={}));var to;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(to||(to={}));var it;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(it||(it={}));var es;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(es||(es={}));var um={[it.PERSONAL_BOOK_SHARE_USER]:[it.PERSONAL_BOOK_USER],[it.HTML_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.PDF_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.KHUB_ADMIN]:[it.CONTENT_PUBLISHER],[it.ADMIN]:[it.KHUB_ADMIN,it.USERS_ADMIN,it.PORTAL_ADMIN],[it.DEVELOPER]:[it.BETA_USER,it.DEBUG_USER]};var ps=f(O());var ss=f(R()),$t=f(G()),Ft=f(O());var os=f(R());var rs=os.css`
1491
- `;var is=f(O()),ol="ft-app-info",rl={},E=is.FtReduxStore.get({name:ol,reducers:rl,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 he=f(O());var _r=f(O());var Le=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=E.getState(),n=t??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let n=E.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var jt=class{constructor(t=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new _r.CacheRegistry,this.cache=t?n.commonCache:new _r.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.await()}clearCache(){this.cache.clearAll()}};var ns,il=Symbol("clearAfterUnitTest"),Zo=class extends jt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ns]=()=>{this.defaultMessages={},this.cache=new he.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=E.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,he.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var n,a,l;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new he.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},c).resolve(r,...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(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,he.delay)(0).then(()=>r()).catch(()=>null)))}};ns=il;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Zo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Zo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var eo=window.FluidTopicsI18nService,as=window.FluidTopicsCustomI18nService;var ut=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},j=class extends Ft.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=()=>Le.get(),this.messageContexts=[],this.cache=new Ft.CacheRegistry,this.cleanSessionDebouncer=new Ft.Debouncer}render(){return ss.html`
1498
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ft.elementDefinitions={};Je([(0,Le.property)({type:String})],Ft.prototype,"label",void 0);Je([(0,Le.property)({type:Object,converter:o=>o})],Ft.prototype,"value",void 0);Je([(0,Le.property)({type:Boolean,reflect:!0})],Ft.prototype,"selected",void 0);Je([(0,Le.property)({type:Object})],Ft.prototype,"subOptions",void 0);Je([(0,Ko.jsonProperty)({})],Ft.prototype,"renderOption",void 0);Je([(0,Le.query)(".ft-filter-option--slot")],Ft.prototype,"slotElement",void 0);(0,$r.customElement)("ft-filter")(L);(0,$r.customElement)("ft-filter-option")(Ft);var ds=f(O()),fs=f(V());var ne=f(O());var Ba=f(O()),el={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Da=o=>Ba.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:el});var Em=f(Fa(),1);var za;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(za||(za={}));var Ma;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ma||(Ma={}));var Wa;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Wa||(Wa={}));var Ha;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Ha||(Ha={}));var Ga;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Ga||(Ga={}));var Va;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(Va||(Va={}));var Ka;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(Ka||(Ka={}));var Za;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(Za||(Za={}));var ja;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(ja||(ja={}));var qa;(function(o){o.ASC="ASC",o.DESC="DESC"})(qa||(qa={}));var Ya;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(Ya||(Ya={}));var to;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(to||(to={}));var Xa;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Xa||(Xa={}));var Qa;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(Qa||(Qa={}));var Ja;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Ja||(Ja={}));var ts;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(ts||(ts={}));var eo;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(eo||(eo={}));var it;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(it||(it={}));var es;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(es||(es={}));var vm={[it.PERSONAL_BOOK_SHARE_USER]:[it.PERSONAL_BOOK_USER],[it.HTML_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.PDF_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.KHUB_ADMIN]:[it.CONTENT_PUBLISHER],[it.ADMIN]:[it.KHUB_ADMIN,it.USERS_ADMIN,it.PORTAL_ADMIN],[it.DEVELOPER]:[it.BETA_USER,it.DEBUG_USER]};var ps=f(O());var ss=f(R()),_t=f(V()),zt=f(O());var os=f(R());var rs=os.css`
1499
+ `;var is=f(O()),ol="ft-app-info",rl={},E=is.FtReduxStore.get({name:ol,reducers:rl,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 me=f(O());var _r=f(O());var Ie=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=E.getState(),n=t??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let n=E.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var jt=class{constructor(t=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new _r.CacheRegistry,this.cache=t?n.commonCache:new _r.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ie.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ie.await()}clearCache(){this.cache.clearAll()}};var ns,il=Symbol("clearAfterUnitTest"),Zo=class extends jt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ns]=()=>{this.defaultMessages={},this.cache=new me.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=E.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,me.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var n,a,l;t=t.toLowerCase(),this.fetchContext(t);let p=(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new me.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},p).resolve(r,...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(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,me.delay)(0).then(()=>r()).catch(()=>null)))}};ns=il;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Zo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Zo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var oo=window.FluidTopicsI18nService,as=window.FluidTopicsCustomI18nService;var ut=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},j=class extends zt.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=()=>Ie.get(),this.messageContexts=[],this.cache=new zt.CacheRegistry,this.cleanSessionDebouncer=new zt.Debouncer}render(){return ss.html`
1492
1500
  <slot></slot>
1493
- `}update(t){super.update(t),t.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("availableUiLocales")&&E.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>eo.addContext(r)),t.has("openExternalDocumentInNewTab")&&E.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&E.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&E.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 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())}};j.elementDefinitions={};j.styles=rs;ut([(0,$t.property)()],j.prototype,"baseUrl",void 0);ut([(0,$t.property)()],j.prototype,"apiIntegrationIdentifier",void 0);ut([(0,$t.property)()],j.prototype,"uiLocale",void 0);ut([(0,Ft.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ut([(0,Ft.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);ut([(0,$t.property)({type:Boolean})],j.prototype,"editorMode",void 0);ut([(0,$t.property)({type:Boolean})],j.prototype,"noCustom",void 0);ut([(0,$t.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);ut([(0,$t.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);ut([(0,$t.property)({type:Boolean})],j.prototype,"withManualResources",void 0);ut([(0,$t.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);ut([(0,$t.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);ut([(0,$t.property)({type:Object})],j.prototype,"apiProvider",void 0);ut([(0,Ft.jsonProperty)([])],j.prototype,"messageContexts",void 0);ut([(0,Ft.jsonProperty)(void 0)],j.prototype,"session",void 0);var Xo=f(O());var jo=class extends jt{async listMySearches(){let t=E.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var qo=class extends jt{async listMyBookmarks(){let t=E.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var nl="ft-user-assets",Yo=Xo.FtReduxStore.get({name:nl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Br=class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new qo,this.savedSearchesService=new jo,E.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=E.getState();(0,Xo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Yo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Yo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Yo.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){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Yo.actions.bookmarks(r)}}},ls=new Br;var Dr=class{addCommand(t,r=!1){E.commands.add(t,r)}consumeCommand(t){return E.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Dr;var cs=f(O()),Ur=class{highlightHtml(t,r){(0,cs.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ur;(0,ps.customElement)("ft-app-context")(j);var Qo=class extends jt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var al=o=>o.request.virtualField===Je.TITLE_ONLY&&o.request.scope===to.DOCUMENTS,oo=class o extends Event{constructor(){super(o.eventName)}};oo.eventName="search-context-clear-all-filters";var Co=class o{static build(t,r){return new o(Da(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new ie.Debouncer(100),this.suggestDebouncer=new ie.Debouncer(300),this.service=r??new Qo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(l=>l.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Je.TITLE_ONLY),this.store.actions.setRequestScope(to.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Je.EVERYWHERE),this.store.actions.setRequestScope(to.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return al(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new oo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(l=>l.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,ie.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof ie.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,ie.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof ie.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var sl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},zr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Fr=Symbol("registerInterval");function ll(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Fr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Fr]):this.dispatchEvent(new zr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Fr,sl([(0,fs.state)()],r.prototype,"stateManager",void 0),r}var Jo=class extends ll(ds.FtLitElementRedux){};function us(o){return o.rootNodes.map(t=>hs(t))}function hs(o,t=!1){return{label:o.label,value:o.value,selected:o.selected&&!t,subOptions:o.childNodes.map(r=>hs(r,o.selected)),count:o.totalResultsCount}}var xs=f(O());var ir=f(R()),nr=f(G()),ar=f(O());var ms=f(R());var ys=ms.css`
1494
- `;var or=f(O());var bs=f(G()),cl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Mr=Symbol("i18nAttributes"),tr=Symbol("i18nProperties"),Eo=Symbol("i18nUnsubs");function rr(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?as:eo}i18n(n,a,...l){var c;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...l);let u=(c=n.args)!==null&&c!==void 0?c:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...u)}onI18nUpdate(n){var a,l;(a=this[Mr])===null||a===void 0||a.forEach((c,u)=>{var h;let b=this.getI18nAttributeValue(u);((h=b?.context)===null||h===void 0?void 0:h.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(u,b,c)}),(l=this[tr])===null||l===void 0||l.forEach((c,u)=>{c.context.toLowerCase()===n.toLowerCase()&&(this[u]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,l){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...l})}}update(n){var a,l;super.update(n),(a=this[Mr])===null||a===void 0||a.forEach((c,u)=>{let h=this.getI18nAttributeValue(u);h?.context&&h.key&&(n.has(u)||c.argsProvider!=null)&&(n.has(u)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(u,h,c))}),(l=this[tr])===null||l===void 0||l.forEach((c,u)=>{c.argsProvider!=null&&(this[u]=this.i18n(c))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,l,c;super.connectedCallback(),new Set([...(a=(n=this[tr])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(c=(l=this[Mr])===null||l===void 0?void 0:l.keys())!==null&&c!==void 0?c:[]].map(u=>this.getI18nAttributeValue(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u))}addI18nMessages(n,a){n=n.toLowerCase(),this[Eo].has(n)||this[Eo].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[Eo].forEach(n=>n()),this[Eo].clear()}}return t=Eo,cl([(0,bs.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var gs=class extends rr(or.FtLitElement){},er=class extends rr(or.FtLitElementRedux){};var Ao=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},zt=class extends er{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ir.nothing:ir.html`
1501
+ `}update(t){super.update(t),t.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("availableUiLocales")&&E.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>oo.addContext(r)),t.has("openExternalDocumentInNewTab")&&E.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&E.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&E.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 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())}};j.elementDefinitions={};j.styles=rs;ut([(0,_t.property)()],j.prototype,"baseUrl",void 0);ut([(0,_t.property)()],j.prototype,"apiIntegrationIdentifier",void 0);ut([(0,_t.property)()],j.prototype,"uiLocale",void 0);ut([(0,zt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ut([(0,zt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);ut([(0,_t.property)({type:Boolean})],j.prototype,"editorMode",void 0);ut([(0,_t.property)({type:Boolean})],j.prototype,"noCustom",void 0);ut([(0,_t.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);ut([(0,_t.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);ut([(0,_t.property)({type:Boolean})],j.prototype,"withManualResources",void 0);ut([(0,_t.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);ut([(0,_t.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);ut([(0,_t.property)({type:Object})],j.prototype,"apiProvider",void 0);ut([(0,zt.jsonProperty)([])],j.prototype,"messageContexts",void 0);ut([(0,zt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Xo=f(O());var jo=class extends jt{async listMySearches(){let t=E.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var qo=class extends jt{async listMyBookmarks(){let t=E.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var nl="ft-user-assets",Yo=Xo.FtReduxStore.get({name:nl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Br=class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new qo,this.savedSearchesService=new jo,E.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=E.getState();(0,Xo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Yo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Yo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Yo.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){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Yo.actions.bookmarks(r)}}},ls=new Br;var Dr=class{addCommand(t,r=!1){E.commands.add(t,r)}consumeCommand(t){return E.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Dr;var cs=f(O()),Ur=class{highlightHtml(t,r){(0,cs.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ur;(0,ps.customElement)("ft-app-context")(j);var Qo=class extends jt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var al=o=>o.request.virtualField===to.TITLE_ONLY&&o.request.scope===eo.DOCUMENTS,ro=class o extends Event{constructor(){super(o.eventName)}};ro.eventName="search-context-clear-all-filters";var Co=class o{static build(t,r){return new o(Da(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new ne.Debouncer(100),this.suggestDebouncer=new ne.Debouncer(300),this.service=r??new Qo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(l=>l.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(to.TITLE_ONLY),this.store.actions.setRequestScope(eo.DOCUMENTS)):(this.store.actions.setRequestVirtualField(to.EVERYWHERE),this.store.actions.setRequestScope(eo.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return al(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new ro)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(l=>l.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,ne.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof ne.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,ne.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof ne.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var sl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},zr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Fr=Symbol("registerInterval");function ll(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Fr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Fr]):this.dispatchEvent(new zr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Fr,sl([(0,fs.state)()],r.prototype,"stateManager",void 0),r}var Jo=class extends ll(ds.FtLitElementRedux){};function us(o){return o.rootNodes.map(t=>hs(t))}function hs(o,t=!1){return{label:o.label,value:o.value,selected:o.selected&&!t,subOptions:o.childNodes.map(r=>hs(r,o.selected)),count:o.totalResultsCount}}var xs=f(O());var ir=f(R()),nr=f(V()),ar=f(O());var ms=f(R());var ys=ms.css`
1502
+ `;var or=f(O());var bs=f(V()),cl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Mr=Symbol("i18nAttributes"),tr=Symbol("i18nProperties"),Eo=Symbol("i18nUnsubs");function rr(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?as:oo}i18n(n,a,...l){var p;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...l);let u=(p=n.args)!==null&&p!==void 0?p:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...u)}onI18nUpdate(n){var a,l;(a=this[Mr])===null||a===void 0||a.forEach((p,u)=>{var h;let b=this.getI18nAttributeValue(u);((h=b?.context)===null||h===void 0?void 0:h.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(u,b,p)}),(l=this[tr])===null||l===void 0||l.forEach((p,u)=>{p.context.toLowerCase()===n.toLowerCase()&&(this[u]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,l){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...l})}}update(n){var a,l;super.update(n),(a=this[Mr])===null||a===void 0||a.forEach((p,u)=>{let h=this.getI18nAttributeValue(u);h?.context&&h.key&&(n.has(u)||p.argsProvider!=null)&&(n.has(u)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(u,h,p))}),(l=this[tr])===null||l===void 0||l.forEach((p,u)=>{p.argsProvider!=null&&(this[u]=this.i18n(p))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,l,p;super.connectedCallback(),new Set([...(a=(n=this[tr])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(p=(l=this[Mr])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(u=>this.getI18nAttributeValue(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u))}addI18nMessages(n,a){n=n.toLowerCase(),this[Eo].has(n)||this[Eo].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[Eo].forEach(n=>n()),this[Eo].clear()}}return t=Eo,cl([(0,bs.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var gs=class extends rr(or.FtLitElement){},er=class extends rr(or.FtLitElementRedux){};var Ao=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Mt=class extends er{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ir.nothing:ir.html`
1495
1503
  <span class="ft-i18n">
1496
1504
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1497
1505
  </span>
1498
- `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};zt.elementDefinitions={};zt.styles=ys;Ao([(0,ar.redux)()],zt.prototype,"editorMode",void 0);Ao([(0,nr.property)()],zt.prototype,"context",void 0);Ao([(0,nr.property)()],zt.prototype,"key",void 0);Ao([(0,ar.jsonProperty)([])],zt.prototype,"args",void 0);Ao([(0,nr.property)()],zt.prototype,"defaultMessage",void 0);var sr=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(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)=>eo.resolveMessage(this.name,i,...n)})}};(0,xs.customElement)("ft-i18n")(zt);var me=sr.build("designedSearchFacet");var Cs=f(O());var Os=f(R()),ne=f(G()),Mt=f(O());var vs=f(R());var Ss=vs.css`
1499
- `;var ht=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Wr=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},Hr=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},Vr=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},q=class extends Mt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Co.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(E)}render(){return Os.html`
1506
+ `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Mt.elementDefinitions={};Mt.styles=ys;Ao([(0,ar.redux)()],Mt.prototype,"editorMode",void 0);Ao([(0,nr.property)()],Mt.prototype,"context",void 0);Ao([(0,nr.property)()],Mt.prototype,"key",void 0);Ao([(0,ar.jsonProperty)([])],Mt.prototype,"args",void 0);Ao([(0,nr.property)()],Mt.prototype,"defaultMessage",void 0);var sr=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(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)=>oo.resolveMessage(this.name,i,...n)})}};(0,xs.customElement)("ft-i18n")(Mt);var ye=sr.build("designedSearchFacet");var Cs=f(O());var Os=f(R()),ae=f(V()),Wt=f(O());var vs=f(R());var Ss=vs.css`
1507
+ `;var ht=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Wr=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},Hr=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},Gr=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},q=class extends Wt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Co.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(E)}render(){return Os.html`
1500
1508
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1501
- `}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Hr(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Vr(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Wr(t))}reloadSavedSearches(){ls.clearMySearches()}clear(){this.stateManager.clear()}};q.elementDefinitions={};q.styles=Ss;ht([(0,ne.property)()],q.prototype,"query",void 0);ht([(0,ne.property)()],q.prototype,"contentLocale",void 0);ht([(0,ne.property)({type:Number})],q.prototype,"pageSize",void 0);ht([(0,ne.property)({type:Boolean})],q.prototype,"searchInDocumentTitlesOnly",void 0);ht([(0,ne.property)()],q.prototype,"periodFilter",void 0);ht([(0,ne.property)()],q.prototype,"scope",void 0);ht([(0,ne.property)({type:Boolean})],q.prototype,"ignoreEmptyQuery",void 0);ht([(0,Mt.redux)({store:E.name})],q.prototype,"openExternalDocumentInNewTab",void 0);ht([(0,Mt.jsonProperty)([])],q.prototype,"filters",void 0);ht([(0,Mt.jsonProperty)([])],q.prototype,"sort",void 0);ht([(0,Mt.redux)({store:"search"})],q.prototype,"request",void 0);ht([(0,Mt.redux)({store:"search"})],q.prototype,"paging",void 0);ht([(0,Mt.redux)({store:"search",selector:o=>o.spellcheck})],q.prototype,"autocorrect",void 0);ht([(0,Mt.redux)({store:E.name})],q.prototype,"session",void 0);ht([(0,ne.property)({attribute:!1})],q.prototype,"searchServiceProvider",void 0);(0,Cs.customElement)("ft-search-context")(q);var ae=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},mt=class extends rr(Jo){constructor(){super(...arguments),this.facetId="",this.maxValues=7,this.raiseSelectedOptions=!1,this.displayTotalResultsCount=!1}setSearchStateManager(t){super.setSearchStateManager(t),this.facetId&&t.addFacet(this.facetId),this.addI18nContext(me),this.addStore(E)}render(){var t;let r=(t=this.facets)===null||t===void 0?void 0:t.find(i=>i.key==this.facetId);return r?ro.html`
1509
+ `}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Hr(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Gr(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Wr(t))}reloadSavedSearches(){ls.clearMySearches()}clear(){this.stateManager.clear()}};q.elementDefinitions={};q.styles=Ss;ht([(0,ae.property)()],q.prototype,"query",void 0);ht([(0,ae.property)()],q.prototype,"contentLocale",void 0);ht([(0,ae.property)({type:Number})],q.prototype,"pageSize",void 0);ht([(0,ae.property)({type:Boolean})],q.prototype,"searchInDocumentTitlesOnly",void 0);ht([(0,ae.property)()],q.prototype,"periodFilter",void 0);ht([(0,ae.property)()],q.prototype,"scope",void 0);ht([(0,ae.property)({type:Boolean})],q.prototype,"ignoreEmptyQuery",void 0);ht([(0,Wt.redux)({store:E.name})],q.prototype,"openExternalDocumentInNewTab",void 0);ht([(0,Wt.jsonProperty)([])],q.prototype,"filters",void 0);ht([(0,Wt.jsonProperty)([])],q.prototype,"sort",void 0);ht([(0,Wt.redux)({store:"search"})],q.prototype,"request",void 0);ht([(0,Wt.redux)({store:"search"})],q.prototype,"paging",void 0);ht([(0,Wt.redux)({store:"search",selector:o=>o.spellcheck})],q.prototype,"autocorrect",void 0);ht([(0,Wt.redux)({store:E.name})],q.prototype,"session",void 0);ht([(0,ae.property)({attribute:!1})],q.prototype,"searchServiceProvider",void 0);(0,Cs.customElement)("ft-search-context")(q);var se=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},mt=class extends rr(Jo){constructor(){super(...arguments),this.facetId="",this.maxValues=7,this.raiseSelectedOptions=!1,this.displayTotalResultsCount=!1}setSearchStateManager(t){super.setSearchStateManager(t),this.facetId&&t.addFacet(this.facetId),this.addI18nContext(ye),this.addStore(E)}render(){var t;let r=(t=this.facets)===null||t===void 0?void 0:t.find(i=>i.key==this.facetId);return r?io.html`
1502
1510
  <ft-filter
1503
1511
  part="filter"
1504
1512
  label="${r.label}"
@@ -1509,13 +1517,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1509
1517
  ?raiseSelectedOptions=${this.raiseSelectedOptions}
1510
1518
  .options=${us(r)}
1511
1519
  .displayedValuesLimit=${this.maxValues}
1512
- filterPlaceHolder="${me.messages.filterInputPlaceHolder(r.label)}"
1513
- clearButtonLabel="${me.messages.clearFilterButton()}"
1514
- moreValuesButtonLabel="${me.messages.displayMoreFilterValuesButton()}"
1515
- noValuesLabel="${me.messages.noFilterValuesAvailable()}"
1520
+ filterPlaceHolder="${ye.messages.filterInputPlaceHolder(r.label)}"
1521
+ clearButtonLabel="${ye.messages.clearFilterButton()}"
1522
+ moreValuesButtonLabel="${ye.messages.displayMoreFilterValuesButton()}"
1523
+ noValuesLabel="${ye.messages.noFilterValuesAvailable()}"
1516
1524
  @change=${this.onFacetValueSelected}
1517
1525
  ></ft-filter>
1518
- `:this.editorMode?this.facetId?ro.html`${me.messages.noFilterValuesAvailable()}`:ro.html`${me.messages.noMetadataSelected()}`:ro.nothing}update(t){var r;super.update(t),t.has("facetId")&&((r=this.stateManager)===null||r===void 0||r.replaceFacet(t.get("facetId"),this.facetId))}onFacetValueSelected(t){var r;(r=this.stateManager)===null||r===void 0||r.setFilter(this.facetId,t.detail)}clearFacet(){this.filter.clear()}};mt.elementDefinitions={"ft-filter":L,"ft-typography":K};mt.styles=Xr;ae([(0,Ie.property)()],mt.prototype,"facetId",void 0);ae([(0,Ie.property)({type:Number})],mt.prototype,"maxValues",void 0);ae([(0,Ie.property)({type:Boolean})],mt.prototype,"raiseSelectedOptions",void 0);ae([(0,Ie.property)({type:Boolean})],mt.prototype,"displayTotalResultsCount",void 0);ae([(0,io.redux)({store:"search"})],mt.prototype,"request",void 0);ae([(0,io.redux)({store:"search"})],mt.prototype,"facets",void 0);ae([(0,io.redux)({store:E.name})],mt.prototype,"editorMode",void 0);ae([(0,Ie.query)("ft-filter")],mt.prototype,"filter",void 0);ae([(0,io.reduxEventListener)({eventName:oo.eventName})],mt.prototype,"clearFacet",null);(0,Es.customElement)("ft-search-facet")(mt);})();
1526
+ `:this.editorMode?this.facetId?io.html`${ye.messages.noFilterValuesAvailable()}`:io.html`${ye.messages.noMetadataSelected()}`:io.nothing}update(t){var r;super.update(t),t.has("facetId")&&((r=this.stateManager)===null||r===void 0||r.replaceFacet(t.get("facetId"),this.facetId))}onFacetValueSelected(t){var r;(r=this.stateManager)===null||r===void 0||r.setFilter(this.facetId,t.detail)}clearFacet(){this.filter.clear()}};mt.elementDefinitions={"ft-filter":L,"ft-typography":K};mt.styles=Xr;se([(0,Te.property)()],mt.prototype,"facetId",void 0);se([(0,Te.property)({type:Number})],mt.prototype,"maxValues",void 0);se([(0,Te.property)({type:Boolean})],mt.prototype,"raiseSelectedOptions",void 0);se([(0,Te.property)({type:Boolean})],mt.prototype,"displayTotalResultsCount",void 0);se([(0,no.redux)({store:"search"})],mt.prototype,"request",void 0);se([(0,no.redux)({store:"search"})],mt.prototype,"facets",void 0);se([(0,no.redux)({store:E.name})],mt.prototype,"editorMode",void 0);se([(0,Te.query)("ft-filter")],mt.prototype,"filter",void 0);se([(0,no.reduxEventListener)({eventName:ro.eventName})],mt.prototype,"clearFacet",null);(0,Es.customElement)("ft-search-facet")(mt);})();
1519
1527
  /*! Bundled license information:
1520
1528
 
1521
1529
  lit-html/lit-html.js: