@fluid-topics/ft-search-bar 1.1.115 → 1.1.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var wp=Object.create;var Qn=Object.defineProperty;var Ep=Object.getOwnPropertyDescriptor;var $p=Object.getOwnPropertyNames;var Rp=Object.getPrototypeOf,Np=Object.prototype.hasOwnProperty;var Io=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var kp=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $p(e))!Np.call(t,n)&&n!==o&&Qn(t,n,{get:()=>e[n],enumerable:!(i=Ep(e,n))||i.enumerable});return t};var u=(t,e,o)=>(o=t!=null?wp(Rp(t)):{},kp(e||!t||!t.__esModule?Qn(o,"default",{value:t,enumerable:!0}):o,t));var O=Io((qd,ea)=>{ea.exports=ftGlobals.wcUtils});var R=Io((Yd,ta)=>{ta.exports=ftGlobals.lit});var Y=Io((Xd,oa)=>{oa.exports=ftGlobals.litDecorators});var po=Io((Jd,ra)=>{ra.exports=ftGlobals.litRepeat});var lt=Io((gg,Ll)=>{Ll.exports=ftGlobals.litClassMap});var ss=Io((oy,ls)=>{ls.exports=ftGlobals.litUnsafeHTML});var Cp=u(O());var Z=u(R()),j=u(Y()),Pr=u(po()),re=u(O());var la=u(O());var aa=u(R()),fo=u(Y()),Ir=u(O());var it;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(it||(it={}));var ia=u(R());var na=ia.css`
1
+ "use strict";(()=>{var wd=Object.create;var Qn=Object.defineProperty;var Ed=Object.getOwnPropertyDescriptor;var $d=Object.getOwnPropertyNames;var Rd=Object.getPrototypeOf,Ld=Object.prototype.hasOwnProperty;var Io=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Nd=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $d(e))!Ld.call(t,n)&&n!==r&&Qn(t,n,{get:()=>e[n],enumerable:!(i=Ed(e,n))||i.enumerable});return t};var h=(t,e,r)=>(r=t!=null?wd(Rd(t)):{},Nd(e||!t||!t.__esModule?Qn(r,"default",{value:t,enumerable:!0}):r,t));var w=Io((qp,ea)=>{ea.exports=ftGlobals.wcUtils});var N=Io((Yp,ta)=>{ta.exports=ftGlobals.lit});var Y=Io((Xp,oa)=>{oa.exports=ftGlobals.litDecorators});var po=Io((Jp,ra)=>{ra.exports=ftGlobals.litRepeat});var lt=Io((Sm,Al)=>{Al.exports=ftGlobals.litClassMap});var ss=Io((lb,ls)=>{ls.exports=ftGlobals.litUnsafeHTML});var Cd=h(w());var Z=h(N()),G=h(Y()),Pr=h(po()),re=h(w());var la=h(w());var aa=h(N()),fo=h(Y()),Ir=h(w());var it;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(it||(it={}));var ia=h(N());var na=ia.css`
2
2
  .ft-size-watcher--pixel {
3
3
  width: 0;
4
4
  height: 0;
@@ -17,14 +17,14 @@
17
17
  .ft-size-watcher--local .ft-size-watcher--watcher {
18
18
  width: 100%;
19
19
  }
20
- `;var or=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Li=class extends CustomEvent{constructor(e,o){super("change",{detail:{size:e,category:o}})}},Ge=class extends Ir.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=it.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Ir.Debouncer}render(){return aa.html`
20
+ `;var or=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ai=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Ge=class extends Ir.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=it.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Ir.Debouncer}render(){return aa.html`
21
21
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
22
22
  <div class="ft-size-watcher--watcher"></div>
23
23
  </div>
24
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=it.S:this.size<976?this.category=it.M:this.size<1024?this.category=it.L:this.size<1440?this.category=it.XL:this.category=it.XXL,this.dispatchEvent(new Li(this.size,this.category)))},this.debounceTimeout)}};Ge.elementDefinitions={};Ge.styles=na;or([(0,fo.property)({type:Number})],Ge.prototype,"debounceTimeout",void 0);or([(0,fo.property)({type:Boolean})],Ge.prototype,"local",void 0);or([(0,fo.property)({type:Number,reflect:!0})],Ge.prototype,"size",void 0);or([(0,fo.property)({type:String,reflect:!0})],Ge.prototype,"category",void 0);or([(0,fo.query)(".ft-size-watcher--watcher")],Ge.prototype,"watcher",void 0);(0,la.customElement)("ft-size-watcher")(Ge);var pl=u(O());var Fi=globalThis,Br=Fi.trustedTypes,sa=Br?Br.createPolicy("lit-html",{createHTML:t=>t}):void 0,ha="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,ma="?"+Kt,Ap=`<${ma}>`,mo=document,Dr=()=>mo.createComment(""),ir=t=>t===null||typeof t!="object"&&typeof t!="function",ga=Array.isArray,Lp=t=>ga(t)||typeof t?.[Symbol.iterator]=="function",Pi=`[
25
- \f\r]`,rr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ca=/-->/g,pa=/>/g,uo=RegExp(`>|${Pi}(?:([^\\s"'>=/]+)(${Pi}*=${Pi}*(?:[^
26
- \f\r"'\`<>=]|("|')|))|$)`,"g"),da=/'/g,fa=/"/g,ya=/^(?:script|style|textarea|title)$/i,ba=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),va=ba(1),xa=ba(2),nr=Symbol.for("lit-noChange"),xe=Symbol.for("lit-nothing"),ua=new WeakMap,ho=mo.createTreeWalker(mo,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sa!==void 0?sa.createHTML(e):e}var Pp=(t,e)=>{let o=t.length-1,i=[],n,a=e===2?"<svg>":"",l=rr;for(let s=0;s<o;s++){let d=t[s],f,h,m=-1,g=0;for(;g<d.length&&(l.lastIndex=g,h=l.exec(d),h!==null);)g=l.lastIndex,l===rr?h[1]==="!--"?l=ca:h[1]!==void 0?l=pa:h[2]!==void 0?(ya.test(h[2])&&(n=RegExp("</"+h[2],"g")),l=uo):h[3]!==void 0&&(l=uo):l===uo?h[0]===">"?(l=n??rr,m=-1):h[1]===void 0?m=-2:(m=l.lastIndex-h[2].length,f=h[1],l=h[3]===void 0?uo:h[3]==='"'?fa:da):l===fa||l===da?l=uo:l===ca||l===pa?l=rr:(l=uo,n=void 0);let b=l===uo&&t[s+1].startsWith("/>")?" ":"";a+=l===rr?d+Ap:m>=0?(i.push(f),d.slice(0,m)+ha+d.slice(m)+Kt+b):d+Kt+(m===-2?s:b)}return[Sa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),i]},ar=class t{constructor({strings:e,_$litType$:o},i){let n;this.parts=[];let a=0,l=0,s=e.length-1,d=this.parts,[f,h]=Pp(e,o);if(this.el=t.createElement(f,i),ho.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ho.nextNode())!==null&&d.length<s;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ha)){let g=h[l++],b=n.getAttribute(m).split(Kt),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:y[2],strings:b,ctor:y[1]==="."?Bi:y[1]==="?"?Di:y[1]==="@"?_i:Do}),n.removeAttribute(m)}else m.startsWith(Kt)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(ya.test(n.tagName)){let m=n.textContent.split(Kt),g=m.length-1;if(g>0){n.textContent=Br?Br.emptyScript:"";for(let b=0;b<g;b++)n.append(m[b],Dr()),ho.nextNode(),d.push({type:2,index:++a});n.append(m[g],Dr())}}}else if(n.nodeType===8)if(n.data===ma)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Kt,m+1))!==-1;)d.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,o){let i=mo.createElement("template");return i.innerHTML=e,i}};function Bo(t,e,o=t,i){if(e===nr)return e;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=ir(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(e=Bo(t,n._$AS(t,e.values),n,i)),e}var Ii=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:i}=this._$AD,n=(e?.creationScope??mo).importNode(o,!0);ho.currentNode=n;let a=ho.nextNode(),l=0,s=0,d=i[0];for(;d!==void 0;){if(l===d.index){let f;d.type===2?f=new _r(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new zi(a,this,e)),this._$AV.push(f),d=i[++s]}l!==d?.index&&(a=ho.nextNode(),l++)}return ho.currentNode=mo,n}p(e){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,o),o+=i.strings.length-2):i._$AI(e[o])),o++}},_r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,i,n){this.type=2,this._$AH=xe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Bo(this,e,o),ir(e)?e===xe||e==null||e===""?(this._$AH!==xe&&this._$AR(),this._$AH=xe):e!==this._$AH&&e!==nr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Lp(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==xe&&ir(this._$AH)?this._$AA.nextSibling.data=e:this.$(mo.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ar.createElement(Sa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new Ii(n,this),l=a.u(this.options);a.p(o),this.$(l),this._$AH=a}}_$AC(e){let o=ua.get(e.strings);return o===void 0&&ua.set(e.strings,o=new ar(e)),o}T(e){ga(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of e)n===o.length?o.push(i=new t(this.k(Dr()),this.k(Dr()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Do=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,i,n,a){this.type=1,this._$AH=xe,this._$AN=void 0,this.element=e,this.name=o,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=xe}_$AI(e,o=this,i,n){let a=this.strings,l=!1;if(a===void 0)e=Bo(this,e,o,0),l=!ir(e)||e!==this._$AH&&e!==nr,l&&(this._$AH=e);else{let s=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Bo(this,s[i+d],o,d),f===nr&&(f=this._$AH[d]),l||=!ir(f)||f!==this._$AH[d],f===xe?e=xe:e!==xe&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}l&&!n&&this.O(e)}O(e){e===xe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bi=class extends Do{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===xe?void 0:e}},Di=class extends Do{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==xe)}},_i=class extends Do{constructor(e,o,i,n,a){super(e,o,i,n,a),this.type=5}_$AI(e,o=this){if((e=Bo(this,e,o,0)??xe)===nr)return;let i=this._$AH,n=e===xe&&i!==xe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==xe&&(i===xe||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zi=class{constructor(e,o,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Bo(this,e)}};var Ip=Fi.litHtmlPolyfillSupport;Ip?.(ar,_r),(Fi.litHtmlVersions??=[]).push("3.1.0");var Ca=Symbol.for(""),Bp=t=>{if(t?.r===Ca)return t?._$litStatic$},Ti=t=>({_$litStatic$:t,r:Ca});var Oa=new Map,wa=t=>(e,...o)=>{let i=o.length,n,a,l=[],s=[],d,f=0,h=!1;for(;f<i;){for(d=e[f];f<i&&(a=o[f],(n=Bp(a))!==void 0);)d+=n+e[++f],h=!0;f!==i&&s.push(a),l.push(d),f++}if(f===i&&l.push(e[i]),h){let m=l.join("$$lit$$");(e=Oa.get(m))===void 0&&(l.raw=l,Oa.set(m,e=l)),o=s}return t(e,...o)},Mi=wa(va),ff=wa(xa);var Wi=u(Y()),cl=u(O());var nt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(nt||(nt={}));var at=u(R()),C=u(O());var Pt=u(R(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,r=class{static create(e,o,i,n){let a=s=>Zt(s??n),l=Pt.css`var(${Zt(e)}, ${a(n)})`;return l.name=e,l.description=o,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=s=>Pt.css`var(${Zt(e)}, ${a(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(e,o,i,n){let a=s=>i.get(s??n),l=Pt.css`var(${Zt(e)}, ${a(n)})`;return l.name=e,l.description=o,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=s=>Pt.css`var(${Zt(e)}, ${a(s)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(e,o){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),n=Pt.css`var(${Zt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Pt.css`var(${Zt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},Ea={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Dp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ba={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},zr={display:Ea,"title-1":$a,"title-2":Ra,"title-3":Na,"body-1-regular":ka,"body-1-medium":Aa,"body-1-semibold":La,"body-2-regular":Pa,"body-2-medium":Ia,"body-2-medium-underline":Dp,"body-2-semibold":Ba,"label-1-medium":Da,"label-1-semibold":_a,"label-1-bold":za,"label-2-medium":Fa,"label-2-semibold":Ta,"label-2-bold":Ma,"caption-1-medium":Wa,"caption-1-semibold":Ua,"caption-1-bold":Ha,"caption-2-medium":Va,"caption-2-semibold":ja,"caption-2-bold":Ga,"caption-3-medium":Ka,"caption-3-semibold":Za,"caption-3-bold":qa};var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
27
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var x={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var Af={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var M={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Tf={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",p.contentActionPrimary)};var Vf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var qf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var eu={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var nu={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var pu={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var mu={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var xu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Eu={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Au={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Du={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Mu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var ju={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Yu={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)};var th={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var ah={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var ph={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var mh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var xh={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Eh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Ah={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var Dh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Mh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Fr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Fr||(Fr={}));var Ne;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ne||(Ne={}));var Tr=u(R());function Ya(t){let e=zr[t];return Tr.css`
24
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=it.S:this.size<976?this.category=it.M:this.size<1024?this.category=it.L:this.size<1440?this.category=it.XL:this.category=it.XXL,this.dispatchEvent(new Ai(this.size,this.category)))},this.debounceTimeout)}};Ge.elementDefinitions={};Ge.styles=na;or([(0,fo.property)({type:Number})],Ge.prototype,"debounceTimeout",void 0);or([(0,fo.property)({type:Boolean})],Ge.prototype,"local",void 0);or([(0,fo.property)({type:Number,reflect:!0})],Ge.prototype,"size",void 0);or([(0,fo.property)({type:String,reflect:!0})],Ge.prototype,"category",void 0);or([(0,fo.query)(".ft-size-watcher--watcher")],Ge.prototype,"watcher",void 0);(0,la.customElement)("ft-size-watcher")(Ge);var dl=h(w());var zi=globalThis,Br=zi.trustedTypes,sa=Br?Br.createPolicy("lit-html",{createHTML:t=>t}):void 0,ha="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,ya="?"+Kt,kd=`<${ya}>`,yo=document,Dr=()=>yo.createComment(""),ir=t=>t===null||typeof t!="object"&&typeof t!="function",ma=Array.isArray,Ad=t=>ma(t)||typeof t?.[Symbol.iterator]=="function",Pi=`[
25
+ \f\r]`,rr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ca=/-->/g,da=/>/g,uo=RegExp(`>|${Pi}(?:([^\\s"'>=/]+)(${Pi}*=${Pi}*(?:[^
26
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pa=/'/g,fa=/"/g,ba=/^(?:script|style|textarea|title)$/i,ga=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),va=ga(1),xa=ga(2),nr=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),ua=new WeakMap,ho=yo.createTreeWalker(yo,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sa!==void 0?sa.createHTML(e):e}var Pd=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":"",l=rr;for(let c=0;c<r;c++){let p=t[c],f,y,m=-1,b=0;for(;b<p.length&&(l.lastIndex=b,y=l.exec(p),y!==null);)b=l.lastIndex,l===rr?y[1]==="!--"?l=ca:y[1]!==void 0?l=da:y[2]!==void 0?(ba.test(y[2])&&(n=RegExp("</"+y[2],"g")),l=uo):y[3]!==void 0&&(l=uo):l===uo?y[0]===">"?(l=n??rr,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?uo:y[3]==='"'?fa:pa):l===fa||l===pa?l=uo:l===ca||l===da?l=rr:(l=uo,n=void 0);let v=l===uo&&t[c+1].startsWith("/>")?" ":"";a+=l===rr?p+kd:m>=0?(i.push(f),p.slice(0,m)+ha+p.slice(m)+Kt+v):p+Kt+(m===-2?c:v)}return[Sa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),i]},ar=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,c=e.length-1,p=this.parts,[f,y]=Pd(e,r);if(this.el=t.createElement(f,i),ho.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ho.nextNode())!==null&&p.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ha)){let b=y[l++],v=n.getAttribute(m).split(Kt),g=/([.?@])?(.*)/.exec(b);p.push({type:1,index:a,name:g[2],strings:v,ctor:g[1]==="."?Bi:g[1]==="?"?Di:g[1]==="@"?Fi:Do}),n.removeAttribute(m)}else m.startsWith(Kt)&&(p.push({type:6,index:a}),n.removeAttribute(m));if(ba.test(n.tagName)){let m=n.textContent.split(Kt),b=m.length-1;if(b>0){n.textContent=Br?Br.emptyScript:"";for(let v=0;v<b;v++)n.append(m[v],Dr()),ho.nextNode(),p.push({type:2,index:++a});n.append(m[b],Dr())}}}else if(n.nodeType===8)if(n.data===ya)p.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Kt,m+1))!==-1;)p.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,r){let i=yo.createElement("template");return i.innerHTML=e,i}};function Bo(t,e,r=t,i){if(e===nr)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=ir(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Bo(t,n._$AS(t,e.values),n,i)),e}var Ii=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??yo).importNode(r,!0);ho.currentNode=n;let a=ho.nextNode(),l=0,c=0,p=i[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new Fr(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new _i(a,this,e)),this._$AV.push(f),p=i[++c]}l!==p?.index&&(a=ho.nextNode(),l++)}return ho.currentNode=yo,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Fr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Bo(this,e,r),ir(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==nr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ad(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Se&&ir(this._$AH)?this._$AA.nextSibling.data=e:this.$(yo.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ar.createElement(Sa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Ii(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(e){let r=ua.get(e.strings);return r===void 0&&ua.set(e.strings,r=new ar(e)),r}T(e){ma(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.k(Dr()),this.k(Dr()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Do=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,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=Se}_$AI(e,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)e=Bo(this,e,r,0),l=!ir(e)||e!==this._$AH&&e!==nr,l&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=Bo(this,c[i+p],r,p),f===nr&&(f=this._$AH[p]),l||=!ir(f)||f!==this._$AH[p],f===Se?e=Se:e!==Se&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}l&&!n&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bi=class extends Do{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},Di=class extends Do{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},Fi=class extends Do{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Bo(this,e,r,0)??Se)===nr)return;let i=this._$AH,n=e===Se&&i!==Se||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Se&&(i===Se||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},_i=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Bo(this,e)}};var Id=zi.litHtmlPolyfillSupport;Id?.(ar,Fr),(zi.litHtmlVersions??=[]).push("3.1.0");var Ca=Symbol.for(""),Bd=t=>{if(t?.r===Ca)return t?._$litStatic$},Ti=t=>({_$litStatic$:t,r:Ca});var Oa=new Map,wa=t=>(e,...r)=>{let i=r.length,n,a,l=[],c=[],p,f=0,y=!1;for(;f<i;){for(p=e[f];f<i&&(a=r[f],(n=Bd(a))!==void 0);)p+=n+e[++f],y=!0;f!==i&&c.push(a),l.push(p),f++}if(f===i&&l.push(e[i]),y){let m=l.join("$$lit$$");(e=Oa.get(m))===void 0&&(l.raw=l,Oa.set(m,e=l)),r=c}return t(e,...r)},Wi=wa(va),ff=wa(xa);var Mi=h(Y()),cl=h(w());var nt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(nt||(nt={}));var at=h(N()),E=h(w());var Pt=h(N(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Zt(c??n),l=Pt.css`var(${Zt(e)}, ${a(n)})`;return l.name=e,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(e,r,i,n){let a=c=>i.get(c??n),l=Pt.css`var(${Zt(e)}, ${a(n)})`;return l.name=e,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),n=Pt.css`var(${Zt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Pt.css`var(${Zt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var s={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Ea={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},$a={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ra={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},La={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Na={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ka={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Aa={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Pa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ia={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Dd={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ba={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Da={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fa={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},_a={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},za={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ua={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Va={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Za={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},qa={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},_r={display:Ea,"title-1":$a,"title-2":Ra,"title-3":La,"body-1-regular":Na,"body-1-medium":ka,"body-1-semibold":Aa,"body-2-regular":Pa,"body-2-medium":Ia,"body-2-medium-underline":Dd,"body-2-semibold":Ba,"label-1-medium":Da,"label-1-semibold":Fa,"label-1-bold":_a,"label-2-medium":za,"label-2-semibold":Ta,"label-2-bold":Wa,"caption-1-medium":Ma,"caption-1-semibold":Ua,"caption-1-bold":Ha,"caption-2-medium":Va,"caption-2-semibold":ja,"caption-2-bold":Ga,"caption-3-medium":Ka,"caption-3-semibold":Za,"caption-3-bold":qa};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
27
+ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var u={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:o.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:o.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var kf={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var M={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:o.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:o.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Tf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Vf={iconSize:o.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var qf={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var eu={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var nu={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",s.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var du={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:o.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",s.borderRadiusM)};var yu={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var xu={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Eu={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var ku={backgroundColor:o.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Du={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Wu={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var ju={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Yu={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:o.extend("--ft-popover-gap","",s.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var th={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",s.iconSize3)};var ah={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:o.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var dh={color1Light:o.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",s.colorRed40),color5Base:o.extend("--ft-chart-5-base","",s.colorRed60),color6Light:o.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",s.colorGray50),color10Base:o.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var hh={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var vh={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:o.extend("--ft-notice-gap","",s.spacing2),iconSize:o.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var wh={color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",s.spacing3)};var Nh={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",s.spacing3)};var Bh={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",s.spacing3)};var Th={iconSize:o.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",s.spacing8)};var Vh={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:o.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",s.spacing05)};var zr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(zr||(zr={}));var Ne;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ne||(Ne={}));var Tr=h(N());function Ya(t){let e=_r[t];return Tr.css`
28
28
  .ft-typography--${(0,Tr.unsafeCSS)(t)} {
29
29
  font-family: ${e.fontFamily};
30
30
  font-size: ${e.fontSize};
@@ -33,8 +33,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
33
33
  line-height: ${e.lineHeight};
34
34
  text-transform: ${e.textCase};
35
35
  }
36
- `}var Xa=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),Bt=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),w={fontFamily:Bt,fontSize:C.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:C.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:C.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:C.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:C.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},_o={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xa),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit")},zo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xa),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit")},Fo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit")},To={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit")},It={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit")},Oe={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit")},ft={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit")},Mo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit")},Wo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase")},St={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase")},Ja=at.css`
36
+ `}var Xa=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),Bt=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),$={fontFamily:Bt,fontSize:E.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:E.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:E.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:E.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:E.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Fo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xa),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit")},_o={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xa),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit")},zo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit")},To={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit")},It={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit")},Ce={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit")},ft={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit")},Wo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit")},Mo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase")},St={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Bt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Ja=at.css`
37
37
  .ft-typography--title {
38
+ font-family: ${Fo.fontFamily};
39
+ font-size: ${Fo.fontSize};
40
+ font-weight: ${Fo.fontWeight};
41
+ letter-spacing: ${Fo.letterSpacing};
42
+ line-height: ${Fo.lineHeight};
43
+ text-transform: ${Fo.textTransform};
44
+ }
45
+ `,Qa=at.css`
46
+ .ft-typography--title-dense {
38
47
  font-family: ${_o.fontFamily};
39
48
  font-size: ${_o.fontSize};
40
49
  font-weight: ${_o.fontWeight};
@@ -42,8 +51,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
42
51
  line-height: ${_o.lineHeight};
43
52
  text-transform: ${_o.textTransform};
44
53
  }
45
- `,Qa=at.css`
46
- .ft-typography--title-dense {
54
+ `,el=at.css`
55
+ .ft-typography--subtitle1 {
47
56
  font-family: ${zo.fontFamily};
48
57
  font-size: ${zo.fontSize};
49
58
  font-weight: ${zo.fontWeight};
@@ -51,15 +60,6 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
51
60
  line-height: ${zo.lineHeight};
52
61
  text-transform: ${zo.textTransform};
53
62
  }
54
- `,el=at.css`
55
- .ft-typography--subtitle1 {
56
- font-family: ${Fo.fontFamily};
57
- font-size: ${Fo.fontSize};
58
- font-weight: ${Fo.fontWeight};
59
- letter-spacing: ${Fo.letterSpacing};
60
- line-height: ${Fo.lineHeight};
61
- text-transform: ${Fo.textTransform};
62
- }
63
63
  `,tl=at.css`
64
64
  .ft-typography--subtitle2 {
65
65
  font-family: ${To.fontFamily};
@@ -81,12 +81,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
81
81
  }
82
82
  `,Uo=at.css`
83
83
  .ft-typography--body2 {
84
- font-family: ${Oe.fontFamily};
85
- font-size: ${Oe.fontSize};
86
- font-weight: ${Oe.fontWeight};
87
- letter-spacing: ${Oe.letterSpacing};
88
- line-height: ${Oe.lineHeight};
89
- text-transform: ${Oe.textTransform};
84
+ font-family: ${Ce.fontFamily};
85
+ font-size: ${Ce.fontSize};
86
+ font-weight: ${Ce.fontWeight};
87
+ letter-spacing: ${Ce.letterSpacing};
88
+ line-height: ${Ce.lineHeight};
89
+ text-transform: ${Ce.textTransform};
90
90
  }
91
91
  `,qt=at.css`
92
92
  .ft-typography--caption {
@@ -99,15 +99,6 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
99
99
  }
100
100
  `,rl=at.css`
101
101
  .ft-typography--breadcrumb {
102
- font-family: ${Mo.fontFamily};
103
- font-size: ${Mo.fontSize};
104
- font-weight: ${Mo.fontWeight};
105
- letter-spacing: ${Mo.letterSpacing};
106
- line-height: ${Mo.lineHeight};
107
- text-transform: ${Mo.textTransform};
108
- }
109
- `,il=at.css`
110
- .ft-typography--overline {
111
102
  font-family: ${Wo.fontFamily};
112
103
  font-size: ${Wo.fontSize};
113
104
  font-weight: ${Wo.fontWeight};
@@ -115,6 +106,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
115
106
  line-height: ${Wo.lineHeight};
116
107
  text-transform: ${Wo.textTransform};
117
108
  }
109
+ `,il=at.css`
110
+ .ft-typography--overline {
111
+ font-family: ${Mo.fontFamily};
112
+ font-size: ${Mo.fontSize};
113
+ font-weight: ${Mo.fontWeight};
114
+ letter-spacing: ${Mo.letterSpacing};
115
+ line-height: ${Mo.lineHeight};
116
+ text-transform: ${Mo.textTransform};
117
+ }
118
118
  `,nl=at.css`
119
119
  .ft-typography--button {
120
120
  font-family: ${St.fontFamily};
@@ -128,15 +128,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
128
128
  .ft-typography {
129
129
  vertical-align: inherit;
130
130
  }
131
- `,ll=[Object.keys(zr).map(t=>Ya(t))];var sl=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},q=class extends cl.FtLitElement{constructor(){super(...arguments),this.variant=nt.body1}render(){return this.element?Mi`
131
+ `,ll=[Object.keys(_r).map(t=>Ya(t))];var sl=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},q=class extends cl.FtLitElement{constructor(){super(...arguments),this.variant=nt.body1}render(){return this.element?Wi`
132
132
  <${Ti(this.element)}
133
133
  part="text"
134
134
  class="ft-typography ft-typography--${this.variant}">
135
135
  <slot></slot>
136
136
  </${Ti(this.element)}>
137
- `:Mi`
137
+ `:Wi`
138
138
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
139
- `}};q.styles=[Ja,Qa,el,tl,ol,Uo,qt,rl,il,nl,al,...ll];sl([(0,Wi.property)()],q.prototype,"element",void 0);sl([(0,Wi.property)()],q.prototype,"variant",void 0);(0,pl.customElement)("ft-typography")(q);var Ui=u(O());function Mr(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function dl(t){return Mr(t).split("|").pop()}function fl(t){return Mr(t).split("|").join(" > ")}function ul(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(o=>ul(o,t.selected)),value:t.value}}function hl(t){return(0,Ui.flatDeep)(t.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]}).filter(e=>e.selected).map(e=>e.label)}function Hi(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ul(e,!1))}}function ml(t){return(0,Ui.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var ln=u(O());var Co=u(R()),X=u(Y()),st=u(O());var Ye=u(R()),Se=u(Y()),zs=u(po()),ei=u(O());var on=u(O());var gr=u(Y()),ys=u(O());var kl=u(R()),I=u(O());var Sl=u(R()),me=u(O()),gl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorContent),_={color:gl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",gl),opacityContentOnSurfacePressed:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},yl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorPrimary),bl={color:yl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",yl)},vl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorSecondary),xl={color:vl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",vl)},Ol=Sl.css`
139
+ `}};q.styles=[Ja,Qa,el,tl,ol,Uo,qt,rl,il,nl,al,...ll];sl([(0,Mi.property)()],q.prototype,"element",void 0);sl([(0,Mi.property)()],q.prototype,"variant",void 0);(0,dl.customElement)("ft-typography")(q);var Ui=h(w());function Wr(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function pl(t){return Wr(t).split("|").pop()}function fl(t){return Wr(t).split("|").join(" > ")}function ul(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>ul(r,t.selected)),value:t.value}}function hl(t){return(0,Ui.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Hi(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ul(e,!1))}}function yl(t){return(0,Ui.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var ln=h(w());var Co=h(N()),X=h(Y()),st=h(w());var Ye=h(N()),Oe=h(Y()),_s=h(po()),ei=h(w());var on=h(w());var mr=h(Y()),bs=h(w());var Nl=h(N()),D=h(w());var Sl=h(N()),me=h(w()),ml=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorContent),O={color:ml,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",ml),opacityContentOnSurfacePressed:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},bl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorPrimary),gl={color:bl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",bl)},vl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorSecondary),xl={color:vl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",vl)},Ol=Sl.css`
140
140
  :host {
141
141
  display: contents;
142
142
  }
@@ -149,7 +149,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
149
149
 
150
150
  .ft-ripple:not(.ft-ripple--unbounded) {
151
151
  overflow: hidden;
152
- border-radius: ${_.borderRadius};
152
+ border-radius: ${O.borderRadius};
153
153
  }
154
154
 
155
155
  .ft-ripple .ft-ripple--background,
@@ -183,11 +183,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
183
183
  }
184
184
 
185
185
  .ft-ripple .ft-ripple--background {
186
- background-color: ${_.backgroundColor};
186
+ background-color: ${O.backgroundColor};
187
187
  }
188
188
 
189
189
  .ft-ripple .ft-ripple--effect {
190
- background-color: ${_.color};
190
+ background-color: ${O.color};
191
191
  }
192
192
 
193
193
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -199,11 +199,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
199
199
  }
200
200
 
201
201
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
202
- background-color: ${bl.backgroundColor};
202
+ background-color: ${gl.backgroundColor};
203
203
  }
204
204
 
205
205
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
206
- background-color: ${bl.color};
206
+ background-color: ${gl.color};
207
207
  }
208
208
 
209
209
  .ft-ripple .ft-ripple--background {
@@ -233,22 +233,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
233
233
  }
234
234
 
235
235
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
236
- opacity: ${_.opacityContentOnSurfaceHover};
236
+ opacity: ${O.opacityContentOnSurfaceHover};
237
237
  }
238
238
 
239
239
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
240
- opacity: ${_.opacityContentOnSurfaceSelected};
240
+ opacity: ${O.opacityContentOnSurfaceSelected};
241
241
  }
242
242
 
243
243
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
244
- opacity: ${_.opacityContentOnSurfaceFocused};
244
+ opacity: ${O.opacityContentOnSurfaceFocused};
245
245
  }
246
246
 
247
247
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
248
- opacity: ${_.opacityContentOnSurfacePressed};
248
+ opacity: ${O.opacityContentOnSurfacePressed};
249
249
  transform: translate(-50%, -50%) scale(1);
250
250
  }
251
- `;var Cl=u(R()),lr=u(O()),ke={color:lr.FtCssVariableFactory.extend("--ft-loader-color","",lr.designSystemVariables.colorPrimary),size:lr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},wl=Cl.css`
251
+ `;var Cl=h(N()),lr=h(w()),ie={color:lr.FtCssVariableFactory.extend("--ft-loader-color","",lr.designSystemVariables.colorPrimary),size:lr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},wl=Cl.css`
252
252
  :host {
253
253
  line-height: 0;
254
254
  }
@@ -257,8 +257,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
257
257
  display: inline-block;
258
258
  position: relative;
259
259
 
260
- width: ${ke.size};
261
- height: ${ke.size};
260
+ width: ${ie.size};
261
+ height: ${ie.size};
262
262
  }
263
263
 
264
264
  .ft-loader div {
@@ -267,7 +267,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
267
267
  width: 25%;
268
268
  height: 25%;
269
269
  border-radius: 50%;
270
- background: ${ke.color};
270
+ background: ${ie.color};
271
271
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
272
272
  }
273
273
 
@@ -314,10 +314,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
314
314
  transform: translate(0, 0);
315
315
  }
316
316
  100% {
317
- transform: translate(calc(0.35 * ${ke.size}), 0);
317
+ transform: translate(calc(0.35 * ${ie.size}), 0);
318
318
  }
319
319
  }
320
- `;var El=u(R()),Dt=u(O()),ce={size:Dt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Dt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$l=El.css`
320
+ `;var El=h(N()),Dt=h(w()),de={size:Dt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Dt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$l=El.css`
321
321
  :host, i.ft-icon {
322
322
  display: inline-flex;
323
323
  align-items: center;
@@ -326,14 +326,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
326
326
  }
327
327
 
328
328
  :host {
329
- width: ${ce.size};
330
- height: ${ce.size};
329
+ width: ${de.size};
330
+ height: ${de.size};
331
331
  }
332
332
 
333
333
  i.ft-icon {
334
334
  width: 100%;
335
335
  height: 100%;
336
- font-size: ${ce.size};
336
+ font-size: ${de.size};
337
337
  line-height: 1;
338
338
  font-weight: normal;
339
339
  text-transform: none;
@@ -344,28 +344,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
344
344
  text-rendering: auto;
345
345
  -webkit-font-smoothing: antialiased;
346
346
  -moz-osx-font-smoothing: grayscale;
347
- vertical-align: ${ce.verticalAlign};
347
+ vertical-align: ${de.verticalAlign};
348
348
  }
349
349
 
350
350
  i.ft-icon.ft-icon--fluid-topics {
351
- font-family: ${ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
351
+ font-family: ${de.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
352
352
 
353
353
  /* Ugly fix because font is broken */
354
- font-size: calc(0.75 * ${ce.size});
355
- line-height: ${ce.size};
354
+ font-size: calc(0.75 * ${de.size});
355
+ line-height: ${de.size};
356
356
  position: relative;
357
357
  top: -4%;
358
358
  justify-content: center;
359
359
  }
360
360
 
361
361
  .ft-icon--file-format {
362
- font-family: ${ce.fileFormatFontFamily}, ft-mime, sans-serif;
362
+ font-family: ${de.fileFormatFontFamily}, ft-mime, sans-serif;
363
363
  }
364
364
 
365
365
  .ft-icon--material {
366
- font-family: ${ce.materialFontFamily}, "Material Icons", sans-serif;
366
+ font-family: ${de.materialFontFamily}, "Material Icons", sans-serif;
367
367
  }
368
- `;var Rl=I.FtCssVariableFactory.extend("--ft-button-color","",I.designSystemVariables.colorPrimary),W={backgroundColor:I.FtCssVariableFactory.extend("--ft-button-background-color","",I.designSystemVariables.colorSurface),borderRadius:I.FtCssVariableFactory.extend("--ft-button-border-radius","",I.designSystemVariables.borderRadiusL),color:Rl,fontSize:I.FtCssVariableFactory.extend("--ft-button-font-size","",St.fontSize),iconSize:I.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:I.FtCssVariableFactory.extend("--ft-button-ripple-color","",Rl),verticalPadding:I.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:I.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:I.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:I.FtCssVariableFactory.external(I.designSystemVariables.colorOpacityDisabled,"Design system")},Nl=I.FtCssVariableFactory.extend("--ft-button-primary-color","",I.FtCssVariableFactory.extend("--ft-button-color","",I.designSystemVariables.colorOnPrimary)),Vi={backgroundColor:I.FtCssVariableFactory.extend("--ft-button-primary-background-color","",I.FtCssVariableFactory.extend("--ft-button-background-color","",I.designSystemVariables.colorPrimary)),color:Nl,rippleColor:I.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Nl)},Ot={borderRadius:I.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",I.FtCssVariableFactory.extend("--ft-button-border-radius","",I.designSystemVariables.borderRadiusM)),verticalPadding:I.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:I.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:I.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Al=[kl.css`
368
+ `;var Rl=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),U={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Rl,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",St.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Rl),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Ll=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Vi={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Ll,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ll)},Ot={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},kl=[Nl.css`
369
369
  :host {
370
370
  display: inline-block;
371
371
  max-width: 100%;
@@ -376,7 +376,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
376
376
  box-shadow: 0px 0px 0px transparent;
377
377
  border: 0px solid transparent;
378
378
  text-shadow: 0px 0px 0px transparent;
379
- font-size: ${W.fontSize};
379
+ font-size: ${U.fontSize};
380
380
  }
381
381
 
382
382
  button:hover {
@@ -405,21 +405,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
405
405
  border: none;
406
406
  pointer-events: auto;
407
407
 
408
- --ft-button-internal-line-height: max(calc(${W.fontSize} + 2px), ${W.iconSize});
409
- --ft-button-internal-color: ${W.color};
410
- ${(0,I.setVariable)(ce.size,W.iconSize)};
411
- ${(0,I.setVariable)(_.color,W.rippleColor)};
408
+ --ft-button-internal-line-height: max(calc(${U.fontSize} + 2px), ${U.iconSize});
409
+ --ft-button-internal-color: ${U.color};
410
+ ${(0,D.setVariable)(de.size,U.iconSize)};
411
+ ${(0,D.setVariable)(O.color,U.rippleColor)};
412
412
 
413
- border-radius: ${W.borderRadius};
414
- padding: ${W.verticalPadding} ${W.horizontalPadding};
415
- background-color: ${W.backgroundColor};
413
+ border-radius: ${U.borderRadius};
414
+ padding: ${U.verticalPadding} ${U.horizontalPadding};
415
+ background-color: ${U.backgroundColor};
416
416
  color: var(--ft-button-internal-color);
417
417
  -webkit-mask-image: radial-gradient(white, black);
418
418
  }
419
419
 
420
420
  .ft-button.ft-button--outlined {
421
421
  border: 1px solid var(--ft-button-internal-color);
422
- padding: calc(${W.verticalPadding} - 1px) calc(${W.horizontalPadding} - 1px);
422
+ padding: calc(${U.verticalPadding} - 1px) calc(${U.horizontalPadding} - 1px);
423
423
  }
424
424
 
425
425
  .ft-button.ft-button--dense {
@@ -437,7 +437,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
437
437
  }
438
438
 
439
439
  .ft-button--round {
440
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${W.verticalPadding});
440
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${U.verticalPadding});
441
441
  }
442
442
 
443
443
  .ft-button--round.ft-button--dense {
@@ -446,13 +446,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
446
446
 
447
447
  .ft-button[disabled] {
448
448
  filter: grayscale(1);
449
- opacity: ${W.opacityDisabled};
449
+ opacity: ${U.opacityDisabled};
450
450
  }
451
451
 
452
452
  .ft-button.ft-button--primary {
453
453
  background-color: ${Vi.backgroundColor};
454
454
  --ft-button-internal-color: ${Vi.color};
455
- ${(0,I.setVariable)(_.color,Vi.rippleColor)};
455
+ ${(0,D.setVariable)(O.color,Vi.rippleColor)};
456
456
  }
457
457
 
458
458
  .ft-button:focus {
@@ -465,9 +465,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
465
465
  white-space: nowrap;
466
466
  text-overflow: ellipsis;
467
467
  display: block;
468
- margin: 0 ${W.iconPadding};
469
- ${(0,I.setVariable)(St.fontSize,"1em")};
470
- ${(0,I.setVariable)(St.lineHeight,"var(--ft-button-internal-line-height)")};
468
+ margin: 0 ${U.iconPadding};
469
+ ${(0,D.setVariable)(St.fontSize,"1em")};
470
+ ${(0,D.setVariable)(St.lineHeight,"var(--ft-button-internal-line-height)")};
471
471
  }
472
472
 
473
473
  .ft-button--dense .ft-button--label {
@@ -484,8 +484,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
484
484
  }
485
485
 
486
486
  .ft-button--label[hidden] + [part="icon"] {
487
- margin: 0 calc(${W.horizontalPadding} * -1);
488
- padding: 0 ${W.verticalPadding};
487
+ margin: 0 calc(${U.horizontalPadding} * -1);
488
+ padding: 0 ${U.verticalPadding};
489
489
  }
490
490
 
491
491
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -498,10 +498,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
498
498
  }
499
499
 
500
500
  ft-loader {
501
- ${(0,I.setVariable)(ke.size,W.iconSize)};
502
- ${(0,I.setVariable)(ke.color,"var(--ft-button-internal-color)")};
501
+ ${(0,D.setVariable)(ie.size,U.iconSize)};
502
+ ${(0,D.setVariable)(ie.color,"var(--ft-button-internal-color)")};
503
503
  }
504
- `,I.noTextSelect];var Ko=u(O());var Bl=u(O());var Pl=u(R()),Ce=u(Y()),Il=u(lt()),sr=u(O());var ze=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},F=class extends sr.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 sr.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new sr.Debouncer(10),this.moveRipple=e=>{var o,i;let{x:n,y:a}=this.getCoordinates(e),l=(i=(o=this.ripple)===null||o===void 0?void 0:o.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=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 Pl.html`
504
+ `,D.noTextSelect];var Ko=h(w());var Bl=h(w());var Pl=h(N()),we=h(Y()),Il=h(lt()),sr=h(w());var _e=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},T=class extends sr.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 sr.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new sr.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),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=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 Pl.html`
505
505
  <style>
506
506
  .ft-ripple .ft-ripple--effect {
507
507
  left: ${this.originX}px;
@@ -512,7 +512,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
512
512
  <div class="ft-ripple--background"></div>
513
513
  <div class="ft-ripple--effect"></div>
514
514
  </div>
515
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 e,o;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...s)=>d=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&o("keyup")(s)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",i,l),e.addEventListener("touchstart",n,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",a,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",i,l),e.removeEventListener("touchstart",n,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",a,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,i=e,n,a;return o.x!=null?{x:n,y:a}=o:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=Ol;ze([(0,Ce.property)({type:Boolean})],F.prototype,"primary",void 0);ze([(0,Ce.property)({type:Boolean})],F.prototype,"secondary",void 0);ze([(0,Ce.property)({type:Boolean})],F.prototype,"unbounded",void 0);ze([(0,Ce.property)({type:Boolean})],F.prototype,"activated",void 0);ze([(0,Ce.property)({type:Boolean})],F.prototype,"selected",void 0);ze([(0,Ce.property)({type:Boolean})],F.prototype,"disabled",void 0);ze([(0,Ce.state)()],F.prototype,"hovered",void 0);ze([(0,Ce.state)()],F.prototype,"focused",void 0);ze([(0,Ce.state)()],F.prototype,"pressed",void 0);ze([(0,Ce.state)()],F.prototype,"rippling",void 0);ze([(0,Ce.state)()],F.prototype,"originX",void 0);ze([(0,Ce.state)()],F.prototype,"originY",void 0);ze([(0,Ce.query)(".ft-ripple")],F.prototype,"ripple",void 0);ze([(0,Ce.query)(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);(0,Bl.customElement)("ft-ripple")(F);var as=u(O());var ns=u(R()),ye=u(Y()),hr=u(O());var Dl=u(R()),_t=u(O()),Yt={distance:_t.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:_t.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:_t.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:_t.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:_t.FtCssVariableFactory.external(_t.designSystemVariables.borderRadiusS,"Design system"),maxWidth:_t.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},_l=Dl.css`
515
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.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 e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>p=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",i,l),e.addEventListener("touchstart",n,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",a,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",i,l),e.removeEventListener("touchstart",n,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",a,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,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(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.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()}};T.elementDefinitions={};T.styles=Ol;_e([(0,we.property)({type:Boolean})],T.prototype,"primary",void 0);_e([(0,we.property)({type:Boolean})],T.prototype,"secondary",void 0);_e([(0,we.property)({type:Boolean})],T.prototype,"unbounded",void 0);_e([(0,we.property)({type:Boolean})],T.prototype,"activated",void 0);_e([(0,we.property)({type:Boolean})],T.prototype,"selected",void 0);_e([(0,we.property)({type:Boolean})],T.prototype,"disabled",void 0);_e([(0,we.state)()],T.prototype,"hovered",void 0);_e([(0,we.state)()],T.prototype,"focused",void 0);_e([(0,we.state)()],T.prototype,"pressed",void 0);_e([(0,we.state)()],T.prototype,"rippling",void 0);_e([(0,we.state)()],T.prototype,"originX",void 0);_e([(0,we.state)()],T.prototype,"originY",void 0);_e([(0,we.query)(".ft-ripple")],T.prototype,"ripple",void 0);_e([(0,we.query)(".ft-ripple--effect")],T.prototype,"rippleEffect",void 0);(0,Bl.customElement)("ft-ripple")(T);var as=h(w());var ns=h(N()),ge=h(Y()),hr=h(w());var Dl=h(N()),Ft=h(w()),Yt={distance:Ft.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ft.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ft.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ft.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ft.FtCssVariableFactory.external(Ft.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ft.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Fl=Dl.css`
516
516
  .ft-tooltip--container {
517
517
  display: block;
518
518
  }
@@ -541,7 +541,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
541
541
  position: relative;
542
542
  word-break: break-word;
543
543
  }
544
- `;var Fl=["top","right","bottom","left"],zl=["start","end"],Gi=Fl.reduce((t,e)=>t.concat(e,e+"-"+zl[0],e+"-"+zl[1]),[]),cr=Math.min,Xt=Math.max,pr=Math.round;var zt=t=>({x:t,y:t}),_p={left:"right",right:"left",bottom:"top",top:"bottom"},zp={start:"end",end:"start"};function Ki(t,e,o){return Xt(t,cr(e,o))}function Wr(t,e){return typeof t=="function"?t(e):t}function Ho(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function Zi(t){return t==="x"?"y":"x"}function qi(t){return t==="y"?"height":"width"}function Ur(t){return["top","bottom"].includes(Ho(t))?"y":"x"}function Yi(t){return Zi(Ur(t))}function Tl(t,e,o){o===void 0&&(o=!1);let i=Jt(t),n=Yi(t),a=qi(n),l=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=ji(l)),[l,ji(l)]}function Ml(t){return t.replace(/start|end/g,e=>zp[e])}function ji(t){return t.replace(/left|right|bottom|top/g,e=>_p[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Wl(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ul(t,e,o){let{reference:i,floating:n}=t,a=Ur(e),l=Yi(e),s=qi(l),d=Ho(e),f=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,g=i[s]/2-n[s]/2,b;switch(d){case"top":b={x:h,y:i.y-n.height};break;case"bottom":b={x:h,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:m};break;case"left":b={x:i.x-n.width,y:m};break;default:b={x:i.x,y:i.y}}switch(Jt(e)){case"start":b[l]-=g*(o&&f?-1:1);break;case"end":b[l]+=g*(o&&f?-1:1);break}return b}var Hl=async(t,e,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=o,s=a.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:m}=Ul(f,i,d),g=i,b={},y=0;for(let v=0;v<s.length;v++){let{name:N,fn:E}=s[v],{x:$,y:P,data:V,reset:Q}=await E({x:h,y:m,initialPlacement:i,placement:g,strategy:n,middlewareData:b,rects:f,platform:l,elements:{reference:t,floating:e}});if(h=$??h,m=P??m,b={...b,[N]:{...b[N],...V}},Q&&y<=50){y++,typeof Q=="object"&&(Q.placement&&(g=Q.placement),Q.rects&&(f=Q.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:n}):Q.rects),{x:h,y:m}=Ul(f,g,d)),v=-1;continue}}return{x:h,y:m,placement:g,strategy:n,middlewareData:b}};async function Xi(t,e){var o;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:l,elements:s,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:g=!1,padding:b=0}=Wr(e,t),y=Wl(b),N=s[g?m==="floating"?"reference":"floating":m],E=go(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:h,strategy:d})),$=m==="floating"?{...l.floating,x:i,y:n}:l.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),V=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},Q=go(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:$,offsetParent:P,strategy:d}):$);return{top:(E.top-Q.top+y.top)/V.y,bottom:(Q.bottom-E.bottom+y.bottom)/V.y,left:(E.left-Q.left+y.left)/V.x,right:(Q.right-E.right+y.right)/V.x}}function Tp(t,e,o){return(t?[...o.filter(n=>Jt(n)===t),...o.filter(n=>Jt(n)!==t)]:o.filter(n=>Ho(n)===n)).filter(n=>t?Jt(n)===t||(e?Ml(n)!==n:!1):!0)}var Ji=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,n;let{rects:a,middlewareData:l,placement:s,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:g=Gi,autoAlignment:b=!0,...y}=Wr(t,e),v=m!==void 0||g===Gi?Tp(m||null,b,g):g,N=await Xi(e,y),E=((o=l.autoPlacement)==null?void 0:o.index)||0,$=v[E];if($==null)return{};let P=Tl($,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(s!==$)return{reset:{placement:v[0]}};let V=[N[Ho($)],N[P[0]],N[P[1]]],Q=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:$,overflows:V}],ot=v[E+1];if(ot)return{data:{index:E+1,overflows:Q},reset:{placement:ot}};let jt=Q.map(Ve=>{let rt=Jt(Ve.placement);return[Ve.placement,rt&&h?Ve.overflows.slice(0,2).reduce((je,co)=>je+co,0):Ve.overflows[0],Ve.overflows]}).sort((Ve,rt)=>Ve[1]-rt[1]),Gt=((n=jt.filter(Ve=>Ve[2].slice(0,Jt(Ve[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:n[0])||jt[0][0];return Gt!==s?{data:{index:E+1,overflows:Q},reset:{placement:Gt}}:{}}}};var Qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:N=>{let{x:E,y:$}=N;return{x:E,y:$}}},...d}=Wr(t,e),f={x:o,y:i},h=await Xi(e,d),m=Ur(Ho(n)),g=Zi(m),b=f[g],y=f[m];if(a){let N=g==="y"?"top":"left",E=g==="y"?"bottom":"right",$=b+h[N],P=b-h[E];b=Ki($,b,P)}if(l){let N=m==="y"?"top":"left",E=m==="y"?"bottom":"right",$=y+h[N],P=y-h[E];y=Ki($,y,P)}let v=s.fn({...e,[g]:b,[m]:y});return{...v,data:{x:v.x-o,y:v.y-i}}}}};function Ft(t){return jl(t)?(t.nodeName||"").toLowerCase():"#document"}function Fe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tt(t){var e;return(e=(jl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function jl(t){return t instanceof Node||t instanceof Fe(t).Node}function Ct(t){return t instanceof Element||t instanceof Fe(t).Element}function ut(t){return t instanceof HTMLElement||t instanceof Fe(t).HTMLElement}function Vl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Fe(t).ShadowRoot}function Vo(t){let{overflow:e,overflowX:o,overflowY:i,display:n}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function Gl(t){return["table","td","th"].includes(Ft(t))}function Vr(t){let e=jr(),o=Ke(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Kl(t){let e=yo(t);for(;ut(e)&&!dr(e);){if(Vr(e))return e;e=yo(e)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function dr(t){return["html","body","#document"].includes(Ft(t))}function Ke(t){return Fe(t).getComputedStyle(t)}function fr(t){return Ct(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yo(t){if(Ft(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vl(t)&&t.host||Tt(t);return Vl(e)?e.host:e}function Zl(t){let e=yo(t);return dr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ut(e)&&Vo(e)?e:Zl(e)}function Hr(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);let n=Zl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),l=Fe(n);return a?e.concat(l,l.visualViewport||[],Vo(n)?n:[],l.frameElement&&o?Hr(l.frameElement):[]):e.concat(n,Hr(n,[],o))}function Xl(t){let e=Ke(t),o=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ut(t),a=n?t.offsetWidth:o,l=n?t.offsetHeight:i,s=pr(o)!==a||pr(i)!==l;return s&&(o=a,i=l),{width:o,height:i,$:s}}function Jl(t){return Ct(t)?t:t.contextElement}function jo(t){let e=Jl(t);if(!ut(e))return zt(1);let o=e.getBoundingClientRect(),{width:i,height:n,$:a}=Xl(e),l=(a?pr(o.width):o.width)/i,s=(a?pr(o.height):o.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Up=zt(0);function Ql(t){let e=Fe(t);return!jr()||!e.visualViewport?Up:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Fe(t)?!1:e}function ur(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);let n=t.getBoundingClientRect(),a=Jl(t),l=zt(1);e&&(i?Ct(i)&&(l=jo(i)):l=jo(t));let s=Hp(a,o,i)?Ql(a):zt(0),d=(n.left+s.x)/l.x,f=(n.top+s.y)/l.y,h=n.width/l.x,m=n.height/l.y;if(a){let g=Fe(a),b=i&&Ct(i)?Fe(i):i,y=g.frameElement;for(;y&&i&&b!==g;){let v=jo(y),N=y.getBoundingClientRect(),E=Ke(y),$=N.left+(y.clientLeft+parseFloat(E.paddingLeft))*v.x,P=N.top+(y.clientTop+parseFloat(E.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,m*=v.y,d+=$,f+=P,y=Fe(y).frameElement}}return go({width:h,height:m,x:d,y:f})}function Vp(t){let{rect:e,offsetParent:o,strategy:i}=t,n=ut(o),a=Tt(o);if(o===a)return e;let l={scrollLeft:0,scrollTop:0},s=zt(1),d=zt(0);if((n||!n&&i!=="fixed")&&((Ft(o)!=="body"||Vo(a))&&(l=fr(o)),ut(o))){let f=ur(o);s=jo(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-l.scrollLeft*s.x+d.x,y:e.y*s.y-l.scrollTop*s.y+d.y}}function jp(t){return Array.from(t.getClientRects())}function es(t){return ur(Tt(t)).left+fr(t).scrollLeft}function Gp(t){let e=Tt(t),o=fr(t),i=t.ownerDocument.body,n=Xt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Xt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),l=-o.scrollLeft+es(t),s=-o.scrollTop;return Ke(i).direction==="rtl"&&(l+=Xt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:s}}function Kp(t,e){let o=Fe(t),i=Tt(t),n=o.visualViewport,a=i.clientWidth,l=i.clientHeight,s=0,d=0;if(n){a=n.width,l=n.height;let f=jr();(!f||f&&e==="fixed")&&(s=n.offsetLeft,d=n.offsetTop)}return{width:a,height:l,x:s,y:d}}function Zp(t,e){let o=ur(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=ut(t)?jo(t):zt(1),l=t.clientWidth*a.x,s=t.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:l,height:s,x:d,y:f}}function ql(t,e,o){let i;if(e==="viewport")i=Kp(t,o);else if(e==="document")i=Gp(Tt(t));else if(Ct(e))i=Zp(e,o);else{let n=Ql(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return go(i)}function ts(t,e){let o=yo(t);return o===e||!Ct(o)||dr(o)?!1:Ke(o).position==="fixed"||ts(o,e)}function qp(t,e){let o=e.get(t);if(o)return o;let i=Hr(t,[],!1).filter(s=>Ct(s)&&Ft(s)!=="body"),n=null,a=Ke(t).position==="fixed",l=a?yo(t):t;for(;Ct(l)&&!dr(l);){let s=Ke(l),d=Vr(l);!d&&s.position==="fixed"&&(n=null),(a?!d&&!n:!d&&s.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Vo(l)&&!d&&ts(t,l))?i=i.filter(h=>h!==l):n=s,l=yo(l)}return e.set(t,i),i}function Yp(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t,l=[...o==="clippingAncestors"?qp(e,this._c):[].concat(o),i],s=l[0],d=l.reduce((f,h)=>{let m=ql(e,h,n);return f.top=Xt(m.top,f.top),f.right=cr(m.right,f.right),f.bottom=cr(m.bottom,f.bottom),f.left=Xt(m.left,f.left),f},ql(e,s,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Xp(t){return Xl(t)}function Jp(t,e,o){let i=ut(e),n=Tt(e),a=o==="fixed",l=ur(t,!0,a,e),s={scrollLeft:0,scrollTop:0},d=zt(0);if(i||!i&&!a)if((Ft(e)!=="body"||Vo(n))&&(s=fr(e)),i){let f=ur(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=es(n));return{x:l.left+s.scrollLeft-d.x,y:l.top+s.scrollTop-d.y,width:l.width,height:l.height}}function Yl(t,e){return!ut(t)||Ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function os(t,e){let o=Fe(t);if(!ut(t))return o;let i=Yl(t,e);for(;i&&Gl(i)&&Ke(i).position==="static";)i=Yl(i,e);return i&&(Ft(i)==="html"||Ft(i)==="body"&&Ke(i).position==="static"&&!Vr(i))?o:i||Kl(t)||o}var Qp=async function(t){let{reference:e,floating:o,strategy:i}=t,n=this.getOffsetParent||os,a=this.getDimensions;return{reference:Jp(e,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function ed(t){return Ke(t).direction==="rtl"}var Gr={convertOffsetParentRelativeRectToViewportRelativeRect:Vp,getDocumentElement:Tt,getClippingRect:Yp,getOffsetParent:os,getElementRects:Qp,getClientRects:jp,getDimensions:Xp,getScale:jo,isElement:Ct,isRTL:ed};var rs=(t,e,o)=>{let i=new Map,n={platform:Gr,...o},a={...n.platform,_c:i};return Hl(t,e,{...n,platform:a})};function is(t){return td(t)}function en(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function td(t){for(let e=t;e;e=en(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=en(t);e;e=en(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Kr(t,e,o){return rs(t,e,{platform:{...Gr,getOffsetParent:i=>Gr.getOffsetParent(i,is)},middleware:[Qi({crossAxis:!0}),Ji({allowedPlacements:[o]})]})}var Te=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends hr.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 hr.Debouncer,this.revealDebouncer=new hr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ns.html`
544
+ `;var zl=["top","right","bottom","left"],_l=["start","end"],Gi=zl.reduce((t,e)=>t.concat(e,e+"-"+_l[0],e+"-"+_l[1]),[]),cr=Math.min,Xt=Math.max,dr=Math.round;var _t=t=>({x:t,y:t}),Fd={left:"right",right:"left",bottom:"top",top:"bottom"},_d={start:"end",end:"start"};function Ki(t,e,r){return Xt(t,cr(e,r))}function Mr(t,e){return typeof t=="function"?t(e):t}function Ho(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function Zi(t){return t==="x"?"y":"x"}function qi(t){return t==="y"?"height":"width"}function Ur(t){return["top","bottom"].includes(Ho(t))?"y":"x"}function Yi(t){return Zi(Ur(t))}function Tl(t,e,r){r===void 0&&(r=!1);let i=Jt(t),n=Yi(t),a=qi(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=ji(l)),[l,ji(l)]}function Wl(t){return t.replace(/start|end/g,e=>_d[e])}function ji(t){return t.replace(/left|right|bottom|top/g,e=>Fd[e])}function zd(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ml(t){return typeof t!="number"?zd(t):{top:t,right:t,bottom:t,left:t}}function mo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ul(t,e,r){let{reference:i,floating:n}=t,a=Ur(e),l=Yi(e),c=qi(l),p=Ho(e),f=a==="y",y=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[c]/2-n[c]/2,v;switch(p){case"top":v={x:y,y:i.y-n.height};break;case"bottom":v={x:y,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:m};break;case"left":v={x:i.x-n.width,y:m};break;default:v={x:i.x,y:i.y}}switch(Jt(e)){case"start":v[l]-=b*(r&&f?-1:1);break;case"end":v[l]+=b*(r&&f?-1:1);break}return v}var Hl=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,c=a.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:n}),{x:y,y:m}=Ul(f,i,p),b=i,v={},g=0;for(let S=0;S<c.length;S++){let{name:k,fn:R}=c[S],{x:L,y:B,data:j,reset:Q}=await R({x:y,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:v,rects:f,platform:l,elements:{reference:t,floating:e}});if(y=L??y,m=B??m,v={...v,[k]:{...v[k],...j}},Q&&g<=50){g++,typeof Q=="object"&&(Q.placement&&(b=Q.placement),Q.rects&&(f=Q.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:n}):Q.rects),{x:y,y:m}=Ul(f,b,p)),S=-1;continue}}return{x:y,y:m,placement:b,strategy:n,middlewareData:v}};async function Xi(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:l,elements:c,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:v=0}=Mr(e,t),g=Ml(v),k=c[b?m==="floating"?"reference":"floating":m],R=mo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(k)))==null||r?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:y,strategy:p})),L=m==="floating"?{...l.floating,x:i,y:n}:l.reference,B=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),j=await(a.isElement==null?void 0:a.isElement(B))?await(a.getScale==null?void 0:a.getScale(B))||{x:1,y:1}:{x:1,y:1},Q=mo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:B,strategy:p}):L);return{top:(R.top-Q.top+g.top)/j.y,bottom:(Q.bottom-R.bottom+g.bottom)/j.y,left:(R.left-Q.left+g.left)/j.x,right:(Q.right-R.right+g.right)/j.x}}function Td(t,e,r){return(t?[...r.filter(n=>Jt(n)===t),...r.filter(n=>Jt(n)!==t)]:r.filter(n=>Ho(n)===n)).filter(n=>t?Jt(n)===t||(e?Wl(n)!==n:!1):!0)}var Ji=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:l,placement:c,platform:p,elements:f}=e,{crossAxis:y=!1,alignment:m,allowedPlacements:b=Gi,autoAlignment:v=!0,...g}=Mr(t,e),S=m!==void 0||b===Gi?Td(m||null,v,b):b,k=await Xi(e,g),R=((r=l.autoPlacement)==null?void 0:r.index)||0,L=S[R];if(L==null)return{};let B=Tl(L,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==L)return{reset:{placement:S[0]}};let j=[k[Ho(L)],k[B[0]],k[B[1]]],Q=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:L,overflows:j}],ot=S[R+1];if(ot)return{data:{index:R+1,overflows:Q},reset:{placement:ot}};let jt=Q.map(Ve=>{let rt=Jt(Ve.placement);return[Ve.placement,rt&&y?Ve.overflows.slice(0,2).reduce((je,co)=>je+co,0):Ve.overflows[0],Ve.overflows]}).sort((Ve,rt)=>Ve[1]-rt[1]),Gt=((n=jt.filter(Ve=>Ve[2].slice(0,Jt(Ve[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:n[0])||jt[0][0];return Gt!==c?{data:{index:R+1,overflows:Q},reset:{placement:Gt}}:{}}}};var Qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:k=>{let{x:R,y:L}=k;return{x:R,y:L}}},...p}=Mr(t,e),f={x:r,y:i},y=await Xi(e,p),m=Ur(Ho(n)),b=Zi(m),v=f[b],g=f[m];if(a){let k=b==="y"?"top":"left",R=b==="y"?"bottom":"right",L=v+y[k],B=v-y[R];v=Ki(L,v,B)}if(l){let k=m==="y"?"top":"left",R=m==="y"?"bottom":"right",L=g+y[k],B=g-y[R];g=Ki(L,g,B)}let S=c.fn({...e,[b]:v,[m]:g});return{...S,data:{x:S.x-r,y:S.y-i}}}}};function zt(t){return jl(t)?(t.nodeName||"").toLowerCase():"#document"}function ze(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tt(t){var e;return(e=(jl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function jl(t){return t instanceof Node||t instanceof ze(t).Node}function Ct(t){return t instanceof Element||t instanceof ze(t).Element}function ut(t){return t instanceof HTMLElement||t instanceof ze(t).HTMLElement}function Vl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ze(t).ShadowRoot}function Vo(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function Gl(t){return["table","td","th"].includes(zt(t))}function Vr(t){let e=jr(),r=Ke(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(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 Kl(t){let e=bo(t);for(;ut(e)&&!pr(e);){if(Vr(e))return e;e=bo(e)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pr(t){return["html","body","#document"].includes(zt(t))}function Ke(t){return ze(t).getComputedStyle(t)}function fr(t){return Ct(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function bo(t){if(zt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vl(t)&&t.host||Tt(t);return Vl(e)?e.host:e}function Zl(t){let e=bo(t);return pr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ut(e)&&Vo(e)?e:Zl(e)}function Hr(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Zl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),l=ze(n);return a?e.concat(l,l.visualViewport||[],Vo(n)?n:[],l.frameElement&&r?Hr(l.frameElement):[]):e.concat(n,Hr(n,[],r))}function Xl(t){let e=Ke(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ut(t),a=n?t.offsetWidth:r,l=n?t.offsetHeight:i,c=dr(r)!==a||dr(i)!==l;return c&&(r=a,i=l),{width:r,height:i,$:c}}function Jl(t){return Ct(t)?t:t.contextElement}function jo(t){let e=Jl(t);if(!ut(e))return _t(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Xl(e),l=(a?dr(r.width):r.width)/i,c=(a?dr(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Ud=_t(0);function Ql(t){let e=ze(t);return!jr()||!e.visualViewport?Ud:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hd(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ze(t)?!1:e}function ur(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Jl(t),l=_t(1);e&&(i?Ct(i)&&(l=jo(i)):l=jo(t));let c=Hd(a,r,i)?Ql(a):_t(0),p=(n.left+c.x)/l.x,f=(n.top+c.y)/l.y,y=n.width/l.x,m=n.height/l.y;if(a){let b=ze(a),v=i&&Ct(i)?ze(i):i,g=b.frameElement;for(;g&&i&&v!==b;){let S=jo(g),k=g.getBoundingClientRect(),R=Ke(g),L=k.left+(g.clientLeft+parseFloat(R.paddingLeft))*S.x,B=k.top+(g.clientTop+parseFloat(R.paddingTop))*S.y;p*=S.x,f*=S.y,y*=S.x,m*=S.y,p+=L,f+=B,g=ze(g).frameElement}}return mo({width:y,height:m,x:p,y:f})}function Vd(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ut(r),a=Tt(r);if(r===a)return e;let l={scrollLeft:0,scrollTop:0},c=_t(1),p=_t(0);if((n||!n&&i!=="fixed")&&((zt(r)!=="body"||Vo(a))&&(l=fr(r)),ut(r))){let f=ur(r);c=jo(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-l.scrollLeft*c.x+p.x,y:e.y*c.y-l.scrollTop*c.y+p.y}}function jd(t){return Array.from(t.getClientRects())}function es(t){return ur(Tt(t)).left+fr(t).scrollLeft}function Gd(t){let e=Tt(t),r=fr(t),i=t.ownerDocument.body,n=Xt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Xt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+es(t),c=-r.scrollTop;return Ke(i).direction==="rtl"&&(l+=Xt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:c}}function Kd(t,e){let r=ze(t),i=Tt(t),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,c=0,p=0;if(n){a=n.width,l=n.height;let f=jr();(!f||f&&e==="fixed")&&(c=n.offsetLeft,p=n.offsetTop)}return{width:a,height:l,x:c,y:p}}function Zd(t,e){let r=ur(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ut(t)?jo(t):_t(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,p=n*a.x,f=i*a.y;return{width:l,height:c,x:p,y:f}}function ql(t,e,r){let i;if(e==="viewport")i=Kd(t,r);else if(e==="document")i=Gd(Tt(t));else if(Ct(e))i=Zd(e,r);else{let n=Ql(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return mo(i)}function ts(t,e){let r=bo(t);return r===e||!Ct(r)||pr(r)?!1:Ke(r).position==="fixed"||ts(r,e)}function qd(t,e){let r=e.get(t);if(r)return r;let i=Hr(t,[],!1).filter(c=>Ct(c)&&zt(c)!=="body"),n=null,a=Ke(t).position==="fixed",l=a?bo(t):t;for(;Ct(l)&&!pr(l);){let c=Ke(l),p=Vr(l);!p&&c.position==="fixed"&&(n=null),(a?!p&&!n:!p&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Vo(l)&&!p&&ts(t,l))?i=i.filter(y=>y!==l):n=c,l=bo(l)}return e.set(t,i),i}function Yd(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,l=[...r==="clippingAncestors"?qd(e,this._c):[].concat(r),i],c=l[0],p=l.reduce((f,y)=>{let m=ql(e,y,n);return f.top=Xt(m.top,f.top),f.right=cr(m.right,f.right),f.bottom=cr(m.bottom,f.bottom),f.left=Xt(m.left,f.left),f},ql(e,c,n));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Xd(t){return Xl(t)}function Jd(t,e,r){let i=ut(e),n=Tt(e),a=r==="fixed",l=ur(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=_t(0);if(i||!i&&!a)if((zt(e)!=="body"||Vo(n))&&(c=fr(e)),i){let f=ur(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else n&&(p.x=es(n));return{x:l.left+c.scrollLeft-p.x,y:l.top+c.scrollTop-p.y,width:l.width,height:l.height}}function Yl(t,e){return!ut(t)||Ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function os(t,e){let r=ze(t);if(!ut(t))return r;let i=Yl(t,e);for(;i&&Gl(i)&&Ke(i).position==="static";)i=Yl(i,e);return i&&(zt(i)==="html"||zt(i)==="body"&&Ke(i).position==="static"&&!Vr(i))?r:i||Kl(t)||r}var Qd=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||os,a=this.getDimensions;return{reference:Jd(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function ep(t){return Ke(t).direction==="rtl"}var Gr={convertOffsetParentRelativeRectToViewportRelativeRect:Vd,getDocumentElement:Tt,getClippingRect:Yd,getOffsetParent:os,getElementRects:Qd,getClientRects:jd,getDimensions:Xd,getScale:jo,isElement:Ct,isRTL:ep};var rs=(t,e,r)=>{let i=new Map,n={platform:Gr,...r},a={...n.platform,_c:i};return Hl(t,e,{...n,platform:a})};function is(t){return tp(t)}function en(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function tp(t){for(let e=t;e;e=en(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=en(t);e;e=en(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Kr(t,e,r){return rs(t,e,{platform:{...Gr,getOffsetParent:i=>Gr.getOffsetParent(i,is)},middleware:[Qi({crossAxis:!0}),Ji({allowedPlacements:[r]})]})}var Te=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ne=class extends hr.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 hr.Debouncer,this.revealDebouncer=new hr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ns.html`
545
545
  <div part="container"
546
546
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
547
547
  @mouseenter=${this.onHover}
@@ -559,21 +559,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
559
559
  </div>
560
560
  </div>
561
561
  </div>
562
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Kr(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.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(e,o){return Math.max(e,Math.min(0,-o))}};ie.elementDefinitions={"ft-typography":q};ie.styles=_l;Te([(0,ye.property)()],ie.prototype,"text",void 0);Te([(0,ye.property)({type:Boolean})],ie.prototype,"manual",void 0);Te([(0,ye.property)({type:Boolean})],ie.prototype,"inline",void 0);Te([(0,ye.property)({type:Number})],ie.prototype,"delay",void 0);Te([(0,ye.property)()],ie.prototype,"position",void 0);Te([(0,ye.queryAssignedNodes)()],ie.prototype,"slotNodes",void 0);Te([(0,ye.query)(".ft-tooltip--container")],ie.prototype,"container",void 0);Te([(0,ye.query)(".ft-tooltip")],ie.prototype,"tooltip",void 0);Te([(0,ye.query)(".ft-tooltip--content")],ie.prototype,"tooltipContent",void 0);Te([(0,ye.state)()],ie.prototype,"visible",void 0);Te([(0,ye.eventOptions)({passive:!0})],ie.prototype,"onTouch",null);Te([(0,ye.eventOptions)({passive:!0})],ie.prototype,"onHover",null);Te([(0,ye.eventOptions)({passive:!0})],ie.prototype,"onOut",null);Te([(0,ye.eventOptions)({passive:!0})],ie.prototype,"onClick",null);(0,as.customElement)("ft-tooltip")(ie);var fs=u(O());var mr=u(R()),bo=u(Y()),ps=u(O()),ds=u(ss());var wt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(wt||(wt={}));var S;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(S||(S={}));var tn=new Map([...["abw"].map(t=>[t,S.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,S.AUDIO]),...["avi"].map(t=>[t,S.AVI]),...["chm","xhs"].map(t=>[t,S.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,S.CODE]),...["csv"].map(t=>[t,S.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,S.DITA]),...["epub"].map(t=>[t,S.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,S.EXCEL]),...["flac"].map(t=>[t,S.FLAC]),...["gif"].map(t=>[t,S.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,S.GZIP]),...["html","htm","xhtml"].map(t=>[t,S.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,S.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,S.JPEG]),...["json"].map(t=>[t,S.JSON]),...["m4a","m4p"].map(t=>[t,S.M4A]),...["mov","qt"].map(t=>[t,S.MOV]),...["mp3"].map(t=>[t,S.MP3]),...["mp4","m4v"].map(t=>[t,S.MP4]),...["ogg","oga"].map(t=>[t,S.OGG]),...["pdf","ps"].map(t=>[t,S.PDF]),...["png"].map(t=>[t,S.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,S.POWERPOINT]),...["rar"].map(t=>[t,S.RAR]),...["stp"].map(t=>[t,S.STP]),...["txt","rtf","md","mdown"].map(t=>[t,S.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,S.VIDEO]),...["wav"].map(t=>[t,S.WAV]),...["wma"].map(t=>[t,S.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,S.WORD]),...["xml","xsl","rdf"].map(t=>[t,S.XML]),...["yaml","yml","x-yaml"].map(t=>[t,S.YAML]),...["zip"].map(t=>[t,S.ZIP])]),od=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function cs(t,e){var o,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,s]=(((o=od.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(n=(i=tn.get(s))!==null&&i!==void 0?i:tn.get(e))!==null&&n!==void 0?n:tn.get(l))!==null&&a!==void 0?a:S.UNKNOWN}var ry={[S.ABW]:"#91ABC6",[S.AUDIO]:"#1795E3",[S.AVI]:"#E63324",[S.CHM]:"#71C3EB",[S.CODE]:"#71C3EB",[S.CSV]:"#1F7345",[S.DITA]:"#71C3EB",[S.EPUB]:"#85B926",[S.EXCEL]:"#1F7345",[S.FLAC]:"#1795E3",[S.GIF]:"#59B031",[S.GZIP]:"#F8AB36",[S.HTML]:"#71C3EB",[S.IMAGE]:"#59B031",[S.JPEG]:"#59B031",[S.JSON]:"#71C3EB",[S.M4A]:"#1795E3",[S.MOV]:"#E63324",[S.MP3]:"#1795E3",[S.MP4]:"#E63324",[S.OGG]:"#1795E3",[S.PDF]:"#E44948",[S.PNG]:"#59B031",[S.POWERPOINT]:"#B54A2B",[S.RAR]:"#F8AB36",[S.STP]:"#3764B1",[S.TEXT]:"#3162AB",[S.UNKNOWN]:"#999999",[S.VIDEO]:"#E63324",[S.WAV]:"#1795E3",[S.WMA]:"#1795E3",[S.WORD]:"#3162AB",[S.XML]:"#71C3EB",[S.YAML]:"#71C3EB",[S.ZIP]:"#F8AB36"};var Ae;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ae||(Ae={}));var Zr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ne=class extends ps.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(Ae).includes(this.variant)?this.variant:Ae.fluid_topics,o=e!==Ae.material||!!this.value;return mr.html`
562
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Kr(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}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",e=>{e.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(e,r){return Math.max(e,Math.min(0,-r))}};ne.elementDefinitions={"ft-typography":q};ne.styles=Fl;Te([(0,ge.property)()],ne.prototype,"text",void 0);Te([(0,ge.property)({type:Boolean})],ne.prototype,"manual",void 0);Te([(0,ge.property)({type:Boolean})],ne.prototype,"inline",void 0);Te([(0,ge.property)({type:Number})],ne.prototype,"delay",void 0);Te([(0,ge.property)()],ne.prototype,"position",void 0);Te([(0,ge.queryAssignedNodes)()],ne.prototype,"slotNodes",void 0);Te([(0,ge.query)(".ft-tooltip--container")],ne.prototype,"container",void 0);Te([(0,ge.query)(".ft-tooltip")],ne.prototype,"tooltip",void 0);Te([(0,ge.query)(".ft-tooltip--content")],ne.prototype,"tooltipContent",void 0);Te([(0,ge.state)()],ne.prototype,"visible",void 0);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onTouch",null);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onHover",null);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onOut",null);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onClick",null);(0,as.customElement)("ft-tooltip")(ne);var fs=h(w());var yr=h(N()),go=h(Y()),ds=h(w()),ps=h(ss());var wt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(wt||(wt={}));var C;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(C||(C={}));var tn=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]),op=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function cs(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,c]=(((r=op.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=tn.get(c))!==null&&i!==void 0?i:tn.get(e))!==null&&n!==void 0?n:tn.get(l))!==null&&a!==void 0?a:C.UNKNOWN}var sb={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ke||(ke={}));var Zr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends ds.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=yr.nothing}render(){let e=this.variant&&Object.values(ke).includes(this.variant)?this.variant:ke.fluid_topics,r=e!==ke.material||!!this.value;return yr.html`
563
563
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
564
- ${(0,ds.unsafeHTML)(this.resolvedIcon)}
565
- <slot ?hidden=${o}></slot>
564
+ ${(0,ps.unsafeHTML)(this.resolvedIcon)}
565
+ <slot ?hidden=${r}></slot>
566
566
  </i>
567
- `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let i=this.value||this.textContent;switch(this.variant){case Ae.file_format:this.resolvedIcon=(e=S[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ae.material:this.resolvedIcon=this.value||mr.nothing;break;default:this.resolvedIcon=(o=wt[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ne.elementDefinitions={};ne.styles=$l;Zr([(0,bo.property)()],ne.prototype,"variant",void 0);Zr([(0,bo.property)()],ne.prototype,"value",void 0);Zr([(0,bo.state)()],ne.prototype,"resolvedIcon",void 0);Zr([(0,bo.query)("slot")],ne.prototype,"slottedContent",void 0);(0,fs.customElement)("ft-icon")(ne);var ms=u(O());var us=u(R()),hs=u(O());var vo=class extends hs.FtLitElement{render(){return us.html`
567
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case ke.file_format:this.resolvedIcon=(e=C[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case ke.material:this.resolvedIcon=this.value||yr.nothing;break;default:this.resolvedIcon=(r=wt[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ae.elementDefinitions={};ae.styles=$l;Zr([(0,go.property)()],ae.prototype,"variant",void 0);Zr([(0,go.property)()],ae.prototype,"value",void 0);Zr([(0,go.state)()],ae.prototype,"resolvedIcon",void 0);Zr([(0,go.query)("slot")],ae.prototype,"slottedContent",void 0);(0,fs.customElement)("ft-icon")(ae);var ys=h(w());var us=h(N()),hs=h(w());var vo=class extends hs.FtLitElement{render(){return us.html`
568
568
  <div class="ft-loader">
569
569
  <div></div>
570
570
  <div></div>
571
571
  <div></div>
572
572
  <div></div>
573
573
  </div>
574
- `}};vo.styles=wl;(0,ms.customElement)("ft-loader")(vo);var Go=u(R()),gs=u(lt()),Ee=u(Y()),Me=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},de=class extends(0,Ko.toFtFormComponent)(Ko.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(Go.html`
574
+ `}};vo.styles=wl;(0,ys.customElement)("ft-loader")(vo);var Go=h(N()),ms=h(lt()),$e=h(Y()),We=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends(0,Ko.toFtFormComponent)(Ko.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(Go.html`
575
575
  <button part="button"
576
- class="${(0,gs.classMap)(this.buttonClasses)}"
576
+ class="${(0,ms.classMap)(this.buttonClasses)}"
577
577
  aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
578
578
  ?disabled=${this.isDisabled()}>
579
579
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -597,7 +597,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
597
597
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
598
598
  `:Go.html`
599
599
  <slot part="icon" name="icon"></slot>
600
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};de.elementDefinitions={"ft-ripple":F,"ft-tooltip":ie,"ft-typography":q,"ft-icon":ne,"ft-loader":vo};Me([(0,Ee.property)({type:String,reflect:!0})],de.prototype,"role",void 0);Me([(0,Ee.property)()],de.prototype,"type",void 0);Me([(0,Ee.property)({type:Boolean})],de.prototype,"disabled",void 0);Me([(0,Ee.property)()],de.prototype,"label",void 0);Me([(0,Ee.property)()],de.prototype,"icon",void 0);Me([(0,Ee.property)()],de.prototype,"iconVariant",void 0);Me([(0,Ee.property)({type:Boolean})],de.prototype,"trailingIcon",void 0);Me([(0,Ee.property)({type:Boolean})],de.prototype,"loading",void 0);Me([(0,Ee.property)({attribute:"aria-label"})],de.prototype,"ariaLabel",void 0);Me([(0,Ee.property)()],de.prototype,"tooltipPosition",void 0);Me([(0,Ee.property)({type:Boolean})],de.prototype,"hideTooltip",void 0);Me([(0,Ee.property)({type:Boolean})],de.prototype,"forceTooltip",void 0);Me([(0,Ee.query)(".ft-button")],de.prototype,"button",void 0);Me([(0,Ee.query)(".ft-button--label slot")],de.prototype,"slottedContent",void 0);var qr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},be=class extends de{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"}};be.styles=[ys.safariEllipsisFix,Al];qr([(0,gr.property)({type:Boolean})],be.prototype,"primary",void 0);qr([(0,gr.property)({type:Boolean})],be.prototype,"outlined",void 0);qr([(0,gr.property)({type:Boolean})],be.prototype,"dense",void 0);qr([(0,gr.property)({type:Boolean})],be.prototype,"round",void 0);var yr=u(Y());var Xr=u(O());var bs=u(R()),G=u(O());var vs=[bs.css`
600
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};fe.elementDefinitions={"ft-ripple":T,"ft-tooltip":ne,"ft-typography":q,"ft-icon":ae,"ft-loader":vo};We([(0,$e.property)({type:String,reflect:!0})],fe.prototype,"role",void 0);We([(0,$e.property)()],fe.prototype,"type",void 0);We([(0,$e.property)({type:Boolean})],fe.prototype,"disabled",void 0);We([(0,$e.property)()],fe.prototype,"label",void 0);We([(0,$e.property)()],fe.prototype,"icon",void 0);We([(0,$e.property)()],fe.prototype,"iconVariant",void 0);We([(0,$e.property)({type:Boolean})],fe.prototype,"trailingIcon",void 0);We([(0,$e.property)({type:Boolean})],fe.prototype,"loading",void 0);We([(0,$e.property)({attribute:"aria-label"})],fe.prototype,"ariaLabel",void 0);We([(0,$e.property)()],fe.prototype,"tooltipPosition",void 0);We([(0,$e.property)({type:Boolean})],fe.prototype,"hideTooltip",void 0);We([(0,$e.property)({type:Boolean})],fe.prototype,"forceTooltip",void 0);We([(0,$e.query)(".ft-button")],fe.prototype,"button",void 0);We([(0,$e.query)(".ft-button--label slot")],fe.prototype,"slottedContent",void 0);var qr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends fe{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"}};ve.styles=[bs.safariEllipsisFix,kl];qr([(0,mr.property)({type:Boolean})],ve.prototype,"primary",void 0);qr([(0,mr.property)({type:Boolean})],ve.prototype,"outlined",void 0);qr([(0,mr.property)({type:Boolean})],ve.prototype,"dense",void 0);qr([(0,mr.property)({type:Boolean})],ve.prototype,"round",void 0);var br=h(Y());var Xr=h(w());var gs=h(N()),x=h(w());var vs=[gs.css`
601
601
  :host {
602
602
  display: inline-block;
603
603
  max-width: 100%;
@@ -647,7 +647,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
647
647
  }
648
648
 
649
649
  .ft-button:focus-visible {
650
- outline-color: ${x.focusFocusRingColor};
650
+ outline-color: ${u.focusFocusRingColor};
651
651
  outline-style: solid;
652
652
  }
653
653
 
@@ -678,178 +678,399 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
678
678
  border-radius: 50%;
679
679
  }
680
680
 
681
- /** Primary styles **/
681
+ /** Brand Primary styles **/
682
682
 
683
- .ft-button--primary {
684
- ${(0,G.setVariable)(ke.color,x.primaryIconColor)};
683
+ .ftds--family-brand.ft-button--primary {
684
+ ${(0,x.setVariable)(ie.color,u.primaryBrandIconColor)};
685
685
 
686
- ${(0,G.setVariable)(_.color,x.primaryStateLayerColor)};
687
- ${(0,G.setVariable)(_.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
688
- ${(0,G.setVariable)(_.opacityContentOnSurfaceFocused,x.primaryFocusStateLayerOpacity)};
689
- ${(0,G.setVariable)(_.opacityContentOnSurfaceSelected,x.primaryActiveStateLayerOpacity)};
690
- ${(0,G.setVariable)(_.opacityContentOnSurfacePressed,x.primaryActiveStateLayerOpacity)};
686
+ ${(0,x.setVariable)(O.color,u.primaryBrandStateLayerColor)};
687
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
688
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
689
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
690
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
691
691
 
692
- background-color: ${x.primaryBackgroundColor};
693
- color: ${x.primaryColor};
692
+ background-color: ${u.primaryBrandBackgroundColor};
693
+ color: ${u.primaryBrandColor};
694
694
  border-style: none;
695
695
  }
696
696
 
697
- .ft-button--primary[disabled] {
698
- opacity: ${x.primaryDisabledComponentOpacity};
697
+ .ftds--family-brand.ft-button--primary[disabled] {
698
+ opacity: ${u.primaryBrandDisabledComponentOpacity};
699
699
  }
700
700
 
701
- .ft-button--primary ft-icon {
702
- color: ${x.primaryIconColor};
701
+ .ftds--family-brand.ft-button--primary ft-icon {
702
+ color: ${u.primaryBrandIconColor};
703
703
  }
704
704
 
705
- /** Secondary styles **/
705
+ /** Brand Secondary styles **/
706
706
 
707
- .ft-button--secondary {
708
- ${(0,G.setVariable)(ke.color,x.secondaryIconColor)};
707
+ .ftds--family-brand.ft-button--secondary {
708
+ ${(0,x.setVariable)(ie.color,u.secondaryBrandIconColor)};
709
709
 
710
- ${(0,G.setVariable)(_.color,x.secondaryStateLayerColor)};
711
- ${(0,G.setVariable)(_.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
712
- ${(0,G.setVariable)(_.opacityContentOnSurfaceFocused,x.secondaryFocusStateLayerOpacity)};
713
- ${(0,G.setVariable)(_.opacityContentOnSurfaceSelected,x.secondaryActiveStateLayerOpacity)};
714
- ${(0,G.setVariable)(_.opacityContentOnSurfacePressed,x.secondaryActiveStateLayerOpacity)};
710
+ ${(0,x.setVariable)(O.color,u.secondaryBrandStateLayerColor)};
711
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
712
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
713
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
714
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
715
715
 
716
- background-color: ${x.secondaryBackgroundColor};
717
- color: ${x.secondaryColor};
718
- border-color: ${x.secondaryBorderColor};
716
+ background-color: ${u.secondaryBrandBackgroundColor};
717
+ color: ${u.secondaryBrandColor};
718
+ border-color: ${u.secondaryBrandBorderColor};
719
719
  border-style: solid;
720
720
  }
721
721
 
722
- .ft-button--secondary[disabled] {
723
- opacity: ${x.secondaryDisabledComponentOpacity};
722
+ .ftds--family-brand.ft-button--secondary[disabled] {
723
+ opacity: ${u.secondaryBrandDisabledComponentOpacity};
724
724
  }
725
725
 
726
- .ft-button--secondary ft-icon {
727
- color: ${x.secondaryIconColor};
726
+ .ftds--family-brand.ft-button--secondary ft-icon {
727
+ color: ${u.secondaryBrandIconColor};
728
728
  }
729
729
 
730
- /** Tertiary styles **/
730
+ /** Brand Tertiary styles **/
731
731
 
732
- .ft-button--tertiary {
733
- ${(0,G.setVariable)(ke.color,x.tertiaryIconColor)};
732
+ .ftds--family-brand.ft-button--tertiary {
733
+ ${(0,x.setVariable)(ie.color,u.tertiaryBrandIconColor)};
734
734
 
735
- ${(0,G.setVariable)(_.color,x.tertiaryStateLayerColor)};
736
- ${(0,G.setVariable)(_.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
737
- ${(0,G.setVariable)(_.opacityContentOnSurfaceFocused,x.tertiaryFocusStateLayerOpacity)};
738
- ${(0,G.setVariable)(_.opacityContentOnSurfaceSelected,x.tertiaryActiveStateLayerOpacity)};
739
- ${(0,G.setVariable)(_.opacityContentOnSurfacePressed,x.tertiaryActiveStateLayerOpacity)};
735
+ ${(0,x.setVariable)(O.color,u.tertiaryBrandStateLayerColor)};
736
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
737
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
738
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
739
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
740
740
 
741
- background-color: ${x.tertiaryBackgroundColor};
742
- color: ${x.tertiaryColor};
741
+ background-color: ${u.tertiaryBrandBackgroundColor};
742
+ color: ${u.tertiaryBrandColor};
743
743
  border-style: none;
744
744
  }
745
745
 
746
- .ft-button--tertiary[disabled] {
747
- opacity: ${x.tertiaryDisabledComponentOpacity};
746
+ .ftds--family-brand.ft-button--tertiary[disabled] {
747
+ opacity: ${u.tertiaryBrandDisabledComponentOpacity};
748
748
  }
749
749
 
750
- .ft-button--tertiary ft-icon {
751
- color: ${x.tertiaryIconColor};
750
+ .ftds--family-brand.ft-button--tertiary ft-icon {
751
+ color: ${u.tertiaryBrandIconColor};
752
752
  }
753
753
 
754
- /** Neutral styles **/
754
+ /** Neutral Secondary styles **/
755
755
 
756
- .ftds--family-neutral {
757
- ${(0,G.setVariable)(ke.color,x.neutralIconColor)};
756
+ .ftds--family-neutral.ft-button--secondary {
757
+ ${(0,x.setVariable)(ie.color,u.secondaryNeutralIconColor)};
758
+
759
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryNeutralStateLayerColor)};
760
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
761
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
762
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
763
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
764
+
765
+ background-color: ${u.secondaryNeutralBackgroundColor};
766
+ color: ${u.secondaryNeutralColor};
767
+ border-color: ${u.secondaryNeutralBorderColor};
768
+ border-style: solid;
769
+ }
770
+
771
+ .ftds--family-neutral.ft-button--secondary[disabled] {
772
+ opacity: ${u.secondaryNeutralDisabledComponentOpacity};
773
+ }
774
+
775
+ .ftds--family-neutral.ft-button--secondary ft-icon {
776
+ color: ${u.secondaryNeutralIconColor};
777
+ }
778
+
779
+ /** Neutral Tertiary styles **/
780
+
781
+ .ftds--family-neutral.ft-button--tertiary {
782
+ ${(0,x.setVariable)(ie.color,u.tertiaryNeutralIconColor)};
758
783
 
759
- ${(0,G.setVariable)(_.backgroundColor,x.neutralStateLayerColor)};
760
- ${(0,G.setVariable)(_.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
761
- ${(0,G.setVariable)(_.opacityContentOnSurfaceFocused,x.neutralFocusStateLayerOpacity)};
762
- ${(0,G.setVariable)(_.opacityContentOnSurfaceSelected,x.neutralActiveStateLayerOpacity)};
763
- ${(0,G.setVariable)(_.opacityContentOnSurfacePressed,x.neutralActiveStateLayerOpacity)};
784
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryNeutralStateLayerColor)};
785
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
786
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
787
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
788
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
764
789
 
765
- background-color: ${x.neutralBackgroundColor};
766
- color: ${x.neutralColor};
790
+ background-color: ${u.tertiaryNeutralBackgroundColor};
791
+ color: ${u.tertiaryNeutralColor};
767
792
  border-style: none;
768
793
  }
769
794
 
770
- .ftds--family-neutral[disabled] {
771
- opacity: ${x.neutralDisabledComponentOpacity};
795
+ .ftds--family-neutral.ft-button--tertiary[disabled] {
796
+ opacity: ${u.tertiaryNeutralDisabledComponentOpacity};
772
797
  }
773
798
 
774
- .ftds--family-neutral ft-icon {
775
- color: ${x.neutralIconColor};
799
+ .ftds--family-neutral.ft-button--tertiary ft-icon {
800
+ color: ${u.tertiaryNeutralIconColor};
801
+ }
802
+
803
+ /** Info Secondary styles **/
804
+
805
+ .ftds--family-info.ft-button--secondary {
806
+ ${(0,x.setVariable)(ie.color,u.secondaryInfoIconColor)};
807
+
808
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryInfoStateLayerColor)};
809
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
810
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
811
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
812
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
813
+
814
+ background-color: ${u.secondaryInfoBackgroundColor};
815
+ color: ${u.secondaryInfoColor};
816
+ border-color: ${u.secondaryInfoBorderColor};
817
+ border-style: solid;
818
+ }
819
+
820
+ .ftds--family-info.ft-button--secondary[disabled] {
821
+ opacity: ${u.secondaryInfoDisabledComponentOpacity};
822
+ }
823
+
824
+ .ftds--family-info.ft-button--secondary ft-icon {
825
+ color: ${u.secondaryInfoIconColor};
826
+ }
827
+
828
+ /** Info Tertiary styles **/
829
+
830
+ .ftds--family-info.ft-button--tertiary {
831
+ ${(0,x.setVariable)(ie.color,u.tertiaryInfoIconColor)};
832
+
833
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryInfoStateLayerColor)};
834
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
835
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
836
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
837
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
838
+
839
+ background-color: ${u.tertiaryInfoBackgroundColor};
840
+ color: ${u.tertiaryInfoColor};
841
+ border-style: none;
842
+ }
843
+
844
+ .ftds--family-info.ft-button--tertiary[disabled] {
845
+ opacity: ${u.tertiaryInfoDisabledComponentOpacity};
846
+ }
847
+
848
+ .ftds--family-info.ft-button--tertiary ft-icon {
849
+ color: ${u.tertiaryInfoIconColor};
850
+ }
851
+
852
+ /** Success Secondary styles **/
853
+
854
+ .ftds--family-success.ft-button--secondary {
855
+ ${(0,x.setVariable)(ie.color,u.secondarySuccessIconColor)};
856
+
857
+ ${(0,x.setVariable)(O.backgroundColor,u.secondarySuccessStateLayerColor)};
858
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
859
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
860
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
861
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
862
+
863
+ background-color: ${u.secondarySuccessBackgroundColor};
864
+ color: ${u.secondarySuccessColor};
865
+ border-color: ${u.secondarySuccessBorderColor};
866
+ border-style: solid;
867
+ }
868
+
869
+ .ftds--family-success.ft-button--secondary[disabled] {
870
+ opacity: ${u.secondarySuccessDisabledComponentOpacity};
871
+ }
872
+
873
+ .ftds--family-success.ft-button--secondary ft-icon {
874
+ color: ${u.secondarySuccessIconColor};
875
+ }
876
+
877
+ /** Success Tertiary styles **/
878
+
879
+ .ftds--family-success.ft-button--tertiary {
880
+ ${(0,x.setVariable)(ie.color,u.tertiarySuccessIconColor)};
881
+
882
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiarySuccessStateLayerColor)};
883
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
884
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
885
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
886
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
887
+
888
+ background-color: ${u.tertiarySuccessBackgroundColor};
889
+ color: ${u.tertiarySuccessColor};
890
+ border-style: none;
891
+ }
892
+
893
+ .ftds--family-success.ft-button--tertiary[disabled] {
894
+ opacity: ${u.tertiarySuccessDisabledComponentOpacity};
895
+ }
896
+
897
+ .ftds--family-success.ft-button--tertiary ft-icon {
898
+ color: ${u.tertiarySuccessIconColor};
899
+ }
900
+
901
+ /** Warning Secondary styles **/
902
+
903
+ .ftds--family-warning.ft-button--secondary {
904
+ ${(0,x.setVariable)(ie.color,u.secondaryWarningIconColor)};
905
+
906
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryWarningStateLayerColor)};
907
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
908
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
909
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
910
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
911
+
912
+ background-color: ${u.secondaryWarningBackgroundColor};
913
+ color: ${u.secondaryWarningColor};
914
+ border-color: ${u.secondaryWarningBorderColor};
915
+ border-style: solid;
916
+ }
917
+
918
+ .ftds--family-warning.ft-button--secondary[disabled] {
919
+ opacity: ${u.secondaryWarningDisabledComponentOpacity};
920
+ }
921
+
922
+ .ftds--family-warning.ft-button--secondary ft-icon {
923
+ color: ${u.secondaryWarningIconColor};
924
+ }
925
+
926
+ /** Warning Tertiary styles **/
927
+
928
+ .ftds--family-warning.ft-button--tertiary {
929
+ ${(0,x.setVariable)(ie.color,u.tertiaryWarningIconColor)};
930
+
931
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryWarningStateLayerColor)};
932
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
933
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
934
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
935
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
936
+
937
+ background-color: ${u.tertiaryWarningBackgroundColor};
938
+ color: ${u.tertiaryWarningColor};
939
+ border-style: none;
940
+ }
941
+
942
+ .ftds--family-warning.ft-button--tertiary[disabled] {
943
+ opacity: ${u.tertiaryWarningDisabledComponentOpacity};
944
+ }
945
+
946
+ .ftds--family-warning.ft-button--tertiary ft-icon {
947
+ color: ${u.tertiaryWarningIconColor};
948
+ }
949
+
950
+ /** Error Secondary styles **/
951
+
952
+ .ftds--family-error.ft-button--secondary {
953
+ ${(0,x.setVariable)(ie.color,u.secondaryErrorIconColor)};
954
+
955
+ ${(0,x.setVariable)(O.backgroundColor,u.secondaryErrorStateLayerColor)};
956
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
957
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
958
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
959
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
960
+
961
+ background-color: ${u.secondaryErrorBackgroundColor};
962
+ color: ${u.secondaryErrorColor};
963
+ border-color: ${u.secondaryErrorBorderColor};
964
+ border-style: solid;
965
+ }
966
+
967
+ .ftds--family-error.ft-button--secondary[disabled] {
968
+ opacity: ${u.secondaryErrorDisabledComponentOpacity};
969
+ }
970
+
971
+ .ftds--family-error.ft-button--secondary ft-icon {
972
+ color: ${u.secondaryErrorIconColor};
973
+ }
974
+
975
+ /** Error Tertiary styles **/
976
+
977
+ .ftds--family-error.ft-button--tertiary {
978
+ ${(0,x.setVariable)(ie.color,u.tertiaryErrorIconColor)};
979
+
980
+ ${(0,x.setVariable)(O.backgroundColor,u.tertiaryErrorStateLayerColor)};
981
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
982
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
983
+ ${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
984
+ ${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
985
+
986
+ background-color: ${u.tertiaryErrorBackgroundColor};
987
+ color: ${u.tertiaryErrorColor};
988
+ border-style: none;
989
+ }
990
+
991
+ .ftds--family-error.ft-button--tertiary[disabled] {
992
+ opacity: ${u.tertiaryErrorDisabledComponentOpacity};
993
+ }
994
+
995
+ .ftds--family-error.ft-button--tertiary ft-icon {
996
+ color: ${u.tertiaryErrorIconColor};
776
997
  }
777
998
 
778
999
  /** Large styles **/
779
1000
 
780
1001
  .ftds--size-large {
781
- ${(0,G.setVariable)(ce.size,x.largeIconSize)};
782
- ${(0,G.setVariable)(ke.size,x.largeIconSize)};
1002
+ ${(0,x.setVariable)(de.size,u.largeIconSize)};
1003
+ ${(0,x.setVariable)(ie.size,u.largeIconSize)};
783
1004
 
784
- height: ${x.largeHeight};
785
- padding: 0 ${x.largeHorizontalPadding};
786
- gap: ${x.largeGap};
787
- border-radius: ${x.largeBorderRadius};
788
- border-width: ${x.largeBorderWidth};
1005
+ height: ${u.largeHeight};
1006
+ padding: 0 ${u.largeHorizontalPadding};
1007
+ gap: ${u.largeGap};
1008
+ border-radius: ${u.largeBorderRadius};
1009
+ border-width: ${u.largeBorderWidth};
789
1010
  }
790
1011
 
791
1012
  .ftds--size-large:focus-visible {
792
- outline-width: ${x.largeFocusOutlineWidth};
793
- outline-offset: ${x.largeFocusOutlineOffset};
1013
+ outline-width: ${u.largeFocusOutlineWidth};
1014
+ outline-offset: ${u.largeFocusOutlineOffset};
794
1015
  }
795
1016
 
796
1017
  .ftds--size-large.ft-button--icon-only {
797
- width: ${x.largeIconOnlyWidth};
1018
+ width: ${u.largeIconOnlyWidth};
798
1019
  }
799
1020
 
800
1021
  /** Small styles **/
801
1022
 
802
1023
  .ftds--size-medium {
803
- ${(0,G.setVariable)(ce.size,x.mediumIconSize)};
804
- ${(0,G.setVariable)(ke.size,x.mediumIconSize)};
1024
+ ${(0,x.setVariable)(de.size,u.mediumIconSize)};
1025
+ ${(0,x.setVariable)(ie.size,u.mediumIconSize)};
805
1026
 
806
- height: ${x.mediumHeight};
807
- padding: 0 ${x.mediumHorizontalPadding};
808
- gap: ${x.mediumGap};
809
- border-radius: ${x.mediumBorderRadius};
810
- border-width: ${x.mediumBorderWidth};
1027
+ height: ${u.mediumHeight};
1028
+ padding: 0 ${u.mediumHorizontalPadding};
1029
+ gap: ${u.mediumGap};
1030
+ border-radius: ${u.mediumBorderRadius};
1031
+ border-width: ${u.mediumBorderWidth};
811
1032
  }
812
1033
 
813
1034
  .ftds--size-medium:focus-visible {
814
- outline-width: ${x.mediumFocusOutlineWidth};
815
- outline-offset: ${x.mediumFocusOutlineOffset};
1035
+ outline-width: ${u.mediumFocusOutlineWidth};
1036
+ outline-offset: ${u.mediumFocusOutlineOffset};
816
1037
  }
817
1038
 
818
1039
  .ftds--size-medium.ft-button--icon-only {
819
- width: ${x.mediumIconOnlyWidth};
1040
+ width: ${u.mediumIconOnlyWidth};
820
1041
  }
821
1042
 
822
1043
 
823
1044
  /** Small styles **/
824
1045
 
825
1046
  .ftds--size-small {
826
- ${(0,G.setVariable)(ce.size,x.smallIconSize)};
827
- ${(0,G.setVariable)(ke.size,x.smallIconSize)};
1047
+ ${(0,x.setVariable)(de.size,u.smallIconSize)};
1048
+ ${(0,x.setVariable)(ie.size,u.smallIconSize)};
828
1049
 
829
- height: ${x.smallHeight};
830
- padding: 0 ${x.smallHorizontalPadding};
831
- gap: ${x.smallGap};
832
- border-radius: ${x.smallBorderRadius};
833
- border-width: ${x.smallBorderWidth};
1050
+ height: ${u.smallHeight};
1051
+ padding: 0 ${u.smallHorizontalPadding};
1052
+ gap: ${u.smallGap};
1053
+ border-radius: ${u.smallBorderRadius};
1054
+ border-width: ${u.smallBorderWidth};
834
1055
  }
835
1056
 
836
1057
  .ftds--size-small:focus-visible {
837
- outline-width: ${x.smallFocusOutlineWidth};
838
- outline-offset: ${x.smallFocusOutlineOffset};
1058
+ outline-width: ${u.smallFocusOutlineWidth};
1059
+ outline-offset: ${u.smallFocusOutlineOffset};
839
1060
  }
840
1061
 
841
1062
  .ftds--size-small.ft-button--icon-only {
842
- width: ${x.smallIconOnlyWidth};
1063
+ width: ${u.smallIconOnlyWidth};
843
1064
  }
844
- `,G.noTextSelect];var Yr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ht=class extends(0,Xr.toFtdsBase)(de){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Fr.brand,this.iconVariant=Ae.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ne.large:return nt.body2medium;case Ne.medium:return nt.caption1medium;case Ne.small:return nt.caption2medium}}};ht.styles=[Xr.safariEllipsisFix,vs];Yr([(0,yr.property)({type:Boolean})],ht.prototype,"primary",void 0);Yr([(0,yr.property)({type:Boolean})],ht.prototype,"secondary",void 0);Yr([(0,yr.property)({type:Boolean})],ht.prototype,"tertiary",void 0);Yr([(0,yr.property)({type:Boolean})],ht.prototype,"round",void 0);(0,on.customElement)("ft-button")(be);(0,on.customElement)("ftds-button")(ht);var Es=u(O());var Os=u(R()),Wt=u(Y()),Cs=u(O()),ws=u(lt());var Ze=u(O()),xs=u(R());var Mt={textColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ze.designSystemVariables.colorOnSurfaceHigh),fontSize:Ze.FtCssVariableFactory.extend("--ft-checkbox-font-size","",w.fontSize),colorPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ze.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Ss=xs.css`
1065
+ `,x.noTextSelect];var Yr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ht=class extends(0,Xr.toFtdsBase)(fe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=zr.brand,this.iconVariant=ke.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ne.large:return nt.body2medium;case Ne.medium:return nt.caption1medium;case Ne.small:return nt.caption2medium}}};ht.styles=[Xr.safariEllipsisFix,vs];Yr([(0,br.property)({type:Boolean})],ht.prototype,"primary",void 0);Yr([(0,br.property)({type:Boolean})],ht.prototype,"secondary",void 0);Yr([(0,br.property)({type:Boolean})],ht.prototype,"tertiary",void 0);Yr([(0,br.property)({type:Boolean})],ht.prototype,"round",void 0);(0,on.customElement)("ft-button")(ve);(0,on.customElement)("ftds-button")(ht);var Es=h(w());var Os=h(N()),Mt=h(Y()),Cs=h(w()),ws=h(lt());var Ze=h(w()),xs=h(N());var Wt={textColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ze.designSystemVariables.colorOnSurfaceHigh),fontSize:Ze.FtCssVariableFactory.extend("--ft-checkbox-font-size","",$.fontSize),colorPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ze.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Ss=xs.css`
845
1066
  * {
846
1067
  box-sizing: border-box;
847
1068
  }
848
1069
 
849
1070
  .ft-checkbox {
850
1071
  box-sizing: border-box;
851
- color: ${Mt.textColor};
852
- font-size: ${Mt.fontSize};
1072
+ color: ${Wt.textColor};
1073
+ font-size: ${Wt.fontSize};
853
1074
 
854
1075
  display: inline-flex;
855
1076
  align-items: center;
@@ -857,7 +1078,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
857
1078
  }
858
1079
 
859
1080
  .ft-checkbox--disabled {
860
- color: ${Mt.colorOnSurfaceDisabled};
1081
+ color: ${Wt.colorOnSurfaceDisabled};
861
1082
  }
862
1083
 
863
1084
  input {
@@ -881,26 +1102,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
881
1102
 
882
1103
  .ft-checkbox--box {
883
1104
  display: flex;
884
- border: 2px solid ${Mt.borderColor};
1105
+ border: 2px solid ${Wt.borderColor};
885
1106
  border-radius: 2px;
886
1107
 
887
1108
  width: 18px;
888
1109
  height: 18px;
889
1110
 
890
- color: ${Mt.colorOnPrimary};
1111
+ color: ${Wt.colorOnPrimary};
891
1112
  }
892
1113
 
893
1114
 
894
1115
  .ft-checkbox--checked .ft-checkbox--box,
895
1116
  .ft-checkbox--indeterminate .ft-checkbox--box {
896
- border-color: ${Mt.colorPrimary};
897
- background-color: ${Mt.colorPrimary};
1117
+ border-color: ${Wt.colorPrimary};
1118
+ background-color: ${Wt.colorPrimary};
898
1119
  }
899
1120
 
900
1121
  .ft-checkbox--disabled .ft-checkbox--box {
901
- border-color: ${Mt.colorOnSurfaceDisabled};
1122
+ border-color: ${Wt.colorOnSurfaceDisabled};
902
1123
  background-color: transparent;
903
- color: ${Mt.colorOnSurfaceDisabled};
1124
+ color: ${Wt.colorOnSurfaceDisabled};
904
1125
  }
905
1126
 
906
1127
  .ft-checkbox--checkmark {
@@ -919,7 +1140,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
919
1140
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
920
1141
  opacity: 1;
921
1142
  }
922
- `;var xo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends Cs.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Os.html`
1143
+ `;var xo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ae=class extends Cs.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Os.html`
923
1144
  <label class="${(0,ws.classMap)(e)}" for="checkbox-input">
924
1145
  <div class="ft-checkbox--box-container">
925
1146
  <ft-ripple
@@ -946,7 +1167,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
946
1167
  <slot></slot>
947
1168
  </ft-typography>
948
1169
  </label>
949
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}click(){this.input.click()}};Le.elementDefinitions={"ft-ripple":F,"ft-typography":q};Le.styles=Ss;xo([(0,Wt.property)()],Le.prototype,"name",void 0);xo([(0,Wt.property)({type:Boolean,reflect:!0})],Le.prototype,"checked",void 0);xo([(0,Wt.property)({type:Boolean})],Le.prototype,"indeterminate",void 0);xo([(0,Wt.property)({type:Boolean})],Le.prototype,"disabled",void 0);xo([(0,Wt.query)(".ft-checkbox")],Le.prototype,"container",void 0);xo([(0,Wt.query)("ft-ripple")],Le.prototype,"ripple",void 0);xo([(0,Wt.query)("input")],Le.prototype,"input",void 0);(0,Es.customElement)("ft-checkbox")(Le);var rn=u(O());var Ns=u(R()),mt=u(Y()),ks=u(O()),As=u(lt());var $s=u(R()),qe=u(O()),So={textColor:qe.FtCssVariableFactory.extend("--ft-radio-text-color","",qe.designSystemVariables.colorOnSurfaceHigh),colorPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnPrimary,"Design system"),borderColor:qe.FtCssVariableFactory.extend("--ft-radio-border-color","",qe.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Rs=$s.css`
1170
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};Ae.elementDefinitions={"ft-ripple":T,"ft-typography":q};Ae.styles=Ss;xo([(0,Mt.property)()],Ae.prototype,"name",void 0);xo([(0,Mt.property)({type:Boolean,reflect:!0})],Ae.prototype,"checked",void 0);xo([(0,Mt.property)({type:Boolean})],Ae.prototype,"indeterminate",void 0);xo([(0,Mt.property)({type:Boolean})],Ae.prototype,"disabled",void 0);xo([(0,Mt.query)(".ft-checkbox")],Ae.prototype,"container",void 0);xo([(0,Mt.query)("ft-ripple")],Ae.prototype,"ripple",void 0);xo([(0,Mt.query)("input")],Ae.prototype,"input",void 0);(0,Es.customElement)("ft-checkbox")(Ae);var rn=h(w());var Ls=h(N()),yt=h(Y()),Ns=h(w()),ks=h(lt());var $s=h(N()),qe=h(w()),So={textColor:qe.FtCssVariableFactory.extend("--ft-radio-text-color","",qe.designSystemVariables.colorOnSurfaceHigh),colorPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnPrimary,"Design system"),borderColor:qe.FtCssVariableFactory.extend("--ft-radio-border-color","",qe.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Rs=$s.css`
950
1171
  * {
951
1172
  box-sizing: border-box;
952
1173
  }
@@ -1034,8 +1255,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1034
1255
  .ft-radio ft-typography {
1035
1256
  padding-right: 2px;
1036
1257
  }
1037
- `;var Ut=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Jr=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},ve=class extends ks.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Ns.html`
1038
- <div class="${(0,As.classMap)(e)}">
1258
+ `;var Ut=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Jr=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},xe=class extends Ns.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Ls.html`
1259
+ <div class="${(0,ks.classMap)(e)}">
1039
1260
  <div class="ft-radio--box-container">
1040
1261
  <ft-ripple
1041
1262
  ?disabled=${this.disabled}
@@ -1053,13 +1274,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1053
1274
  @change=${this.onChange}
1054
1275
  >
1055
1276
  </div>
1056
- <label for="radio-button" @click=${o=>{var i;o.stopPropagation(),o.preventDefault(),(i=this.input)===null||i===void 0||i.click()}}>
1277
+ <label for="radio-button" @click=${r=>{var i;r.stopPropagation(),r.preventDefault(),(i=this.input)===null||i===void 0||i.click()}}>
1057
1278
  <ft-typography variant="body2">
1058
1279
  <slot></slot>
1059
1280
  </ft-typography>
1060
1281
  </label>
1061
1282
  </div>
1062
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Jr(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Jr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};ve.elementDefinitions={"ft-ripple":F,"ft-typography":q};ve.styles=Rs;Ut([(0,mt.property)()],ve.prototype,"value",void 0);Ut([(0,mt.property)()],ve.prototype,"name",void 0);Ut([(0,mt.property)({type:Boolean,reflect:!0})],ve.prototype,"checked",void 0);Ut([(0,mt.property)({attribute:"aria-checked",reflect:!0})],ve.prototype,"ariaChecked",void 0);Ut([(0,mt.property)({type:Boolean})],ve.prototype,"disabled",void 0);Ut([(0,mt.property)({reflect:!0,attribute:"role"})],ve.prototype,"role",void 0);Ut([(0,mt.query)(".ft-radio")],ve.prototype,"container",void 0);Ut([(0,mt.query)("ft-ripple")],ve.prototype,"ripple",void 0);Ut([(0,mt.query)("input")],ve.prototype,"input",void 0);var Is=u(O()),Ht=u(Y()),Bs=u(R());var Ls=u(R());var Ps=Ls.css`
1283
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Jr(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Jr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};xe.elementDefinitions={"ft-ripple":T,"ft-typography":q};xe.styles=Rs;Ut([(0,yt.property)()],xe.prototype,"value",void 0);Ut([(0,yt.property)()],xe.prototype,"name",void 0);Ut([(0,yt.property)({type:Boolean,reflect:!0})],xe.prototype,"checked",void 0);Ut([(0,yt.property)({attribute:"aria-checked",reflect:!0})],xe.prototype,"ariaChecked",void 0);Ut([(0,yt.property)({type:Boolean})],xe.prototype,"disabled",void 0);Ut([(0,yt.property)({reflect:!0,attribute:"role"})],xe.prototype,"role",void 0);Ut([(0,yt.query)(".ft-radio")],xe.prototype,"container",void 0);Ut([(0,yt.query)("ft-ripple")],xe.prototype,"ripple",void 0);Ut([(0,yt.query)("input")],xe.prototype,"input",void 0);var Is=h(w()),Ht=h(Y()),Bs=h(N());var As=h(N());var Ps=As.css`
1063
1284
  :host {
1064
1285
  display: block;
1065
1286
  }
@@ -1067,12 +1288,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1067
1288
  :host(:focus-visible) {
1068
1289
  outline: none;
1069
1290
  }
1070
- `;var Zo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},We=class extends Is.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return Bs.html`
1291
+ `;var Zo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Me=class extends Is.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return Bs.html`
1071
1292
  <slot @slotchange=${this.onSlotChange}
1072
1293
  @change=${this.onChange}
1073
1294
  @keydown=${this.onKeyDown}
1074
1295
  ></slot>
1075
- `}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(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!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":{o=!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()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};We.elementDefinitions={};We.styles=Ps;Zo([(0,Ht.property)()],We.prototype,"name",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Zo([(0,Ht.property)({reflect:!0})],We.prototype,"tabIndex",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"aria-labelledby"})],We.prototype,"ariaLabelledBy",void 0);Zo([(0,Ht.queryAssignedElements)()],We.prototype,"radioButtons",void 0);Zo([(0,Ht.state)()],We.prototype,"currentSelectedIndex",void 0);(0,rn.customElement)("ft-radio")(ve);(0,rn.customElement)("ft-radio-group")(We);var Ds=u(R()),ae=u(O());var Qr={borderRadiusM:ae.FtCssVariableFactory.external(ae.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ae.FtCssVariableFactory.external(Oe.fontFamily,"Body2 typography"),fontSize:ae.FtCssVariableFactory.external(Oe.fontSize,"Body2 typography"),fontWeight:ae.FtCssVariableFactory.external(Oe.fontWeight,"Body2 typography"),letterSpacing:ae.FtCssVariableFactory.external(Oe.letterSpacing,"Body2 typography"),lineHeight:ae.FtCssVariableFactory.external(Oe.lineHeight,"Body2 typography"),textTransform:ae.FtCssVariableFactory.external(Oe.textTransform,"Body2 typography")},_s=Ds.css`
1296
+ `}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(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.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&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Me.elementDefinitions={};Me.styles=Ps;Zo([(0,Ht.property)()],Me.prototype,"name",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"role"})],Me.prototype,"role",void 0);Zo([(0,Ht.property)({reflect:!0})],Me.prototype,"tabIndex",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"aria-labelledby"})],Me.prototype,"ariaLabelledBy",void 0);Zo([(0,Ht.queryAssignedElements)()],Me.prototype,"radioButtons",void 0);Zo([(0,Ht.state)()],Me.prototype,"currentSelectedIndex",void 0);(0,rn.customElement)("ft-radio")(xe);(0,rn.customElement)("ft-radio-group")(Me);var Ds=h(N()),le=h(w());var Qr={borderRadiusM:le.FtCssVariableFactory.external(le.designSystemVariables.borderRadiusM,"Design system"),colorOutline:le.FtCssVariableFactory.external(le.designSystemVariables.colorOutline,"Design system"),colorOnSurface:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:le.FtCssVariableFactory.external(le.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:le.FtCssVariableFactory.external(Ce.fontFamily,"Body2 typography"),fontSize:le.FtCssVariableFactory.external(Ce.fontSize,"Body2 typography"),fontWeight:le.FtCssVariableFactory.external(Ce.fontWeight,"Body2 typography"),letterSpacing:le.FtCssVariableFactory.external(Ce.letterSpacing,"Body2 typography"),lineHeight:le.FtCssVariableFactory.external(Ce.lineHeight,"Body2 typography"),textTransform:le.FtCssVariableFactory.external(Ce.textTransform,"Body2 typography")},Fs=Ds.css`
1076
1297
  .ft-filter-level--container {
1077
1298
  display: flex;
1078
1299
  flex-direction: column;
@@ -1122,7 +1343,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1122
1343
  }
1123
1344
 
1124
1345
  ft-button {
1125
- ${(0,ae.setVariable)(W.color,Qr.colorOnSurface)};
1346
+ ${(0,le.setVariable)(U.color,Qr.colorOnSurface)};
1126
1347
  }
1127
1348
 
1128
1349
  ft-radio, ft-checkbox {
@@ -1138,7 +1359,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1138
1359
  margin: 10px 0;
1139
1360
  color: ${Qr.colorOnSurfaceMedium};
1140
1361
  }
1141
- `;var Pe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},fe=class extends ei.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 e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,o;return(o=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&o!==void 0?o:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let o=e.slice(0,this.limit);return Ye.html`
1362
+ `;var Pe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ue=class extends ei.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 e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return Ye.html`
1142
1363
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1143
1364
  ${this.parent==null?null:Ye.html`
1144
1365
  <div tabindex="0"
@@ -1159,7 +1380,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1159
1380
  ${this.noValuesLabel}
1160
1381
  </ft-typography>
1161
1382
  `:Ye.nothing}
1162
- ${(0,zs.repeat)(o,i=>i.value,i=>{var n;return Ye.html`
1383
+ ${(0,_s.repeat)(r,i=>i.value,i=>{var n;return Ye.html`
1163
1384
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1164
1385
  ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1165
1386
  ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Ye.nothing:Ye.html`
@@ -1172,7 +1393,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1172
1393
  `}
1173
1394
  </div>
1174
1395
  `})}
1175
- ${o.length<e.length?Ye.html`
1396
+ ${r.length<e.length?Ye.html`
1176
1397
  <ft-button
1177
1398
  class="ft-filter-level--display-more"
1178
1399
  icon="thin_arrow"
@@ -1183,13 +1404,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1183
1404
  </ft-button>
1184
1405
  `:Ye.nothing}
1185
1406
  </div>
1186
- `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var o;return Ye.html`
1407
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var r;return Ye.html`
1187
1408
  <ft-checkbox name="${this.filterId}"
1188
1409
  part="multivalued-option"
1189
1410
  data-value="${e.value}"
1190
1411
  .checked=${e.selected}
1191
1412
  .disabled=${this.disabled}
1192
- .indeterminate=${(0,ei.flatDeep)((o=e.subOptions)!==null&&o!==void 0?o:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1413
+ .indeterminate=${(0,ei.flatDeep)((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1193
1414
  @change=${i=>this.optionsChanged(i,e)}>
1194
1415
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1195
1416
  </ft-checkbox>
@@ -1200,11 +1421,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1200
1421
  value="${e.value}"
1201
1422
  .checked=${e.selected}
1202
1423
  .disabled=${this.disabled}
1203
- @keydown=${o=>this.onRadioKeyDown(o,e)}
1204
- @change=${o=>this.optionsChanged(o,e)}>
1424
+ @keydown=${r=>this.onRadioKeyDown(r,e)}
1425
+ @change=${r=>this.optionsChanged(r,e)}>
1205
1426
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1206
1427
  </ft-radio>
1207
- `}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};fe.elementDefinitions={"ft-button":be,"ft-ripple":F,"ft-typography":q,"ft-checkbox":Le,"ft-icon":ne,"ft-radio":ve};fe.styles=_s;Pe([(0,Se.property)({type:String})],fe.prototype,"filterId",void 0);Pe([(0,Se.property)({type:Object})],fe.prototype,"parent",void 0);Pe([(0,Se.property)({type:Array})],fe.prototype,"options",void 0);Pe([(0,Se.property)({type:Boolean})],fe.prototype,"multivalued",void 0);Pe([(0,Se.property)({type:Boolean})],fe.prototype,"disabled",void 0);Pe([(0,Se.property)({type:Boolean})],fe.prototype,"hideSelectedOptions",void 0);Pe([(0,Se.property)({type:Boolean})],fe.prototype,"displayCount",void 0);Pe([(0,Se.property)({type:Boolean})],fe.prototype,"preventNavigation",void 0);Pe([(0,Se.property)({type:String})],fe.prototype,"filter",void 0);Pe([(0,Se.property)({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Pe([(0,Se.property)({type:String})],fe.prototype,"noValuesLabel",void 0);Pe([(0,Se.property)({type:Number})],fe.prototype,"displayedValuesLimit",void 0);Pe([(0,Se.query)(".ft-filter-level--container")],fe.prototype,"container",void 0);Pe([(0,Se.state)()],fe.prototype,"radios",void 0);Pe([(0,Se.state)()],fe.prototype,"displayedPages",void 0);var Us=u(O());var Ms=u(R()),Xe=u(Y()),Oo=u(O());var Ws=u(lt());var Fs=u(R()),gt=u(O());var Ie={buttonsColor:gt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",gt.designSystemVariables.colorPrimary),buttonsZIndex:gt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:gt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:gt.FtCssVariableFactory.external(gt.designSystemVariables.colorSurface,"Design system")},Ts=Fs.css`
1428
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ue.elementDefinitions={"ft-button":ve,"ft-ripple":T,"ft-typography":q,"ft-checkbox":Ae,"ft-icon":ae,"ft-radio":xe};ue.styles=Fs;Pe([(0,Oe.property)({type:String})],ue.prototype,"filterId",void 0);Pe([(0,Oe.property)({type:Object})],ue.prototype,"parent",void 0);Pe([(0,Oe.property)({type:Array})],ue.prototype,"options",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"multivalued",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"disabled",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"hideSelectedOptions",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"displayCount",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"preventNavigation",void 0);Pe([(0,Oe.property)({type:String})],ue.prototype,"filter",void 0);Pe([(0,Oe.property)({type:String})],ue.prototype,"moreValuesButtonLabel",void 0);Pe([(0,Oe.property)({type:String})],ue.prototype,"noValuesLabel",void 0);Pe([(0,Oe.property)({type:Number})],ue.prototype,"displayedValuesLimit",void 0);Pe([(0,Oe.query)(".ft-filter-level--container")],ue.prototype,"container",void 0);Pe([(0,Oe.state)()],ue.prototype,"radios",void 0);Pe([(0,Oe.state)()],ue.prototype,"displayedPages",void 0);var Us=h(w());var Ws=h(N()),Xe=h(Y()),Oo=h(w());var Ms=h(lt());var zs=h(N()),mt=h(w());var Ie={buttonsColor:mt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",mt.designSystemVariables.colorPrimary),buttonsZIndex:mt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:mt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:mt.FtCssVariableFactory.external(mt.designSystemVariables.colorSurface,"Design system")},Ts=zs.css`
1208
1429
  .ft-snap-scroll {
1209
1430
  box-sizing: border-box;
1210
1431
  position: relative;
@@ -1285,8 +1506,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1285
1506
  z-index: ${Ie.buttonsZIndex};
1286
1507
  opacity: 1;
1287
1508
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1288
- ${(0,gt.setVariable)(W.backgroundColor,"transparent")};
1289
- ${(0,gt.setVariable)(W.color,Ie.buttonsColor)};
1509
+ ${(0,mt.setVariable)(U.backgroundColor,"transparent")};
1510
+ ${(0,mt.setVariable)(U.color,Ie.buttonsColor)};
1290
1511
  }
1291
1512
 
1292
1513
  .ft-snap-scroll--previous[hidden],
@@ -1329,15 +1550,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1329
1550
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1330
1551
  background-color: ${Ie.colorSurface};
1331
1552
  }
1332
- `;var Et=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},nn=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},ge=class extends Oo.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 Oo.Debouncer(200),this.updateScrollDebouncer=new Oo.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let o=this.elements[e];if(o){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<n||o[this.offsetAttribute]+o[this.sizeAttribute]>i)&&this.scrollToElement(o)}}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 e=(0,Ws.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":Oo.isSafari}),o=this.controls&&this.withScroll;return Ms.html`
1553
+ `;var Et=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},nn=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},be=class extends Oo.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 Oo.Debouncer(200),this.updateScrollDebouncer=new Oo.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];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 e=(0,Ms.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":Oo.isSafari}),r=this.controls&&this.withScroll;return Ws.html`
1333
1554
  <div part="container" class="${e}">
1334
1555
  <ft-button
1335
1556
  class="ft-snap-scroll--previous"
1336
1557
  part="controls"
1337
1558
  primary
1338
1559
  icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1339
- ?hidden=${!o||this.startReached}
1340
- ?disabled=${!o||this.startReached}
1560
+ ?hidden=${!r||this.startReached}
1561
+ ?disabled=${!r||this.startReached}
1341
1562
  @click=${this.previous}
1342
1563
  ></ft-button>
1343
1564
  <slot class="ft-snap-scroll--content"
@@ -1348,12 +1569,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1348
1569
  part="controls"
1349
1570
  primary
1350
1571
  icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1351
- ?hidden=${!o||this.endReached}
1352
- ?disabled=${!o||this.endReached}
1572
+ ?hidden=${!r||this.endReached}
1573
+ ?disabled=${!r||this.endReached}
1353
1574
  @click=${this.next}
1354
1575
  ></ft-button>
1355
1576
  </div>
1356
- `}update(e){super.update(e),e.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")),e.has("currentElement")&&this.dispatchEvent(new nn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,i;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);return e}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 e=this.elements[0];return e?e[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(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};ge.elementDefinitions={"ft-button":be};ge.styles=Ts;Et([(0,Xe.property)({type:Boolean})],ge.prototype,"horizontal",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"hideScrollbar",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"controls",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"limitSize",void 0);Et([(0,Xe.state)()],ge.prototype,"elements",void 0);Et([(0,Xe.state)()],ge.prototype,"currentElement",void 0);Et([(0,Xe.state)()],ge.prototype,"withScroll",void 0);Et([(0,Xe.state)()],ge.prototype,"startReached",void 0);Et([(0,Xe.state)()],ge.prototype,"endReached",void 0);Et([(0,Xe.query)(".ft-snap-scroll--content")],ge.prototype,"contentSlot",void 0);(0,Us.customElement)("ft-snap-scroll")(ge);var Hs=u(R()),ee=u(O());var Ue={colorOutline:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorPrimary,"Design system"),colorSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorSurface,"Design system"),transitionDuration:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ee.FtCssVariableFactory.extend("--ft-filter-label-color","",ee.designSystemVariables.colorOnSurface),labelFontSize:ee.FtCssVariableFactory.extend("--ft-filter-label-font-size","",w.fontSize,"16px")},Vs=[qt,ee.noTextInputDefaultClearButton,Hs.css`
1577
+ `}update(e){super.update(e),e.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")),e.has("currentElement")&&this.dispatchEvent(new nn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),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 e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}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 e=this.elements[0];return e?e[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(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};be.elementDefinitions={"ft-button":ve};be.styles=Ts;Et([(0,Xe.property)({type:Boolean})],be.prototype,"horizontal",void 0);Et([(0,Xe.property)({type:Boolean})],be.prototype,"hideScrollbar",void 0);Et([(0,Xe.property)({type:Boolean})],be.prototype,"controls",void 0);Et([(0,Xe.property)({type:Boolean})],be.prototype,"limitSize",void 0);Et([(0,Xe.state)()],be.prototype,"elements",void 0);Et([(0,Xe.state)()],be.prototype,"currentElement",void 0);Et([(0,Xe.state)()],be.prototype,"withScroll",void 0);Et([(0,Xe.state)()],be.prototype,"startReached",void 0);Et([(0,Xe.state)()],be.prototype,"endReached",void 0);Et([(0,Xe.query)(".ft-snap-scroll--content")],be.prototype,"contentSlot",void 0);(0,Us.customElement)("ft-snap-scroll")(be);var Hs=h(N()),ee=h(w());var Ue={colorOutline:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorPrimary,"Design system"),colorSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorSurface,"Design system"),transitionDuration:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ee.FtCssVariableFactory.extend("--ft-filter-label-color","",ee.designSystemVariables.colorOnSurface),labelFontSize:ee.FtCssVariableFactory.extend("--ft-filter-label-font-size","",$.fontSize,"16px")},Vs=[qt,ee.noTextInputDefaultClearButton,Hs.css`
1357
1578
  :host {
1358
1579
  display: flex;
1359
1580
  max-height: 100%;
@@ -1381,7 +1602,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1381
1602
  .ft-filter--header ft-button {
1382
1603
  flex-shrink: 0;
1383
1604
  margin-left: auto;
1384
- ${(0,ee.setVariable)(W.iconSize,"18px")};
1605
+ ${(0,ee.setVariable)(U.iconSize,"18px")};
1385
1606
  }
1386
1607
 
1387
1608
  .filter-label {
@@ -1395,8 +1616,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1395
1616
  word-break: break-word;
1396
1617
  color: ${Ue.labelColor};
1397
1618
  font-size: ${Ue.labelFontSize};
1398
- ${(0,ee.setVariable)(w.lineHeight,"22px")};
1399
- ${(0,ee.setVariable)(w.fontWeight,"bold")};
1619
+ ${(0,ee.setVariable)($.lineHeight,"22px")};
1620
+ ${(0,ee.setVariable)($.fontWeight,"bold")};
1400
1621
  }
1401
1622
 
1402
1623
  .ft-filter--filter {
@@ -1470,7 +1691,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1470
1691
  slot:not([name]) {
1471
1692
  display: none;
1472
1693
  }
1473
- `];var le=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},an=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends st.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 st.Debouncer(300),this.changeDebouncer=new st.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,st.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,st.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Co.html`
1694
+ `];var se=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},an=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends st.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 st.Debouncer(300),this.changeDebouncer=new st.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,st.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,st.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Co.html`
1474
1695
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1475
1696
  part="container">
1476
1697
  ${!this.label&&!e?null:Co.html`
@@ -1489,13 +1710,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1489
1710
  `:null}
1490
1711
  </div>
1491
1712
  `}
1492
- <div class="ft-filter--filter" ?hidden=${!o}>
1713
+ <div class="ft-filter--filter" ?hidden=${!r}>
1493
1714
  <input type="search"
1494
1715
  part="input"
1495
1716
  class="ft-typography--caption"
1496
- ?disabled=${!o}
1717
+ ?disabled=${!r}
1497
1718
  placeholder="${i}"
1498
- size="${o?i.length:0}"
1719
+ size="${r?i.length:0}"
1499
1720
  @search=${this.onFilterChange}
1500
1721
  @keyup=${this.onFilterChange}>
1501
1722
  </div>
@@ -1506,15 +1727,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1506
1727
  @slotchange=${this.updateOptionsFromSlot}
1507
1728
  @option-change=${this.optionsChanged}></slot>
1508
1729
  </div>
1509
- `}update(e){if(super.update(e),e.has("options")){let o=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>o.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var o,i,n,a,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(o=this.levelsContainer)===null||o===void 0||o.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var s;(s=this.levelsContainer)===null||s===void 0||s.next(),this.slideIn=void 0},0),e.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 e=this.flatOptions,o=e.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 Co.html`
1510
- ${this.raiseSelectedOptions&&o.length>0?Co.html`
1730
+ `}update(e){if(super.update(e),e.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(e){var r,i,n,a,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),e.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 e=this.flatOptions,r=e.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 Co.html`
1731
+ ${this.raiseSelectedOptions&&r.length>0?Co.html`
1511
1732
  <ft-filter-level
1512
1733
  filterId="${this.id}"
1513
1734
  ?multivalued=${this.multivalued}
1514
1735
  ?disabled=${this.disabled}
1515
1736
  ?displayCount="${this.displayCount}"
1516
1737
  preventNavigation
1517
- .options=${o}
1738
+ .options=${r}
1518
1739
  @change=${this.onChange}
1519
1740
  part="values selected-values"
1520
1741
  .exportpartsPrefixes=${["values","selected-values"]}
@@ -1525,9 +1746,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1525
1746
  class="ft-filter--levels"
1526
1747
  @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1527
1748
  ${this.renderLevel(n,this.options)}
1528
- ${this.displayedLevels.map(a=>e.find(l=>l.value===a)).map((a,l)=>{var s;let d=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(d,(s=a?.subOptions)!==null&&s!==void 0?s:[],a)})}
1749
+ ${this.displayedLevels.map(a=>e.find(l=>l.value===a)).map((a,l)=>{var c;let p=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(p,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
1529
1750
  </ft-snap-scroll>
1530
- `}renderLevel(e,o,i){return Co.html`
1751
+ `}renderLevel(e,r,i){return Co.html`
1531
1752
  <ft-filter-level
1532
1753
  class="${e}"
1533
1754
  filterId="${this.id}"
@@ -1538,7 +1759,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1538
1759
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1539
1760
  ?displayCount="${this.displayCount}"
1540
1761
  .parent=${i}
1541
- .options=${o}
1762
+ .options=${r}
1542
1763
  .displayedValuesLimit=${this.displayedValuesLimit}
1543
1764
  @change=${this.onChange}
1544
1765
  @go-back=${this.goBack}
@@ -1547,17 +1768,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1547
1768
  .exportpartsPrefixes=${["values","available-values"]}
1548
1769
  noValuesLabel="${this.noValuesLabel}"
1549
1770
  ></ft-filter-level>
1550
- `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var o;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.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?(o=i.subOptions)===null||o===void 0||o.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,st.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new an(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":be,"ft-filter-level":fe,"ft-snap-scroll":ge,"ft-typography":q};K.styles=Vs;le([(0,X.property)({type:String})],K.prototype,"id",void 0);le([(0,X.property)({type:String})],K.prototype,"label",void 0);le([(0,X.property)({type:String})],K.prototype,"filterPlaceHolder",void 0);le([(0,X.property)({type:String})],K.prototype,"clearButtonLabel",void 0);le([(0,X.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);le([(0,X.property)({type:String})],K.prototype,"noValuesLabel",void 0);le([(0,st.jsonProperty)([])],K.prototype,"options",void 0);le([(0,X.property)({type:Boolean})],K.prototype,"multivalued",void 0);le([(0,X.property)({type:Boolean})],K.prototype,"disabled",void 0);le([(0,X.property)({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);le([(0,X.property)({type:Boolean})],K.prototype,"displayCount",void 0);le([(0,X.property)({type:Number})],K.prototype,"displayedValuesLimit",void 0);le([(0,X.property)({type:Boolean})],K.prototype,"hideClearButton",void 0);le([(0,X.query)(".ft-filter--slot")],K.prototype,"slotElement",void 0);le([(0,X.query)(".ft-filter--container")],K.prototype,"container",void 0);le([(0,X.query)(".ft-filter--values")],K.prototype,"valuesContainer",void 0);le([(0,X.query)(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);le([(0,X.state)()],K.prototype,"lastLevelHasHiddenvalues",void 0);le([(0,X.query)(".ft-filter--filter input")],K.prototype,"filterInput",void 0);le([(0,X.queryAll)(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);le([(0,X.state)()],K.prototype,"withScroll",void 0);le([(0,X.state)()],K.prototype,"filter",void 0);le([(0,X.state)()],K.prototype,"slideIn",void 0);le([(0,X.state)()],K.prototype,"slideOut",void 0);var ti=u(O()),wo=u(Y()),js=u(R()),qo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Je=class extends ti.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return js.html`
1771
+ `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.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 e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,st.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new an(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":ve,"ft-filter-level":ue,"ft-snap-scroll":be,"ft-typography":q};K.styles=Vs;se([(0,X.property)({type:String})],K.prototype,"id",void 0);se([(0,X.property)({type:String})],K.prototype,"label",void 0);se([(0,X.property)({type:String})],K.prototype,"filterPlaceHolder",void 0);se([(0,X.property)({type:String})],K.prototype,"clearButtonLabel",void 0);se([(0,X.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);se([(0,X.property)({type:String})],K.prototype,"noValuesLabel",void 0);se([(0,st.jsonProperty)([])],K.prototype,"options",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"multivalued",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"disabled",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"displayCount",void 0);se([(0,X.property)({type:Number})],K.prototype,"displayedValuesLimit",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"hideClearButton",void 0);se([(0,X.query)(".ft-filter--slot")],K.prototype,"slotElement",void 0);se([(0,X.query)(".ft-filter--container")],K.prototype,"container",void 0);se([(0,X.query)(".ft-filter--values")],K.prototype,"valuesContainer",void 0);se([(0,X.query)(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);se([(0,X.state)()],K.prototype,"lastLevelHasHiddenvalues",void 0);se([(0,X.query)(".ft-filter--filter input")],K.prototype,"filterInput",void 0);se([(0,X.queryAll)(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);se([(0,X.state)()],K.prototype,"withScroll",void 0);se([(0,X.state)()],K.prototype,"filter",void 0);se([(0,X.state)()],K.prototype,"slideIn",void 0);se([(0,X.state)()],K.prototype,"slideOut",void 0);var ti=h(w()),wo=h(Y()),js=h(N()),qo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Je=class extends ti.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return js.html`
1551
1772
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1552
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};qo([(0,wo.property)({type:String})],Je.prototype,"label",void 0);qo([(0,wo.property)({type:Object,converter:t=>t})],Je.prototype,"value",void 0);qo([(0,wo.property)({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);qo([(0,wo.property)({type:Object})],Je.prototype,"subOptions",void 0);qo([(0,ti.jsonProperty)({})],Je.prototype,"renderOption",void 0);qo([(0,wo.query)(".ft-filter-option--slot")],Je.prototype,"slotElement",void 0);(0,ln.customElement)("ft-filter")(K);(0,ln.customElement)("ft-filter-option")(Je);var sn=u(O());var qs=u(R()),oi=u(Y()),Ys=u(O());var Gs=u(R());var Ks=Gs.css`
1773
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};qo([(0,wo.property)({type:String})],Je.prototype,"label",void 0);qo([(0,wo.property)({type:Object,converter:t=>t})],Je.prototype,"value",void 0);qo([(0,wo.property)({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);qo([(0,wo.property)({type:Object})],Je.prototype,"subOptions",void 0);qo([(0,ti.jsonProperty)({})],Je.prototype,"renderOption",void 0);qo([(0,wo.query)(".ft-filter-option--slot")],Je.prototype,"slotElement",void 0);(0,ln.customElement)("ft-filter")(K);(0,ln.customElement)("ft-filter-option")(Je);var sn=h(w());var qs=h(N()),oi=h(Y()),Ys=h(w());var Gs=h(N());var Ks=Gs.css`
1553
1774
  .ft-accordion {
1554
1775
  box-sizing: border-box;
1555
1776
  }
1556
- `;var Zs=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},$t=class extends Ys.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return qs.html`
1777
+ `;var Zs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$t=class extends Ys.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return qs.html`
1557
1778
  <div class="ft-accordion">
1558
1779
  <slot @activated=${this.onChange}></slot>
1559
1780
  </div>
1560
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===e.target)}};$t.elementDefinitions={};$t.styles=Ks;Zs([(0,oi.property)({type:Boolean})],$t.prototype,"multi",void 0);Zs([(0,oi.query)("slot")],$t.prototype,"content",void 0);var br=u(R()),vr=u(Y()),Qs=u(O());var Xs=u(R()),$o=u(O()),Eo={horizontalSpacing:$o.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:$o.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:$o.FtCssVariableFactory.external($o.designSystemVariables.colorOutline,"Design system"),backgroundColor:$o.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Js=Xs.css`
1781
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};$t.elementDefinitions={};$t.styles=Ks;Zs([(0,oi.property)({type:Boolean})],$t.prototype,"multi",void 0);Zs([(0,oi.query)("slot")],$t.prototype,"content",void 0);var gr=h(N()),vr=h(Y()),Qs=h(w());var Xs=h(N()),$o=h(w()),Eo={horizontalSpacing:$o.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:$o.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:$o.FtCssVariableFactory.external($o.designSystemVariables.colorOutline,"Design system"),backgroundColor:$o.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Js=Xs.css`
1561
1782
  .ft-accordion-item {
1562
1783
  display: flex;
1563
1784
  flex-direction: column;
@@ -1603,7 +1824,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1603
1824
  .ft-accordion-item--separator {
1604
1825
  border-bottom: 1px solid ${Eo.colorOutline};
1605
1826
  }
1606
- `;var ri=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ct=class extends Qs.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return br.html`
1827
+ `;var ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ct=class extends Qs.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return gr.html`
1607
1828
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1608
1829
  <div class="ft-accordion-item--toggle"
1609
1830
  part="toggle"
@@ -1614,13 +1835,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1614
1835
  aria-controls="ft-accordion-item-content"
1615
1836
  aria-expanded="${this.active}">
1616
1837
  <ft-ripple part="toggle-ripple"></ft-ripple>
1617
- ${this.icon?br.html`
1838
+ ${this.icon?gr.html`
1618
1839
  <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
1619
1840
  `:null}
1620
- ${this.label?br.html`
1841
+ ${this.label?gr.html`
1621
1842
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
1622
1843
  </ft-typography>
1623
- `:br.html`
1844
+ `:gr.html`
1624
1845
  <slot class="ft-accordion-item--label" name="toggle" part="label"></slot>
1625
1846
  `}
1626
1847
  <ft-icon variant="material">${this.active?"expand_less":"expand_more"}</ft-icon>
@@ -1633,7 +1854,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1633
1854
  </div>
1634
1855
  <div class="ft-accordion-item--separator" part="separator"></div>
1635
1856
  </div>
1636
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":F,"ft-typography":q,"ft-icon":ne};ct.styles=Js;ri([(0,vr.property)()],ct.prototype,"icon",void 0);ri([(0,vr.property)()],ct.prototype,"iconVariant",void 0);ri([(0,vr.property)()],ct.prototype,"label",void 0);ri([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,sn.customElement)("ft-accordion")($t);(0,sn.customElement)("ft-accordion-item")(ct);var fn=u(O());var ni=u(R()),De=u(Y()),ic=u(lt()),li=u(O());var ii=u(R()),T=u(O());var ec=T.FtCssVariableFactory.extend("--ft-chip-color","",T.designSystemVariables.colorOnSurface),Be={backgroundColor:T.FtCssVariableFactory.extend("--ft-chip-background-color","",T.designSystemVariables.colorSurface),color:ec,fontSize:T.FtCssVariableFactory.extend("--ft-chip-font-size","",Oe.fontSize),iconSize:T.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:T.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:T.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ec),horizontalPadding:T.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:T.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:T.FtCssVariableFactory.external(T.designSystemVariables.colorOutline,"Design system"),opacityDisabled:T.FtCssVariableFactory.external(T.designSystemVariables.colorOpacityDisabled,"Design system")},tc=T.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",T.FtCssVariableFactory.extend("--ft-chip-color","",T.designSystemVariables.colorOnPrimary)),cn={backgroundColor:T.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",T.FtCssVariableFactory.extend("--ft-chip-background-color","",T.designSystemVariables.colorPrimary)),color:tc,rippleColor:T.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tc)},oc={horizontalPadding:T.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:T.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rc=[T.noTextSelect,ii.css`
1857
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae};ct.styles=Js;ri([(0,vr.property)()],ct.prototype,"icon",void 0);ri([(0,vr.property)()],ct.prototype,"iconVariant",void 0);ri([(0,vr.property)()],ct.prototype,"label",void 0);ri([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,sn.customElement)("ft-accordion")($t);(0,sn.customElement)("ft-accordion-item")(ct);var fn=h(w());var ni=h(N()),De=h(Y()),ic=h(lt()),li=h(w());var ii=h(N()),W=h(w());var ec=W.FtCssVariableFactory.extend("--ft-chip-color","",W.designSystemVariables.colorOnSurface),Be={backgroundColor:W.FtCssVariableFactory.extend("--ft-chip-background-color","",W.designSystemVariables.colorSurface),color:ec,fontSize:W.FtCssVariableFactory.extend("--ft-chip-font-size","",Ce.fontSize),iconSize:W.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:W.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:W.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ec),horizontalPadding:W.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:W.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:W.FtCssVariableFactory.extend("--ft-chip-border-color","",W.designSystemVariables.colorOutline),opacityDisabled:W.FtCssVariableFactory.external(W.designSystemVariables.colorOpacityDisabled,"Design system")},tc=W.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",W.FtCssVariableFactory.extend("--ft-chip-color","",W.designSystemVariables.colorOnPrimary)),cn={backgroundColor:W.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",W.FtCssVariableFactory.extend("--ft-chip-background-color","",W.designSystemVariables.colorPrimary)),color:tc,rippleColor:W.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tc)},oc={horizontalPadding:W.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:W.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rc=[W.noTextSelect,ii.css`
1637
1858
  :host {
1638
1859
  display: inline-block;
1639
1860
  max-width: 100%;
@@ -1651,15 +1872,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1651
1872
 
1652
1873
  --ft-chip-internal-font-size: ${Be.fontSize};
1653
1874
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1654
- ${(0,T.setVariable)(ce.size,Be.iconSize)};
1875
+ ${(0,W.setVariable)(de.size,Be.iconSize)};
1655
1876
  --ft-chip-internal-vertical-padding: ${Be.verticalPadding};
1656
1877
  --ft-chip-internal-horizontal-padding: ${Be.horizontalPadding};
1657
1878
  --ft-chip-internal-icon-padding: 3px;
1658
1879
  --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Be.iconSize});
1659
1880
 
1660
- border: 1px solid ${Be.colorOutline};
1881
+ border: 1px solid ${Be.borderColor};
1661
1882
  color: ${Be.color};
1662
- ${(0,T.setVariable)(_.color,Be.rippleColor)};
1883
+ ${(0,W.setVariable)(O.color,Be.rippleColor)};
1663
1884
  border-radius: var(${(0,ii.unsafeCSS)(Be.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1664
1885
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1665
1886
  background-color: ${Be.backgroundColor};
@@ -1692,17 +1913,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1692
1913
  border: none;
1693
1914
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1694
1915
  background-color: ${cn.backgroundColor};
1695
- ${(0,T.setVariable)(_.color,cn.rippleColor)};
1916
+ ${(0,W.setVariable)(O.color,cn.rippleColor)};
1696
1917
  color: ${cn.color};
1697
1918
  }
1698
1919
 
1699
1920
  .ft-chip--clickable {
1700
1921
  cursor: pointer;
1701
- -webkit-mask-image: radial-gradient(white, black);
1922
+ overflow: hidden
1702
1923
  }
1703
1924
 
1704
1925
  .ft-chip:focus {
1705
- outline: none;
1926
+ outline: 2px solid var(--ft-color-primary, #2196F3);
1927
+ outline-offset: 2px;
1706
1928
  }
1707
1929
 
1708
1930
  .ft-chip--icon-container {
@@ -1723,9 +1945,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1723
1945
  }
1724
1946
 
1725
1947
  .ft-chip--icon-button {
1726
- ${(0,T.setVariable)(W.iconSize,Be.iconSize)};
1727
- ${(0,T.setVariable)(W.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1728
- ${(0,T.setVariable)(W.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1948
+ ${(0,W.setVariable)(U.iconSize,Be.iconSize)};
1949
+ ${(0,W.setVariable)(U.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1950
+ ${(0,W.setVariable)(U.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1729
1951
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1730
1952
  }
1731
1953
 
@@ -1733,8 +1955,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1733
1955
  vertical-align: bottom;
1734
1956
  display: block;
1735
1957
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1736
- ${(0,T.setVariable)(Oe.fontSize,"var(--ft-chip-internal-font-size)")};
1737
- ${(0,T.setVariable)(Oe.lineHeight,"var(--ft-chip-internal-content-height)")};
1958
+ ${(0,W.setVariable)(Ce.fontSize,"var(--ft-chip-internal-font-size)")};
1959
+ ${(0,W.setVariable)(Ce.lineHeight,"var(--ft-chip-internal-content-height)")};
1738
1960
  }
1739
1961
 
1740
1962
  .ft-chip--safari-fix .ft-chip--label {
@@ -1770,7 +1992,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1770
1992
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1771
1993
  order: -1;
1772
1994
  }
1773
- `];var Qe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ai=class extends CustomEvent{constructor(){super("icon-click")}},ue=class extends li.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":li.isSafari};return ni.html`
1995
+ `];var Qe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ai=class extends CustomEvent{constructor(){super("icon-click")}},he=class extends li.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":li.isSafari};return ni.html`
1774
1996
  <div class="${(0,ic.classMap)(e)}"
1775
1997
  aria-label="${this.getLabel()}"
1776
1998
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -1796,7 +2018,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1796
2018
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1797
2019
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1798
2020
  </div>
1799
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ai))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ai))}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};ue.elementDefinitions={"ft-ripple":F,"ft-typography":q,"ft-icon":ne,"ft-button":be};ue.styles=rc;Qe([(0,De.property)({type:Boolean})],ue.prototype,"highlighted",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"removable",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"disabled",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"clickable",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"iconClickable",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"dense",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"multiLine",void 0);Qe([(0,De.property)()],ue.prototype,"label",void 0);Qe([(0,De.property)()],ue.prototype,"iconLabel",void 0);Qe([(0,De.property)()],ue.prototype,"icon",void 0);Qe([(0,De.property)()],ue.prototype,"iconVariant",void 0);Qe([(0,De.property)({type:Boolean})],ue.prototype,"trailingIcon",void 0);Qe([(0,De.query)("ft-typography slot")],ue.prototype,"slottedContent",void 0);var Ro=u(R()),No=u(Y()),lc=u(lt()),si=u(O());var nc=u(R());var pn=u(O());var ac=[nc.css`
2021
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ai))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ai))}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};he.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae,"ft-button":ve};he.styles=rc;Qe([(0,De.property)({type:Boolean})],he.prototype,"highlighted",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"removable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"disabled",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"clickable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"iconClickable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"dense",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"multiLine",void 0);Qe([(0,De.property)()],he.prototype,"label",void 0);Qe([(0,De.property)()],he.prototype,"iconLabel",void 0);Qe([(0,De.property)()],he.prototype,"icon",void 0);Qe([(0,De.property)()],he.prototype,"iconVariant",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"trailingIcon",void 0);Qe([(0,De.query)("ft-typography slot")],he.prototype,"slottedContent",void 0);var Ro=h(N()),Lo=h(Y()),lc=h(lt()),si=h(w());var nc=h(N());var dn=h(w());var ac=[nc.css`
1800
2022
  :host {
1801
2023
  display: inline-block;
1802
2024
  max-width: 100%;
@@ -1820,7 +2042,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1820
2042
  border-width: ${M.mediumBorderWidth};
1821
2043
  border-style: solid;
1822
2044
  gap: ${M.mediumGap};
1823
- ${(0,pn.setVariable)(ce.size,M.mediumIconSize)}
2045
+ ${(0,dn.setVariable)(de.size,M.mediumIconSize)}
1824
2046
  }
1825
2047
 
1826
2048
  .ftds--size-medium.ftds-chip--removable {
@@ -1836,7 +2058,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1836
2058
  border-width: ${M.largeBorderWidth};
1837
2059
  border-style: solid;
1838
2060
  gap: ${M.largeGap};
1839
- ${(0,pn.setVariable)(ce.size,M.largeIconSize)}
2061
+ ${(0,dn.setVariable)(de.size,M.largeIconSize)}
1840
2062
  }
1841
2063
 
1842
2064
  .ftds--size-large.ftds-chip--removable {
@@ -1902,7 +2124,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1902
2124
  .ftds--family-error .ftds-chip--icon-container {
1903
2125
  color: ${M.errorIconColor};
1904
2126
  }
1905
- `];var xr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},dn=class extends CustomEvent{constructor(){super("remove")}},yt=class extends si.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Ro.html`
2127
+ `];var xr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pn=class extends CustomEvent{constructor(){super("remove")}},bt=class extends si.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Ro.html`
1906
2128
  <div class="${(0,lc.classMap)(e)}"
1907
2129
  aria-label="${this.getLabel()}"
1908
2130
  part="chip">
@@ -1914,7 +2136,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1914
2136
  </div>
1915
2137
  `}renderIcon(){return this.icon?Ro.html`
1916
2138
  <div class="ftds-chip--icon-container" part="icon-container">
1917
- <ft-icon .variant=${Ae.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
2139
+ <ft-icon .variant=${ke.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
1918
2140
  </div>
1919
2141
  `:Ro.nothing}renderRemoveButton(){return this.removable?Ro.html`
1920
2142
  <ftds-button round
@@ -1926,7 +2148,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1926
2148
  size=${this.resolveButtonSize()}
1927
2149
  part="icon-button"
1928
2150
  ></ftds-button>
1929
- `:Ro.nothing}resolveButtonSize(){switch(this.size){case Ne.large:return Ne.medium;case Ne.medium:case Ne.small:return Ne.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new dn)}typographyVariant(){switch(this.size){case Ne.large:return nt.body2medium;case Ne.medium:return nt.caption1medium;case Ne.small:return nt.caption2medium}}};yt.elementDefinitions={"ft-typography":q,"ft-icon":ne,"ftds-button":ht};yt.styles=ac;xr([(0,No.property)({type:Boolean})],yt.prototype,"removable",void 0);xr([(0,No.property)()],yt.prototype,"removeButtonLabel",void 0);xr([(0,No.property)()],yt.prototype,"label",void 0);xr([(0,No.property)()],yt.prototype,"icon",void 0);xr([(0,No.query)("ft-typography slot")],yt.prototype,"slottedContent",void 0);(0,fn.customElement)("ft-chip")(ue);(0,fn.customElement)("ftds-chip")(yt);var mn=u(O());var Or=u(R()),oe=u(Y()),hn=u(lt()),mc=u(po()),Cr=u(O());var fc=u(O());var un=u(R()),Yo=u(Y()),pc=u(lt()),dc=u(O());var sc=u(R()),te=u(O());var z={fontSize:te.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:te.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:te.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:te.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:te.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:te.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:te.FtCssVariableFactory.extend("--ft-input-label-border-color","",te.designSystemVariables.colorOutline),textColor:te.FtCssVariableFactory.extend("--ft-input-label-text-color","",te.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:te.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",te.designSystemVariables.colorOnSurfaceDisabled),colorSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorSurface,"Design system"),borderRadiusS:te.FtCssVariableFactory.external(te.designSystemVariables.borderRadiusS,"Design system"),colorError:te.FtCssVariableFactory.external(te.designSystemVariables.colorError,"Design system")},cc=sc.css`
2151
+ `:Ro.nothing}resolveButtonSize(){switch(this.size){case Ne.large:return Ne.medium;case Ne.medium:case Ne.small:return Ne.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new pn)}typographyVariant(){switch(this.size){case Ne.large:return nt.body2medium;case Ne.medium:return nt.caption1medium;case Ne.small:return nt.caption2medium}}};bt.elementDefinitions={"ft-typography":q,"ft-icon":ae,"ftds-button":ht};bt.styles=ac;xr([(0,Lo.property)({type:Boolean})],bt.prototype,"removable",void 0);xr([(0,Lo.property)()],bt.prototype,"removeButtonLabel",void 0);xr([(0,Lo.property)()],bt.prototype,"label",void 0);xr([(0,Lo.property)()],bt.prototype,"icon",void 0);xr([(0,Lo.query)("ft-typography slot")],bt.prototype,"slottedContent",void 0);(0,fn.customElement)("ft-chip")(he);(0,fn.customElement)("ftds-chip")(bt);var yn=h(w());var Or=h(N()),oe=h(Y()),hn=h(lt()),yc=h(po()),Cr=h(w());var fc=h(w());var un=h(N()),Yo=h(Y()),dc=h(lt()),pc=h(w());var sc=h(N()),te=h(w());var z={fontSize:te.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:te.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:te.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:te.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:te.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:te.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:te.FtCssVariableFactory.extend("--ft-input-label-border-color","",te.designSystemVariables.colorOutline),textColor:te.FtCssVariableFactory.extend("--ft-input-label-text-color","",te.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:te.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",te.designSystemVariables.colorOnSurfaceDisabled),colorSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorSurface,"Design system"),borderRadiusS:te.FtCssVariableFactory.external(te.designSystemVariables.borderRadiusS,"Design system"),colorError:te.FtCssVariableFactory.external(te.designSystemVariables.colorError,"Design system")},cc=sc.css`
1930
2152
  .ft-input-label {
1931
2153
  position: absolute;
1932
2154
  inset: 0;
@@ -2048,8 +2270,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2048
2270
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2049
2271
  border-top: none;
2050
2272
  }
2051
- `;var Sr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},et=class extends dc.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return un.html`
2052
- <div class="${(0,pc.classMap)(e)}">
2273
+ `;var Sr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},et=class extends pc.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return un.html`
2274
+ <div class="${(0,dc.classMap)(e)}">
2053
2275
  ${this.text?un.html`
2054
2276
  <div class="ft-input-label--text ft-typography--caption">
2055
2277
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -2057,7 +2279,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2057
2279
  </div>
2058
2280
  `:null}
2059
2281
  </div>
2060
- `}};et.elementDefinitions={};et.styles=[qt,cc];Sr([(0,Yo.property)({type:String})],et.prototype,"text",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"raised",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"outlined",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"disabled",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"error",void 0);(0,fc.customElement)("ft-input-label")(et);var uc=u(R()),B=u(O());var U={labelSize:B.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:B.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:B.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:B.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:B.FtCssVariableFactory.extend("--ft-select-selected-option-color","",B.designSystemVariables.colorOnSurface),helperColor:B.FtCssVariableFactory.extend("--ft-select-helper-color","",B.designSystemVariables.colorOnSurfaceMedium),optionsColor:B.FtCssVariableFactory.extend("--ft-select-options-color","",B.designSystemVariables.colorOnSurface),optionsZIndex:B.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:B.FtCssVariableFactory.external(B.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:B.FtCssVariableFactory.external(B.designSystemVariables.borderRadiusS,"Design system"),elevation02:B.FtCssVariableFactory.external(B.designSystemVariables.elevation02,"Design system"),colorError:B.FtCssVariableFactory.external(B.designSystemVariables.colorError,"Design system")},hc=uc.css`
2282
+ `}};et.elementDefinitions={};et.styles=[qt,cc];Sr([(0,Yo.property)({type:String})],et.prototype,"text",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"raised",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"outlined",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"disabled",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"error",void 0);(0,fc.customElement)("ft-input-label")(et);var uc=h(N()),F=h(w());var H={labelSize:F.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:F.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:F.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:F.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:F.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:F.FtCssVariableFactory.extend("--ft-select-selected-option-color","",F.designSystemVariables.colorOnSurface),helperColor:F.FtCssVariableFactory.extend("--ft-select-helper-color","",F.designSystemVariables.colorOnSurfaceMedium),optionsColor:F.FtCssVariableFactory.extend("--ft-select-options-color","",F.designSystemVariables.colorOnSurface),optionsZIndex:F.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:F.FtCssVariableFactory.external(F.designSystemVariables.borderRadiusS,"Design system"),elevation02:F.FtCssVariableFactory.external(F.designSystemVariables.elevation02,"Design system"),colorError:F.FtCssVariableFactory.external(F.designSystemVariables.colorError,"Design system")},hc=uc.css`
2061
2283
  *:focus {
2062
2284
  outline: none;
2063
2285
  }
@@ -2071,7 +2293,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2071
2293
  .ft-select--main-panel {
2072
2294
  position: relative;
2073
2295
  display: flex;
2074
- height: calc(4 * ${U.verticalSpacing} + ${U.labelSize} + ${U.selectedOptionSize});
2296
+ height: calc(4 * ${H.verticalSpacing} + ${H.labelSize} + ${H.selectedOptionSize});
2075
2297
  }
2076
2298
 
2077
2299
  .ft-select--input-panel {
@@ -2080,17 +2302,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2080
2302
  display: flex;
2081
2303
  align-items: center;
2082
2304
  overflow: hidden;
2083
- padding-left: ${U.horizontalSpacing};
2084
- padding-right: ${U.horizontalSpacing};
2305
+ padding-left: ${H.horizontalSpacing};
2306
+ padding-right: ${H.horizontalSpacing};
2085
2307
  gap: 8px;
2086
- color: ${U.selectedOptionColor};
2087
- ${(0,B.setVariable)(_.color,U.selectedOptionColor)};
2308
+ color: ${H.selectedOptionColor};
2309
+ ${(0,F.setVariable)(O.color,H.selectedOptionColor)};
2088
2310
  }
2089
2311
 
2090
2312
  .ft-select--input-panel,
2091
2313
  .ft-select--option {
2092
- ${(0,B.setVariable)(_.opacityContentOnSurfaceHover,"0.08")};
2093
- ${(0,B.setVariable)(_.opacityContentOnSurfacePressed,"0.04")};
2314
+ ${(0,F.setVariable)(O.opacityContentOnSurfaceHover,"0.08")};
2315
+ ${(0,F.setVariable)(O.opacityContentOnSurfacePressed,"0.04")};
2094
2316
  }
2095
2317
 
2096
2318
  .ft-select--input-panel > *:not(ft-ripple),
@@ -2100,7 +2322,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2100
2322
 
2101
2323
  .ft-select--disabled .ft-select--input-panel,
2102
2324
  .ft-select--disabled .ft-select--option {
2103
- color: ${U.colorOnSurfaceDisabled};
2325
+ color: ${H.colorOnSurfaceDisabled};
2104
2326
  }
2105
2327
 
2106
2328
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -2109,20 +2331,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2109
2331
  }
2110
2332
 
2111
2333
  ft-input-label {
2112
- ${(0,B.setVariable)(z.fontSize,U.selectedOptionSize)};
2113
- ${(0,B.setVariable)(z.raisedFontSize,U.labelSize)};
2114
- ${(0,B.setVariable)(z.verticalSpacing,U.verticalSpacing)};
2115
- ${(0,B.setVariable)(z.horizontalSpacing,U.horizontalSpacing)};
2116
- ${(0,B.setVariable)(z.labelMaxWidth,`calc(100% - ${ce.size} - 8px)`)};
2334
+ ${(0,F.setVariable)(z.fontSize,H.selectedOptionSize)};
2335
+ ${(0,F.setVariable)(z.raisedFontSize,H.labelSize)};
2336
+ ${(0,F.setVariable)(z.verticalSpacing,H.verticalSpacing)};
2337
+ ${(0,F.setVariable)(z.horizontalSpacing,H.horizontalSpacing)};
2338
+ ${(0,F.setVariable)(z.labelMaxWidth,`calc(100% - ${de.size} - 8px)`)};
2117
2339
  }
2118
2340
 
2119
2341
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
2120
- color: ${U.colorPrimary};
2342
+ color: ${H.colorPrimary};
2121
2343
  }
2122
2344
 
2123
2345
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
2124
- ${(0,B.setVariable)(z.borderColor,U.colorPrimary)};
2125
- ${(0,B.setVariable)(z.textColor,U.colorPrimary)};
2346
+ ${(0,F.setVariable)(z.borderColor,H.colorPrimary)};
2347
+ ${(0,F.setVariable)(z.textColor,H.colorPrimary)};
2126
2348
  }
2127
2349
 
2128
2350
  .ft-select--selected-option {
@@ -2132,12 +2354,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2132
2354
  overflow: hidden;
2133
2355
  white-space: nowrap;
2134
2356
  text-overflow: ellipsis;
2135
- ${(0,B.setVariable)(It.fontSize,U.selectedOptionSize)};
2136
- ${(0,B.setVariable)(It.lineHeight,U.selectedOptionSize)};
2357
+ ${(0,F.setVariable)(It.fontSize,H.selectedOptionSize)};
2358
+ ${(0,F.setVariable)(It.lineHeight,H.selectedOptionSize)};
2137
2359
  }
2138
2360
 
2139
2361
  .ft-select--in-error .ft-select--selected-option {
2140
- color: ${U.colorError};
2362
+ color: ${H.colorError};
2141
2363
  }
2142
2364
 
2143
2365
  ft-icon {
@@ -2149,26 +2371,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2149
2371
  }
2150
2372
 
2151
2373
  .ft-select--filled .ft-select--input-panel {
2152
- border-radius: ${U.borderRadiusS} ${U.borderRadiusS} 0 0;
2374
+ border-radius: ${H.borderRadiusS} ${H.borderRadiusS} 0 0;
2153
2375
  }
2154
2376
 
2155
2377
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
2156
2378
  align-self: stretch;
2157
- padding-top: calc(${U.labelSize} + 2 * ${U.verticalSpacing});
2379
+ padding-top: calc(${H.labelSize} + 2 * ${H.verticalSpacing});
2158
2380
  }
2159
2381
 
2160
2382
  .ft-select--outlined .ft-select--input-panel {
2161
- border-radius: ${U.borderRadiusS};
2383
+ border-radius: ${H.borderRadiusS};
2162
2384
  }
2163
2385
 
2164
2386
  .ft-select--options {
2165
2387
  display: none;
2166
2388
  position: absolute;
2167
2389
  top: 100%;
2168
- color: ${U.optionsColor};
2169
- background: ${U.colorSurface};
2170
- z-index: ${U.optionsZIndex};
2171
- box-shadow: ${U.elevation02};
2390
+ color: ${H.optionsColor};
2391
+ background: ${H.colorSurface};
2392
+ z-index: ${H.optionsZIndex};
2393
+ box-shadow: ${H.elevation02};
2172
2394
  }
2173
2395
 
2174
2396
  .ft-select--fixed .ft-select--options {
@@ -2177,13 +2399,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2177
2399
 
2178
2400
  .ft-select--options-displayed .ft-select--options {
2179
2401
  display: block;
2180
- max-height: ${U.optionsHeight};
2402
+ max-height: ${H.optionsHeight};
2181
2403
  overflow-y: auto;
2182
2404
  }
2183
2405
 
2184
2406
  .ft-select--option {
2185
2407
  position: relative;
2186
- padding: 4px ${U.horizontalSpacing};
2408
+ padding: 4px ${H.horizontalSpacing};
2187
2409
  min-height: 32px;
2188
2410
  display: flex;
2189
2411
  align-items: center;
@@ -2195,32 +2417,32 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2195
2417
  }
2196
2418
 
2197
2419
  .ft-select--helper-text {
2198
- padding: 0 ${U.horizontalSpacing};
2199
- color: ${U.helperColor};
2420
+ padding: 0 ${H.horizontalSpacing};
2421
+ color: ${H.helperColor};
2200
2422
  }
2201
2423
 
2202
2424
  .ft-select--in-error .ft-select--helper-text {
2203
- color: ${U.colorError};
2425
+ color: ${H.colorError};
2204
2426
  }
2205
- `;var pe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Rt=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Or.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Rt.elementDefinitions={};pe([(0,oe.property)({type:String})],Rt.prototype,"label",void 0);pe([(0,oe.property)({type:Object,converter:t=>t})],Rt.prototype,"value",void 0);pe([(0,oe.property)({type:Boolean,reflect:!0})],Rt.prototype,"selected",void 0);var J=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,o,i,n,a;let l=this.hasOptionsMenuOpen,s=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":s,"ft-select--options-displayed":l,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Or.html`
2427
+ `;var pe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Rt=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Or.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Rt.elementDefinitions={};pe([(0,oe.property)({type:String})],Rt.prototype,"label",void 0);pe([(0,oe.property)({type:Object,converter:t=>t})],Rt.prototype,"value",void 0);pe([(0,oe.property)({type:Boolean,reflect:!0})],Rt.prototype,"selected",void 0);var J=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let l=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,p=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":l,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Or.html`
2206
2428
  <div class="${(0,hn.classMap)(f)}" part="container">
2207
2429
  <div class="ft-select--main-panel" part="main-panel">
2208
2430
  <ft-input-label text="${this.label}"
2209
2431
  part="label"
2210
- ?disabled=${s}
2432
+ ?disabled=${c}
2211
2433
  ?outlined=${this.outlined}
2212
- ?raised=${d||l}
2434
+ ?raised=${p||l}
2213
2435
  ?error=${this.error}
2214
2436
  ></ft-input-label>
2215
2437
  <div class="ft-select--input-panel"
2216
2438
  part="selected-value"
2217
- tabindex="${s?"-1":"0"}"
2439
+ tabindex="${c?"-1":"0"}"
2218
2440
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
2219
2441
  @keydown=${this.onMainPanelKeyDown}
2220
2442
  aria-label="${this.ariaLabel}"
2221
2443
  aria-haspopup="listbox"
2222
2444
  aria-expanded="${l}">
2223
- <ft-ripple ?disabled=${s} ?activated=${!this.outlined}></ft-ripple>
2445
+ <ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
2224
2446
  <ft-typography variant="body1" class="ft-select--selected-option">
2225
2447
  ${(a=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:""}
2226
2448
  </ft-typography>
@@ -2230,7 +2452,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2230
2452
  part="options"
2231
2453
  @keydown=${this.onOptionsKeyDown}
2232
2454
  innerrole="listbox">
2233
- ${(0,mc.repeat)(this.options,h=>h.value,h=>this.renderOption(h))}
2455
+ ${(0,yc.repeat)(this.options,y=>y.value,y=>this.renderOption(y))}
2234
2456
  </div>
2235
2457
  </div>
2236
2458
  ${this.helper?Or.html`
@@ -2240,44 +2462,44 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2240
2462
  <slot @slotchange=${this.updateOptionsFromSlot}
2241
2463
  @option-change=${this.updateOptionsFromSlot}
2242
2464
  ></slot>
2243
- `}renderOption(e){let o=this.selectedOption===e;return Or.html`
2244
- <div class="${(0,hn.classMap)({"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0})}"
2465
+ `}renderOption(e){let r=this.selectedOption===e;return Or.html`
2466
+ <div class="${(0,hn.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
2245
2467
  part="option"
2246
2468
  tabindex="0"
2247
2469
  data-value="${e.value}"
2248
2470
  @keydown=${n=>this.onOptionKeyDown(n,e)}
2249
2471
  @click=${()=>this.selectOption(e)}>
2250
- <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
2472
+ <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
2251
2473
  <span>${e.label}</span>
2252
2474
  </div>
2253
- `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Kr(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var o;e.stopPropagation();let i=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var o,i,n,a,l;let s;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),s=(l=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break}s?.focus()}onOptionKeyDown(e,o){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var o,i;if(!(0,Cr.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};J.elementDefinitions={"ft-input-label":et,"ft-typography":q,"ft-ripple":F,"ft-icon":ne};J.styles=[Uo,qt,hc];pe([(0,oe.property)({type:String})],J.prototype,"label",void 0);pe([(0,oe.property)({type:String})],J.prototype,"ariaLabel",void 0);pe([(0,oe.property)({type:String})],J.prototype,"helper",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"outlined",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"disabled",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"error",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"fixedMenuPosition",void 0);pe([(0,oe.property)({type:Array})],J.prototype,"options",void 0);pe([(0,oe.state)()],J.prototype,"selectedOption",void 0);pe([(0,oe.state)()],J.prototype,"optionsDisplayed",void 0);pe([(0,oe.state)()],J.prototype,"focusOptions",void 0);pe([(0,oe.query)(".ft-select")],J.prototype,"container",void 0);pe([(0,oe.query)(".ft-select--options")],J.prototype,"optionsMenu",void 0);pe([(0,oe.query)(".ft-select--input-panel")],J.prototype,"mainPanel",void 0);pe([(0,oe.query)(".ft-select--option:first-child")],J.prototype,"firstOption",void 0);pe([(0,oe.query)(".ft-select--option:focus")],J.prototype,"focusedOption",void 0);pe([(0,oe.query)(".ft-select--option.ft-select--option-selected")],J.prototype,"selectedOptionElement",void 0);pe([(0,oe.query)(".ft-select--option:last-child")],J.prototype,"lastOption",void 0);pe([(0,oe.query)("slot")],J.prototype,"optionsSlot",void 0);(0,mn.customElement)("ft-select")(J);(0,mn.customElement)("ft-select-option")(Rt);var A=u(O()),gn=u(R());var gc=u(R()),bt=u(O()),we={display:bt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:bt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:bt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:bt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:bt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:bt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:bt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:bt.FtCssVariableFactory.external(bt.designSystemVariables.borderRadiusM,"Design system")},yc=gc.css`
2475
+ `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Kr(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,l;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),c=(l=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break}c?.focus()}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var r,i;if(!(0,Cr.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};J.elementDefinitions={"ft-input-label":et,"ft-typography":q,"ft-ripple":T,"ft-icon":ae};J.styles=[Uo,qt,hc];pe([(0,oe.property)({type:String})],J.prototype,"label",void 0);pe([(0,oe.property)({type:String})],J.prototype,"ariaLabel",void 0);pe([(0,oe.property)({type:String})],J.prototype,"helper",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"outlined",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"disabled",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"error",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"fixedMenuPosition",void 0);pe([(0,oe.property)({type:Array})],J.prototype,"options",void 0);pe([(0,oe.state)()],J.prototype,"selectedOption",void 0);pe([(0,oe.state)()],J.prototype,"optionsDisplayed",void 0);pe([(0,oe.state)()],J.prototype,"focusOptions",void 0);pe([(0,oe.query)(".ft-select")],J.prototype,"container",void 0);pe([(0,oe.query)(".ft-select--options")],J.prototype,"optionsMenu",void 0);pe([(0,oe.query)(".ft-select--input-panel")],J.prototype,"mainPanel",void 0);pe([(0,oe.query)(".ft-select--option:first-child")],J.prototype,"firstOption",void 0);pe([(0,oe.query)(".ft-select--option:focus")],J.prototype,"focusedOption",void 0);pe([(0,oe.query)(".ft-select--option.ft-select--option-selected")],J.prototype,"selectedOptionElement",void 0);pe([(0,oe.query)(".ft-select--option:last-child")],J.prototype,"lastOption",void 0);pe([(0,oe.query)("slot")],J.prototype,"optionsSlot",void 0);(0,yn.customElement)("ft-select")(J);(0,yn.customElement)("ft-select-option")(Rt);var P=h(w()),mn=h(N());var mc=h(N()),gt=h(w()),Ee={display:gt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:gt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:gt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:gt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:gt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:gt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:gt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:gt.FtCssVariableFactory.external(gt.designSystemVariables.borderRadiusM,"Design system")},bc=mc.css`
2254
2476
  :host {
2255
- width: ${we.width};
2256
- height: ${we.height};
2257
- display: ${we.display};
2477
+ width: ${Ee.width};
2478
+ height: ${Ee.height};
2479
+ display: ${Ee.display};
2258
2480
  overflow: hidden;
2259
- border-radius: ${we.borderRadiusM};
2481
+ border-radius: ${Ee.borderRadiusM};
2260
2482
  background: linear-gradient(
2261
2483
  90deg,
2262
2484
  transparent,
2263
- ${we.glareColor} calc(0.45 * ${we.glareWidth}),
2264
- ${we.glareColor} calc(0.55 * ${we.glareWidth}),
2265
- transparent ${we.glareWidth}
2266
- ), ${we.backgroundColor};
2485
+ ${Ee.glareColor} calc(0.45 * ${Ee.glareWidth}),
2486
+ ${Ee.glareColor} calc(0.55 * ${Ee.glareWidth}),
2487
+ transparent ${Ee.glareWidth}
2488
+ ), ${Ee.backgroundColor};
2267
2489
  background-repeat: repeat-y;
2268
2490
  background-size: 100vw 100vh;
2269
2491
  background-attachment: fixed;
2270
- background-position: calc(${we.glareWidth} * -1) 0;
2271
- animation: shine ${we.animationDuration} infinite;
2492
+ background-position: calc(${Ee.glareWidth} * -1) 0;
2493
+ animation: shine ${Ee.animationDuration} infinite;
2272
2494
  animation-timing-function: linear;
2273
2495
  }
2274
2496
 
2275
2497
  @keyframes shine {
2276
2498
  to {
2277
- background-position: calc(100vw + ${we.glareWidth}) 0, calc(${we.glareWidth} * -1) 0;
2499
+ background-position: calc(100vw + ${Ee.glareWidth}) 0, calc(${Ee.glareWidth} * -1) 0;
2278
2500
  }
2279
2501
  }
2280
- `;var k={height:A.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:A.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",A.designSystemVariables.borderRadiusS),mobileOpenPosition:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:A.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:A.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:A.FtCssVariableFactory.external(A.designSystemVariables.colorSurface,"Design system"),colorOnSurface:A.FtCssVariableFactory.external(A.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:A.FtCssVariableFactory.external(A.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:A.FtCssVariableFactory.external(A.designSystemVariables.colorOutline,"Design system"),colorPrimary:A.FtCssVariableFactory.external(A.designSystemVariables.colorPrimary,"Design system"),elevation02:A.FtCssVariableFactory.external(A.designSystemVariables.elevation02,"Design system"),buttonColor:A.FtCssVariableFactory.external(W.color,"Button"),buttonRippleColor:A.FtCssVariableFactory.external(W.rippleColor,"Button")},bc=gn.css`
2502
+ `;var A={height:P.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:P.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",P.designSystemVariables.borderRadiusS),mobileOpenPosition:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:P.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:P.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:P.FtCssVariableFactory.external(P.designSystemVariables.colorSurface,"Design system"),colorOnSurface:P.FtCssVariableFactory.external(P.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:P.FtCssVariableFactory.external(P.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),colorPrimary:P.FtCssVariableFactory.external(P.designSystemVariables.colorPrimary,"Design system"),elevation02:P.FtCssVariableFactory.external(P.designSystemVariables.elevation02,"Design system"),buttonColor:P.FtCssVariableFactory.external(U.color,"Button"),buttonRippleColor:P.FtCssVariableFactory.external(U.rippleColor,"Button")},gc=mn.css`
2281
2503
  * {
2282
2504
  box-sizing: border-box;
2283
2505
  }
@@ -2286,7 +2508,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2286
2508
  display: flex;
2287
2509
  flex-direction: column;
2288
2510
  gap: 8px;
2289
- color: ${k.colorOnSurface};
2511
+ color: ${A.colorOnSurface};
2290
2512
  outline: none;
2291
2513
  }
2292
2514
 
@@ -2295,21 +2517,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2295
2517
  }
2296
2518
 
2297
2519
  .ft-search-bar--mobile-menu-open {
2298
- position: ${k.mobileOpenPosition};
2299
- top: ${k.mobileOpenTop};
2300
- bottom: ${k.mobileOpenBottom};
2301
- left: ${k.mobileOpenLeft};
2302
- right: ${k.mobileOpenRight};
2303
- z-index: ${k.floatingZIndex};
2520
+ position: ${A.mobileOpenPosition};
2521
+ top: ${A.mobileOpenTop};
2522
+ bottom: ${A.mobileOpenBottom};
2523
+ left: ${A.mobileOpenLeft};
2524
+ right: ${A.mobileOpenRight};
2525
+ z-index: ${A.floatingZIndex};
2304
2526
  padding: 16px;
2305
2527
  }
2306
2528
 
2307
2529
  .ft-search-bar--mobile-menu-open:not(.ft-search-bar--forced-open) {
2308
- background: ${k.colorSurface};
2530
+ background: ${A.colorSurface};
2309
2531
  }
2310
2532
 
2311
2533
  .ft-search-bar--mobile-menu-open.ft-search-bar--forced-open {
2312
- position: ${k.mobileOpenPosition.get("static")};
2534
+ position: ${A.mobileOpenPosition.get("static")};
2313
2535
  }
2314
2536
 
2315
2537
  .ft-search-bar {
@@ -2317,20 +2539,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2317
2539
  display: flex;
2318
2540
  flex-direction: row;
2319
2541
  align-items: center;
2320
- height: ${k.height};
2542
+ height: ${A.height};
2321
2543
 
2322
- background: ${k.colorSurface};
2323
- border: 1px solid ${k.colorOutline};
2324
- border-radius: ${k.borderRadius};
2544
+ background: ${A.colorSurface};
2545
+ border: 1px solid ${A.colorOutline};
2546
+ border-radius: ${A.borderRadius};
2325
2547
  }
2326
2548
 
2327
2549
  .ft-search-bar--skeleton {
2328
- ${(0,A.setVariable)(we.height,k.height)};
2329
- ${(0,A.setVariable)(we.borderRadiusM,k.borderRadius)};
2550
+ ${(0,P.setVariable)(Ee.height,A.height)};
2551
+ ${(0,P.setVariable)(Ee.borderRadiusM,A.borderRadius)};
2330
2552
  }
2331
2553
 
2332
2554
  .ft-search-bar--floating-panel-open .ft-search-bar {
2333
- border-radius: ${k.borderRadius} ${k.borderRadius} 0 0;
2555
+ border-radius: ${A.borderRadius} ${A.borderRadius} 0 0;
2334
2556
  }
2335
2557
 
2336
2558
  .ft-search-bar--input-container {
@@ -2348,7 +2570,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2348
2570
  align-self: stretch;
2349
2571
  display: grid;
2350
2572
  padding: 0 8px;
2351
- border-radius: ${k.borderRadius};
2573
+ border-radius: ${A.borderRadius};
2352
2574
  }
2353
2575
 
2354
2576
  .ft-search-bar--dense .ft-search-bar--input-outline {
@@ -2357,7 +2579,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2357
2579
  }
2358
2580
 
2359
2581
  .ft-search-bar--input-container:focus-within .ft-search-bar--input-outline {
2360
- outline: 2px solid ${k.colorPrimary};
2582
+ outline: 2px solid ${A.colorPrimary};
2361
2583
  }
2362
2584
 
2363
2585
  .ft-search-bar--input {
@@ -2365,12 +2587,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2365
2587
  flex-grow: 1;
2366
2588
  border: none;
2367
2589
  background-color: transparent;
2368
- color: ${k.colorOnSurface};
2590
+ color: ${A.colorOnSurface};
2369
2591
  outline: none;
2370
2592
  }
2371
2593
 
2372
2594
  .ft-search-bar--input::placeholder {
2373
- color: ${k.colorOnSurfaceMedium};
2595
+ color: ${A.colorOnSurfaceMedium};
2374
2596
  }
2375
2597
 
2376
2598
  .ft-search-bar--actions {
@@ -2380,18 +2602,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2380
2602
  align-items: center;
2381
2603
  height: 100%;
2382
2604
 
2383
- ${(0,A.setVariable)(Yt.zIndex,`calc(${k.floatingZIndex} + 1)`)};
2605
+ ${(0,P.setVariable)(Yt.zIndex,`calc(${A.floatingZIndex} + 1)`)};
2384
2606
  }
2385
2607
 
2386
2608
  .ft-search-bar > ft-button,
2387
2609
  .ft-search-bar--actions ft-button {
2388
2610
  flex-shrink: 0;
2389
- ${(0,A.setVariable)(W.backgroundColor,"transparent")};
2611
+ ${(0,P.setVariable)(U.backgroundColor,"transparent")};
2390
2612
  }
2391
2613
 
2392
2614
  .ft-search-bar--left-action {
2393
- ${(0,A.setVariable)(W.borderRadius,`calc(${k.borderRadius} - 1px) 0 0 calc(${k.borderRadius} - 1px)`)};
2394
- border-right: 1px solid ${k.colorOutline};
2615
+ ${(0,P.setVariable)(U.borderRadius,`calc(${A.borderRadius} - 1px) 0 0 calc(${A.borderRadius} - 1px)`)};
2616
+ border-right: 1px solid ${A.colorOutline};
2395
2617
  height: 100%;
2396
2618
  }
2397
2619
 
@@ -2400,7 +2622,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2400
2622
  }
2401
2623
 
2402
2624
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2403
- ${(0,A.setVariable)(W.borderRadius,`calc(${k.borderRadius} - 1px) 0 0 0`)};
2625
+ ${(0,P.setVariable)(U.borderRadius,`calc(${A.borderRadius} - 1px) 0 0 0`)};
2404
2626
  }
2405
2627
 
2406
2628
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2410,13 +2632,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2410
2632
 
2411
2633
  .ft-search-bar--separator {
2412
2634
  height: 20px;
2413
- border-right: 1px solid ${k.colorOutline};
2635
+ border-right: 1px solid ${A.colorOutline};
2414
2636
  }
2415
2637
 
2416
2638
  .ft-search-bar--left-action.ft-search-bar--content-locale {
2417
- ${(0,A.setVariable)(z.borderColor,"transparent")};
2418
- ${(0,A.setVariable)(z.borderRadiusS,`calc(${k.borderRadius} - 1px)`)};
2419
- ${(0,A.setVariable)(U.selectedOptionColor,k.buttonColor)};
2639
+ ${(0,P.setVariable)(z.borderColor,"transparent")};
2640
+ ${(0,P.setVariable)(z.borderRadiusS,`calc(${A.borderRadius} - 1px)`)};
2641
+ ${(0,P.setVariable)(H.selectedOptionColor,A.buttonColor)};
2420
2642
  }
2421
2643
 
2422
2644
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -2433,7 +2655,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2433
2655
  }
2434
2656
 
2435
2657
  .ft-search-bar--left-action.ft-search-bar--content-locale::part(selected-value) {
2436
- border-radius: calc(${k.borderRadius} - 1px) 0 0 calc(${k.borderRadius} - 1px);
2658
+ border-radius: calc(${A.borderRadius} - 1px) 0 0 calc(${A.borderRadius} - 1px);
2437
2659
  }
2438
2660
 
2439
2661
  [part="content-locale-selector"] {
@@ -2460,7 +2682,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2460
2682
  flex-shrink: 0;
2461
2683
  padding: 0 10px;
2462
2684
  margin-bottom: 8px;
2463
- ${(0,A.setVariable)(w.fontSize,"14px")};
2685
+ ${(0,P.setVariable)($.fontSize,"14px")};
2464
2686
  }
2465
2687
 
2466
2688
  [part="content-locale-selector-label"] {
@@ -2468,18 +2690,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2468
2690
  flex-shrink: 1;
2469
2691
  flex-grow: 1;
2470
2692
  word-break: break-word;
2471
- ${(0,A.setVariable)(w.lineHeight,"22px")};
2472
- ${(0,A.setVariable)(w.fontWeight,"bold")};
2693
+ ${(0,P.setVariable)($.lineHeight,"22px")};
2694
+ ${(0,P.setVariable)($.fontWeight,"bold")};
2473
2695
  }
2474
2696
 
2475
- `,vc=gn.css`
2697
+ `,vc=mn.css`
2476
2698
  .ft-search-bar--presets {
2477
2699
  min-width: 200px;
2478
2700
  }
2479
2701
 
2480
2702
  .ft-search-bar--desktop-menu .ft-search-bar--presets {
2481
2703
  margin-right: auto;
2482
- ${(0,A.setVariable)(U.optionsZIndex,"2")};
2704
+ ${(0,P.setVariable)(H.optionsZIndex,"2")};
2483
2705
  }
2484
2706
 
2485
2707
  .ft-search-bar--desktop-menu {
@@ -2532,8 +2754,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2532
2754
 
2533
2755
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
2534
2756
  display: block;
2535
- height: ${k.desktopFiltersHeight};
2536
- ${(0,A.setVariable)(Ie.gap,"16px")};
2757
+ height: ${A.desktopFiltersHeight};
2758
+ ${(0,P.setVariable)(Ie.gap,"16px")};
2537
2759
  }
2538
2760
 
2539
2761
  .ft-search-bar--desktop-menu ft-filter {
@@ -2613,7 +2835,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2613
2835
  .ft-search-bar--filter-label-values {
2614
2836
  flex-grow: 0;
2615
2837
  flex-shrink: 1;
2616
- color: ${k.colorOnSurfaceMedium};
2838
+ color: ${A.colorOnSurfaceMedium};
2617
2839
  }
2618
2840
 
2619
2841
  ft-accordion-item::part(toggle) {
@@ -2633,12 +2855,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2633
2855
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2634
2856
  margin: 0;
2635
2857
  }
2636
- `;var Oc=u(O());var xc=u(R()),Sc=u(O());var Qt=class extends Sc.FtLitElement{render(){return xc.html`
2637
- `}};Qt.elementDefinitions={};Qt.styles=yc;(0,Oc.customElement)("ft-skeleton")(Qt);var ko=u(R()),yn=u(po());var ci=u(O());var Nt=class{constructor(e,o=300){this.searchBar=e,this.updateDebouncer=new ci.Debouncer(o)}render(){let e=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),o=this.searchBar.suggestions.length>0||e.length>0;return ko.html`
2638
- <div class="ft-search-bar--suggestions ft-word-wrap ${o?"ft-search-bar--suggestions-not-empty":""}"
2858
+ `;var Oc=h(w());var xc=h(N()),Sc=h(w());var Qt=class extends Sc.FtLitElement{render(){return xc.html`
2859
+ `}};Qt.elementDefinitions={};Qt.styles=bc;(0,Oc.customElement)("ft-skeleton")(Qt);var No=h(N()),bn=h(po());var ci=h(w());var Lt=class{constructor(e,r=300){this.searchBar=e,this.updateDebouncer=new ci.Debouncer(r)}render(){let e=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),r=this.searchBar.suggestions.length>0||e.length>0;return No.html`
2860
+ <div class="ft-search-bar--suggestions ft-word-wrap ${r?"ft-search-bar--suggestions-not-empty":""}"
2639
2861
  part="suggestions-container"
2640
2862
  @keydown=${i=>this.onSuggestKeyDown(i)}>
2641
- ${(0,yn.repeat)(e.slice(0,5),i=>i,i=>ko.html`
2863
+ ${(0,bn.repeat)(e.slice(0,5),i=>i,i=>No.html`
2642
2864
  <div part="suggestion-container">
2643
2865
  <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:i})}"
2644
2866
  part="suggestions"
@@ -2659,7 +2881,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2659
2881
  </ft-button>
2660
2882
  </div>
2661
2883
  `)}
2662
- ${(0,yn.repeat)(this.searchBar.suggestions,i=>i.value,i=>ko.html`
2884
+ ${(0,bn.repeat)(this.searchBar.suggestions,i=>i.value,i=>No.html`
2663
2885
  <div part="suggestion-container">
2664
2886
  <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:i.value})}"
2665
2887
  part="suggestions"
@@ -2673,9 +2895,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2673
2895
  </div>
2674
2896
  `)}
2675
2897
  </div>
2676
- `}update(){return new Promise((e,o)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var o,i;switch(e.key){case"ArrowUp":(o=this.previousSuggestionElement())===null||o===void 0||o.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(i=this.nextSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,o;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(o=i?.nextElementSibling)===null||o===void 0?void 0:o.querySelector("[part=suggestions]");return n??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,o;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(o=i?.previousElementSibling)===null||o===void 0?void 0:o.querySelector("[part=suggestions]");return n??this.getLastSuggestionElement()}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestClick(e,o){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(o),this.searchBar.launchSearch()}removeRecentSearch(e,o){var i,n,a,l;e.preventDefault(),e.stopPropagation();let s=e.target.closest("[part='suggestion-container']"),d=(l=(n=(i=s?.previousElementSibling)===null||i===void 0?void 0:i.querySelector("[part='suggestions']"))!==null&&n!==void 0?n:(a=s?.nextElementSibling)===null||a===void 0?void 0:a.querySelector("[part='suggestions']"))!==null&&l!==void 0?l:this.searchBar.input;d?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(f=>f.toLowerCase()!==o.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let o=e.type==="DOCUMENT"?Ae.file_format:Ae.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?wt.BOOK:wt.ARTICLE;break;case"DOCUMENT":i=cs(e.mimeType,e.filenameExtension);break;case"TOPIC":i=wt.TOPICS;break}return ko.html`
2677
- <ft-icon .variant="${o}" .value="${i}" part="suggestion-icon"></ft-icon>
2678
- `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Nt.styles=[ci.wordWrap,ko.css`
2898
+ `}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var r,i;switch(e.key){case"ArrowUp":(r=this.previousSuggestionElement())===null||r===void 0||r.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(i=this.nextSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,r;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(r=i?.nextElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return n??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,r;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(r=i?.previousElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return n??this.getLastSuggestionElement()}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestClick(e,r){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(r),this.searchBar.launchSearch()}removeRecentSearch(e,r){var i,n,a,l;e.preventDefault(),e.stopPropagation();let c=e.target.closest("[part='suggestion-container']"),p=(l=(n=(i=c?.previousElementSibling)===null||i===void 0?void 0:i.querySelector("[part='suggestions']"))!==null&&n!==void 0?n:(a=c?.nextElementSibling)===null||a===void 0?void 0:a.querySelector("[part='suggestions']"))!==null&&l!==void 0?l:this.searchBar.input;p?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(f=>f.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?ke.file_format:ke.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?wt.BOOK:wt.ARTICLE;break;case"DOCUMENT":i=cs(e.mimeType,e.filenameExtension);break;case"TOPIC":i=wt.TOPICS;break}return No.html`
2899
+ <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
2900
+ `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Lt.styles=[ci.wordWrap,No.css`
2679
2901
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2680
2902
  flex-grow: 1;
2681
2903
  flex-shrink: 1;
@@ -2684,7 +2906,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2684
2906
  }
2685
2907
 
2686
2908
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
2687
- border-top: 1px solid ${k.colorOutline};
2909
+ border-top: 1px solid ${A.colorOutline};
2688
2910
  }
2689
2911
 
2690
2912
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
@@ -2694,15 +2916,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2694
2916
  .ft-search-bar--floating-panel,
2695
2917
  .ft-search-bar--desktop .ft-search-bar--suggestions {
2696
2918
  position: absolute;
2697
- z-index: ${k.floatingZIndex};
2919
+ z-index: ${A.floatingZIndex};
2698
2920
  top: 100%;
2699
2921
  left: -1px;
2700
2922
  right: -1px;
2701
2923
  display: none;
2702
- background: ${k.colorSurface};
2703
- border: 1px solid ${k.colorOutline};
2704
- border-radius: 0 0 ${k.borderRadius} ${k.borderRadius};
2705
- box-shadow: ${k.elevation02};
2924
+ background: ${A.colorSurface};
2925
+ border: 1px solid ${A.colorOutline};
2926
+ border-radius: 0 0 ${A.borderRadius} ${A.borderRadius};
2927
+ box-shadow: ${A.elevation02};
2706
2928
  outline: none;
2707
2929
  }
2708
2930
 
@@ -2732,7 +2954,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2732
2954
  gap: 8px;
2733
2955
  cursor: pointer;
2734
2956
  flex-grow: 1;
2735
- color: ${k.colorOnSurface};
2957
+ color: ${A.colorOnSurface};
2736
2958
  min-height: 52px;
2737
2959
  }
2738
2960
 
@@ -2749,7 +2971,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2749
2971
  }
2750
2972
 
2751
2973
  .ft-search-bar--recent-search + .ft-search-bar--suggestion:not(.ft-search-bar--recent-search) {
2752
- border-top: 1px solid ${k.colorOutline};
2974
+ border-top: 1px solid ${A.colorOutline};
2753
2975
  }
2754
2976
 
2755
2977
  .ft-search-bar--suggestion ft-typography {
@@ -2757,8 +2979,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2757
2979
  flex-grow: 1;
2758
2980
  flex-shrink: 1;
2759
2981
  }
2760
- `];var $e=u(R()),bn=u(po());var pi=u(O());var kt=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return $e.html``;let e=this.searchBar.isMobile(),o=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=$e.html`
2761
- ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?$e.html`
2982
+ `];var Re=h(N()),gn=h(po());var di=h(w());var Nt=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return Re.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=Re.html`
2983
+ ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?Re.html`
2762
2984
  <ft-chip part="selected-filters selected-filter-ft-locale"
2763
2985
  ?dense=${this.searchBar.dense&&!e}
2764
2986
  ?clickable=${e}
@@ -2768,47 +2990,47 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2768
2990
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2769
2991
  </ft-chip>
2770
2992
  `:null}
2771
- ${(0,bn.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ml(n);return(0,bn.repeat)(a,l=>{let s=n.label+": "+fl(l),d=n.key.replace(":","-"),f=$e.html`
2993
+ ${(0,gn.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=yl(n);return(0,gn.repeat)(a,l=>{let c=n.label+": "+fl(l),p=n.key.replace(":","-"),f=Re.html`
2772
2994
  <ft-chip
2773
- part="selected-filters selected-filter-${d}"
2995
+ part="selected-filters selected-filter-${p}"
2774
2996
  ?dense=${this.searchBar.dense&&!e}
2775
2997
  ?clickable=${e}
2776
2998
  ?removable=${!e}
2777
- icon=${e?$e.nothing:"close"}
2778
- label="${s}"
2779
- iconLabel=${e?$e.nothing:"Remove "+s}
2780
- title=${o?s:$e.nothing}
2999
+ icon=${e?Re.nothing:"close"}
3000
+ label="${c}"
3001
+ iconLabel=${e?Re.nothing:"Remove "+c}
3002
+ title=${r?c:Re.nothing}
2781
3003
  @click=${()=>this.openMobileFilters(n.key)}
2782
- @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==l))}
3004
+ @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(y=>y!==l))}
2783
3005
  data-key="${n.key}"
2784
3006
  data-value="${l}">
2785
- ${dl(l)}
3007
+ ${pl(l)}
2786
3008
  </ft-chip>
2787
- `;return o?f:$e.html`
2788
- <ft-tooltip inline text="${s}">
3009
+ `;return r?f:Re.html`
3010
+ <ft-tooltip inline text="${c}">
2789
3011
  ${f}
2790
3012
  </ft-tooltip>
2791
3013
  `})})}
2792
- ${e?$e.html`
3014
+ ${e?Re.html`
2793
3015
  <ft-chip part="selected-filters mobile-filters-opener"
2794
3016
  icon="plus"
2795
3017
  clickable
2796
3018
  @click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
2797
3019
  ${this.searchBar.labelResolver.resolve("filtersButton")}
2798
3020
  </ft-chip>
2799
- `:$e.nothing}
2800
- `;return o?$e.html`
3021
+ `:Re.nothing}
3022
+ `;return r?Re.html`
2801
3023
  <ft-snap-scroll horizontal controls hideScrollbar limitSize
2802
3024
  class="ft-search-bar--selected-filters"
2803
3025
  part="selected-filters-container"
2804
3026
  exportpartsPrefix="selected-filters-container">
2805
3027
  ${i}
2806
3028
  </ft-snap-scroll>
2807
- `:$e.html`
3029
+ `:Re.html`
2808
3030
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
2809
3031
  ${i}
2810
3032
  </div>
2811
- `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var o;return(o=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&o!==void 0?o:e}};kt.styles=$e.css`
3033
+ `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&r!==void 0?r:e}};Nt.styles=Re.css`
2812
3034
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
2813
3035
  flex-shrink: 0;
2814
3036
  display: flex;
@@ -2819,7 +3041,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2819
3041
 
2820
3042
  ft-snap-scroll.ft-search-bar--selected-filters {
2821
3043
  overflow: hidden;
2822
- ${(0,pi.setVariable)(Ie.gap,"4px")};
3044
+ ${(0,di.setVariable)(Ie.gap,"4px")};
2823
3045
  }
2824
3046
 
2825
3047
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -2827,8 +3049,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2827
3049
  }
2828
3050
 
2829
3051
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
2830
- ${(0,pi.setVariable)(Be.iconSize,"17px")};
2831
- ${(0,pi.setVariable)(Be.fontSize,"12px")};
3052
+ ${(0,di.setVariable)(Be.iconSize,"17px")};
3053
+ ${(0,di.setVariable)(Be.fontSize,"12px")};
2832
3054
  }
2833
3055
 
2834
3056
  .ft-search-bar--selected-filters * {
@@ -2838,7 +3060,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2838
3060
  .ft-search-bar--selected-filters ft-chip {
2839
3061
  flex-grow: 0;
2840
3062
  }
2841
- `;var At=u(R());var Cc=u(lt()),wr=class{constructor(e,o,i){this.searchBar=e,this.selectedFacetsManager=o??new kt(e),this.suggestManager=i??new Nt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return At.html`
3063
+ `;var kt=h(N());var Cc=h(lt()),wr=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Nt(e),this.suggestManager=i??new Lt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return kt.html`
2842
3064
  <div class="${(0,Cc.classMap)(e)}" part="container" tabindex="-1">
2843
3065
  <div class="ft-search-bar" role="search">
2844
3066
  <div class="ft-search-bar--input-container" part="input-container">
@@ -2848,8 +3070,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2848
3070
  type="search"
2849
3071
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
2850
3072
  value="${this.searchBar.query}"
2851
- @input=${o=>this.onInput(o)}
2852
- @keyup=${o=>this.onSearchBarKeyUp(o)}
3073
+ @input=${r=>this.onInput(r)}
3074
+ @keyup=${r=>this.onSearchBarKeyUp(r)}
2853
3075
  @focus=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!1}}>
2854
3076
  </div>
2855
3077
  </div>
@@ -2857,18 +3079,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2857
3079
  </div>
2858
3080
  ${this.searchBar.displayFacets?this.searchBar.renderFacetsActions():this.selectedFacetsManager.render()}
2859
3081
  ${this.searchBar.displayFacets?this.searchBar.renderMobileFacets():this.suggestManager.render()}
2860
- ${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?At.html`
3082
+ ${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?kt.html`
2861
3083
  <ft-button class="ft-search-bar--launch-search"
2862
3084
  part="launch-search-in-panel"
2863
3085
  icon="search"
2864
3086
  @click=${this.searchBar.launchSearch}>
2865
3087
  ${this.searchBar.labelResolver.resolve("searchButton")}
2866
3088
  </ft-button>
2867
- `:At.nothing}
3089
+ `:kt.nothing}
2868
3090
  </div>
2869
- `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return At.html`
3091
+ `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return kt.html`
2870
3092
  <div class="ft-search-bar--actions" part="search-bar-actions">
2871
- ${e?At.html`
3093
+ ${e?kt.html`
2872
3094
  <ft-button class="ft-search-bar--clear-query"
2873
3095
  part="clear-query"
2874
3096
  icon="close"
@@ -2878,19 +3100,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2878
3100
  @click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1,await this.searchBar.focusInput()}}
2879
3101
  ></ft-button>
2880
3102
  <div class="ft-search-bar--separator"></div>
2881
- `:At.nothing}
3103
+ `:kt.nothing}
2882
3104
  <ft-button class="ft-search-bar--launch-search"
2883
3105
  part="launch-search-in-bar"
2884
3106
  icon="search"
2885
3107
  round
2886
3108
  label="${this.searchBar.labelResolver.resolve("searchButton")}"
2887
3109
  tooltipPosition="left"
2888
- @click=${()=>{var o;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():(o=this.searchBar.input)===null||o===void 0?void 0:o.focus()}}
3110
+ @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
2889
3111
  ></ft-button>
2890
3112
  </div>
2891
- `}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};wr.styles=At.css`
3113
+ `}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};wr.styles=kt.css`
2892
3114
 
2893
- `;var He=u(R()),wc=u(po());var Ec=u(lt()),Er=class{constructor(e,o,i){this.searchBar=e,this.selectedFacetsManager=o??new kt(e),this.suggestManager=i??new Nt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return He.html`
3115
+ `;var He=h(N()),wc=h(po());var Ec=h(lt()),Er=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Nt(e),this.suggestManager=i??new Lt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return He.html`
2894
3116
  <div class="${(0,Ec.classMap)(e)}" part="container" tabindex="-1">
2895
3117
  <div class="ft-search-bar" part="search-bar" role="search">
2896
3118
  ${this.renderSearchBarLeftAction()}
@@ -2902,9 +3124,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2902
3124
  type="search"
2903
3125
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
2904
3126
  value="${this.searchBar.query}"
2905
- @input=${o=>this.onInput(o)}
2906
- @keydown=${o=>this.onSearchBarKeyDown(o)}
2907
- @keyup=${o=>this.onSearchBarKeyUp(o)}>
3127
+ @input=${r=>this.onInput(r)}
3128
+ @keydown=${r=>this.onSearchBarKeyDown(r)}
3129
+ @keyup=${r=>this.onSearchBarKeyUp(r)}>
2908
3130
  </div>
2909
3131
  ${this.suggestManager.render()}
2910
3132
  </div>
@@ -2960,19 +3182,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2960
3182
  @click=${()=>this.searchBar.launchSearch()}
2961
3183
  ></ft-button>
2962
3184
  </div>
2963
- `}onSearchBarKeyDown(e){var o;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(o=this.searchBar.input)===null||o===void 0||o.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};Er.styles=He.css`
3185
+ `}onSearchBarKeyDown(e){var r;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(r=this.searchBar.input)===null||r===void 0||r.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Er.styles=He.css`
2964
3186
 
2965
- `;var Sp=u(O());var Ac=u(R()),pt=u(Y()),vt=u(O());var $c=u(R());var Rc=$c.css`
2966
- `;var di=u(O()),rd="ft-app-info",vn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},id={session:(t,e)=>{(0,di.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new vn(e.payload)),0))}},D=di.FtReduxStore.get({name:rd,reducers:id,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 to=u(O());var xn=u(O());var Ao=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:i}=D.getState(),n=e??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(e){return new Promise(o=>{let i=t.get(e);if(i)o(i);else{let n=D.subscribe(()=>{i=t.get(e),i&&(n(),o(i))})}})}};var eo=class{constructor(e=!0,o){var i;this.overrideApi=o;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new xn.CacheRegistry,this.cache=e?n.commonCache:new xn.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ao.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ao.await()}clearCache(){this.cache.clearAll()}};var Nc,nd=Symbol("clearAfterUnitTest"),fi=class extends eo{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Nc]=()=>{this.defaultMessages={},this.cache=new to.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var i;if(e=e.toLowerCase(),Object.keys(o).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...o};(0,to.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,i;return this.fetchContext(e),(i=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,o){let i=e.toLowerCase();return this.resolveContext(i)[o]}resolveMessage(e,o,...i){var n;let a=e.toLowerCase(),l=this.resolveContext(a);return new to.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},l).resolve(o,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(o),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,to.delay)(0).then(()=>o()).catch(()=>null)))}};Nc=nd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends fi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends fi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var kc=window.FluidTopicsI18nService,y0=window.FluidTopicsCustomI18nService;var _e=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},he=class extends vt.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=()=>Ao.get(),this.messageContexts=[],this.cache=new vt.CacheRegistry,this.cleanSessionDebouncer=new vt.Debouncer}render(){return Ac.html`
3187
+ `;var Sd=h(w());var kc=h(N()),dt=h(Y()),vt=h(w());var $c=h(N());var Rc=$c.css`
3188
+ `;var pi=h(w()),rp="ft-app-info",vn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ip={session:(t,e)=>{(0,pi.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.eventBus.dispatchEvent(new vn(e.payload)),0))}},_=pi.FtReduxStore.get({name:rp,reducers:ip,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 to=h(w());var xn=h(w());var ko=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=_.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=_.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}};var eo=class{constructor(e=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new xn.CacheRegistry,this.cache=e?n.commonCache:new xn.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ko.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ko.await()}clearCache(){this.cache.clearAll()}};var Lc,np=Symbol("clearAfterUnitTest"),fi=class extends eo{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Lc]=()=>{this.defaultMessages={},this.cache=new to.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};(0,to.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),l=this.resolveContext(a);return new to.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},l).resolve(r,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>(0,to.delay)(0).then(()=>r()).catch(()=>null)))}};Lc=np;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends fi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends fi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Nc=window.FluidTopicsI18nService,O0=window.FluidTopicsCustomI18nService;var Fe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends vt.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=()=>ko.get(),this.messageContexts=[],this.cache=new vt.CacheRegistry,this.cleanSessionDebouncer=new vt.Debouncer}render(){return kc.html`
2967
3189
  <slot></slot>
2968
- `}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>kc.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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 e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};he.elementDefinitions={};he.styles=Rc;_e([(0,pt.property)()],he.prototype,"baseUrl",void 0);_e([(0,pt.property)()],he.prototype,"apiIntegrationIdentifier",void 0);_e([(0,pt.property)()],he.prototype,"uiLocale",void 0);_e([(0,vt.jsonProperty)(null)],he.prototype,"availableUiLocales",void 0);_e([(0,vt.jsonProperty)(null)],he.prototype,"metadataConfiguration",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"editorMode",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"noCustom",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"openExternalDocumentInNewTab",void 0);_e([(0,pt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],he.prototype,"noCustomComponent",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"withManualResources",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"navigatorOnline",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"forcedOffline",void 0);_e([(0,pt.property)({type:Object})],he.prototype,"apiProvider",void 0);_e([(0,vt.jsonProperty)([])],he.prototype,"messageContexts",void 0);_e([(0,vt.jsonProperty)(void 0)],he.prototype,"session",void 0);var jd=u(Y());function ad(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,i,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(i=o;i--!==0;)if(!ui(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ui(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!ui(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ui(t,e){try{return ad(t,e)}catch{return!1}}function Sn(t,e){return!ui(t,e)}var ld=u(Y(),1);var hi=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(i=>i.type===e);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var $r=u(Y(),1);var Lc=u(Y(),1);function Pc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Lc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Sn,...e??{}})}var mi=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of i)try{await l()}catch(s){n(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=u(R(),1);var gi=window,sd=gi.ShadowRoot&&(gi.ShadyCSS===void 0||gi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I0=Symbol();var Ic=(t,e)=>{sd?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let i=document.createElement("style"),n=gi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,t.appendChild(i)})};var yi=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let o={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Ic(i,e.elementStyles),i}};var bi=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Fc,Dc=Symbol("constructorPrototype"),_c=Symbol("constructorName"),Tc=Symbol("exportpartsDebouncer"),zc=Symbol("dynamicDependenciesLoaded"),oo=class extends yi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Fc]=new mi(5),this[_c]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_c]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[zc]||(e[zc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[Tc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,i,n,a,l,s;let d=g=>g!=null&&g.trim().length>0,f=e.filter(d).map(g=>g.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],y=(s=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(g=>f.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Fc=Tc;bi([(0,$r.property)()],oo.prototype,"exportpartsPrefix",void 0);bi([Pc([])],oo.prototype,"exportpartsPrefixes",void 0);bi([(0,$r.property)()],oo.prototype,"customStylesheet",void 0);bi([(0,$r.state)()],oo.prototype,"useAdoptedStyleSheets",void 0);function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mc,Wc,Uc,vi=Symbol("internalReduxEventsUnsubscribers"),ro=Symbol("internalStoresUnsubscribers"),Lo=Symbol("internalStores"),Nr=class extends oo{constructor(){super(...arguments),this[Mc]=new Map,this[Wc]=new Map,this[Uc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Lo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Lo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Lo].get(e)}addStore(e,o){var i;o=(i=o??(Rr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Lo].delete(o)}setupStore(e,o){this[Lo].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Lo].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(e.store);n&&(e.store?this[ro].has(e.store):this[ro].size>0)&&(this[o]=e.selector(n.getState(),this))}})}subscribeToStore(e,o){var i;this[ro].set(e,o.subscribe(()=>this.updateFromStores())),Rr(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let l=s=>this[a](s);o.eventBus.addEventListener(n.eventName,l),this[vi].push(()=>o.eventBus.removeEventListener(n.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ro].forEach((e,o)=>this.unsubscribeFromStore(o)),this[vi].forEach(e=>e()),this[vi]=[]}unsubscribeFromStore(e){this[ro].has(e)&&this[ro].get(e)(),this[ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Mc=ro,Wc=Lo,Uc=vi;Nr.reduxProperties=new Map;Nr.reduxReactiveProperties=new Set;Nr.reduxEventListeners=new Map;function dt(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Vt(t){return!!t&&!!t[se]}function xt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===gd}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||An(t)||Ln(t))}function Po(t,e,o){o===void 0&&(o=!1),Qo(t)===0?(o?Object.keys:Jo)(t).forEach(function(i){o&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Qo(t){var e=t[se];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:An(t)?2:Ln(t)?3:0}function Xo(t,e){return Qo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function cd(t,e){return Qo(t)===2?t.get(e):t[e]}function Yc(t,e,o){var i=Qo(t);i===2?t.set(e,o):i===3?t.add(o):t[e]=o}function Xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function An(t){return hd&&t instanceof Map}function Ln(t){return md&&t instanceof Set}function io(t){return t.o||t.t}function Pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ep(t);delete e[se];for(var o=Jo(e),i=0;i<o.length;i++){var n=o[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function In(t,e){return e===void 0&&(e=!1),Bn(t)||Vt(t)||!xt(t)||(Qo(t)>1&&(t.set=t.add=t.clear=t.delete=pd),Object.freeze(t),e&&Po(t,function(o,i){return In(i,!0)},!0)),t}function pd(){dt(2)}function Bn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Lt(t){var e=kn[t];return e||dt(18,t),e}function dd(t,e){kn[t]||(kn[t]=e)}function $n(){return Ar}function On(t,e){e&&(Lt("Patches"),t.u=[],t.s=[],t.v=e)}function xi(t){Rn(t),t.p.forEach(fd),t.p=null}function Rn(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function fd(t){var e=t[se];e.i===0||e.i===1?e.j():e.g=!0}function Cn(t,e){e._=e.p.length;var o=e.p[0],i=t!==void 0&&t!==o;return e.h.O||Lt("ES5").S(e,t,i),i?(o[se].P&&(xi(e),dt(4)),xt(t)&&(t=Si(e,t),e.l||Oi(e,t)),e.u&&Lt("Patches").M(o[se].t,t,e.u,e.s)):t=Si(e,o,[]),xi(e),e.u&&e.v(e.u,e.s),t!==Qc?t:void 0}function Si(t,e,o){if(Bn(e))return e;var i=e[se];if(!i)return Po(e,function(s,d){return Vc(t,i,e,s,d,o)},!0),e;if(i.A!==t)return e;if(!i.P)return Oi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Pn(i.k):i.o,a=n,l=!1;i.i===3&&(a=new Set(n),n.clear(),l=!0),Po(a,function(s,d){return Vc(t,i,n,s,d,o,l)}),Oi(t,n,!1),o&&t.u&&Lt("Patches").N(i,o,t.u,t.s)}return i.o}function Vc(t,e,o,i,n,a,l){if(Vt(n)){var s=Si(t,n,a&&e&&e.i!==3&&!Xo(e.R,i)?a.concat(i):void 0);if(Yc(o,i,s),!Vt(s))return;t.m=!1}else l&&o.add(n);if(xt(n)&&!Bn(n)){if(!t.h.D&&t._<1)return;Si(t,n),e&&e.A.l||Oi(t,n)}}function Oi(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&In(e,o)}function wn(t,e){var o=t[se];return(o?io(o):t)[e]}function jc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function no(t){t.P||(t.P=!0,t.l&&no(t.l))}function En(t){t.o||(t.o=Pn(t.t))}function Nn(t,e,o){var i=An(e)?Lt("MapSet").F(e,o):Ln(e)?Lt("MapSet").T(e,o):t.O?function(n,a){var l=Array.isArray(n),s={i:l?1:0,A:a?a.A:$n(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=s,f=Lr;l&&(d=[s],f=kr);var h=Proxy.revocable(d,f),m=h.revoke,g=h.proxy;return s.k=g,s.j=m,g}(e,o):Lt("ES5").J(e,o);return(o?o.A:$n()).p.push(i),i}function ud(t){return Vt(t)||dt(22,t),function e(o){if(!xt(o))return o;var i,n=o[se],a=Qo(o);if(n){if(!n.P&&(n.i<4||!Lt("ES5").K(n)))return n.t;n.I=!0,i=Gc(o,a),n.I=!1}else i=Gc(o,a);return Po(i,function(l,s){n&&cd(n.t,l)===s||Yc(i,l,e(s))}),a===3?new Set(i):i}(t)}function Gc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Pn(t)}function Jc(){function t(l,s){var d=a[l];return d?d.enumerable=s:a[l]=d={configurable:!0,enumerable:s,get:function(){var f=this[se];return Lr.get(f,l)},set:function(f){var h=this[se];Lr.set(h,l,f)}},d}function e(l){for(var s=l.length-1;s>=0;s--){var d=l[s][se];if(!d.P)switch(d.i){case 5:i(d)&&no(d);break;case 4:o(d)&&no(d)}}}function o(l){for(var s=l.t,d=l.k,f=Jo(d),h=f.length-1;h>=0;h--){var m=f[h];if(m!==se){var g=s[m];if(g===void 0&&!Xo(s,m))return!0;var b=d[m],y=b&&b[se];if(y?y.t!==g:!Xc(b,g))return!0}}var v=!!s[se];return f.length!==Jo(s).length+(v?0:1)}function i(l){var s=l.k;if(s.length!==l.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function n(l){l.g&&dt(3,JSON.stringify(io(l)))}var a={};dd("ES5",{J:function(l,s){var d=Array.isArray(l),f=function(m,g){if(m){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var v=ep(g);delete v[se];for(var N=Jo(v),E=0;E<N.length;E++){var $=N[E];v[$]=t($,m||!!v[$].enumerable)}return Object.create(Object.getPrototypeOf(g),v)}(d,l),h={i:d?5:4,A:s?s.A:$n(),P:!1,I:!1,R:{},l:s,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,se,{value:h,writable:!0}),f},S:function(l,s,d){d?Vt(s)&&s[se].A===l&&e(l.p):(l.u&&function f(h){if(h&&typeof h=="object"){var m=h[se];if(m){var g=m.t,b=m.k,y=m.R,v=m.i;if(v===4)Po(b,function(V){V!==se&&(g[V]!==void 0||Xo(g,V)?y[V]||f(b[V]):(y[V]=!0,no(m)))}),Po(g,function(V){b[V]!==void 0||Xo(b,V)||(y[V]=!1,no(m))});else if(v===5){if(i(m)&&(no(m),y.length=!0),b.length<g.length)for(var N=b.length;N<g.length;N++)y[N]=!1;else for(var E=g.length;E<b.length;E++)y[E]=!0;for(var $=Math.min(b.length,g.length),P=0;P<$;P++)b.hasOwnProperty(P)||(y[P]=!0),y[P]===void 0&&f(b[P])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?o(l):i(l)}})}var Kc,Ar,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hd=typeof Map<"u",md=typeof Set<"u",Zc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qc=Dn?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),qc=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",se=Dn?Symbol.for("immer-state"):"__$immer_state";var gd=""+Object.prototype.constructor,Jo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ep=Object.getOwnPropertyDescriptors||function(t){var e={};return Jo(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},kn={},Lr={get:function(t,e){if(e===se)return t;var o=io(t);if(!Xo(o,e))return function(n,a,l){var s,d=jc(a,l);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(n.k):void 0}(t,o,e);var i=o[e];return t.I||!xt(i)?i:i===wn(t.t,e)?(En(t),t.o[e]=Nn(t.A.h,i,t)):i},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,o){var i=jc(io(t),e);if(i?.set)return i.set.call(t.k,o),!0;if(!t.P){var n=wn(io(t),e),a=n?.[se];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Xc(o,n)&&(o!==void 0||Xo(t.t,e)))return!0;En(t),no(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return wn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,En(t),no(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=io(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:o[e]}},defineProperty:function(){dt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){dt(12)}},kr={};Po(Lr,function(t,e){kr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),kr.deleteProperty=function(t,e){return kr.set.call(this,t,e,void 0)},kr.set=function(t,e,o){return Lr.set.call(this,t[0],e,o,t[0])};var yd=function(){function t(o){var i=this;this.O=Zc,this.D=!0,this.produce=function(n,a,l){if(typeof n=="function"&&typeof a!="function"){var s=a;a=n;var d=i;return function(v){var N=this;v===void 0&&(v=s);for(var E=arguments.length,$=Array(E>1?E-1:0),P=1;P<E;P++)$[P-1]=arguments[P];return d.produce(v,function(V){var Q;return(Q=a).call.apply(Q,[N,V].concat($))})}}var f;if(typeof a!="function"&&dt(6),l!==void 0&&typeof l!="function"&&dt(7),xt(n)){var h=Hc(i),m=Nn(i,n,void 0),g=!0;try{f=a(m),g=!1}finally{g?xi(h):Rn(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return On(h,l),Cn(v,h)},function(v){throw xi(h),v}):(On(h,l),Cn(f,h))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Qc&&(f=void 0),i.D&&In(f,!0),l){var b=[],y=[];Lt("Patches").M(n,f,b,y),l(b,y)}return f}dt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var h=arguments.length,m=Array(h>1?h-1:0),g=1;g<h;g++)m[g-1]=arguments[g];return i.produceWithPatches(f,function(b){return n.apply(void 0,[b].concat(m))})};var l,s,d=i.produce(n,a,function(f,h){l=f,s=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,l,s]}):[d,l,s]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){xt(o)||dt(8),Vt(o)&&(o=ud(o));var i=Hc(this),n=Nn(this,o,void 0);return n[se].C=!0,Rn(i),n},e.finishDraft=function(o,i){var n=o&&o[se],a=n.A;return On(a,i),Cn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Zc&&dt(20),this.O=o},e.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var l=Lt("Patches").$;return Vt(o)?l(o,i):this.produce(o,function(s){return l(s,i)})},t}(),tt=new yd,bd=tt.produce,j0=tt.produceWithPatches.bind(tt),G0=tt.setAutoFreeze.bind(tt),K0=tt.setUseProxies.bind(tt),Z0=tt.applyPatches.bind(tt),q0=tt.createDraft.bind(tt),Y0=tt.finishDraft.bind(tt),Ci=bd;function ao(t){"@babel/helpers - typeof";return ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ao(t)}function _n(t,e){if(ao(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var i=o.call(t,e||"default");if(ao(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zn(t){var e=_n(t,"string");return ao(e)==="symbol"?e:String(e)}function Fn(t,e,o){return e=zn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function tp(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function wi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?tp(Object(o),!0).forEach(function(i){Fn(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):tp(Object(o)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(o,i))})}return t}function Re(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var op=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ei={INIT:"@@redux/INIT"+Tn(),REPLACE:"@@redux/REPLACE"+Tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Tn()}};function vd(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Mn(t,e,o){var i;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Re(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Re(1));return o(Mn)(t,e)}if(typeof t!="function")throw new Error(Re(2));var n=t,a=e,l=[],s=l,d=!1;function f(){s===l&&(s=l.slice())}function h(){if(d)throw new Error(Re(3));return a}function m(v){if(typeof v!="function")throw new Error(Re(4));if(d)throw new Error(Re(5));var N=!0;return f(),s.push(v),function(){if(N){if(d)throw new Error(Re(6));N=!1,f();var $=s.indexOf(v);s.splice($,1),l=null}}}function g(v){if(!vd(v))throw new Error(Re(7));if(typeof v.type>"u")throw new Error(Re(8));if(d)throw new Error(Re(9));try{d=!0,a=n(a,v)}finally{d=!1}for(var N=l=s,E=0;E<N.length;E++){var $=N[E];$()}return v}function b(v){if(typeof v!="function")throw new Error(Re(10));n=v,g({type:Ei.REPLACE})}function y(){var v,N=m;return v={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(Re(11));function P(){$.next&&$.next(h())}P();var V=N(P);return{unsubscribe:V}}},v[op]=function(){return this},v}return g({type:Ei.INIT}),i={dispatch:g,subscribe:m,getState:h,replaceReducer:b},i[op]=y,i}function xd(t){Object.keys(t).forEach(function(e){var o=t[e],i=o(void 0,{type:Ei.INIT});if(typeof i>"u")throw new Error(Re(12));if(typeof o(void 0,{type:Ei.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Re(13))})}function rp(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(o[n]=t[n])}var a=Object.keys(o),l,s;try{xd(o)}catch(d){s=d}return function(f,h){if(f===void 0&&(f={}),s)throw s;if(0)var m;for(var g=!1,b={},y=0;y<a.length;y++){var v=a[y],N=o[v],E=f[v],$=N(E,h);if(typeof $>"u"){var P=h&&h.type;throw new Error(Re(14))}b[v]=$,g=g||$!==E}return g=g||a.length!==Object.keys(f).length,g?b:f}}function er(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function ip(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Re(15))},l={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(d){return d(l)});return a=er.apply(void 0,s)(n.dispatch),wi(wi({},n),{},{dispatch:a})}}}function np(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(l){return function(s){return typeof s=="function"?s(n,a,t):l(s)}}};return e}var ap=np();ap.withExtraArgument=np;var Wn=ap;var dp=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function i(){this.constructor=e}e.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),Sd=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(f){return function(h){return d([f,h])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,n=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(h){f=[6,h],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tr=function(t,e){for(var o=0,i=e.length,n=t.length;o<i;o++,n++)t[n]=e[o];return t},Od=Object.defineProperty,Cd=Object.defineProperties,wd=Object.getOwnPropertyDescriptors,lp=Object.getOwnPropertySymbols,Ed=Object.prototype.hasOwnProperty,$d=Object.prototype.propertyIsEnumerable,sp=function(t,e,o){return e in t?Od(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},lo=function(t,e){for(var o in e||(e={}))Ed.call(e,o)&&sp(t,o,e[o]);if(lp)for(var i=0,n=lp(e);i<n.length;i++){var o=n[i];$d.call(e,o)&&sp(t,o,e[o])}return t},Un=function(t,e){return Cd(t,wd(e))},Rd=function(t,e,o){return new Promise(function(i,n){var a=function(d){try{s(o.next(d))}catch(f){n(f)}},l=function(d){try{s(o.throw(d))}catch(f){n(f)}},s=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,l)};s((o=o.apply(t,e)).next())})};var Nd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},hS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function kd(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Ad=function(t){dp(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,tr([void 0],o[0].concat(this)))):new(e.bind.apply(e,tr([void 0],o.concat(this))))},e}(Array),Ld=function(t){dp(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,tr([void 0],o[0].concat(this)))):new(e.bind.apply(e,tr([void 0],o.concat(this))))},e}(Array);function jn(t){return xt(t)?Ci(t,function(){}):t}function Pd(t){return typeof t=="boolean"}function Id(){return function(e){return Bd(e)}}function Bd(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,l=a===void 0?!0:a,s=new Ad;if(o&&(Pd(o)?s.push(Wn):s.push(Wn.withExtraArgument(o.extraArgument))),0){if(n)var d;if(l)var f}return s}var Hn=!0;function fp(t){var e=Id(),o=t||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,l=a===void 0?e():a,s=o.devTools,d=s===void 0?!0:s,f=o.preloadedState,h=f===void 0?void 0:f,m=o.enhancers,g=m===void 0?void 0:m,b;if(typeof n=="function")b=n;else if(kd(n))b=rp(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=l;if(typeof y=="function"&&(y=y(e),!Hn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&y.some(function(V){return typeof V!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ip.apply(void 0,y),N=er;d&&(N=Nd(lo({trace:!Hn},typeof d=="object"&&d)));var E=new Ld(v),$=E;Array.isArray(g)?$=tr([v],g):typeof g=="function"&&($=g(E));var P=N.apply(void 0,$);return Mn(b,h,P)}function so(t,e){function o(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return lo(lo({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(i){return i.type===t},o}function up(t){var e={},o=[],i,n={addCase:function(a,l){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=l,n},addMatcher:function(a,l){return o.push({matcher:a,reducer:l}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,o,i]}function Dd(t){return typeof t=="function"}function _d(t,e,o,i){o===void 0&&(o=[]);var n=typeof e=="function"?up(e):[e,o,i],a=n[0],l=n[1],s=n[2],d;if(Dd(t))d=function(){return jn(t())};else{var f=jn(t);d=function(){return f}}function h(m,g){m===void 0&&(m=d());var b=tr([a[g.type]],l.filter(function(y){var v=y.matcher;return v(g)}).map(function(y){var v=y.reducer;return v}));return b.filter(function(y){return!!y}).length===0&&(b=[s]),b.reduce(function(y,v){if(v)if(Vt(y)){var N=y,E=v(N,g);return E===void 0?y:E}else{if(xt(y))return Ci(y,function($){return v($,g)});var E=v(y,g);if(E===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return y},m)}return h.getInitialState=d,h}function zd(t,e){return t+"/"+e}function hp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:jn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};n.forEach(function(h){var m=i[h],g=zd(e,h),b,y;"reducer"in m?(b=m.reducer,y=m.prepare):b=m,a[h]=b,l[g]=b,s[h]=y?so(g,y):so(g)});function d(){var h=typeof t.extraReducers=="function"?up(t.extraReducers):[t.extraReducers],m=h[0],g=m===void 0?{}:m,b=h[1],y=b===void 0?[]:b,v=h[2],N=v===void 0?void 0:v,E=lo(lo({},g),l);return _d(o,function($){for(var P in E)$.addCase(P,E[P]);for(var V=0,Q=y;V<Q.length;V++){var ot=Q[V];$.addMatcher(ot.matcher,ot.reducer)}N&&$.addDefaultCase(N)})}var f;return{name:e,reducer:function(h,m){return f||(f=d()),f(h,m)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Fd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Td=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Fd[Math.random()*64|0];return e},Md=["name","message","stack","code"],Vn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),cp=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Wd=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,i=Md;o<i.length;o++){var n=i[o];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},bS=function(){function t(e,o,i){var n=so(e+"/fulfilled",function(h,m,g,b){return{payload:h,meta:Un(lo({},b||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=so(e+"/pending",function(h,m,g){return{payload:void 0,meta:Un(lo({},g||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),l=so(e+"/rejected",function(h,m,g,b,y){return{payload:b,error:(i&&i.serializeError||Wd)(h||"Rejected"),meta:Un(lo({},y||{}),{arg:g,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(m,g,b){var y=i?.idGenerator?i.idGenerator(h):Td(),v=new d,N,E=!1;function $(V){N=V,v.abort()}var P=function(){return Rd(this,null,function(){var V,Q,ot,jt,Ai,Gt,Ve;return Sd(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),jt=(V=i?.condition)==null?void 0:V.call(i,h,{getState:g,extra:b}),Hd(jt)?[4,jt]:[3,2];case 1:jt=rt.sent(),rt.label=2;case 2:if(jt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Ai=new Promise(function(je,co){return v.signal.addEventListener("abort",function(){return co({name:"AbortError",message:N||"Aborted"})})}),m(a(y,h,(Q=i?.getPendingMeta)==null?void 0:Q.call(i,{requestId:y,arg:h},{getState:g,extra:b}))),[4,Promise.race([Ai,Promise.resolve(o(h,{dispatch:m,getState:g,extra:b,requestId:y,signal:v.signal,abort:$,rejectWithValue:function(je,co){return new Vn(je,co)},fulfillWithValue:function(je,co){return new cp(je,co)}})).then(function(je){if(je instanceof Vn)throw je;return je instanceof cp?n(je.payload,y,h,je.meta):n(je,y,h)})])];case 3:return ot=rt.sent(),[3,5];case 4:return Gt=rt.sent(),ot=Gt instanceof Vn?l(null,y,h,Gt.payload,Gt.meta):l(Gt,y,h),[3,5];case 5:return Ve=i&&!i.dispatchConditionRejection&&l.match(ot)&&ot.meta.condition,Ve||m(ot),[2,ot]}})})}();return Object.assign(P,{abort:$,requestId:y,arg:h,unwrap:function(){return P.then(Ud)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Ud(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Hd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var mp="listener",gp="completed",yp="cancelled",vS="task-"+yp,xS="task-"+gp,SS=mp+"-"+yp,OS=mp+"-"+gp;var Gn="listenerMiddleware";var CS=so(Gn+"/add"),wS=so(Gn+"/removeAll"),ES=so(Gn+"/remove");var pp,$S=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(pp||(pp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Vd=function(t){return function(e){setTimeout(e,t)}},RS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vd(10);Jc();window.ftReduxStores||(window.ftReduxStores={});var bp=class t{static get(e){var o;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Rr(a))return a;if(n==null)return;let l=hp({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),s=fp({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:l.reducer(d,f)});return window.ftReduxStores[n.name]=new t(l,s)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new hi,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let l=n,s=i[l];return s?(...d)=>{let f=s(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[l]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var ki=u(O());var $i=class extends eo{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ri=class extends eo{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Gd="ft-user-assets",Ni=ki.FtReduxStore.get({name:Gd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Kn=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ri,this.savedSearchesService=new $i,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,ki.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ni.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ni.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ni.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ni.actions.bookmarks(o)}}},oO=new Kn;var Zn=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zn;var vp=u(O()),qn=class{highlightHtml(e,o,i){(0,vp.highlightHtml)(e,o,i)}};window.FluidTopicsHighlightHtmlService=new qn;var xp=u(O());var Yn=class{isDate(e){var o,i,n,a;return(a=(n=((i=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(s=>s.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,o){var i,n,a;return xp.DateFormatter.format(e,(i=o?.locale)!==null&&i!==void 0?i:D.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yn;(0,Sp.customElement)("ft-app-context")(he);var H=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Op={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Xn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Jn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Kd=()=>{},L=class extends re.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new re.ParametrizedLabelResolver(Op,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new re.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=it.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Nt(this),this.selectedFacetsManager=new kt(this),this.desktopSearchBarManager=new Er(this),this.mobileSearchBarManager=new wr(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new re.Debouncer(10),this.updateLocalesDebouncer=new re.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(o=>o.contentLocales).catch(()=>[]).then(o=>{this.availableContentLocales=o,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new re.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(o=>o===this.floatingContainer))},this.compareUnknownFilters=(e,o)=>e.valueFilter&&o.valueFilter?this.compareValueFilters(e.valueFilter,o.valueFilter):e.dateFilter&&o.dateFilter?this.compareDateFilters(e.dateFilter,o.dateFilter):e.rangeFilter&&o.rangeFilter?this.compareRangeFilters(e.rangeFilter,o.rangeFilter):!1,this.compareValueFilters=(e,o)=>e.negative==o.negative&&e.values.length===o.values.length&&e.values.every(i=>o.values.includes(i)),this.compareDateFilters=(e,o)=>e.type===o.type,this.compareRangeFilters=(e,o)=>e.from===o.from&&e.to===o.to,this.compareFilters=(e,o)=>e.key===o.key&&this.compareUnknownFilters(e,o),this.compareRequests=(e,o)=>(e.contentLocale==null||o.contentLocale==null||e.contentLocale===o.contentLocale)&&e.metadataFilters.length===o.metadataFilters.length&&e.metadataFilters.every(i=>o.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(o=>{var i,n;return((n=(i=o.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(o.key)}).map(o=>({id:o.key}));return[...this.displayedFilters.map(o=>({id:o})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===it.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,re.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Z.html`
3190
+ `}update(e){super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Nc.addContext(r)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.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 e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ye.elementDefinitions={};ye.styles=Rc;Fe([(0,dt.property)()],ye.prototype,"baseUrl",void 0);Fe([(0,dt.property)()],ye.prototype,"apiIntegrationIdentifier",void 0);Fe([(0,dt.property)()],ye.prototype,"uiLocale",void 0);Fe([(0,vt.jsonProperty)(null)],ye.prototype,"availableUiLocales",void 0);Fe([(0,vt.jsonProperty)(null)],ye.prototype,"metadataConfiguration",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"editorMode",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"noCustom",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Fe([(0,dt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"withManualResources",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"forcedOffline",void 0);Fe([(0,dt.property)({type:Object})],ye.prototype,"apiProvider",void 0);Fe([(0,vt.jsonProperty)([])],ye.prototype,"messageContexts",void 0);Fe([(0,vt.jsonProperty)(void 0)],ye.prototype,"session",void 0);var jp=h(Y());function ap(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!ui(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ui(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),r=n.length,r!==Object.keys(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){var a=n[i];if(!ui(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ui(t,e){try{return ap(t,e)}catch{return!1}}function Sn(t,e){return!ui(t,e)}var lp=h(Y(),1);var hi=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}};var $r=h(Y(),1);var Ac=h(Y(),1);function Pc(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Ac.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Sn,...e??{}})}var yi=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of i)try{await l()}catch(c){n(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=h(N(),1);var mi=window,sp=mi.ShadowRoot&&(mi.ShadyCSS===void 0||mi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,z0=Symbol();var Ic=(t,e)=>{sp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let i=document.createElement("style"),n=mi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)})};var bi=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return Ic(i,e.elementStyles),i}};var gi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zc,Dc=Symbol("constructorPrototype"),Fc=Symbol("constructorName"),Tc=Symbol("exportpartsDebouncer"),_c=Symbol("dynamicDependenciesLoaded"),oo=class extends bi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zc]=new yi(5),this[Fc]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fc]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[_c]||(e[_c]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[Tc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,l,c;let p=b=>b!=null&&b.trim().length>0,f=e.filter(p).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let b of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let v=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],g=(c=(l=b.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...v,...g).filter(p).map(S=>S.trim()).forEach(S=>y.add(S))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>f.map(v=>`${b}:${v}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};zc=Tc;gi([(0,$r.property)()],oo.prototype,"exportpartsPrefix",void 0);gi([Pc([])],oo.prototype,"exportpartsPrefixes",void 0);gi([(0,$r.property)()],oo.prototype,"customStylesheet",void 0);gi([(0,$r.state)()],oo.prototype,"useAdoptedStyleSheets",void 0);function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Wc,Mc,Uc,vi=Symbol("internalReduxEventsUnsubscribers"),ro=Symbol("internalStoresUnsubscribers"),Ao=Symbol("internalStores"),Lr=class extends oo{constructor(){super(...arguments),this[Wc]=new Map,this[Mc]=new Map,this[Uc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ao].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ao].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ao].get(e)}addStore(e,r){var i;r=(i=r??(Rr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ao].delete(r)}setupStore(e,r){this[Ao].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ao].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[ro].has(e.store):this[ro].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[ro].set(e,r.subscribe(()=>this.updateFromStores())),Rr(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let l=c=>this[a](c);r.eventBus.addEventListener(n.eventName,l),this[vi].push(()=>r.eventBus.removeEventListener(n.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ro].forEach((e,r)=>this.unsubscribeFromStore(r)),this[vi].forEach(e=>e()),this[vi]=[]}unsubscribeFromStore(e){this[ro].has(e)&&this[ro].get(e)(),this[ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wc=ro,Mc=Ao,Uc=vi;Lr.reduxProperties=new Map;Lr.reduxReactiveProperties=new Set;Lr.reduxEventListeners=new Map;function pt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Vt(t){return!!t&&!!t[ce]}function xt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===mp}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||kn(t)||An(t))}function Po(t,e,r){r===void 0&&(r=!1),Qo(t)===0?(r?Object.keys:Jo)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Qo(t){var e=t[ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:kn(t)?2:An(t)?3:0}function Xo(t,e){return Qo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function cp(t,e){return Qo(t)===2?t.get(e):t[e]}function Yc(t,e,r){var i=Qo(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function kn(t){return hp&&t instanceof Map}function An(t){return yp&&t instanceof Set}function io(t){return t.o||t.t}function Pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ed(t);delete e[ce];for(var r=Jo(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function In(t,e){return e===void 0&&(e=!1),Bn(t)||Vt(t)||!xt(t)||(Qo(t)>1&&(t.set=t.add=t.clear=t.delete=dp),Object.freeze(t),e&&Po(t,function(r,i){return In(i,!0)},!0)),t}function dp(){pt(2)}function Bn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function At(t){var e=Nn[t];return e||pt(18,t),e}function pp(t,e){Nn[t]||(Nn[t]=e)}function $n(){return kr}function On(t,e){e&&(At("Patches"),t.u=[],t.s=[],t.v=e)}function xi(t){Rn(t),t.p.forEach(fp),t.p=null}function Rn(t){t===kr&&(kr=t.l)}function Hc(t){return kr={p:[],l:kr,h:t,m:!0,_:0}}function fp(t){var e=t[ce];e.i===0||e.i===1?e.j():e.g=!0}function Cn(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||At("ES5").S(e,t,i),i?(r[ce].P&&(xi(e),pt(4)),xt(t)&&(t=Si(e,t),e.l||Oi(e,t)),e.u&&At("Patches").M(r[ce].t,t,e.u,e.s)):t=Si(e,r,[]),xi(e),e.u&&e.v(e.u,e.s),t!==Qc?t:void 0}function Si(t,e,r){if(Bn(e))return e;var i=e[ce];if(!i)return Po(e,function(c,p){return Vc(t,i,e,c,p,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Oi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Pn(i.k):i.o,a=n,l=!1;i.i===3&&(a=new Set(n),n.clear(),l=!0),Po(a,function(c,p){return Vc(t,i,n,c,p,r,l)}),Oi(t,n,!1),r&&t.u&&At("Patches").N(i,r,t.u,t.s)}return i.o}function Vc(t,e,r,i,n,a,l){if(Vt(n)){var c=Si(t,n,a&&e&&e.i!==3&&!Xo(e.R,i)?a.concat(i):void 0);if(Yc(r,i,c),!Vt(c))return;t.m=!1}else l&&r.add(n);if(xt(n)&&!Bn(n)){if(!t.h.D&&t._<1)return;Si(t,n),e&&e.A.l||Oi(t,n)}}function Oi(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&In(e,r)}function wn(t,e){var r=t[ce];return(r?io(r):t)[e]}function jc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function no(t){t.P||(t.P=!0,t.l&&no(t.l))}function En(t){t.o||(t.o=Pn(t.t))}function Ln(t,e,r){var i=kn(e)?At("MapSet").F(e,r):An(e)?At("MapSet").T(e,r):t.O?function(n,a){var l=Array.isArray(n),c={i:l?1:0,A:a?a.A:$n(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},p=c,f=Ar;l&&(p=[c],f=Nr);var y=Proxy.revocable(p,f),m=y.revoke,b=y.proxy;return c.k=b,c.j=m,b}(e,r):At("ES5").J(e,r);return(r?r.A:$n()).p.push(i),i}function up(t){return Vt(t)||pt(22,t),function e(r){if(!xt(r))return r;var i,n=r[ce],a=Qo(r);if(n){if(!n.P&&(n.i<4||!At("ES5").K(n)))return n.t;n.I=!0,i=Gc(r,a),n.I=!1}else i=Gc(r,a);return Po(i,function(l,c){n&&cp(n.t,l)===c||Yc(i,l,e(c))}),a===3?new Set(i):i}(t)}function Gc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Pn(t)}function Jc(){function t(l,c){var p=a[l];return p?p.enumerable=c:a[l]=p={configurable:!0,enumerable:c,get:function(){var f=this[ce];return Ar.get(f,l)},set:function(f){var y=this[ce];Ar.set(y,l,f)}},p}function e(l){for(var c=l.length-1;c>=0;c--){var p=l[c][ce];if(!p.P)switch(p.i){case 5:i(p)&&no(p);break;case 4:r(p)&&no(p)}}}function r(l){for(var c=l.t,p=l.k,f=Jo(p),y=f.length-1;y>=0;y--){var m=f[y];if(m!==ce){var b=c[m];if(b===void 0&&!Xo(c,m))return!0;var v=p[m],g=v&&v[ce];if(g?g.t!==b:!Xc(v,b))return!0}}var S=!!c[ce];return f.length!==Jo(c).length+(S?0:1)}function i(l){var c=l.k;if(c.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function n(l){l.g&&pt(3,JSON.stringify(io(l)))}var a={};pp("ES5",{J:function(l,c){var p=Array.isArray(l),f=function(m,b){if(m){for(var v=Array(b.length),g=0;g<b.length;g++)Object.defineProperty(v,""+g,t(g,!0));return v}var S=ed(b);delete S[ce];for(var k=Jo(S),R=0;R<k.length;R++){var L=k[R];S[L]=t(L,m||!!S[L].enumerable)}return Object.create(Object.getPrototypeOf(b),S)}(p,l),y={i:p?5:4,A:c?c.A:$n(),P:!1,I:!1,R:{},l:c,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ce,{value:y,writable:!0}),f},S:function(l,c,p){p?Vt(c)&&c[ce].A===l&&e(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var m=y[ce];if(m){var b=m.t,v=m.k,g=m.R,S=m.i;if(S===4)Po(v,function(j){j!==ce&&(b[j]!==void 0||Xo(b,j)?g[j]||f(v[j]):(g[j]=!0,no(m)))}),Po(b,function(j){v[j]!==void 0||Xo(v,j)||(g[j]=!1,no(m))});else if(S===5){if(i(m)&&(no(m),g.length=!0),v.length<b.length)for(var k=v.length;k<b.length;k++)g[k]=!1;else for(var R=b.length;R<v.length;R++)g[R]=!0;for(var L=Math.min(v.length,b.length),B=0;B<L;B++)v.hasOwnProperty(B)||(g[B]=!0),g[B]===void 0&&f(v[B])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):i(l)}})}var Kc,kr,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hp=typeof Map<"u",yp=typeof Set<"u",Zc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qc=Dn?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),qc=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",ce=Dn?Symbol.for("immer-state"):"__$immer_state";var mp=""+Object.prototype.constructor,Jo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ed=Object.getOwnPropertyDescriptors||function(t){var e={};return Jo(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Nn={},Ar={get:function(t,e){if(e===ce)return t;var r=io(t);if(!Xo(r,e))return function(n,a,l){var c,p=jc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!xt(i)?i:i===wn(t.t,e)?(En(t),t.o[e]=Ln(t.A.h,i,t)):i},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,r){var i=jc(io(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=wn(io(t),e),a=n?.[ce];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Xc(r,n)&&(r!==void 0||Xo(t.t,e)))return!0;En(t),no(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return wn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,En(t),no(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=io(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pt(12)}},Nr={};Po(Ar,function(t,e){Nr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Nr.deleteProperty=function(t,e){return Nr.set.call(this,t,e,void 0)},Nr.set=function(t,e,r){return Ar.set.call(this,t[0],e,r,t[0])};var bp=function(){function t(r){var i=this;this.O=Zc,this.D=!0,this.produce=function(n,a,l){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var p=i;return function(S){var k=this;S===void 0&&(S=c);for(var R=arguments.length,L=Array(R>1?R-1:0),B=1;B<R;B++)L[B-1]=arguments[B];return p.produce(S,function(j){var Q;return(Q=a).call.apply(Q,[k,j].concat(L))})}}var f;if(typeof a!="function"&&pt(6),l!==void 0&&typeof l!="function"&&pt(7),xt(n)){var y=Hc(i),m=Ln(i,n,void 0),b=!0;try{f=a(m),b=!1}finally{b?xi(y):Rn(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return On(y,l),Cn(S,y)},function(S){throw xi(y),S}):(On(y,l),Cn(f,y))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Qc&&(f=void 0),i.D&&In(f,!0),l){var v=[],g=[];At("Patches").M(n,f,v,g),l(v,g)}return f}pt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return i.produceWithPatches(f,function(v){return n.apply(void 0,[v].concat(m))})};var l,c,p=i.produce(n,a,function(f,y){l=f,c=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,c]}):[p,l,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){xt(r)||pt(8),Vt(r)&&(r=up(r));var i=Hc(this),n=Ln(this,r,void 0);return n[ce].C=!0,Rn(i),n},e.finishDraft=function(r,i){var n=r&&r[ce],a=n.A;return On(a,i),Cn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Zc&&pt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var l=At("Patches").$;return Vt(r)?l(r,i):this.produce(r,function(c){return l(c,i)})},t}(),tt=new bp,gp=tt.produce,Y0=tt.produceWithPatches.bind(tt),X0=tt.setAutoFreeze.bind(tt),J0=tt.setUseProxies.bind(tt),Q0=tt.applyPatches.bind(tt),eS=tt.createDraft.bind(tt),tS=tt.finishDraft.bind(tt),Ci=gp;function ao(t){"@babel/helpers - typeof";return ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ao(t)}function Fn(t,e){if(ao(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(ao(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function _n(t){var e=Fn(t,"string");return ao(e)==="symbol"?e:String(e)}function zn(t,e,r){return e=_n(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function td(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function wi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?td(Object(r),!0).forEach(function(i){zn(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var od=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ei={INIT:"@@redux/INIT"+Tn(),REPLACE:"@@redux/REPLACE"+Tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Tn()}};function vp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Wn(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Le(1));return r(Wn)(t,e)}if(typeof t!="function")throw new Error(Le(2));var n=t,a=e,l=[],c=l,p=!1;function f(){c===l&&(c=l.slice())}function y(){if(p)throw new Error(Le(3));return a}function m(S){if(typeof S!="function")throw new Error(Le(4));if(p)throw new Error(Le(5));var k=!0;return f(),c.push(S),function(){if(k){if(p)throw new Error(Le(6));k=!1,f();var L=c.indexOf(S);c.splice(L,1),l=null}}}function b(S){if(!vp(S))throw new Error(Le(7));if(typeof S.type>"u")throw new Error(Le(8));if(p)throw new Error(Le(9));try{p=!0,a=n(a,S)}finally{p=!1}for(var k=l=c,R=0;R<k.length;R++){var L=k[R];L()}return S}function v(S){if(typeof S!="function")throw new Error(Le(10));n=S,b({type:Ei.REPLACE})}function g(){var S,k=m;return S={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Le(11));function B(){L.next&&L.next(y())}B();var j=k(B);return{unsubscribe:j}}},S[od]=function(){return this},S}return b({type:Ei.INIT}),i={dispatch:b,subscribe:m,getState:y,replaceReducer:v},i[od]=g,i}function xp(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Ei.INIT});if(typeof i>"u")throw new Error(Le(12));if(typeof r(void 0,{type:Ei.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Le(13))})}function rd(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),l,c;try{xp(r)}catch(p){c=p}return function(f,y){if(f===void 0&&(f={}),c)throw c;if(0)var m;for(var b=!1,v={},g=0;g<a.length;g++){var S=a[g],k=r[S],R=f[S],L=k(R,y);if(typeof L>"u"){var B=y&&y.type;throw new Error(Le(14))}v[S]=L,b=b||L!==R}return b=b||a.length!==Object.keys(f).length,b?v:f}}function er(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function id(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Le(15))},l={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=er.apply(void 0,c)(n.dispatch),wi(wi({},n),{},{dispatch:a})}}}function nd(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(l){return function(c){return typeof c=="function"?c(n,a,t):l(c)}}};return e}var ad=nd();ad.withExtraArgument=nd;var Mn=ad;var pd=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),Sp=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(f){return function(y){return p([f,y])}}function p(f){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,n=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(y){f=[6,y],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tr=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Op=Object.defineProperty,Cp=Object.defineProperties,wp=Object.getOwnPropertyDescriptors,ld=Object.getOwnPropertySymbols,Ep=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable,sd=function(t,e,r){return e in t?Op(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},lo=function(t,e){for(var r in e||(e={}))Ep.call(e,r)&&sd(t,r,e[r]);if(ld)for(var i=0,n=ld(e);i<n.length;i++){var r=n[i];$p.call(e,r)&&sd(t,r,e[r])}return t},Un=function(t,e){return Cp(t,wp(e))},Rp=function(t,e,r){return new Promise(function(i,n){var a=function(p){try{c(r.next(p))}catch(f){n(f)}},l=function(p){try{c(r.throw(p))}catch(f){n(f)}},c=function(p){return p.done?i(p.value):Promise.resolve(p.value).then(a,l)};c((r=r.apply(t,e)).next())})};var Lp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},vS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Np(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var kp=function(t){pd(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,tr([void 0],r.concat(this))))},e}(Array),Ap=function(t){pd(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,tr([void 0],r.concat(this))))},e}(Array);function jn(t){return xt(t)?Ci(t,function(){}):t}function Pp(t){return typeof t=="boolean"}function Ip(){return function(e){return Bp(e)}}function Bp(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,l=a===void 0?!0:a,c=new kp;if(r&&(Pp(r)?c.push(Mn):c.push(Mn.withExtraArgument(r.extraArgument))),0){if(n)var p;if(l)var f}return c}var Hn=!0;function fd(t){var e=Ip(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,l=a===void 0?e():a,c=r.devTools,p=c===void 0?!0:c,f=r.preloadedState,y=f===void 0?void 0:f,m=r.enhancers,b=m===void 0?void 0:m,v;if(typeof n=="function")v=n;else if(Np(n))v=rd(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=l;if(typeof g=="function"&&(g=g(e),!Hn&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&g.some(function(j){return typeof j!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=id.apply(void 0,g),k=er;p&&(k=Lp(lo({trace:!Hn},typeof p=="object"&&p)));var R=new Ap(S),L=R;Array.isArray(b)?L=tr([S],b):typeof b=="function"&&(L=b(R));var B=k.apply(void 0,L);return Wn(v,y,B)}function so(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return lo(lo({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function ud(t){var e={},r=[],i,n={addCase:function(a,l){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,n},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Dp(t){return typeof t=="function"}function Fp(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?ud(e):[e,r,i],a=n[0],l=n[1],c=n[2],p;if(Dp(t))p=function(){return jn(t())};else{var f=jn(t);p=function(){return f}}function y(m,b){m===void 0&&(m=p());var v=tr([a[b.type]],l.filter(function(g){var S=g.matcher;return S(b)}).map(function(g){var S=g.reducer;return S}));return v.filter(function(g){return!!g}).length===0&&(v=[c]),v.reduce(function(g,S){if(S)if(Vt(g)){var k=g,R=S(k,b);return R===void 0?g:R}else{if(xt(g))return Ci(g,function(L){return S(L,b)});var R=S(g,b);if(R===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return g},m)}return y.getInitialState=p,y}function _p(t,e){return t+"/"+e}function hd(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:jn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},c={};n.forEach(function(y){var m=i[y],b=_p(e,y),v,g;"reducer"in m?(v=m.reducer,g=m.prepare):v=m,a[y]=v,l[b]=v,c[y]=g?so(b,g):so(b)});function p(){var y=typeof t.extraReducers=="function"?ud(t.extraReducers):[t.extraReducers],m=y[0],b=m===void 0?{}:m,v=y[1],g=v===void 0?[]:v,S=y[2],k=S===void 0?void 0:S,R=lo(lo({},b),l);return Fp(r,function(L){for(var B in R)L.addCase(B,R[B]);for(var j=0,Q=g;j<Q.length;j++){var ot=Q[j];L.addMatcher(ot.matcher,ot.reducer)}k&&L.addDefaultCase(k)})}var f;return{name:e,reducer:function(y,m){return f||(f=p()),f(y,m)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var zp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=zp[Math.random()*64|0];return e},Wp=["name","message","stack","code"],Vn=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),cd=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Mp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Wp;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},CS=function(){function t(e,r,i){var n=so(e+"/fulfilled",function(y,m,b,v){return{payload:y,meta:Un(lo({},v||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=so(e+"/pending",function(y,m,b){return{payload:void 0,meta:Un(lo({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=so(e+"/rejected",function(y,m,b,v,g){return{payload:v,error:(i&&i.serializeError||Mp)(y||"Rejected"),meta:Un(lo({},g||{}),{arg:b,requestId:m,rejectedWithValue:!!v,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function f(y){return function(m,b,v){var g=i?.idGenerator?i.idGenerator(y):Tp(),S=new p,k,R=!1;function L(j){k=j,S.abort()}var B=function(){return Rp(this,null,function(){var j,Q,ot,jt,ki,Gt,Ve;return Sp(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),jt=(j=i?.condition)==null?void 0:j.call(i,y,{getState:b,extra:v}),Hp(jt)?[4,jt]:[3,2];case 1:jt=rt.sent(),rt.label=2;case 2:if(jt===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ki=new Promise(function(je,co){return S.signal.addEventListener("abort",function(){return co({name:"AbortError",message:k||"Aborted"})})}),m(a(g,y,(Q=i?.getPendingMeta)==null?void 0:Q.call(i,{requestId:g,arg:y},{getState:b,extra:v}))),[4,Promise.race([ki,Promise.resolve(r(y,{dispatch:m,getState:b,extra:v,requestId:g,signal:S.signal,abort:L,rejectWithValue:function(je,co){return new Vn(je,co)},fulfillWithValue:function(je,co){return new cd(je,co)}})).then(function(je){if(je instanceof Vn)throw je;return je instanceof cd?n(je.payload,g,y,je.meta):n(je,g,y)})])];case 3:return ot=rt.sent(),[3,5];case 4:return Gt=rt.sent(),ot=Gt instanceof Vn?l(null,g,y,Gt.payload,Gt.meta):l(Gt,g,y),[3,5];case 5:return Ve=i&&!i.dispatchConditionRejection&&l.match(ot)&&ot.meta.condition,Ve||m(ot),[2,ot]}})})}();return Object.assign(B,{abort:L,requestId:g,arg:y,unwrap:function(){return B.then(Up)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Up(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Hp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var yd="listener",md="completed",bd="cancelled",wS="task-"+bd,ES="task-"+md,$S=yd+"-"+bd,RS=yd+"-"+md;var Gn="listenerMiddleware";var LS=so(Gn+"/add"),NS=so(Gn+"/removeAll"),kS=so(Gn+"/remove");var dd,AS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(dd||(dd=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Vp=function(t){return function(e){setTimeout(e,t)}},PS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vp(10);Jc();window.ftReduxStores||(window.ftReduxStores={});var gd=class t{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Rr(a))return a;if(n==null)return;let l=hd({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=fd({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[n.name]=new t(l,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new hi,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let l=n,c=i[l];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[l]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ni=h(w());var $i=class extends eo{async listMySearches(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ri=class extends eo{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Gp="ft-user-assets",Li=Ni.FtReduxStore.get({name:Gp,initialState:{savedSearches:void 0,bookmarks:void 0}}),Kn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ri,this.savedSearchesService=new $i,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();(0,Ni.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Li.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Li.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Li.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Li.actions.bookmarks(r)}}},lO=new Kn;var Zn=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zn;var vd=h(w()),qn=class{highlightHtml(e,r,i){(0,vd.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new qn;var xd=h(w());var Yn=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=_.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return xd.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:_.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yn;(0,Sd.customElement)("ft-app-context")(ye);var V=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Od={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Xn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Jn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Kp=()=>{},I=class extends re.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new re.ParametrizedLabelResolver(Od,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new re.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=it.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Lt(this),this.selectedFacetsManager=new Nt(this),this.desktopSearchBarManager=new Er(this),this.mobileSearchBarManager=new wr(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new re.Debouncer(10),this.updateLocalesDebouncer=new re.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new re.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===it.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,re.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Z.html`
2969
3191
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2970
3192
  ${this.renderSearchBar()}
2971
3193
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():Z.html`
2972
3194
  <ft-skeleton class="ft-search-bar--container ft-search-bar--skeleton"
2973
3195
  part="loader"
2974
3196
  tabindex="-1"></ft-skeleton>
2975
- `}renderMobileFacets(){let e=this.availableContentLocales.filter(o=>o.lang===this.contentLocale).pop();return Z.html`
3197
+ `}renderMobileFacets(){let e=this.availableContentLocales.filter(r=>r.lang===this.contentLocale).pop();return Z.html`
2976
3198
  <ft-accordion class="ft-search-bar--filters-container">
2977
3199
  ${this.hasLocaleSelector()?Z.html`
2978
3200
  <ft-accordion-item data-facet-key="ft:locale">
@@ -2990,10 +3212,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2990
3212
  </div>
2991
3213
  </ft-accordion-item>
2992
3214
  `:null}
2993
- ${(0,Pr.repeat)(this.facets,o=>o.key,o=>{let i=Hi(o),n=o.key.replace(":","-"),a=hl(i);return o.rootNodes.length>0?Z.html`
2994
- <ft-accordion-item data-facet-key="${o.key}">
3215
+ ${(0,Pr.repeat)(this.facets,r=>r.key,r=>{let i=Hi(r),n=r.key.replace(":","-"),a=hl(i);return r.rootNodes.length>0?Z.html`
3216
+ <ft-accordion-item data-facet-key="${r.key}">
2995
3217
  <div class="ft-search-bar--filter-label" slot="toggle">
2996
- <ft-typography variant="button">${o.label}</ft-typography>
3218
+ <ft-typography variant="button">${r.label}</ft-typography>
2997
3219
  ${a.length>0?Z.html`
2998
3220
  <ft-typography class="ft-search-bar--filter-label-values" variant="body2">
2999
3221
  ${a.join(", ")}
@@ -3019,11 +3241,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
3019
3241
  </ft-accordion>
3020
3242
  `}getContentLocaleRadioGroup(){var e;return Z.html`
3021
3243
  <ft-radio-group aria-labelledby="content_locale_radio_group_label"
3022
- @change=${o=>{this.contentLocale=o.detail==="all"?void 0:o.detail,this.clearFilters()}}>
3023
- ${(0,Pr.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],o=>o.lang,o=>{var i;return Z.html`
3024
- <ft-radio value="${(i=o.lang)!==null&&i!==void 0?i:"all"}"
3025
- ?checked=${o.lang==this.contentLocale}>
3026
- ${o.label}
3244
+ @change=${r=>{this.contentLocale=r.detail==="all"?void 0:r.detail,this.clearFilters()}}>
3245
+ ${(0,Pr.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var i;return Z.html`
3246
+ <ft-radio value="${(i=r.lang)!==null&&i!==void 0?i:"all"}"
3247
+ ?checked=${r.lang==this.contentLocale}>
3248
+ ${r.label}
3027
3249
  </ft-radio>
3028
3250
  `})}
3029
3251
  </ft-radio-group>
@@ -3049,11 +3271,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
3049
3271
  part="presets"
3050
3272
  label="${this.labelResolver.resolve("presetsSelector")}"
3051
3273
  outlined
3052
- @change=${o=>this.selectedPreset=o.detail}>
3053
- ${(0,Pr.repeat)((e=this.presets)!==null&&e!==void 0?e:[],o=>o.name,o=>Z.html`
3054
- <ft-select-option value="${o.name}"
3055
- label="${o.name}"
3056
- ?selected=${o.name===this.selectedPreset}>
3274
+ @change=${r=>this.selectedPreset=r.detail}>
3275
+ ${(0,Pr.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>Z.html`
3276
+ <ft-select-option value="${r.name}"
3277
+ label="${r.name}"
3278
+ ?selected=${r.name===this.selectedPreset}>
3057
3279
  </ft-select-option>
3058
3280
  `)}
3059
3281
  </ft-select>
@@ -3082,33 +3304,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
3082
3304
  ${this.getContentLocaleRadioGroup()}
3083
3305
  </div>
3084
3306
  `:Z.nothing}
3085
- ${(0,Pr.repeat)(this.facets,e=>e.key,e=>{let o=Hi(e),i=o.options.some(a=>{var l,s;return((s=(l=a.subOptions)===null||l===void 0?void 0:l.length)!==null&&s!==void 0?s:0)>0}),n=e.key.replace(":","-");return Z.html`
3307
+ ${(0,Pr.repeat)(this.facets,e=>e.key,e=>{let r=Hi(e),i=r.options.some(a=>{var l,c;return((c=(l=a.subOptions)===null||l===void 0?void 0:l.length)!==null&&c!==void 0?c:0)>0}),n=e.key.replace(":","-");return Z.html`
3086
3308
  <ft-filter
3087
3309
  class="${i?"ft-search-bar--hierarchical-filter":""}"
3088
3310
  part="filters filter filter-${n}"
3089
3311
  .exportpartsPrefixes=${["filter","filter-"+n]}
3090
- id="${o.id}"
3091
- label="${o.label}"
3092
- filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",o.label)}"
3312
+ id="${r.id}"
3313
+ label="${r.label}"
3314
+ filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",r.label)}"
3093
3315
  clearButtonLabel="${this.labelResolver.resolve("clearFilterButton")}"
3094
3316
  moreValuesButtonLabel="${this.labelResolver.resolve("displayMoreFilterValuesButton")}"
3095
3317
  noValuesLabel="${this.labelResolver.resolve("noFilterValuesAvailable")}"
3096
- ?multivalued=${o.multivalued}
3318
+ ?multivalued=${r.multivalued}
3097
3319
  raiseSelectedOptions
3098
- .options=${o.options}
3320
+ .options=${r.options}
3099
3321
  .displayedValuesLimit=${10}
3100
- @change=${a=>this.setFilter(o.id,a.detail)}
3322
+ @change=${a=>this.setFilter(r.id,a.detail)}
3101
3323
  ></ft-filter>
3102
3324
  `})}
3103
3325
  </ft-snap-scroll>
3104
- `:Z.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",o=>{o.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var o,i,n,a,l;if(e.has("labels")&&(this.labelResolver=new re.ParametrizedLabelResolver(Op,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let s=d=>this.availableContentLocales.some(f=>f.lang==d);s(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&s(e.get("contentLocale"))?e.get("contentLocale"):(o=this.availableContentLocales[0])===null||o===void 0?void 0:o.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(s=>s.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Mr(f)))})),e.has("presets")||e.has("selectedPreset")){let s=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);s&&!this.compareRequests(this.request,s)&&this.setFiltersFromPreset(s)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(s=>e.has(s))&&(this.selectedPreset=(l=((a=this.presets)!==null&&a!==void 0?a:[]).find(s=>this.compareRequests(s,this.request)))===null||l===void 0?void 0:l.name),["baseUrl","apiIntegrationIdentifier"].some(s=>e.has(s))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(s=>e.has(s))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(s=>e.has(s))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(s=>e.has(s))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Jn(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var o,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((o=this.floatingContainer)===null||o===void 0||o.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(l=>l.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let o=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),o.set(n.key,n)})).catch(Kd)),this.facets=[];for(let i of this.facetsRequest)o.has(i.id)?this.facets.push(o.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var o;e.key==="Escape"&&(this.displayFacets=!1,(o=this.filtersOpener)===null||o===void 0||o.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}launchSearch(){if(this.query){let e=this.recentSearches.filter(o=>o.toLowerCase()!==this.query.toLowerCase()).filter((o,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.dispatchEvent(new Xn(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!re.isTouchScreen&&this.focusInput(),D.eventBus.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),D.eventBus.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,o){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,re.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=o.includes(a.value))}),o.length&&i.push({key:e,valueFilter:{negative:!1,values:o}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(o=>(0,re.flatDeep)(o.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?Z.nothing:Z.html`
3326
+ `:Z.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,l;if(e.has("labels")&&(this.labelResolver=new re.ParametrizedLabelResolver(Od,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let c=p=>this.availableContentLocales.some(f=>f.lang==p);c(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&c(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(c=>c.metadataFilters.forEach(p=>{p.valueFilter&&(p.valueFilter.values=p.valueFilter.values.map(f=>Wr(f)))})),e.has("presets")||e.has("selectedPreset")){let c=((n=this.presets)!==null&&n!==void 0?n:[]).find(p=>p.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(c=>e.has(c))&&(this.selectedPreset=(l=((a=this.presets)!==null&&a!==void 0?a:[]).find(c=>this.compareRequests(c,this.request)))===null||l===void 0?void 0:l.name),["baseUrl","apiIntegrationIdentifier"].some(c=>e.has(c))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(c=>e.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(c=>e.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(c=>e.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Jn(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(l=>l.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(Kp)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}launchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.dispatchEvent(new Xn(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!re.isTouchScreen&&this.focusInput(),_.eventBus.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),_.eventBus.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,re.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,re.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?Z.nothing:Z.html`
3105
3327
  <div class="ft-search-bar--floating-panel"
3106
3328
  id="ft-search-bar-floating-panel"
3107
3329
  @keyup=${this.onFloatingContainerKeyUp}
3108
3330
  part="floating-panel"
3109
3331
  tabindex="-1">
3110
3332
  ${this.renderDesktopMenu()}
3111
- </div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};L.elementDefinitions={"ft-accordion":$t,"ft-accordion-item":ct,"ft-button":be,"ft-chip":ue,"ft-filter":K,"ft-filter-option":Je,"ft-icon":ne,"ft-ripple":F,"ft-select":J,"ft-select-option":Rt,"ft-size-watcher":Ge,"ft-skeleton":Qt,"ft-snap-scroll":ge,"ft-tooltip":ie,"ft-typography":q,"ft-radio-group":We,"ft-radio":ve};L.styles=[Uo,re.noTextInputDefaultClearButton,bc,vc,kt.styles,Nt.styles];H([(0,j.property)({type:Boolean})],L.prototype,"dense",void 0);H([(0,j.property)()],L.prototype,"mode",void 0);H([(0,j.property)({type:Boolean})],L.prototype,"forceMobileMenuOpen",void 0);H([(0,j.property)({type:Boolean})],L.prototype,"forceMenuOpen",void 0);H([(0,j.property)()],L.prototype,"baseUrl",void 0);H([(0,j.property)()],L.prototype,"apiIntegrationIdentifier",void 0);H([(0,j.property)()],L.prototype,"contentLocale",void 0);H([(0,j.state)()],L.prototype,"availableContentLocales",void 0);H([(0,j.state)()],L.prototype,"availableContentLocalesInitialized",void 0);H([(0,j.property)()],L.prototype,"uiLocale",void 0);H([(0,re.jsonProperty)({})],L.prototype,"labels",void 0);H([(0,re.jsonProperty)([])],L.prototype,"displayedFilters",void 0);H([(0,re.jsonProperty)([])],L.prototype,"presets",void 0);H([(0,j.property)({type:String,reflect:!0})],L.prototype,"selectedPreset",void 0);H([(0,re.jsonProperty)([])],L.prototype,"priors",void 0);H([(0,j.property)()],L.prototype,"searchRequestSerializer",void 0);H([(0,j.property)({type:Boolean})],L.prototype,"focusOnDisplay",void 0);H([(0,j.state)()],L.prototype,"metadataFilters",void 0);H([(0,j.state)()],L.prototype,"sizeCategory",void 0);H([(0,j.state)()],L.prototype,"displayFacets",void 0);H([(0,j.state)()],L.prototype,"mobileMenuOpen",void 0);H([(0,j.state)()],L.prototype,"facets",void 0);H([(0,j.state)()],L.prototype,"facetsInitialized",void 0);H([(0,j.query)(".ft-search-bar--container")],L.prototype,"container",void 0);H([(0,j.query)(".ft-search-bar--filters-opener")],L.prototype,"filtersOpener",void 0);H([(0,j.query)(".ft-search-bar--floating-panel")],L.prototype,"floatingContainer",void 0);H([(0,j.query)("ft-snap-scroll.ft-search-bar--filters-container")],L.prototype,"scrollingFiltersContainer",void 0);H([(0,j.query)(".ft-search-bar--input")],L.prototype,"input",void 0);H([(0,j.state)()],L.prototype,"query",void 0);H([(0,j.state)()],L.prototype,"suggestions",void 0);H([(0,j.state)()],L.prototype,"recentSearches",void 0);H([(0,j.state)()],L.prototype,"scrollToFacet",void 0);H([(0,j.state)()],L.prototype,"api",void 0);H([(0,j.state)()],L.prototype,"reactToFocus",void 0);H([(0,j.state)()],L.prototype,"facetsLoaded",void 0);(0,Cp.customElement)("ft-search-bar")(L);})();
3333
+ </div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};I.elementDefinitions={"ft-accordion":$t,"ft-accordion-item":ct,"ft-button":ve,"ft-chip":he,"ft-filter":K,"ft-filter-option":Je,"ft-icon":ae,"ft-ripple":T,"ft-select":J,"ft-select-option":Rt,"ft-size-watcher":Ge,"ft-skeleton":Qt,"ft-snap-scroll":be,"ft-tooltip":ne,"ft-typography":q,"ft-radio-group":Me,"ft-radio":xe};I.styles=[Uo,re.noTextInputDefaultClearButton,gc,vc,Nt.styles,Lt.styles];V([(0,G.property)({type:Boolean})],I.prototype,"dense",void 0);V([(0,G.property)()],I.prototype,"mode",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"forceMobileMenuOpen",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"forceMenuOpen",void 0);V([(0,G.property)()],I.prototype,"baseUrl",void 0);V([(0,G.property)()],I.prototype,"apiIntegrationIdentifier",void 0);V([(0,G.property)()],I.prototype,"contentLocale",void 0);V([(0,G.state)()],I.prototype,"availableContentLocales",void 0);V([(0,G.state)()],I.prototype,"availableContentLocalesInitialized",void 0);V([(0,G.property)()],I.prototype,"uiLocale",void 0);V([(0,re.jsonProperty)({})],I.prototype,"labels",void 0);V([(0,re.jsonProperty)([])],I.prototype,"displayedFilters",void 0);V([(0,re.jsonProperty)([])],I.prototype,"presets",void 0);V([(0,G.property)({type:String,reflect:!0})],I.prototype,"selectedPreset",void 0);V([(0,re.jsonProperty)([])],I.prototype,"priors",void 0);V([(0,G.property)()],I.prototype,"searchRequestSerializer",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"focusOnDisplay",void 0);V([(0,G.state)()],I.prototype,"metadataFilters",void 0);V([(0,G.state)()],I.prototype,"sizeCategory",void 0);V([(0,G.state)()],I.prototype,"displayFacets",void 0);V([(0,G.state)()],I.prototype,"mobileMenuOpen",void 0);V([(0,G.state)()],I.prototype,"facets",void 0);V([(0,G.state)()],I.prototype,"facetsInitialized",void 0);V([(0,G.query)(".ft-search-bar--container")],I.prototype,"container",void 0);V([(0,G.query)(".ft-search-bar--filters-opener")],I.prototype,"filtersOpener",void 0);V([(0,G.query)(".ft-search-bar--floating-panel")],I.prototype,"floatingContainer",void 0);V([(0,G.query)("ft-snap-scroll.ft-search-bar--filters-container")],I.prototype,"scrollingFiltersContainer",void 0);V([(0,G.query)(".ft-search-bar--input")],I.prototype,"input",void 0);V([(0,G.state)()],I.prototype,"query",void 0);V([(0,G.state)()],I.prototype,"suggestions",void 0);V([(0,G.state)()],I.prototype,"recentSearches",void 0);V([(0,G.state)()],I.prototype,"scrollToFacet",void 0);V([(0,G.state)()],I.prototype,"api",void 0);V([(0,G.state)()],I.prototype,"reactToFocus",void 0);V([(0,G.state)()],I.prototype,"facetsLoaded",void 0);(0,Cd.customElement)("ft-search-bar")(I);})();
3112
3334
  /*! Bundled license information:
3113
3335
 
3114
3336
  lit-html/lit-html.js: