@fluid-topics/ft-search-type 1.1.75 → 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 Hr=Object.defineProperty;var ws=Object.getOwnPropertyDescriptor;var Rs=Object.getOwnPropertyNames;var Ns=Object.getPrototypeOf,Ls=Object.prototype.hasOwnProperty;var he=(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&&Hr(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?Hr(r,"default",{value:o,enumerable:!0}):r,o));var O=he((pl,Gr)=>{Gr.exports=ftGlobals.wcUtils});var R=he((dl,Vr)=>{Vr.exports=ftGlobals.lit});var V=he((hl,jr)=>{jr.exports=ftGlobals.litDecorators});var tn=he((Qd,Ji)=>{Ji.exports=ftGlobals.litRepeat});var ze=he((lf,gn)=>{gn.exports=ftGlobals.litClassMap});var qn=he((Yf,jn)=>{jn.exports=ftGlobals.litUnsafeHTML});var Ya=he(qa=>{(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 A(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 W(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 M(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function z(){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=M(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=M(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(A)}),this.text=function(){var d=v(this);if(d)return d;if(this._bodyBlob)return I(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(W(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 vo(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 So=at.join(":").trim();m.append(_,So)}}),m}z.call(ct.prototype);function Ot(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)}z.call(Ot.prototype),Ot.prototype.clone=function(){return new Ot(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Ot.error=function(){var d=new Ot(null,{status:0,statusText:""});return d.type="error",d};var Mr=[301,302,303,307,308];Ot.redirect=function(d,m){if(Mr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Ot(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 Ne(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 So(){_.abort()}_.onload=function(){var Je={status:_.status,statusText:_.statusText,headers:vo(_.getAllResponseHeaders()||"")};Je.url="responseURL"in _?_.responseURL:Je.headers.get("X-Request-URL");var ir="response"in _?_.response:_.responseText;C(new Ot(ir,Je))},_.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(Je,ir){_.setRequestHeader(ir,Je)}),at.signal&&(at.signal.addEventListener("abort",So),_.onreadystatechange=function(){_.readyState===4&&at.signal.removeEventListener("abort",So)}),_.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return Ne.polyfill=!0,o.fetch||(o.fetch=Ne,o.Headers=b,o.Request=ct,o.Response=Ot),r.Headers=b,r.Request=ct,r.Response=Ot,r.fetch=Ne,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:qa)});var Es=f(O());var Ss=f(R()),Os=f(O());var Kr=f(R()),fl={},Zr=Kr.css`
2
- `;var Ir=f(O());var Ae=f(R()),$=f(V()),Pt=f(O());var Qi=f(O());var dr=globalThis,Oo=dr.trustedTypes,qr=Oo?Oo.createPolicy("lit-html",{createHTML:o=>o}):void 0,ei="$lit$",ne=`lit$${(Math.random()+"").slice(9)}$`,oi="?"+ne,Ts=`<${oi}>`,ge=document,Co=()=>ge.createComment(""),eo=o=>o===null||typeof o!="object"&&typeof o!="function",ri=Array.isArray,Ps=o=>ri(o)||typeof o?.[Symbol.iterator]=="function",nr=`[
3
- \f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yr=/-->/g,Xr=/>/g,me=RegExp(`>|${nr}(?:([^\\s"'>=/]+)(${nr}*=${nr}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Qr=/'/g,Jr=/"/g,ii=/^(?:script|style|textarea|title)$/i,ni=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),ai=ni(1),si=ni(2),oo=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ti=new WeakMap,ye=ge.createTreeWalker(ge,129);function li(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=to;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===to?b[1]==="!--"?l=Yr:b[1]!==void 0?l=Xr:b[2]!==void 0?(ii.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=me):b[3]!==void 0&&(l=me):l===me?b[0]===">"?(l=n??to,v=-1):b[1]===void 0?v=-2:(v=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?me:b[3]==='"'?Jr:Qr):l===Jr||l===Qr?l=me:l===Yr||l===Xr?l=to:(l=me,n=void 0);let A=l===me&&o[c+1].startsWith("/>")?" ":"";a+=l===to?u+Ts:v>=0?(i.push(h),u.slice(0,v)+ei+u.slice(v)+ne+A):u+ne+(v===-2?c:A)}return[li(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},ro=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),ye.currentNode=this.el.content,r===2){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=ye.nextNode())!==null&&u.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let v of n.getAttributeNames())if(v.endsWith(ei)){let N=b[l++],A=n.getAttribute(v).split(ne),I=/([.?@])?(.*)/.exec(N);u.push({type:1,index:a,name:I[2],strings:A,ctor:I[1]==="."?sr:I[1]==="?"?lr:I[1]==="@"?cr:Ie}),n.removeAttribute(v)}else v.startsWith(ne)&&(u.push({type:6,index:a}),n.removeAttribute(v));if(ii.test(n.tagName)){let v=n.textContent.split(ne),N=v.length-1;if(N>0){n.textContent=Oo?Oo.emptyScript:"";for(let A=0;A<N;A++)n.append(v[A],Co()),ye.nextNode(),u.push({type:2,index:++a});n.append(v[N],Co())}}}else if(n.nodeType===8)if(n.data===oi)u.push({type:2,index:a});else{let v=-1;for(;(v=n.data.indexOf(ne,v+1))!==-1;)u.push({type:7,index:a}),v+=ne.length-1}a++}}static createElement(t,r){let i=ge.createElement("template");return i.innerHTML=t,i}};function Le(o,t,r=o,i){if(t===oo)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=eo(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=Le(o,n._$AS(o,t.values),n,i)),t}var ar=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??ge).importNode(r,!0);ye.currentNode=n;let a=ye.nextNode(),l=0,c=0,u=i[0];for(;u!==void 0;){if(l===u.index){let h;u.type===2?h=new Eo(a,a.nextSibling,this,t):u.type===1?h=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(h=new pr(a,this,t)),this._$AV.push(h),u=i[++c]}l!==u?.index&&(a=ye.nextNode(),l++)}return ye.currentNode=ge,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++}},Eo=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=Le(this,t,r),eo(t)?t===et||t==null||t===""?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==oo&&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&&eo(this._$AH)?this._$AA.nextSibling.data=t:this.$(ge.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=ro.createElement(li(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new ar(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(t){let r=ti.get(t.strings);return r===void 0&&ti.set(t.strings,r=new ro(t)),r}T(t){ri(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(Co()),this.k(Co()),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))}},Ie=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=Le(this,t,r,0),l=!eo(t)||t!==this._$AH&&t!==oo,l&&(this._$AH=t);else{let c=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=Le(this,c[i+u],r,u),h===oo&&(h=this._$AH[u]),l||=!eo(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??"")}},sr=class extends Ie{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},lr=class extends Ie{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},cr=class extends Ie{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=Le(this,t,r,0)??et)===oo)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)}},pr=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){Le(this,t)}};var _s=dr.litHtmlPolyfillSupport;_s?.(ro,Eo),(dr.litHtmlVersions??=[]).push("3.1.0");var pi=Symbol.for(""),$s=o=>{if(o?.r===pi)return o?._$litStatic$},fr=o=>({_$litStatic$:o,r:pi});var ci=new Map,di=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=ci.get(v))===void 0&&(l.raw=l,ci.set(v,t=l)),r=c}return o(t,...r)},ur=di(ai),gl=di(si);var hr=f(V()),Xi=f(O());var be;(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"})(be||(be={}));var Lt=f(R()),g=f(O());var jt=f(R(),1),ae=o=>typeof o=="string"?(0,jt.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>ae(c??n),l=jt.css`var(${ae(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>jt.css`var(${ae(t)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(t,r,i,n){let a=c=>i.get(c??n),l=jt.css`var(${ae(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=>jt.css`var(${ae(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):ae(a??t.lastResortDefaultValue()),n=jt.css`var(${ae(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=>jt.css`var(${ae(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)")},fi={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")},ui={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")},hi={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")},mi={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")},yi={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")},gi={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")},bi={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")},xi={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")},vi={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")},Si={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")},Oi={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")},Ci={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")},Ei={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")},Ai={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")},wi={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")},Ri={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")},Ni={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")},Li={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")},Ii={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")},Ti={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")},Pi={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")},ki={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")},_i={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")},$i={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")},Bi={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")},Ao={display:fi,"title-1":ui,"title-2":hi,"title-3":mi,"body-1-regular":yi,"body-1-medium":gi,"body-1-semibold":bi,"body-2-regular":xi,"body-2-medium":vi,"body-2-medium-underline":Bs,"body-2-semibold":Si,"label-1-medium":Oi,"label-1-semibold":Ci,"label-1-bold":Ei,"label-2-medium":Ai,"label-2-semibold":wi,"label-2-bold":Ri,"caption-1-medium":Ni,"caption-1-semibold":Li,"caption-1-bold":Ii,"caption-2-medium":Ti,"caption-2-semibold":Pi,"caption-2-bold":ki,"caption-3-medium":_i,"caption-3-semibold":$i,"caption-3-bold":Bi};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 $l={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 Fl={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 Vl={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 Yl={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 ec={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 ac={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 dc={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 yc={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 Sc={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 wc={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 Tc={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 Bc={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 Kc={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 Yc={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 ep={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 np={infoBorderColor:e.extend("--ft-border-info-border-color","",p.borderInfoSubtle)};var pp={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 mp={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 vp={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 Ap={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 Ip={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 $p={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 wo=f(R());function Di(o){let t=Ao[o];return wo.css`
1
+ "use strict";(()=>{var As=Object.create;var Hr=Object.defineProperty;var ws=Object.getOwnPropertyDescriptor;var Rs=Object.getOwnPropertyNames;var Ns=Object.getPrototypeOf,Ls=Object.prototype.hasOwnProperty;var me=(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&&Hr(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?Hr(r,"default",{value:o,enumerable:!0}):r,o));var O=me((pl,Gr)=>{Gr.exports=ftGlobals.wcUtils});var R=me((dl,Vr)=>{Vr.exports=ftGlobals.lit});var V=me((hl,jr)=>{jr.exports=ftGlobals.litDecorators});var tn=me((af,Ji)=>{Ji.exports=ftGlobals.litRepeat});var Fe=me((mf,gn)=>{gn.exports=ftGlobals.litClassMap});var qn=me((ru,jn)=>{jn.exports=ftGlobals.litUnsafeHTML});var Ya=me(qa=>{(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 A(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 W(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 M(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function z(){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=M(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=M(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(A)}),this.text=function(){var d=v(this);if(d)return d;if(this._bodyBlob)return I(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(W(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 vo(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 So=at.join(":").trim();m.append(_,So)}}),m}z.call(ct.prototype);function Ot(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)}z.call(Ot.prototype),Ot.prototype.clone=function(){return new Ot(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Ot.error=function(){var d=new Ot(null,{status:0,statusText:""});return d.type="error",d};var Mr=[301,302,303,307,308];Ot.redirect=function(d,m){if(Mr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Ot(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 Le(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 So(){_.abort()}_.onload=function(){var to={status:_.status,statusText:_.statusText,headers:vo(_.getAllResponseHeaders()||"")};to.url="responseURL"in _?_.responseURL:to.headers.get("X-Request-URL");var ir="response"in _?_.response:_.responseText;C(new Ot(ir,to))},_.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(to,ir){_.setRequestHeader(ir,to)}),at.signal&&(at.signal.addEventListener("abort",So),_.onreadystatechange=function(){_.readyState===4&&at.signal.removeEventListener("abort",So)}),_.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return Le.polyfill=!0,o.fetch||(o.fetch=Le,o.Headers=b,o.Request=ct,o.Response=Ot),r.Headers=b,r.Request=ct,r.Response=Ot,r.fetch=Le,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:qa)});var Es=f(O());var Ss=f(R()),Os=f(O());var Kr=f(R()),fl={},Zr=Kr.css`
2
+ `;var Ir=f(O());var we=f(R()),$=f(V()),kt=f(O());var Qi=f(O());var dr=globalThis,Oo=dr.trustedTypes,qr=Oo?Oo.createPolicy("lit-html",{createHTML:o=>o}):void 0,ei="$lit$",ae=`lit$${(Math.random()+"").slice(9)}$`,oi="?"+ae,Ts=`<${oi}>`,be=document,Co=()=>be.createComment(""),oo=o=>o===null||typeof o!="object"&&typeof o!="function",ri=Array.isArray,Ps=o=>ri(o)||typeof o?.[Symbol.iterator]=="function",nr=`[
3
+ \f\r]`,eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yr=/-->/g,Xr=/>/g,ye=RegExp(`>|${nr}(?:([^\\s"'>=/]+)(${nr}*=${nr}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Qr=/'/g,Jr=/"/g,ii=/^(?:script|style|textarea|title)$/i,ni=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),ai=ni(1),si=ni(2),ro=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ti=new WeakMap,ge=be.createTreeWalker(be,129);function li(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=eo;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===eo?b[1]==="!--"?l=Yr:b[1]!==void 0?l=Xr:b[2]!==void 0?(ii.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=ye):b[3]!==void 0&&(l=ye):l===ye?b[0]===">"?(l=n??eo,v=-1):b[1]===void 0?v=-2:(v=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?ye:b[3]==='"'?Jr:Qr):l===Jr||l===Qr?l=ye:l===Yr||l===Xr?l=eo:(l=ye,n=void 0);let A=l===ye&&o[p+1].startsWith("/>")?" ":"";a+=l===eo?u+Ts:v>=0?(i.push(h),u.slice(0,v)+ei+u.slice(v)+ae+A):u+ae+(v===-2?p:A)}return[li(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},io=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),ge.currentNode=this.el.content,r===2){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=ge.nextNode())!==null&&u.length<p;){if(n.nodeType===1){if(n.hasAttributes())for(let v of n.getAttributeNames())if(v.endsWith(ei)){let N=b[l++],A=n.getAttribute(v).split(ae),I=/([.?@])?(.*)/.exec(N);u.push({type:1,index:a,name:I[2],strings:A,ctor:I[1]==="."?sr:I[1]==="?"?lr:I[1]==="@"?cr:Te}),n.removeAttribute(v)}else v.startsWith(ae)&&(u.push({type:6,index:a}),n.removeAttribute(v));if(ii.test(n.tagName)){let v=n.textContent.split(ae),N=v.length-1;if(N>0){n.textContent=Oo?Oo.emptyScript:"";for(let A=0;A<N;A++)n.append(v[A],Co()),ge.nextNode(),u.push({type:2,index:++a});n.append(v[N],Co())}}}else if(n.nodeType===8)if(n.data===oi)u.push({type:2,index:a});else{let v=-1;for(;(v=n.data.indexOf(ae,v+1))!==-1;)u.push({type:7,index:a}),v+=ae.length-1}a++}}static createElement(t,r){let i=be.createElement("template");return i.innerHTML=t,i}};function Ie(o,t,r=o,i){if(t===ro)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=oo(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=Ie(o,n._$AS(o,t.values),n,i)),t}var ar=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??be).importNode(r,!0);ge.currentNode=n;let a=ge.nextNode(),l=0,p=0,u=i[0];for(;u!==void 0;){if(l===u.index){let h;u.type===2?h=new Eo(a,a.nextSibling,this,t):u.type===1?h=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(h=new pr(a,this,t)),this._$AV.push(h),u=i[++p]}l!==u?.index&&(a=ge.nextNode(),l++)}return ge.currentNode=be,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++}},Eo=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=Ie(this,t,r),oo(t)?t===et||t==null||t===""?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ro&&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&&oo(this._$AH)?this._$AA.nextSibling.data=t:this.$(be.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=io.createElement(li(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new ar(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(t){let r=ti.get(t.strings);return r===void 0&&ti.set(t.strings,r=new io(t)),r}T(t){ri(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(Co()),this.k(Co()),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))}},Te=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=Ie(this,t,r,0),l=!oo(t)||t!==this._$AH&&t!==ro,l&&(this._$AH=t);else{let p=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=Ie(this,p[i+u],r,u),h===ro&&(h=this._$AH[u]),l||=!oo(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??"")}},sr=class extends Te{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},lr=class extends Te{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},cr=class extends Te{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=Ie(this,t,r,0)??et)===ro)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)}},pr=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){Ie(this,t)}};var _s=dr.litHtmlPolyfillSupport;_s?.(io,Eo),(dr.litHtmlVersions??=[]).push("3.1.0");var pi=Symbol.for(""),$s=o=>{if(o?.r===pi)return o?._$litStatic$},fr=o=>({_$litStatic$:o,r:pi});var ci=new Map,di=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=ci.get(v))===void 0&&(l.raw=l,ci.set(v,t=l)),r=p}return o(t,...r)},ur=di(ai),gl=di(si);var hr=f(V()),Xi=f(O());var xe;(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"})(xe||(xe={}));var It=f(R()),g=f(O());var jt=f(R(),1),se=o=>typeof o=="string"?(0,jt.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=p=>se(p??n),l=jt.css`var(${se(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>jt.css`var(${se(t)}, ${a(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(t,r,i,n){let a=p=>i.get(p??n),l=jt.css`var(${se(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=>jt.css`var(${se(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):se(a??t.lastResortDefaultValue()),n=jt.css`var(${se(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=>jt.css`var(${se(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)")},fi={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")},ui={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")},hi={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")},mi={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")},yi={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")},gi={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")},bi={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")},xi={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")},vi={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")},Ds={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")},Si={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")},Oi={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")},Ci={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")},Ei={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")},Ai={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")},wi={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")},Ri={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")},Ni={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")},Li={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")},Ii={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")},Ti={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")},Pi={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")},ki={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")},_i={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")},$i={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")},Di={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")},Ao={display:fi,"title-1":ui,"title-2":hi,"title-3":mi,"body-1-regular":yi,"body-1-medium":gi,"body-1-semibold":bi,"body-2-regular":xi,"body-2-medium":vi,"body-2-medium-underline":Ds,"body-2-semibold":Si,"label-1-medium":Oi,"label-1-semibold":Ci,"label-1-bold":Ei,"label-2-medium":Ai,"label-2-semibold":wi,"label-2-bold":Ri,"caption-1-medium":Ni,"caption-1-semibold":Li,"caption-1-bold":Ii,"caption-2-medium":Ti,"caption-2-semibold":Pi,"caption-2-bold":ki,"caption-3-medium":_i,"caption-3-semibold":$i,"caption-3-bold":Di};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 $l={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 Fl={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 Vl={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 Yl={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 ec={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 ac={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 dc={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 yc={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 Sc={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 wc={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 Tc={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 Kc={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 Xc={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 op={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 ap={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 dp={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 yp={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 Sp={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 wp={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 Tp={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 wo=f(R());function Bi(o){let t=Ao[o];return wo.css`
6
6
  .ft-typography--${(0,wo.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 Ui=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),qt=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),S={fontFamily:qt,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")},Te={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ui),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")},Pe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ui),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")},ke={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qt),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")},_e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qt),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")},$e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qt),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")},Ct={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qt),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")},Be={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qt),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")},De={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qt),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")},Ue={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qt),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","",qt),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")},zi=Lt.css`
14
+ `}var Ui=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),qt=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),S={fontFamily:qt,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")},Pe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ui),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")},ke={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ui),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")},_e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qt),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")},$e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qt),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")},De={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qt),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")},Ct={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qt),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")},Be={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qt),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")},Ue={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qt),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")},ze={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qt),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")},Mt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",qt),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")},zi=It.css`
15
15
  .ft-typography--title {
16
- font-family: ${Te.fontFamily};
17
- font-size: ${Te.fontSize};
18
- font-weight: ${Te.fontWeight};
19
- letter-spacing: ${Te.letterSpacing};
20
- line-height: ${Te.lineHeight};
21
- text-transform: ${Te.textTransform};
22
- }
23
- `,Fi=Lt.css`
24
- .ft-typography--title-dense {
25
16
  font-family: ${Pe.fontFamily};
26
17
  font-size: ${Pe.fontSize};
27
18
  font-weight: ${Pe.fontWeight};
@@ -29,8 +20,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
29
20
  line-height: ${Pe.lineHeight};
30
21
  text-transform: ${Pe.textTransform};
31
22
  }
32
- `,Wi=Lt.css`
33
- .ft-typography--subtitle1 {
23
+ `,Fi=It.css`
24
+ .ft-typography--title-dense {
34
25
  font-family: ${ke.fontFamily};
35
26
  font-size: ${ke.fontSize};
36
27
  font-weight: ${ke.fontWeight};
@@ -38,8 +29,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
38
29
  line-height: ${ke.lineHeight};
39
30
  text-transform: ${ke.textTransform};
40
31
  }
41
- `,Mi=Lt.css`
42
- .ft-typography--subtitle2 {
32
+ `,Wi=It.css`
33
+ .ft-typography--subtitle1 {
43
34
  font-family: ${_e.fontFamily};
44
35
  font-size: ${_e.fontSize};
45
36
  font-weight: ${_e.fontWeight};
@@ -47,9 +38,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
47
38
  line-height: ${_e.lineHeight};
48
39
  text-transform: ${_e.textTransform};
49
40
  }
50
-
51
- `,Hi=Lt.css`
52
- .ft-typography--body1 {
41
+ `,Mi=It.css`
42
+ .ft-typography--subtitle2 {
53
43
  font-family: ${$e.fontFamily};
54
44
  font-size: ${$e.fontSize};
55
45
  font-weight: ${$e.fontWeight};
@@ -57,7 +47,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
57
47
  line-height: ${$e.lineHeight};
58
48
  text-transform: ${$e.textTransform};
59
49
  }
60
- `,Gi=Lt.css`
50
+
51
+ `,Hi=It.css`
52
+ .ft-typography--body1 {
53
+ font-family: ${De.fontFamily};
54
+ font-size: ${De.fontSize};
55
+ font-weight: ${De.fontWeight};
56
+ letter-spacing: ${De.letterSpacing};
57
+ line-height: ${De.lineHeight};
58
+ text-transform: ${De.textTransform};
59
+ }
60
+ `,Gi=It.css`
61
61
  .ft-typography--body2 {
62
62
  font-family: ${Ct.fontFamily};
63
63
  font-size: ${Ct.fontSize};
@@ -66,7 +66,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
66
66
  line-height: ${Ct.lineHeight};
67
67
  text-transform: ${Ct.textTransform};
68
68
  }
69
- `,Ro=Lt.css`
69
+ `,Ro=It.css`
70
70
  .ft-typography--caption {
71
71
  font-family: ${Be.fontFamily};
72
72
  font-size: ${Be.fontSize};
@@ -75,17 +75,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
75
75
  line-height: ${Be.lineHeight};
76
76
  text-transform: ${Be.textTransform};
77
77
  }
78
- `,Vi=Lt.css`
78
+ `,Vi=It.css`
79
79
  .ft-typography--breadcrumb {
80
- font-family: ${De.fontFamily};
81
- font-size: ${De.fontSize};
82
- font-weight: ${De.fontWeight};
83
- letter-spacing: ${De.letterSpacing};
84
- line-height: ${De.lineHeight};
85
- text-transform: ${De.textTransform};
86
- }
87
- `,Ki=Lt.css`
88
- .ft-typography--overline {
89
80
  font-family: ${Ue.fontFamily};
90
81
  font-size: ${Ue.fontSize};
91
82
  font-weight: ${Ue.fontWeight};
@@ -93,20 +84,29 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
93
84
  line-height: ${Ue.lineHeight};
94
85
  text-transform: ${Ue.textTransform};
95
86
  }
96
- `,Zi=Lt.css`
87
+ `,Ki=It.css`
88
+ .ft-typography--overline {
89
+ font-family: ${ze.fontFamily};
90
+ font-size: ${ze.fontSize};
91
+ font-weight: ${ze.fontWeight};
92
+ letter-spacing: ${ze.letterSpacing};
93
+ line-height: ${ze.lineHeight};
94
+ text-transform: ${ze.textTransform};
95
+ }
96
+ `,Zi=It.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
- `,ji=Lt.css`
98
+ font-family: ${Mt.fontFamily};
99
+ font-size: ${Mt.fontSize};
100
+ font-weight: ${Mt.fontWeight};
101
+ letter-spacing: ${Mt.letterSpacing};
102
+ line-height: ${Mt.lineHeight};
103
+ text-transform: ${Mt.textTransform};
104
+ }
105
+ `,ji=It.css`
106
106
  .ft-typography {
107
107
  vertical-align: inherit;
108
108
  }
109
- `,qi=[Object.keys(Ao).map(o=>Di(o))];var Yi=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 Xi.FtLitElement{constructor(){super(...arguments),this.variant=be.body1}render(){return this.element?ur`
109
+ `,qi=[Object.keys(Ao).map(o=>Bi(o))];var Yi=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 Xi.FtLitElement{constructor(){super(...arguments),this.variant=xe.body1}render(){return this.element?ur`
110
110
  <${fr(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
  </${fr(this.element)}>
115
115
  `:ur`
116
116
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
117
- `}};X.styles=[zi,Fi,Wi,Mi,Hi,Gi,Ro,Vi,Ki,Zi,ji,...qi];Yi([(0,hr.property)()],X.prototype,"element",void 0);Yi([(0,hr.property)()],X.prototype,"variant",void 0);(0,Qi.customElement)("ft-typography")(X);var Rt=f(R()),ot=f(V()),Ea=f(tn()),zo=f(O());var wr=f(O());var ho=f(V()),ra=f(O());var mn=f(R()),E=f(O());var sn=f(R()),q=f(O()),en=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),T={color:en,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",en),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},on=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),rn={color:on,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},nn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),an={color:nn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",nn)},ln=sn.css`
117
+ `}};X.styles=[zi,Fi,Wi,Mi,Hi,Gi,Ro,Vi,Ki,Zi,ji,...qi];Yi([(0,hr.property)()],X.prototype,"element",void 0);Yi([(0,hr.property)()],X.prototype,"variant",void 0);(0,Qi.customElement)("ft-typography")(X);var Nt=f(R()),ot=f(V()),Ea=f(tn()),zo=f(O());var wr=f(O());var mo=f(V()),ra=f(O());var mn=f(R()),E=f(O());var sn=f(R()),q=f(O()),en=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),T={color:en,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",en),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},on=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),rn={color:on,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},nn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),an={color:nn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",nn)},ln=sn.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 cn=f(R()),io=f(O()),mt={color:io.FtCssVariableFactory.extend("--ft-loader-color","",io.designSystemVariables.colorPrimary),size:io.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},pn=cn.css`
229
+ `;var cn=f(R()),no=f(O()),mt={color:no.FtCssVariableFactory.extend("--ft-loader-color","",no.designSystemVariables.colorPrimary),size:no.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},pn=cn.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: ${yt.materialFontFamily}, "Material Icons", sans-serif;
345
345
  }
346
- `;var un=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),B={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:un,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",Wt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",un),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},hn=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),mr={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:hn,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",hn)},Mt={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},yn=[mn.css`
346
+ `;var un=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),D={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:un,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",Mt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",un),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},hn=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),mr={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:hn,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",hn)},Ht={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},yn=[mn.css`
347
347
  :host {
348
348
  display: inline-block;
349
349
  max-width: 100%;
@@ -354,7 +354,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
354
354
  box-shadow: 0px 0px 0px transparent;
355
355
  border: 0px solid transparent;
356
356
  text-shadow: 0px 0px 0px transparent;
357
- font-size: ${B.fontSize};
357
+ font-size: ${D.fontSize};
358
358
  }
359
359
 
360
360
  button:hover {
@@ -383,31 +383,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
383
383
  border: none;
384
384
  pointer-events: auto;
385
385
 
386
- --ft-button-internal-line-height: max(calc(${B.fontSize} + 2px), ${B.iconSize});
387
- --ft-button-internal-color: ${B.color};
388
- ${(0,E.setVariable)(yt.size,B.iconSize)};
389
- ${(0,E.setVariable)(T.color,B.rippleColor)};
386
+ --ft-button-internal-line-height: max(calc(${D.fontSize} + 2px), ${D.iconSize});
387
+ --ft-button-internal-color: ${D.color};
388
+ ${(0,E.setVariable)(yt.size,D.iconSize)};
389
+ ${(0,E.setVariable)(T.color,D.rippleColor)};
390
390
 
391
- border-radius: ${B.borderRadius};
392
- padding: ${B.verticalPadding} ${B.horizontalPadding};
393
- background-color: ${B.backgroundColor};
391
+ border-radius: ${D.borderRadius};
392
+ padding: ${D.verticalPadding} ${D.horizontalPadding};
393
+ background-color: ${D.backgroundColor};
394
394
  color: var(--ft-button-internal-color);
395
395
  -webkit-mask-image: radial-gradient(white, black);
396
396
  }
397
397
 
398
398
  .ft-button.ft-button--outlined {
399
399
  border: 1px solid var(--ft-button-internal-color);
400
- padding: calc(${B.verticalPadding} - 1px) calc(${B.horizontalPadding} - 1px);
400
+ padding: calc(${D.verticalPadding} - 1px) calc(${D.horizontalPadding} - 1px);
401
401
  }
402
402
 
403
403
  .ft-button.ft-button--dense {
404
- padding: ${Mt.verticalPadding} ${Mt.horizontalPadding};
405
- border-radius: ${Mt.borderRadius};
406
- gap: ${Mt.iconPadding};
404
+ padding: ${Ht.verticalPadding} ${Ht.horizontalPadding};
405
+ border-radius: ${Ht.borderRadius};
406
+ gap: ${Ht.iconPadding};
407
407
  }
408
408
 
409
409
  .ft-button.ft-button--dense.ft-button--outlined {
410
- padding: calc(${Mt.verticalPadding} - 1px) calc(${Mt.horizontalPadding} - 1px);
410
+ padding: calc(${Ht.verticalPadding} - 1px) calc(${Ht.horizontalPadding} - 1px);
411
411
  }
412
412
 
413
413
  .ft-button:not([disabled]):hover {
@@ -415,16 +415,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
415
415
  }
416
416
 
417
417
  .ft-button--round {
418
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${B.verticalPadding});
418
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${D.verticalPadding});
419
419
  }
420
420
 
421
421
  .ft-button--round.ft-button--dense {
422
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Mt.verticalPadding});
422
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ht.verticalPadding});
423
423
  }
424
424
 
425
425
  .ft-button[disabled] {
426
426
  filter: grayscale(1);
427
- opacity: ${B.opacityDisabled};
427
+ opacity: ${D.opacityDisabled};
428
428
  }
429
429
 
430
430
  .ft-button.ft-button--primary {
@@ -443,13 +443,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
443
443
  white-space: nowrap;
444
444
  text-overflow: ellipsis;
445
445
  display: block;
446
- margin: 0 ${B.iconPadding};
447
- ${(0,E.setVariable)(Wt.fontSize,"1em")};
448
- ${(0,E.setVariable)(Wt.lineHeight,"var(--ft-button-internal-line-height)")};
446
+ margin: 0 ${D.iconPadding};
447
+ ${(0,E.setVariable)(Mt.fontSize,"1em")};
448
+ ${(0,E.setVariable)(Mt.lineHeight,"var(--ft-button-internal-line-height)")};
449
449
  }
450
450
 
451
451
  .ft-button--dense .ft-button--label {
452
- margin: 0 ${Mt.iconPadding};
452
+ margin: 0 ${Ht.iconPadding};
453
453
  }
454
454
 
455
455
  .ft-button--label[hidden] {
@@ -462,13 +462,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
462
462
  }
463
463
 
464
464
  .ft-button--label[hidden] + [part="icon"] {
465
- margin: 0 calc(${B.horizontalPadding} * -1);
466
- padding: 0 ${B.verticalPadding};
465
+ margin: 0 calc(${D.horizontalPadding} * -1);
466
+ padding: 0 ${D.verticalPadding};
467
467
  }
468
468
 
469
469
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
470
- margin: 0 calc(${Mt.horizontalPadding} * -1);
471
- padding: 0 ${Mt.verticalPadding};
470
+ margin: 0 calc(${Ht.horizontalPadding} * -1);
471
+ padding: 0 ${Ht.verticalPadding};
472
472
  }
473
473
 
474
474
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -476,10 +476,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
476
476
  }
477
477
 
478
478
  ft-loader {
479
- ${(0,E.setVariable)(mt.size,B.iconSize)};
479
+ ${(0,E.setVariable)(mt.size,D.iconSize)};
480
480
  ${(0,E.setVariable)(mt.color,"var(--ft-button-internal-color)")};
481
481
  }
482
- `,E.noTextSelect];var Ve=f(O());var vn=f(O());var bn=f(R()),st=f(V()),xn=f(ze()),no=f(O());var gt=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 no.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 no.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 no.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 bn.html`
482
+ `,E.noTextSelect];var Ke=f(O());var vn=f(O());var bn=f(R()),st=f(V()),xn=f(Fe()),ao=f(O());var gt=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 ao.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 ao.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 ao.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 bn.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=ln;gt([(0,st.property)({type:Boolean})],k.prototype,"primary",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"secondary",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"unbounded",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"activated",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"selected",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"disabled",void 0);gt([(0,st.state)()],k.prototype,"hovered",void 0);gt([(0,st.state)()],k.prototype,"focused",void 0);gt([(0,st.state)()],k.prototype,"pressed",void 0);gt([(0,st.state)()],k.prototype,"rippling",void 0);gt([(0,st.state)()],k.prototype,"originX",void 0);gt([(0,st.state)()],k.prototype,"originY",void 0);gt([(0,st.query)(".ft-ripple")],k.prototype,"ripple",void 0);gt([(0,st.query)(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0);(0,vn.customElement)("ft-ripple")(k);var Zn=f(O());var Kn=f(R()),Q=f(V()),fo=f(O());var Sn=f(R()),Xt=f(O()),Fe={distance:Xt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Xt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Xt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Xt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Xt.FtCssVariableFactory.external(Xt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Xt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},On=Sn.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=ln;gt([(0,st.property)({type:Boolean})],k.prototype,"primary",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"secondary",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"unbounded",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"activated",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"selected",void 0);gt([(0,st.property)({type:Boolean})],k.prototype,"disabled",void 0);gt([(0,st.state)()],k.prototype,"hovered",void 0);gt([(0,st.state)()],k.prototype,"focused",void 0);gt([(0,st.state)()],k.prototype,"pressed",void 0);gt([(0,st.state)()],k.prototype,"rippling",void 0);gt([(0,st.state)()],k.prototype,"originX",void 0);gt([(0,st.state)()],k.prototype,"originY",void 0);gt([(0,st.query)(".ft-ripple")],k.prototype,"ripple",void 0);gt([(0,st.query)(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0);(0,vn.customElement)("ft-ripple")(k);var Zn=f(O());var Kn=f(R()),Q=f(V()),uo=f(O());var Sn=f(R()),Xt=f(O()),We={distance:Xt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Xt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Xt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Xt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Xt.FtCssVariableFactory.external(Xt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Xt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},On=Sn.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: ${Fe.maxWidth};
508
+ max-width: ${We.maxWidth};
509
509
  text-align: center;
510
- padding: ${Fe.distance};
511
- z-index: ${Fe.zIndex};
510
+ padding: ${We.distance};
511
+ z-index: ${We.zIndex};
512
512
  }
513
513
 
514
514
  .ft-tooltip--content {
515
515
  padding: 4px 8px;
516
- border-radius: ${Fe.borderRadiusS};
517
- background-color: ${Fe.backgroundColor};
518
- color: ${Fe.color};
516
+ border-radius: ${We.borderRadiusS};
517
+ background-color: ${We.backgroundColor};
518
+ color: ${We.color};
519
519
  position: relative;
520
520
  word-break: break-word;
521
521
  }
522
- `;var En=["top","right","bottom","left"],Cn=["start","end"],gr=En.reduce((o,t)=>o.concat(t,t+"-"+Cn[0],t+"-"+Cn[1]),[]),ao=Math.min,se=Math.max,so=Math.round;var Qt=o=>({x:o,y:o}),Ds={left:"right",right:"left",bottom:"top",top:"bottom"},Us={start:"end",end:"start"};function br(o,t,r){return se(o,ao(t,r))}function No(o,t){return typeof o=="function"?o(t):o}function We(o){return o.split("-")[0]}function le(o){return o.split("-")[1]}function xr(o){return o==="x"?"y":"x"}function vr(o){return o==="y"?"height":"width"}function Lo(o){return["top","bottom"].includes(We(o))?"y":"x"}function Sr(o){return xr(Lo(o))}function An(o,t,r){r===void 0&&(r=!1);let i=le(o),n=Sr(o),a=vr(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=yr(l)),[l,yr(l)]}function wn(o){return o.replace(/start|end/g,t=>Us[t])}function yr(o){return o.replace(/left|right|bottom|top/g,t=>Ds[t])}function zs(o){return{top:0,right:0,bottom:0,left:0,...o}}function Rn(o){return typeof o!="number"?zs(o):{top:o,right:o,bottom:o,left:o}}function xe(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Nn(o,t,r){let{reference:i,floating:n}=o,a=Lo(t),l=Sr(t),c=vr(l),u=We(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,A;switch(u){case"top":A={x:b,y:i.y-n.height};break;case"bottom":A={x:b,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:v};break;case"left":A={x:i.x-n.width,y:v};break;default:A={x:i.x,y:i.y}}switch(le(t)){case"start":A[l]-=N*(r&&h?-1:1);break;case"end":A[l]+=N*(r&&h?-1:1);break}return A}var Ln=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}=Nn(h,i,u),N=i,A={},I=0;for(let W=0;W<c.length;W++){let{name:M,fn:z}=c[W],{x:G,y:nt,data:ct,reset:J}=await z({x:b,y:v,initialPlacement:i,placement:N,strategy:n,middlewareData:A,rects:h,platform:l,elements:{reference:o,floating:t}});if(b=G??b,v=nt??v,A={...A,[M]:{...A[M],...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}=Nn(h,N,u)),W=-1;continue}}return{x:b,y:v,placement:N,strategy:n,middlewareData:A}};async function Or(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:A=0}=No(t,o),I=Rn(A),M=c[N?v==="floating"?"reference":"floating":v],z=xe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(M)))==null||r?M:M.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.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(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=xe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:nt,strategy:u}):G);return{top:(z.top-J.top+I.top)/ct.y,bottom:(J.bottom-z.bottom+I.bottom)/ct.y,left:(z.left-J.left+I.left)/ct.x,right:(J.right-z.right+I.right)/ct.x}}function Fs(o,t,r){return(o?[...r.filter(n=>le(n)===o),...r.filter(n=>le(n)!==o)]:r.filter(n=>We(n)===n)).filter(n=>o?le(n)===o||(t?wn(n)!==n:!1):!0)}var Cr=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=gr,autoAlignment:A=!0,...I}=No(o,t),W=v!==void 0||N===gr?Fs(v||null,A,N):N,M=await Or(t,I),z=((r=l.autoPlacement)==null?void 0:r.index)||0,G=W[z];if(G==null)return{};let nt=An(G,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(c!==G)return{reset:{placement:W[0]}};let ct=[M[We(G)],M[nt[0]],M[nt[1]]],J=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:G,overflows:ct}],vo=W[z+1];if(vo)return{data:{index:z+1,overflows:J},reset:{placement:vo}};let Ot=J.map(d=>{let m=le(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]),Ne=((n=Ot.filter(d=>d[2].slice(0,le(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Ot[0][0];return Ne!==c?{data:{index:z+1,overflows:J},reset:{placement:Ne}}:{}}}};var Er=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:M=>{let{x:z,y:G}=M;return{x:z,y:G}}},...u}=No(o,t),h={x:r,y:i},b=await Or(t,u),v=Lo(We(n)),N=xr(v),A=h[N],I=h[v];if(a){let M=N==="y"?"top":"left",z=N==="y"?"bottom":"right",G=A+b[M],nt=A-b[z];A=br(G,A,nt)}if(l){let M=v==="y"?"top":"left",z=v==="y"?"bottom":"right",G=I+b[M],nt=I-b[z];I=br(G,I,nt)}let W=c.fn({...t,[N]:A,[v]:I});return{...W,data:{x:W.x-r,y:W.y-i}}}}};function Jt(o){return Tn(o)?(o.nodeName||"").toLowerCase():"#document"}function bt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function te(o){var t;return(t=(Tn(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Tn(o){return o instanceof Node||o instanceof bt(o).Node}function Ht(o){return o instanceof Element||o instanceof bt(o).Element}function _t(o){return o instanceof HTMLElement||o instanceof bt(o).HTMLElement}function In(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof bt(o).ShadowRoot}function Me(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Et(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Pn(o){return["table","td","th"].includes(Jt(o))}function To(o){let t=Po(),r=Et(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 kn(o){let t=ve(o);for(;_t(t)&&!lo(t);){if(To(t))return t;t=ve(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lo(o){return["html","body","#document"].includes(Jt(o))}function Et(o){return bt(o).getComputedStyle(o)}function co(o){return Ht(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ve(o){if(Jt(o)==="html")return o;let t=o.assignedSlot||o.parentNode||In(o)&&o.host||te(o);return In(t)?t.host:t}function _n(o){let t=ve(o);return lo(t)?o.ownerDocument?o.ownerDocument.body:o.body:_t(t)&&Me(t)?t:_n(t)}function Io(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=_n(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),l=bt(n);return a?t.concat(l,l.visualViewport||[],Me(n)?n:[],l.frameElement&&r?Io(l.frameElement):[]):t.concat(n,Io(n,[],r))}function Dn(o){let t=Et(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=so(r)!==a||so(i)!==l;return c&&(r=a,i=l),{width:r,height:i,$:c}}function Un(o){return Ht(o)?o:o.contextElement}function He(o){let t=Un(o);if(!_t(t))return Qt(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Dn(t),l=(a?so(r.width):r.width)/i,c=(a?so(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Ws=Qt(0);function zn(o){let t=bt(o);return!Po()||!t.visualViewport?Ws:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ms(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==bt(o)?!1:t}function po(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Un(o),l=Qt(1);t&&(i?Ht(i)&&(l=He(i)):l=He(o));let c=Ms(a,r,i)?zn(a):Qt(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=bt(a),A=i&&Ht(i)?bt(i):i,I=N.frameElement;for(;I&&i&&A!==N;){let W=He(I),M=I.getBoundingClientRect(),z=Et(I),G=M.left+(I.clientLeft+parseFloat(z.paddingLeft))*W.x,nt=M.top+(I.clientTop+parseFloat(z.paddingTop))*W.y;u*=W.x,h*=W.y,b*=W.x,v*=W.y,u+=G,h+=nt,I=bt(I).frameElement}}return xe({width:b,height:v,x:u,y:h})}function Hs(o){let{rect:t,offsetParent:r,strategy:i}=o,n=_t(r),a=te(r);if(r===a)return t;let l={scrollLeft:0,scrollTop:0},c=Qt(1),u=Qt(0);if((n||!n&&i!=="fixed")&&((Jt(r)!=="body"||Me(a))&&(l=co(r)),_t(r))){let h=po(r);c=He(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 Gs(o){return Array.from(o.getClientRects())}function Fn(o){return po(te(o)).left+co(o).scrollLeft}function Vs(o){let t=te(o),r=co(o),i=o.ownerDocument.body,n=se(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=se(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+Fn(o),c=-r.scrollTop;return Et(i).direction==="rtl"&&(l+=se(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:c}}function Ks(o,t){let r=bt(o),i=te(o),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,c=0,u=0;if(n){a=n.width,l=n.height;let h=Po();(!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=po(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=_t(o)?He(o):Qt(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 $n(o,t,r){let i;if(t==="viewport")i=Ks(o,r);else if(t==="document")i=Vs(te(o));else if(Ht(t))i=Zs(t,r);else{let n=zn(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return xe(i)}function Wn(o,t){let r=ve(o);return r===t||!Ht(r)||lo(r)?!1:Et(r).position==="fixed"||Wn(r,t)}function js(o,t){let r=t.get(o);if(r)return r;let i=Io(o,[],!1).filter(c=>Ht(c)&&Jt(c)!=="body"),n=null,a=Et(o).position==="fixed",l=a?ve(o):o;for(;Ht(l)&&!lo(l);){let c=Et(l),u=To(l);!u&&c.position==="fixed"&&(n=null),(a?!u&&!n:!u&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Me(l)&&!u&&Wn(o,l))?i=i.filter(b=>b!==l):n=c,l=ve(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=$n(t,b,n);return h.top=se(v.top,h.top),h.right=ao(v.right,h.right),h.bottom=ao(v.bottom,h.bottom),h.left=se(v.left,h.left),h},$n(t,c,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Ys(o){return Dn(o)}function Xs(o,t,r){let i=_t(t),n=te(t),a=r==="fixed",l=po(o,!0,a,t),c={scrollLeft:0,scrollTop:0},u=Qt(0);if(i||!i&&!a)if((Jt(t)!=="body"||Me(n))&&(c=co(t)),i){let h=po(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else n&&(u.x=Fn(n));return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Bn(o,t){return!_t(o)||Et(o).position==="fixed"?null:t?t(o):o.offsetParent}function Mn(o,t){let r=bt(o);if(!_t(o))return r;let i=Bn(o,t);for(;i&&Pn(i)&&Et(i).position==="static";)i=Bn(i,t);return i&&(Jt(i)==="html"||Jt(i)==="body"&&Et(i).position==="static"&&!To(i))?r:i||kn(o)||r}var Qs=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||Mn,a=this.getDimensions;return{reference:Xs(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Js(o){return Et(o).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:Hs,getDocumentElement:te,getClippingRect:qs,getOffsetParent:Mn,getElementRects:Qs,getClientRects:Gs,getDimensions:Ys,getScale:He,isElement:Ht,isRTL:Js};var Hn=(o,t,r)=>{let i=new Map,n={platform:ko,...r},a={...n.platform,_c:i};return Ln(o,t,{...n,platform:a})};function Gn(o){return tl(o)}function Ar(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function tl(o){for(let t=o;t;t=Ar(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ar(o);t;t=Ar(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 Vn(o,t,r){return Hn(o,t,{platform:{...ko,getOffsetParent:i=>ko.getOffsetParent(i,Gn)},middleware:[Er({crossAxis:!0}),Cr({allowedPlacements:[r]})]})}var xt=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 fo.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 fo.Debouncer,this.revealDebouncer=new fo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Kn.html`
522
+ `;var En=["top","right","bottom","left"],Cn=["start","end"],gr=En.reduce((o,t)=>o.concat(t,t+"-"+Cn[0],t+"-"+Cn[1]),[]),so=Math.min,le=Math.max,lo=Math.round;var Qt=o=>({x:o,y:o}),Bs={left:"right",right:"left",bottom:"top",top:"bottom"},Us={start:"end",end:"start"};function br(o,t,r){return le(o,so(t,r))}function No(o,t){return typeof o=="function"?o(t):o}function Me(o){return o.split("-")[0]}function ce(o){return o.split("-")[1]}function xr(o){return o==="x"?"y":"x"}function vr(o){return o==="y"?"height":"width"}function Lo(o){return["top","bottom"].includes(Me(o))?"y":"x"}function Sr(o){return xr(Lo(o))}function An(o,t,r){r===void 0&&(r=!1);let i=ce(o),n=Sr(o),a=vr(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=yr(l)),[l,yr(l)]}function wn(o){return o.replace(/start|end/g,t=>Us[t])}function yr(o){return o.replace(/left|right|bottom|top/g,t=>Bs[t])}function zs(o){return{top:0,right:0,bottom:0,left:0,...o}}function Rn(o){return typeof o!="number"?zs(o):{top:o,right:o,bottom:o,left:o}}function ve(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Nn(o,t,r){let{reference:i,floating:n}=o,a=Lo(t),l=Sr(t),p=vr(l),u=Me(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,A;switch(u){case"top":A={x:b,y:i.y-n.height};break;case"bottom":A={x:b,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:v};break;case"left":A={x:i.x-n.width,y:v};break;default:A={x:i.x,y:i.y}}switch(ce(t)){case"start":A[l]-=N*(r&&h?-1:1);break;case"end":A[l]+=N*(r&&h?-1:1);break}return A}var Ln=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}=Nn(h,i,u),N=i,A={},I=0;for(let W=0;W<p.length;W++){let{name:M,fn:z}=p[W],{x:G,y:nt,data:ct,reset:J}=await z({x:b,y:v,initialPlacement:i,placement:N,strategy:n,middlewareData:A,rects:h,platform:l,elements:{reference:o,floating:t}});if(b=G??b,v=nt??v,A={...A,[M]:{...A[M],...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}=Nn(h,N,u)),W=-1;continue}}return{x:b,y:v,placement:N,strategy:n,middlewareData:A}};async function Or(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:A=0}=No(t,o),I=Rn(A),M=p[N?v==="floating"?"reference":"floating":v],z=ve(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(M)))==null||r?M:M.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=ve(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:nt,strategy:u}):G);return{top:(z.top-J.top+I.top)/ct.y,bottom:(J.bottom-z.bottom+I.bottom)/ct.y,left:(z.left-J.left+I.left)/ct.x,right:(J.right-z.right+I.right)/ct.x}}function Fs(o,t,r){return(o?[...r.filter(n=>ce(n)===o),...r.filter(n=>ce(n)!==o)]:r.filter(n=>Me(n)===n)).filter(n=>o?ce(n)===o||(t?wn(n)!==n:!1):!0)}var Cr=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=gr,autoAlignment:A=!0,...I}=No(o,t),W=v!==void 0||N===gr?Fs(v||null,A,N):N,M=await Or(t,I),z=((r=l.autoPlacement)==null?void 0:r.index)||0,G=W[z];if(G==null)return{};let nt=An(G,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(p!==G)return{reset:{placement:W[0]}};let ct=[M[Me(G)],M[nt[0]],M[nt[1]]],J=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:G,overflows:ct}],vo=W[z+1];if(vo)return{data:{index:z+1,overflows:J},reset:{placement:vo}};let Ot=J.map(d=>{let m=ce(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]),Le=((n=Ot.filter(d=>d[2].slice(0,ce(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Ot[0][0];return Le!==p?{data:{index:z+1,overflows:J},reset:{placement:Le}}:{}}}};var Er=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:M=>{let{x:z,y:G}=M;return{x:z,y:G}}},...u}=No(o,t),h={x:r,y:i},b=await Or(t,u),v=Lo(Me(n)),N=xr(v),A=h[N],I=h[v];if(a){let M=N==="y"?"top":"left",z=N==="y"?"bottom":"right",G=A+b[M],nt=A-b[z];A=br(G,A,nt)}if(l){let M=v==="y"?"top":"left",z=v==="y"?"bottom":"right",G=I+b[M],nt=I-b[z];I=br(G,I,nt)}let W=p.fn({...t,[N]:A,[v]:I});return{...W,data:{x:W.x-r,y:W.y-i}}}}};function Jt(o){return Tn(o)?(o.nodeName||"").toLowerCase():"#document"}function bt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function te(o){var t;return(t=(Tn(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Tn(o){return o instanceof Node||o instanceof bt(o).Node}function Gt(o){return o instanceof Element||o instanceof bt(o).Element}function $t(o){return o instanceof HTMLElement||o instanceof bt(o).HTMLElement}function In(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof bt(o).ShadowRoot}function He(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Et(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Pn(o){return["table","td","th"].includes(Jt(o))}function To(o){let t=Po(),r=Et(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 kn(o){let t=Se(o);for(;$t(t)&&!co(t);){if(To(t))return t;t=Se(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(o){return["html","body","#document"].includes(Jt(o))}function Et(o){return bt(o).getComputedStyle(o)}function po(o){return Gt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Se(o){if(Jt(o)==="html")return o;let t=o.assignedSlot||o.parentNode||In(o)&&o.host||te(o);return In(t)?t.host:t}function _n(o){let t=Se(o);return co(t)?o.ownerDocument?o.ownerDocument.body:o.body:$t(t)&&He(t)?t:_n(t)}function Io(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=_n(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),l=bt(n);return a?t.concat(l,l.visualViewport||[],He(n)?n:[],l.frameElement&&r?Io(l.frameElement):[]):t.concat(n,Io(n,[],r))}function Bn(o){let t=Et(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=$t(o),a=n?o.offsetWidth:r,l=n?o.offsetHeight:i,p=lo(r)!==a||lo(i)!==l;return p&&(r=a,i=l),{width:r,height:i,$:p}}function Un(o){return Gt(o)?o:o.contextElement}function Ge(o){let t=Un(o);if(!$t(t))return Qt(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Bn(t),l=(a?lo(r.width):r.width)/i,p=(a?lo(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Ws=Qt(0);function zn(o){let t=bt(o);return!Po()||!t.visualViewport?Ws:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ms(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==bt(o)?!1:t}function fo(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Un(o),l=Qt(1);t&&(i?Gt(i)&&(l=Ge(i)):l=Ge(o));let p=Ms(a,r,i)?zn(a):Qt(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=bt(a),A=i&&Gt(i)?bt(i):i,I=N.frameElement;for(;I&&i&&A!==N;){let W=Ge(I),M=I.getBoundingClientRect(),z=Et(I),G=M.left+(I.clientLeft+parseFloat(z.paddingLeft))*W.x,nt=M.top+(I.clientTop+parseFloat(z.paddingTop))*W.y;u*=W.x,h*=W.y,b*=W.x,v*=W.y,u+=G,h+=nt,I=bt(I).frameElement}}return ve({width:b,height:v,x:u,y:h})}function Hs(o){let{rect:t,offsetParent:r,strategy:i}=o,n=$t(r),a=te(r);if(r===a)return t;let l={scrollLeft:0,scrollTop:0},p=Qt(1),u=Qt(0);if((n||!n&&i!=="fixed")&&((Jt(r)!=="body"||He(a))&&(l=po(r)),$t(r))){let h=fo(r);p=Ge(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 Fn(o){return fo(te(o)).left+po(o).scrollLeft}function Vs(o){let t=te(o),r=po(o),i=o.ownerDocument.body,n=le(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=le(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+Fn(o),p=-r.scrollTop;return Et(i).direction==="rtl"&&(l+=le(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:p}}function Ks(o,t){let r=bt(o),i=te(o),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,p=0,u=0;if(n){a=n.width,l=n.height;let h=Po();(!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=fo(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=$t(o)?Ge(o):Qt(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 $n(o,t,r){let i;if(t==="viewport")i=Ks(o,r);else if(t==="document")i=Vs(te(o));else if(Gt(t))i=Zs(t,r);else{let n=zn(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return ve(i)}function Wn(o,t){let r=Se(o);return r===t||!Gt(r)||co(r)?!1:Et(r).position==="fixed"||Wn(r,t)}function js(o,t){let r=t.get(o);if(r)return r;let i=Io(o,[],!1).filter(p=>Gt(p)&&Jt(p)!=="body"),n=null,a=Et(o).position==="fixed",l=a?Se(o):o;for(;Gt(l)&&!co(l);){let p=Et(l),u=To(l);!u&&p.position==="fixed"&&(n=null),(a?!u&&!n:!u&&p.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||He(l)&&!u&&Wn(o,l))?i=i.filter(b=>b!==l):n=p,l=Se(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=$n(t,b,n);return h.top=le(v.top,h.top),h.right=so(v.right,h.right),h.bottom=so(v.bottom,h.bottom),h.left=le(v.left,h.left),h},$n(t,p,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Ys(o){return Bn(o)}function Xs(o,t,r){let i=$t(t),n=te(t),a=r==="fixed",l=fo(o,!0,a,t),p={scrollLeft:0,scrollTop:0},u=Qt(0);if(i||!i&&!a)if((Jt(t)!=="body"||He(n))&&(p=po(t)),i){let h=fo(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else n&&(u.x=Fn(n));return{x:l.left+p.scrollLeft-u.x,y:l.top+p.scrollTop-u.y,width:l.width,height:l.height}}function Dn(o,t){return!$t(o)||Et(o).position==="fixed"?null:t?t(o):o.offsetParent}function Mn(o,t){let r=bt(o);if(!$t(o))return r;let i=Dn(o,t);for(;i&&Pn(i)&&Et(i).position==="static";)i=Dn(i,t);return i&&(Jt(i)==="html"||Jt(i)==="body"&&Et(i).position==="static"&&!To(i))?r:i||kn(o)||r}var Qs=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||Mn,a=this.getDimensions;return{reference:Xs(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Js(o){return Et(o).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:Hs,getDocumentElement:te,getClippingRect:qs,getOffsetParent:Mn,getElementRects:Qs,getClientRects:Gs,getDimensions:Ys,getScale:Ge,isElement:Gt,isRTL:Js};var Hn=(o,t,r)=>{let i=new Map,n={platform:ko,...r},a={...n.platform,_c:i};return Ln(o,t,{...n,platform:a})};function Gn(o){return tl(o)}function Ar(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function tl(o){for(let t=o;t;t=Ar(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ar(o);t;t=Ar(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 Vn(o,t,r){return Hn(o,t,{platform:{...ko,getOffsetParent:i=>ko.getOffsetParent(i,Gn)},middleware:[Er({crossAxis:!0}),Cr({allowedPlacements:[r]})]})}var xt=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 uo.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 uo.Debouncer,this.revealDebouncer=new uo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Kn.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="",Vn(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":X};H.styles=On;xt([(0,Q.property)()],H.prototype,"text",void 0);xt([(0,Q.property)({type:Boolean})],H.prototype,"manual",void 0);xt([(0,Q.property)({type:Boolean})],H.prototype,"inline",void 0);xt([(0,Q.property)({type:Number})],H.prototype,"delay",void 0);xt([(0,Q.property)()],H.prototype,"position",void 0);xt([(0,Q.queryAssignedNodes)()],H.prototype,"slotNodes",void 0);xt([(0,Q.query)(".ft-tooltip--container")],H.prototype,"container",void 0);xt([(0,Q.query)(".ft-tooltip")],H.prototype,"tooltip",void 0);xt([(0,Q.query)(".ft-tooltip--content")],H.prototype,"tooltipContent",void 0);xt([(0,Q.state)()],H.prototype,"visible",void 0);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onTouch",null);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onHover",null);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onOut",null);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onClick",null);(0,Zn.customElement)("ft-tooltip")(H);var Qn=f(O());var uo=f(R()),Se=f(V()),Yn=f(O()),Xn=f(qn());var _o;(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;"})(_o||(_o={}));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 Xf=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 Qf={[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 ce;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ce||(ce={}));var $o=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},vt=class extends Yn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=uo.nothing}render(){let t=this.variant&&Object.values(ce).includes(this.variant)?this.variant:ce.fluid_topics,r=t!==ce.material||!!this.value;return uo.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="",Vn(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":X};H.styles=On;xt([(0,Q.property)()],H.prototype,"text",void 0);xt([(0,Q.property)({type:Boolean})],H.prototype,"manual",void 0);xt([(0,Q.property)({type:Boolean})],H.prototype,"inline",void 0);xt([(0,Q.property)({type:Number})],H.prototype,"delay",void 0);xt([(0,Q.property)()],H.prototype,"position",void 0);xt([(0,Q.queryAssignedNodes)()],H.prototype,"slotNodes",void 0);xt([(0,Q.query)(".ft-tooltip--container")],H.prototype,"container",void 0);xt([(0,Q.query)(".ft-tooltip")],H.prototype,"tooltip",void 0);xt([(0,Q.query)(".ft-tooltip--content")],H.prototype,"tooltipContent",void 0);xt([(0,Q.state)()],H.prototype,"visible",void 0);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onTouch",null);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onHover",null);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onOut",null);xt([(0,Q.eventOptions)({passive:!0})],H.prototype,"onClick",null);(0,Zn.customElement)("ft-tooltip")(H);var Qn=f(O());var ho=f(R()),Oe=f(V()),Yn=f(O()),Xn=f(qn());var _o;(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;"})(_o||(_o={}));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 iu=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 nu={[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 pe;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(pe||(pe={}));var $o=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},vt=class extends Yn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ho.nothing}render(){let t=this.variant&&Object.values(pe).includes(this.variant)?this.variant:pe.fluid_topics,r=t!==pe.material||!!this.value;return ho.html`
541
541
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
542
542
  ${(0,Xn.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 ce.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case ce.material:this.resolvedIcon=this.value||uo.nothing;break;default:this.resolvedIcon=(r=_o[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};vt.elementDefinitions={};vt.styles=fn;$o([(0,Se.property)()],vt.prototype,"variant",void 0);$o([(0,Se.property)()],vt.prototype,"value",void 0);$o([(0,Se.state)()],vt.prototype,"resolvedIcon",void 0);$o([(0,Se.query)("slot")],vt.prototype,"slottedContent",void 0);(0,Qn.customElement)("ft-icon")(vt);var ea=f(O());var Jn=f(R()),ta=f(O());var Oe=class extends ta.FtLitElement{render(){return Jn.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 pe.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case pe.material:this.resolvedIcon=this.value||ho.nothing;break;default:this.resolvedIcon=(r=_o[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};vt.elementDefinitions={};vt.styles=fn;$o([(0,Oe.property)()],vt.prototype,"variant",void 0);$o([(0,Oe.property)()],vt.prototype,"value",void 0);$o([(0,Oe.state)()],vt.prototype,"resolvedIcon",void 0);$o([(0,Oe.query)("slot")],vt.prototype,"slottedContent",void 0);(0,Qn.customElement)("ft-icon")(vt);var ea=f(O());var Jn=f(R()),ta=f(O());var Ce=class extends ta.FtLitElement{render(){return Jn.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
- `}};Oe.styles=pn;(0,ea.customElement)("ft-loader")(Oe);var Ge=f(R()),oa=f(ze()),pt=f(V()),At=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},Y=class extends(0,Ve.toFtFormComponent)(Ve.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(Ge.html`
552
+ `}};Ce.styles=pn;(0,ea.customElement)("ft-loader")(Ce);var Ve=f(R()),oa=f(Fe()),pt=f(V()),At=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},Y=class extends(0,Ke.toFtFormComponent)(Ke.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(Ve.html`
553
553
  <button part="button"
554
554
  class="${(0,oa.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 ${Ve.isSafari?"ft-safari-ellipsis-fix":""}"
561
+ class="ft-button--label ${Ke.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)?Ge.html`
567
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ve.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?Ge.html`
574
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Ge.html`
573
+ `:t}resolveIcon(){return this.loading?Ve.html`
574
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Ve.html`
575
575
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
576
- `:Ge.html`
576
+ `:Ve.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}};Y.elementDefinitions={"ft-ripple":k,"ft-tooltip":H,"ft-typography":X,"ft-icon":vt,"ft-loader":Oe};At([(0,pt.property)({type:String,reflect:!0})],Y.prototype,"role",void 0);At([(0,pt.property)()],Y.prototype,"type",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"disabled",void 0);At([(0,pt.property)()],Y.prototype,"label",void 0);At([(0,pt.property)()],Y.prototype,"icon",void 0);At([(0,pt.property)()],Y.prototype,"iconVariant",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"loading",void 0);At([(0,pt.property)()],Y.prototype,"tooltipPosition",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"hideTooltip",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"forceTooltip",void 0);At([(0,pt.query)(".ft-button")],Y.prototype,"button",void 0);At([(0,pt.query)(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);var Bo=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 Y{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=[ra.safariEllipsisFix,yn];Bo([(0,ho.property)({type:Boolean})],dt.prototype,"primary",void 0);Bo([(0,ho.property)({type:Boolean})],dt.prototype,"outlined",void 0);Bo([(0,ho.property)({type:Boolean})],dt.prototype,"dense",void 0);Bo([(0,ho.property)({type:Boolean})],dt.prototype,"round",void 0);var Ke=f(V());var aa=f(O());var ia=f(R()),P=f(O());var na=[ia.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}};Y.elementDefinitions={"ft-ripple":k,"ft-tooltip":H,"ft-typography":X,"ft-icon":vt,"ft-loader":Ce};At([(0,pt.property)({type:String,reflect:!0})],Y.prototype,"role",void 0);At([(0,pt.property)()],Y.prototype,"type",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"disabled",void 0);At([(0,pt.property)()],Y.prototype,"label",void 0);At([(0,pt.property)()],Y.prototype,"icon",void 0);At([(0,pt.property)()],Y.prototype,"iconVariant",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"loading",void 0);At([(0,pt.property)()],Y.prototype,"tooltipPosition",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"hideTooltip",void 0);At([(0,pt.property)({type:Boolean})],Y.prototype,"forceTooltip",void 0);At([(0,pt.query)(".ft-button")],Y.prototype,"button",void 0);At([(0,pt.query)(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);var Do=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 Y{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=[ra.safariEllipsisFix,yn];Do([(0,mo.property)({type:Boolean})],dt.prototype,"primary",void 0);Do([(0,mo.property)({type:Boolean})],dt.prototype,"outlined",void 0);Do([(0,mo.property)({type:Boolean})],dt.prototype,"dense",void 0);Do([(0,mo.property)({type:Boolean})],dt.prototype,"round",void 0);var Ze=f(V());var aa=f(O());var ia=f(R()),P=f(O());var na=[ia.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 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},Gt=class extends Y{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?be.caption1medium:be.body2medium}};Gt.styles=[aa.safariEllipsisFix,na];mo([(0,Ke.property)({type:Boolean})],Gt.prototype,"primary",void 0);mo([(0,Ke.property)({type:Boolean})],Gt.prototype,"secondary",void 0);mo([(0,Ke.property)({type:Boolean})],Gt.prototype,"tertiary",void 0);mo([(0,Ke.property)({type:Boolean})],Gt.prototype,"neutral",void 0);mo([(0,Ke.property)({type:Boolean})],Gt.prototype,"small",void 0);(0,wr.customElement)("ft-button")(dt);(0,wr.customElement)("ftds-button")(Gt);var fa=f(O());var ca=f(R()),pe=f(V()),pa=f(O()),da=f(ze());var wt=f(O()),sa=f(R());var ee={textColor:wt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",wt.designSystemVariables.colorOnSurfaceHigh),fontSize:wt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",S.fontSize),colorPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:wt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",wt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},la=sa.css`
796
+ `,P.noTextSelect];var yo=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},Vt=class extends Y{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?xe.caption1medium:xe.body2medium}};Vt.styles=[aa.safariEllipsisFix,na];yo([(0,Ze.property)({type:Boolean})],Vt.prototype,"primary",void 0);yo([(0,Ze.property)({type:Boolean})],Vt.prototype,"secondary",void 0);yo([(0,Ze.property)({type:Boolean})],Vt.prototype,"tertiary",void 0);yo([(0,Ze.property)({type:Boolean})],Vt.prototype,"neutral",void 0);yo([(0,Ze.property)({type:Boolean})],Vt.prototype,"small",void 0);(0,wr.customElement)("ft-button")(dt);(0,wr.customElement)("ftds-button")(Vt);var fa=f(O());var ca=f(R()),de=f(V()),pa=f(O()),da=f(Fe());var wt=f(O()),sa=f(R());var ee={textColor:wt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",wt.designSystemVariables.colorOnSurfaceHigh),fontSize:wt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",S.fontSize),colorPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:wt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",wt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},la=sa.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 Ze=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 pa.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 ca.html`
874
+ `;var 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},St=class extends pa.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 ca.html`
875
875
  <label class="${(0,da.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)}};St.elementDefinitions={"ft-ripple":k,"ft-typography":X};St.styles=la;Ze([(0,pe.property)()],St.prototype,"name",void 0);Ze([(0,pe.property)({type:Boolean,reflect:!0})],St.prototype,"checked",void 0);Ze([(0,pe.property)({type:Boolean})],St.prototype,"indeterminate",void 0);Ze([(0,pe.property)({type:Boolean})],St.prototype,"disabled",void 0);Ze([(0,pe.query)(".ft-checkbox")],St.prototype,"container",void 0);Ze([(0,pe.query)("ft-ripple")],St.prototype,"ripple",void 0);(0,fa.customElement)("ft-checkbox")(St);var Rr=f(O());var ma=f(R()),$t=f(V()),ya=f(O()),ga=f(ze());var ua=f(R()),It=f(O()),Ce={textColor:It.FtCssVariableFactory.extend("--ft-radio-text-color","",It.designSystemVariables.colorOnSurfaceHigh),colorPrimary:It.FtCssVariableFactory.external(It.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:It.FtCssVariableFactory.external(It.designSystemVariables.colorOnPrimary,"Design system"),borderColor:It.FtCssVariableFactory.extend("--ft-radio-border-color","",It.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:It.FtCssVariableFactory.external(It.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ha=ua.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)}};St.elementDefinitions={"ft-ripple":k,"ft-typography":X};St.styles=la;je([(0,de.property)()],St.prototype,"name",void 0);je([(0,de.property)({type:Boolean,reflect:!0})],St.prototype,"checked",void 0);je([(0,de.property)({type:Boolean})],St.prototype,"indeterminate",void 0);je([(0,de.property)({type:Boolean})],St.prototype,"disabled",void 0);je([(0,de.query)(".ft-checkbox")],St.prototype,"container",void 0);je([(0,de.query)("ft-ripple")],St.prototype,"ripple",void 0);(0,fa.customElement)("ft-checkbox")(St);var Rr=f(O());var ma=f(R()),Dt=f(V()),ya=f(O()),ga=f(Fe());var ua=f(R()),Rt=f(O()),Ee={textColor:Rt.FtCssVariableFactory.extend("--ft-radio-text-color","",Rt.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Rt.FtCssVariableFactory.extend("--ft-radio-border-color","",Rt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ha=ua.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: ${Ce.textColor};
908
+ color: ${Ee.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: ${Ce.colorOnSurfaceDisabled};
916
+ color: ${Ee.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 ${Ce.borderColor};
939
+ border: 2px solid ${Ee.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: ${Ce.colorPrimary};
952
+ background-color: ${Ee.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: ${Ce.colorPrimary};
964
+ border-color: ${Ee.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: ${Ce.colorOnSurfaceDisabled};
973
+ border-color: ${Ee.colorOnSurfaceDisabled};
974
974
  background-color: transparent;
975
975
  }
976
976
 
977
977
  .ft-radio--disabled .ft-radio--box:after {
978
- background-color: ${Ce.colorOnSurfaceDisabled};
978
+ background-color: ${Ee.colorOnSurfaceDisabled};
979
+ }
980
+
981
+ .ft-radio:has(:focus-visible) {
982
+ outline: 2px solid ${Rt.designSystemVariables.colorPrimary};
983
+ outline-offset: -2px;
984
+ }
985
+
986
+ .ft-radio ft-typography {
987
+ padding-right: 2px;
979
988
  }
980
- `;var oe=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},yo=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},lt=class extends ya.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 ma.html`
989
+ `;var oe=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},Bo=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},lt=class extends ya.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 ma.html`
981
990
  <div class="${(0,ga.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 yo(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 yo(this.name,this.checked))}select(){this.checked=!0,this.dispatchEvent(new yo(this.value,this.checked))}};lt.elementDefinitions={"ft-ripple":k,"ft-typography":X};lt.styles=ha;oe([(0,$t.property)()],lt.prototype,"value",void 0);oe([(0,$t.property)()],lt.prototype,"name",void 0);oe([(0,$t.property)({type:Boolean,reflect:!0})],lt.prototype,"checked",void 0);oe([(0,$t.property)({type:Boolean})],lt.prototype,"disabled",void 0);oe([(0,$t.property)({reflect:!0})],lt.prototype,"tabIndex",void 0);oe([(0,$t.property)({reflect:!0,attribute:"role"})],lt.prototype,"role",void 0);oe([(0,$t.query)(".ft-radio")],lt.prototype,"container",void 0);oe([(0,$t.query)("ft-ripple")],lt.prototype,"ripple",void 0);oe([(0,$t.query)("input")],lt.prototype,"input",void 0);var va=f(O()),je=f(V()),Sa=f(R());var ba=f(R());var xa=ba.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 Bo(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 Bo(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":X};lt.styles=ha;oe([(0,Dt.property)()],lt.prototype,"value",void 0);oe([(0,Dt.property)()],lt.prototype,"name",void 0);oe([(0,Dt.property)({type:Boolean,reflect:!0})],lt.prototype,"checked",void 0);oe([(0,Dt.property)({attribute:"aria-checked",reflect:!0})],lt.prototype,"ariaChecked",void 0);oe([(0,Dt.property)({type:Boolean})],lt.prototype,"disabled",void 0);oe([(0,Dt.property)({reflect:!0,attribute:"role"})],lt.prototype,"role",void 0);oe([(0,Dt.query)(".ft-radio")],lt.prototype,"container",void 0);oe([(0,Dt.query)("ft-ripple")],lt.prototype,"ripple",void 0);oe([(0,Dt.query)("input")],lt.prototype,"input",void 0);var va=f(O()),re=f(V()),Sa=f(R());var ba=f(R());var xa=ba.css`
1006
1015
  :host {
1007
- display: contents;
1016
+ display: block;
1008
1017
  }
1009
- `;var Do=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},Vt=class extends va.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Sa.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},Tt=class extends va.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 Sa.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)}};Vt.elementDefinitions={};Vt.styles=xa;Do([(0,je.property)()],Vt.prototype,"name",void 0);Do([(0,je.property)({reflect:!0,attribute:"role"})],Vt.prototype,"role",void 0);Do([(0,je.property)({reflect:!0,attribute:"aria-labelledby"})],Vt.prototype,"ariaLabelledBy",void 0);Do([(0,je.queryAssignedElements)()],Vt.prototype,"radioButtons",void 0);(0,Rr.customElement)("ft-radio")(lt);(0,Rr.customElement)("ft-radio-group")(Vt);var Oa=f(R()),D=f(O());var Uo={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(Ct.fontFamily,"Body2 typography"),fontSize:D.FtCssVariableFactory.external(Ct.fontSize,"Body2 typography"),fontWeight:D.FtCssVariableFactory.external(Ct.fontWeight,"Body2 typography"),letterSpacing:D.FtCssVariableFactory.external(Ct.letterSpacing,"Body2 typography"),lineHeight:D.FtCssVariableFactory.external(Ct.lineHeight,"Body2 typography"),textTransform:D.FtCssVariableFactory.external(Ct.textTransform,"Body2 typography")},Ca=Oa.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()}};Tt.elementDefinitions={};Tt.styles=xa;qe([(0,re.property)()],Tt.prototype,"name",void 0);qe([(0,re.property)({reflect:!0,attribute:"role"})],Tt.prototype,"role",void 0);qe([(0,re.property)({reflect:!0})],Tt.prototype,"tabIndex",void 0);qe([(0,re.property)({reflect:!0,attribute:"aria-labelledby"})],Tt.prototype,"ariaLabelledBy",void 0);qe([(0,re.queryAssignedElements)()],Tt.prototype,"radioButtons",void 0);qe([(0,re.state)()],Tt.prototype,"currentSelectedIndex",void 0);(0,Rr.customElement)("ft-radio")(lt);(0,Rr.customElement)("ft-radio-group")(Tt);var Oa=f(R()),B=f(O());var Uo={borderRadiusM:B.FtCssVariableFactory.external(B.designSystemVariables.borderRadiusM,"Design system"),colorOutline:B.FtCssVariableFactory.external(B.designSystemVariables.colorOutline,"Design system"),colorOnSurface:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:B.FtCssVariableFactory.external(Ct.fontFamily,"Body2 typography"),fontSize:B.FtCssVariableFactory.external(Ct.fontSize,"Body2 typography"),fontWeight:B.FtCssVariableFactory.external(Ct.fontWeight,"Body2 typography"),letterSpacing:B.FtCssVariableFactory.external(Ct.letterSpacing,"Body2 typography"),lineHeight:B.FtCssVariableFactory.external(Ct.lineHeight,"Body2 typography"),textTransform:B.FtCssVariableFactory.external(Ct.textTransform,"Body2 typography")},Ca=Oa.css`
1015
1024
  .ft-filter-level--container {
1016
1025
  display: flex;
1017
1026
  flex-direction: column;
@@ -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,Uo.colorOnSurface)};
1073
+ ${(0,B.setVariable)(D.color,Uo.colorOnSurface)};
1065
1074
  }
1066
1075
 
1067
1076
  ft-radio, ft-checkbox {
@@ -1077,9 +1086,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1077
1086
  margin: 10px 0;
1078
1087
  color: ${Uo.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},K=class extends zo.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 Rt.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},K=class extends zo.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`
1081
1090
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1082
- ${this.parent==null?null:Rt.html`
1091
+ ${this.parent==null?null:Nt.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?Rt.html`
1104
+ ${this.options.length===0&&this.noValuesLabel?Nt.html`
1096
1105
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1097
1106
  ${this.noValuesLabel}
1098
1107
  </ft-typography>
1099
- `:Rt.nothing}
1100
- ${(0,Ea.repeat)(r,i=>i.value,i=>{var n;return Rt.html`
1108
+ `:Nt.nothing}
1109
+ ${(0,Ea.repeat)(r,i=>i.value,i=>{var n;return Nt.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?Rt.nothing:Rt.html`
1112
+ ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Nt.nothing:Nt.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?Rt.html`
1123
+ ${r.length<t.length?Nt.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
- `:Rt.nothing}
1132
+ `:Nt.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 Rt.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 Nt.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
1140
  .indeterminate=${(0,zo.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 Rt.html`
1144
+ `}buildMonoValuedOption(t){return Nt.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)}};K.elementDefinitions={"ft-button":dt,"ft-ripple":k,"ft-typography":X,"ft-checkbox":St,"ft-icon":vt,"ft-radio":lt};K.styles=Ca;ft([(0,ot.property)({type:String})],K.prototype,"filterId",void 0);ft([(0,ot.property)({type:Object})],K.prototype,"parent",void 0);ft([(0,ot.property)({type:Array})],K.prototype,"options",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"multivalued",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"disabled",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"hideSelectedOptions",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"displayCount",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"preventNavigation",void 0);ft([(0,ot.property)({type:String})],K.prototype,"filter",void 0);ft([(0,ot.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);ft([(0,ot.property)({type:String})],K.prototype,"noValuesLabel",void 0);ft([(0,ot.property)({type:Number})],K.prototype,"displayedValuesLimit",void 0);ft([(0,ot.query)(".ft-filter-level--container")],K.prototype,"container",void 0);ft([(0,ot.state)()],K.prototype,"radios",void 0);ft([(0,ot.state)()],K.prototype,"displayedPages",void 0);var La=f(O());var Ra=f(R()),Nt=f(V()),Ee=f(O());var Na=f(ze());var Aa=f(R()),Bt=f(O());var de={buttonsColor:Bt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Bt.designSystemVariables.colorPrimary),buttonsZIndex:Bt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Bt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.colorSurface,"Design system")},wa=Aa.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}))}};K.elementDefinitions={"ft-button":dt,"ft-ripple":k,"ft-typography":X,"ft-checkbox":St,"ft-icon":vt,"ft-radio":lt};K.styles=Ca;ft([(0,ot.property)({type:String})],K.prototype,"filterId",void 0);ft([(0,ot.property)({type:Object})],K.prototype,"parent",void 0);ft([(0,ot.property)({type:Array})],K.prototype,"options",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"multivalued",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"disabled",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"hideSelectedOptions",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"displayCount",void 0);ft([(0,ot.property)({type:Boolean})],K.prototype,"preventNavigation",void 0);ft([(0,ot.property)({type:String})],K.prototype,"filter",void 0);ft([(0,ot.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);ft([(0,ot.property)({type:String})],K.prototype,"noValuesLabel",void 0);ft([(0,ot.property)({type:Number})],K.prototype,"displayedValuesLimit",void 0);ft([(0,ot.query)(".ft-filter-level--container")],K.prototype,"container",void 0);ft([(0,ot.state)()],K.prototype,"radios",void 0);ft([(0,ot.state)()],K.prototype,"displayedPages",void 0);var La=f(O());var Ra=f(R()),Lt=f(V()),Ae=f(O());var Na=f(Fe());var Aa=f(R()),Bt=f(O());var fe={buttonsColor:Bt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Bt.designSystemVariables.colorPrimary),buttonsZIndex:Bt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Bt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.colorSurface,"Design system")},wa=Aa.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: ${de.gap};
1190
+ gap: ${fe.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: ${de.buttonsZIndex};
1233
+ z-index: ${fe.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,Bt.setVariable)(B.backgroundColor,"transparent")};
1229
- ${(0,Bt.setVariable)(B.color,de.buttonsColor)};
1236
+ ${(0,Bt.setVariable)(D.backgroundColor,"transparent")};
1237
+ ${(0,Bt.setVariable)(D.color,fe.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, ${de.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1250
+ background: linear-gradient(to right, ${fe.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, ${de.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1257
+ background: linear-gradient(to bottom, ${fe.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, ${de.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1264
+ background: linear-gradient(to left, ${fe.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, ${de.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1271
+ background: linear-gradient(to top, ${fe.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: ${de.colorSurface};
1278
+ background-color: ${fe.colorSurface};
1271
1279
  }
1272
- `;var Kt=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},Nr=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},rt=class extends Ee.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 Ee.Debouncer(200),this.updateScrollDebouncer=new Ee.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,Na.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":Ee.isSafari}),r=this.controls&&this.withScroll;return Ra.html`
1280
+ `;var Kt=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},Nr=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},rt=class extends Ae.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 Ae.Debouncer(200),this.updateScrollDebouncer=new Ae.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,Na.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":Ae.isSafari}),r=this.controls&&this.withScroll;return Ra.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 Nr(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=wa;Kt([(0,Nt.property)({type:Boolean})],rt.prototype,"horizontal",void 0);Kt([(0,Nt.property)({type:Boolean})],rt.prototype,"hideScrollbar",void 0);Kt([(0,Nt.property)({type:Boolean})],rt.prototype,"controls",void 0);Kt([(0,Nt.property)({type:Boolean})],rt.prototype,"limitSize",void 0);Kt([(0,Nt.state)()],rt.prototype,"elements",void 0);Kt([(0,Nt.state)()],rt.prototype,"currentElement",void 0);Kt([(0,Nt.state)()],rt.prototype,"withScroll",void 0);Kt([(0,Nt.state)()],rt.prototype,"startReached",void 0);Kt([(0,Nt.state)()],rt.prototype,"endReached",void 0);Kt([(0,Nt.query)(".ft-snap-scroll--content")],rt.prototype,"contentSlot",void 0);(0,La.customElement)("ft-snap-scroll")(rt);var Ia=f(R()),F=f(O());var Tt={colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),colorOnSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),colorSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorSurface,"Design system"),transitionDuration:F.FtCssVariableFactory.external(F.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:F.FtCssVariableFactory.external(F.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:F.FtCssVariableFactory.extend("--ft-filter-label-color","",F.designSystemVariables.colorOnSurface),labelFontSize:F.FtCssVariableFactory.extend("--ft-filter-label-font-size","",S.fontSize,"16px")},Ta=[Ro,Ia.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 Nr(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=wa;Kt([(0,Lt.property)({type:Boolean})],rt.prototype,"horizontal",void 0);Kt([(0,Lt.property)({type:Boolean})],rt.prototype,"hideScrollbar",void 0);Kt([(0,Lt.property)({type:Boolean})],rt.prototype,"controls",void 0);Kt([(0,Lt.property)({type:Boolean})],rt.prototype,"limitSize",void 0);Kt([(0,Lt.state)()],rt.prototype,"elements",void 0);Kt([(0,Lt.state)()],rt.prototype,"currentElement",void 0);Kt([(0,Lt.state)()],rt.prototype,"withScroll",void 0);Kt([(0,Lt.state)()],rt.prototype,"startReached",void 0);Kt([(0,Lt.state)()],rt.prototype,"endReached",void 0);Kt([(0,Lt.query)(".ft-snap-scroll--content")],rt.prototype,"contentSlot",void 0);(0,La.customElement)("ft-snap-scroll")(rt);var Ia=f(R()),F=f(O());var Pt={colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),colorOnSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),colorSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorSurface,"Design system"),transitionDuration:F.FtCssVariableFactory.external(F.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:F.FtCssVariableFactory.external(F.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:F.FtCssVariableFactory.extend("--ft-filter-label-color","",F.designSystemVariables.colorOnSurface),labelFontSize:F.FtCssVariableFactory.extend("--ft-filter-label-font-size","",S.fontSize,"16px")},Ta=[Ro,Ia.css`
1297
1305
  :host {
1298
1306
  display: flex;
1299
1307
  max-height: 100%;
@@ -1320,7 +1328,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1320
1328
  .ft-filter--header ft-button {
1321
1329
  flex-shrink: 0;
1322
1330
  margin-left: auto;
1323
- ${(0,F.setVariable)(B.iconSize,"18px")};
1331
+ ${(0,F.setVariable)(D.iconSize,"18px")};
1324
1332
  }
1325
1333
  .filter-label {
1326
1334
  display: contents;
@@ -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: ${Tt.labelColor};
1335
- font-size: ${Tt.labelFontSize};
1342
+ color: ${Pt.labelColor};
1343
+ font-size: ${Pt.labelFontSize};
1336
1344
  ${(0,F.setVariable)(S.lineHeight,"22px")};
1337
1345
  ${(0,F.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 ${Tt.transitionDuration} ${Tt.transitionTimingFunction},
1349
- margin ${Tt.transitionDuration} ${Tt.transitionTimingFunction};
1356
+ transition: height ${Pt.transitionDuration} ${Pt.transitionTimingFunction},
1357
+ margin ${Pt.transitionDuration} ${Pt.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 ${Tt.colorOutline};
1370
+ border: 1px solid ${Pt.colorOutline};
1363
1371
  padding: 4px;
1364
- background-color: ${Tt.colorSurface};
1365
- color: ${Tt.colorOnSurface};
1366
- outline-color: ${Tt.colorPrimary};
1372
+ background-color: ${Pt.colorSurface};
1373
+ color: ${Pt.colorOnSurface};
1374
+ outline-color: ${Pt.colorPrimary};
1367
1375
  }
1368
1376
 
1369
1377
  input::placeholder {
1370
- color: ${Tt.colorOnSurfaceMedium};
1378
+ color: ${Pt.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 ${Tt.colorOutline};
1394
+ border-top: 1px solid ${Pt.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},Lr=class extends CustomEvent{constructor(t){super("change",{detail:t})}},L=class extends Pt.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 Pt.Debouncer(300),this.changeDebouncer=new Pt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Pt.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Pt.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 Ae.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},Lr=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 we.html`
1412
1420
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1413
1421
  part="container">
1414
- ${!this.label&&!t?null:Ae.html`
1422
+ ${!this.label&&!t?null:we.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?Ae.html`
1431
+ ${t&&!this.hideClearButton?we.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 Ae.html`
1448
- ${this.raiseSelectedOptions&&r.length>0?Ae.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 we.html`
1456
+ ${this.raiseSelectedOptions&&r.length>0?we.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 Ae.html`
1476
+ `}renderLevel(t,r,i){return we.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,Pt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new Lr(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":K,"ft-snap-scroll":rt,"ft-typography":X};L.styles=Ta;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,Pt.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 Fo=f(O()),we=f(V()),Pa=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},Dt=class extends Fo.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Pa.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,kt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new Lr(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":K,"ft-snap-scroll":rt,"ft-typography":X};L.styles=Ta;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 Fo=f(O()),Re=f(V()),Pa=f(R()),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 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},Ut=class extends Fo.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Pa.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}))}};Dt.elementDefinitions={};qe([(0,we.property)({type:String})],Dt.prototype,"label",void 0);qe([(0,we.property)({type:Object,converter:o=>o})],Dt.prototype,"value",void 0);qe([(0,we.property)({type:Boolean,reflect:!0})],Dt.prototype,"selected",void 0);qe([(0,we.property)({type:Object})],Dt.prototype,"subOptions",void 0);qe([(0,Fo.jsonProperty)({})],Dt.prototype,"renderOption",void 0);qe([(0,we.query)(".ft-filter-option--slot")],Dt.prototype,"slotElement",void 0);(0,Ir.customElement)("ft-filter")(L);(0,Ir.customElement)("ft-filter-option")(Dt);var Ka=f(O());var Yo=f(R()),Xo=f(V()),Qo=f(O());var ka=f(R());var _a=ka.css`
1491
- `;var jo=f(O());var Ha=f(O());var Fa=f(R()),kt=f(V()),Ut=f(O());var $a=f(R());var Ba=$a.css`
1492
- `;var Da=f(O()),el="ft-app-info",ol={},w=Da.FtReduxStore.get({name:el,reducers:ol,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 fe=f(O());var Tr=f(O());var Re=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=w.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=w.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var Zt=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 Tr.CacheRegistry,this.cache=t?n.commonCache:new Tr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Re.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Re.await()}clearCache(){this.cache.clearAll()}};var Ua,rl=Symbol("clearAfterUnitTest"),Wo=class extends Zt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ua]=()=>{this.defaultMessages={},this.cache=new fe.CacheRegistry,this.listeners={}},this.currentUiLocale=w.getState().uiLocale,w.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=w.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,fe.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 fe.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,fe.delay)(0).then(()=>r()).catch(()=>null)))}};Ua=rl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var Ye=window.FluidTopicsI18nService,za=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},Z=class extends Ut.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=()=>Re.get(),this.messageContexts=[],this.cache=new Ut.CacheRegistry,this.cleanSessionDebouncer=new Ut.Debouncer}render(){return Fa.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}))}};Ut.elementDefinitions={};Ye([(0,Re.property)({type:String})],Ut.prototype,"label",void 0);Ye([(0,Re.property)({type:Object,converter:o=>o})],Ut.prototype,"value",void 0);Ye([(0,Re.property)({type:Boolean,reflect:!0})],Ut.prototype,"selected",void 0);Ye([(0,Re.property)({type:Object})],Ut.prototype,"subOptions",void 0);Ye([(0,Fo.jsonProperty)({})],Ut.prototype,"renderOption",void 0);Ye([(0,Re.query)(".ft-filter-option--slot")],Ut.prototype,"slotElement",void 0);(0,Ir.customElement)("ft-filter")(L);(0,Ir.customElement)("ft-filter-option")(Ut);var Ka=f(O());var Yo=f(R()),Xo=f(V()),Qo=f(O());var ka=f(R());var _a=ka.css`
1499
+ `;var jo=f(O());var Ha=f(O());var Fa=f(R()),_t=f(V()),zt=f(O());var $a=f(R());var Da=$a.css`
1500
+ `;var Ba=f(O()),el="ft-app-info",ol={},w=Ba.FtReduxStore.get({name:el,reducers:ol,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 ue=f(O());var Tr=f(O());var Ne=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=w.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=w.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var Zt=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 Tr.CacheRegistry,this.cache=t?n.commonCache:new Tr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ne.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ne.await()}clearCache(){this.cache.clearAll()}};var Ua,rl=Symbol("clearAfterUnitTest"),Wo=class extends Zt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ua]=()=>{this.defaultMessages={},this.cache=new ue.CacheRegistry,this.listeners={}},this.currentUiLocale=w.getState().uiLocale,w.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=w.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,ue.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 ue.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,ue.delay)(0).then(()=>r()).catch(()=>null)))}};Ua=rl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var Xe=window.FluidTopicsI18nService,za=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},Z=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=()=>Ne.get(),this.messageContexts=[],this.cache=new zt.CacheRegistry,this.cleanSessionDebouncer=new zt.Debouncer}render(){return Fa.html`
1493
1501
  <slot></slot>
1494
- `}update(t){super.update(t),t.has("baseUrl")&&(w.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&w.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&w.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&w.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&w.actions.noCustom(this.noCustom),t.has("editorMode")&&w.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&w.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&w.actions.session(this.session),t.has("availableUiLocales")&&w.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ye.addContext(r)),t.has("openExternalDocumentInNewTab")&&w.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&w.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&w.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())}};Z.elementDefinitions={};Z.styles=Ba;ut([(0,kt.property)()],Z.prototype,"baseUrl",void 0);ut([(0,kt.property)()],Z.prototype,"apiIntegrationIdentifier",void 0);ut([(0,kt.property)()],Z.prototype,"uiLocale",void 0);ut([(0,Ut.jsonProperty)(null)],Z.prototype,"availableUiLocales",void 0);ut([(0,Ut.jsonProperty)(null)],Z.prototype,"metadataConfiguration",void 0);ut([(0,kt.property)({type:Boolean})],Z.prototype,"editorMode",void 0);ut([(0,kt.property)({type:Boolean})],Z.prototype,"noCustom",void 0);ut([(0,kt.property)({type:Boolean})],Z.prototype,"openExternalDocumentInNewTab",void 0);ut([(0,kt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],Z.prototype,"noCustomComponent",void 0);ut([(0,kt.property)({type:Boolean})],Z.prototype,"withManualResources",void 0);ut([(0,kt.property)({type:Boolean})],Z.prototype,"navigatorOnline",void 0);ut([(0,kt.property)({type:Boolean})],Z.prototype,"forcedOffline",void 0);ut([(0,kt.property)({type:Object})],Z.prototype,"apiProvider",void 0);ut([(0,Ut.jsonProperty)([])],Z.prototype,"messageContexts",void 0);ut([(0,Ut.jsonProperty)(void 0)],Z.prototype,"session",void 0);var Vo=f(O());var Mo=class extends Zt{async listMySearches(){let t=w.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Ho=class extends Zt{async listMyBookmarks(){let t=w.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var il="ft-user-assets",Go=Vo.FtReduxStore.get({name:il,initialState:{savedSearches:void 0,bookmarks:void 0}}),Pr=class{constructor(){this.currentSession=w.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ho,this.savedSearchesService=new Mo,w.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=w.getState();(0,Vo.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(),Go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Go.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;Go.actions.bookmarks(r)}}},Wa=new Pr;var kr=class{addCommand(t,r=!1){w.commands.add(t,r)}consumeCommand(t){return w.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new kr;var Ma=f(O()),_r=class{highlightHtml(t,r){(0,Ma.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new _r;(0,Ha.customElement)("ft-app-context")(Z);var Va=f(V()),nl=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},$r=Symbol("i18nAttributes"),Ko=Symbol("i18nProperties"),go=Symbol("i18nUnsubs");function qo(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?za:Ye}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[$r])===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[Ko])===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[$r])===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[Ko])===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[Ko])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(c=(l=this[$r])===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[go].has(n)||this[go].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[go].forEach(n=>n()),this[go].clear()}}return t=go,nl([(0,Va.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ga=class extends qo(jo.FtLitElement){},Zo=class extends qo(jo.FtLitElementRedux){};var bo=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 Zo{constructor(){super(),this.editorMode=!1,this.addStore(w)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Yo.nothing:Yo.html`
1502
+ `}update(t){super.update(t),t.has("baseUrl")&&(w.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&w.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&w.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&w.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&w.actions.noCustom(this.noCustom),t.has("editorMode")&&w.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&w.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&w.actions.session(this.session),t.has("availableUiLocales")&&w.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Xe.addContext(r)),t.has("openExternalDocumentInNewTab")&&w.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&w.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&w.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())}};Z.elementDefinitions={};Z.styles=Da;ut([(0,_t.property)()],Z.prototype,"baseUrl",void 0);ut([(0,_t.property)()],Z.prototype,"apiIntegrationIdentifier",void 0);ut([(0,_t.property)()],Z.prototype,"uiLocale",void 0);ut([(0,zt.jsonProperty)(null)],Z.prototype,"availableUiLocales",void 0);ut([(0,zt.jsonProperty)(null)],Z.prototype,"metadataConfiguration",void 0);ut([(0,_t.property)({type:Boolean})],Z.prototype,"editorMode",void 0);ut([(0,_t.property)({type:Boolean})],Z.prototype,"noCustom",void 0);ut([(0,_t.property)({type:Boolean})],Z.prototype,"openExternalDocumentInNewTab",void 0);ut([(0,_t.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],Z.prototype,"noCustomComponent",void 0);ut([(0,_t.property)({type:Boolean})],Z.prototype,"withManualResources",void 0);ut([(0,_t.property)({type:Boolean})],Z.prototype,"navigatorOnline",void 0);ut([(0,_t.property)({type:Boolean})],Z.prototype,"forcedOffline",void 0);ut([(0,_t.property)({type:Object})],Z.prototype,"apiProvider",void 0);ut([(0,zt.jsonProperty)([])],Z.prototype,"messageContexts",void 0);ut([(0,zt.jsonProperty)(void 0)],Z.prototype,"session",void 0);var Vo=f(O());var Mo=class extends Zt{async listMySearches(){let t=w.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Ho=class extends Zt{async listMyBookmarks(){let t=w.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var il="ft-user-assets",Go=Vo.FtReduxStore.get({name:il,initialState:{savedSearches:void 0,bookmarks:void 0}}),Pr=class{constructor(){this.currentSession=w.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ho,this.savedSearchesService=new Mo,w.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=w.getState();(0,Vo.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(),Go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Go.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;Go.actions.bookmarks(r)}}},Wa=new Pr;var kr=class{addCommand(t,r=!1){w.commands.add(t,r)}consumeCommand(t){return w.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new kr;var Ma=f(O()),_r=class{highlightHtml(t,r){(0,Ma.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new _r;(0,Ha.customElement)("ft-app-context")(Z);var Va=f(V()),nl=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},$r=Symbol("i18nAttributes"),Ko=Symbol("i18nProperties"),go=Symbol("i18nUnsubs");function qo(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?za:Xe}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[$r])===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[Ko])===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[$r])===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[Ko])===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[Ko])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(p=(l=this[$r])===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[go].has(n)||this[go].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[go].forEach(n=>n()),this[go].clear()}}return t=go,nl([(0,Va.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ga=class extends qo(jo.FtLitElement){},Zo=class extends qo(jo.FtLitElementRedux){};var bo=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 Zo{constructor(){super(),this.editorMode=!1,this.addStore(w)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Yo.nothing:Yo.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=_a;bo([(0,Qo.redux)()],zt.prototype,"editorMode",void 0);bo([(0,Xo.property)()],zt.prototype,"context",void 0);bo([(0,Xo.property)()],zt.prototype,"key",void 0);bo([(0,Qo.jsonProperty)([])],zt.prototype,"args",void 0);bo([(0,Xo.property)()],zt.prototype,"defaultMessage",void 0);var Jo=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)=>Ye.resolveMessage(this.name,i,...n)})}};(0,Ka.customElement)("ft-i18n")(zt);var us=f(O()),hs=f(V());var re=f(O());var Za=f(O()),al={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}},ja=o=>Za.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:al});var wy=f(Ya(),1);var Xa;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(Xa||(Xa={}));var Qa;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Qa||(Qa={}));var Ja;(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"})(Ja||(Ja={}));var ts;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(ts||(ts={}));var es;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(es||(es={}));var os;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(os||(os={}));var rs;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(rs||(rs={}));var is;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(is||(is={}));var ns;(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"})(ns||(ns={}));var as;(function(o){o.ASC="ASC",o.DESC="DESC"})(as||(as={}));var ss;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(ss||(ss={}));var Xe;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Xe||(Xe={}));var ls;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(ls||(ls={}));var cs;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(cs||(cs={}));var ps;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(ps||(ps={}));var ds;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(ds||(ds={}));var Qe;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(Qe||(Qe={}));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 fs;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(fs||(fs={}));var Oy={[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 tr=class extends Zt{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 Br=o=>o.request.virtualField===Xe.TITLE_ONLY&&o.request.scope===Qe.DOCUMENTS,er=class o extends Event{constructor(){super(o.eventName)}};er.eventName="search-context-clear-all-filters";var xo=class o{static build(t,r){return new o(ja(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new re.Debouncer(100),this.suggestDebouncer=new re.Debouncer(300),this.service=r??new tr}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(Xe.TITLE_ONLY),this.store.actions.setRequestScope(Qe.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Xe.EVERYWHERE),this.store.actions.setRequestScope(Qe.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Br(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new er)}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,re.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 re.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,re.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof re.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},Ur=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Dr=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[Dr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Dr]):this.dispatchEvent(new Ur)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Dr,sl([(0,hs.state)()],r.prototype,"stateManager",void 0),r}var or=class extends ll(us.FtLitElementRedux){};var rr=Jo.build("designedSearchType"),ms={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Cs=f(V());var xs=f(O());var bs=f(R()),ie=f(V()),Ft=f(O());var ys=f(R());var gs=ys.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},zr=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},Fr=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},Wr=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},j=class extends Ft.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=xo.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(w)}render(){return bs.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:""})}};Ft.elementDefinitions={};Ft.styles=_a;bo([(0,Qo.redux)()],Ft.prototype,"editorMode",void 0);bo([(0,Xo.property)()],Ft.prototype,"context",void 0);bo([(0,Xo.property)()],Ft.prototype,"key",void 0);bo([(0,Qo.jsonProperty)([])],Ft.prototype,"args",void 0);bo([(0,Xo.property)()],Ft.prototype,"defaultMessage",void 0);var Jo=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)=>Xe.resolveMessage(this.name,i,...n)})}};(0,Ka.customElement)("ft-i18n")(Ft);var us=f(O()),hs=f(V());var ie=f(O());var Za=f(O()),al={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}},ja=o=>Za.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:al});var ky=f(Ya(),1);var Xa;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(Xa||(Xa={}));var Qa;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Qa||(Qa={}));var Ja;(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"})(Ja||(Ja={}));var ts;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(ts||(ts={}));var es;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(es||(es={}));var os;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(os||(os={}));var rs;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(rs||(rs={}));var is;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(is||(is={}));var ns;(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"})(ns||(ns={}));var as;(function(o){o.ASC="ASC",o.DESC="DESC"})(as||(as={}));var ss;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(ss||(ss={}));var Qe;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Qe||(Qe={}));var ls;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(ls||(ls={}));var cs;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(cs||(cs={}));var ps;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(ps||(ps={}));var ds;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(ds||(ds={}));var Je;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(Je||(Je={}));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 fs;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(fs||(fs={}));var Ly={[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 tr=class extends Zt{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 Dr=o=>o.request.virtualField===Qe.TITLE_ONLY&&o.request.scope===Je.DOCUMENTS,er=class o extends Event{constructor(){super(o.eventName)}};er.eventName="search-context-clear-all-filters";var xo=class o{static build(t,r){return new o(ja(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 tr}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(Qe.TITLE_ONLY),this.store.actions.setRequestScope(Je.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Qe.EVERYWHERE),this.store.actions.setRequestScope(Je.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Dr(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new er)}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 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},Ur=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Br=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[Br]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Br]):this.dispatchEvent(new Ur)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Br,sl([(0,hs.state)()],r.prototype,"stateManager",void 0),r}var or=class extends ll(us.FtLitElementRedux){};var rr=Jo.build("designedSearchType"),ms={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Cs=f(V());var xs=f(O());var bs=f(R()),ne=f(V()),Wt=f(O());var ys=f(R());var gs=ys.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},zr=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},Fr=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},Wr=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},j=class extends Wt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=xo.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(w)}render(){return bs.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 Fr(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Wr(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 zr(t))}reloadSavedSearches(){Wa.clearMySearches()}clear(){this.stateManager.clear()}};j.elementDefinitions={};j.styles=gs;ht([(0,ie.property)()],j.prototype,"query",void 0);ht([(0,ie.property)()],j.prototype,"contentLocale",void 0);ht([(0,ie.property)({type:Number})],j.prototype,"pageSize",void 0);ht([(0,ie.property)({type:Boolean})],j.prototype,"searchInDocumentTitlesOnly",void 0);ht([(0,ie.property)()],j.prototype,"periodFilter",void 0);ht([(0,ie.property)()],j.prototype,"scope",void 0);ht([(0,ie.property)({type:Boolean})],j.prototype,"ignoreEmptyQuery",void 0);ht([(0,Ft.redux)({store:w.name})],j.prototype,"openExternalDocumentInNewTab",void 0);ht([(0,Ft.jsonProperty)([])],j.prototype,"filters",void 0);ht([(0,Ft.jsonProperty)([])],j.prototype,"sort",void 0);ht([(0,Ft.redux)({store:"search"})],j.prototype,"request",void 0);ht([(0,Ft.redux)({store:"search"})],j.prototype,"paging",void 0);ht([(0,Ft.redux)({store:"search",selector:o=>o.spellcheck})],j.prototype,"autocorrect",void 0);ht([(0,Ft.redux)({store:w.name})],j.prototype,"session",void 0);ht([(0,ie.property)({attribute:!1})],j.prototype,"searchServiceProvider",void 0);(0,xs.customElement)("ft-search-context")(j);var vs=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},ue=class extends qo(or){constructor(){super(),this.addI18nContext(rr,ms)}render(){return Ss.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 Fr(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Wr(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 zr(t))}reloadSavedSearches(){Wa.clearMySearches()}clear(){this.stateManager.clear()}};j.elementDefinitions={};j.styles=gs;ht([(0,ne.property)()],j.prototype,"query",void 0);ht([(0,ne.property)()],j.prototype,"contentLocale",void 0);ht([(0,ne.property)({type:Number})],j.prototype,"pageSize",void 0);ht([(0,ne.property)({type:Boolean})],j.prototype,"searchInDocumentTitlesOnly",void 0);ht([(0,ne.property)()],j.prototype,"periodFilter",void 0);ht([(0,ne.property)()],j.prototype,"scope",void 0);ht([(0,ne.property)({type:Boolean})],j.prototype,"ignoreEmptyQuery",void 0);ht([(0,Wt.redux)({store:w.name})],j.prototype,"openExternalDocumentInNewTab",void 0);ht([(0,Wt.jsonProperty)([])],j.prototype,"filters",void 0);ht([(0,Wt.jsonProperty)([])],j.prototype,"sort",void 0);ht([(0,Wt.redux)({store:"search"})],j.prototype,"request",void 0);ht([(0,Wt.redux)({store:"search"})],j.prototype,"paging",void 0);ht([(0,Wt.redux)({store:"search",selector:o=>o.spellcheck})],j.prototype,"autocorrect",void 0);ht([(0,Wt.redux)({store:w.name})],j.prototype,"session",void 0);ht([(0,ne.property)({attribute:!1})],j.prototype,"searchServiceProvider",void 0);(0,xs.customElement)("ft-search-context")(j);var vs=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},he=class extends qo(or){constructor(){super(),this.addI18nContext(rr,ms)}render(){return Ss.html`
1502
1510
  <ft-filter
1503
1511
  label=${rr.messages.label()}
1504
1512
  .options=${[{label:rr.messages.documentTitlesOnly(),value:t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
@@ -1507,7 +1515,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1507
1515
  multivalued
1508
1516
  @change=${this.onSelected}
1509
1517
  ></ft-filter>
1510
- `}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};ue.elementDefinitions={"ft-filter":L};ue.styles=Zr;vs([(0,Os.redux)({selector:Br})],ue.prototype,"searchInDocumentTitlesOnly",void 0);vs([(0,Cs.query)("ft-filter")],ue.prototype,"filter",void 0);(0,Es.customElement)("ft-search-type")(ue);})();
1518
+ `}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};he.elementDefinitions={"ft-filter":L};he.styles=Zr;vs([(0,Os.redux)({selector:Dr})],he.prototype,"searchInDocumentTitlesOnly",void 0);vs([(0,Cs.query)("ft-filter")],he.prototype,"filter",void 0);(0,Es.customElement)("ft-search-type")(he);})();
1511
1519
  /*! Bundled license information:
1512
1520
 
1513
1521
  lit-html/lit-html.js: