@fluid-topics/ft-search-bar 1.2.4 → 1.2.6
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.
- package/build/ft-search-bar.light.js +45 -45
- package/build/ft-search-bar.min.js +1 -1
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var wd=Object.create;var ea=Object.defineProperty;var Ed=Object.getOwnPropertyDescriptor;var $d=Object.getOwnPropertyNames;var Rd=Object.getPrototypeOf,Ld=Object.prototype.hasOwnProperty;var Do=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var kd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $d(e))!Ld.call(t,i)&&i!==r&&ea(t,i,{get:()=>e[i],enumerable:!(n=Ed(e,i))||n.enumerable});return t};var u=(t,e,r)=>(r=t!=null?wd(Rd(t)):{},kd(e||!t||!t.__esModule?ea(r,"default",{value:t,enumerable:!0}):r,t));var w=Do((Xp,ta)=>{ta.exports=ftGlobals.wcUtils});var k=Do((Qp,oa)=>{oa.exports=ftGlobals.lit});var Y=Do((Jp,ra)=>{ra.exports=ftGlobals.litDecorators});var uo=Do((ef,na)=>{na.exports=ftGlobals.litRepeat});var st=Do((
|
|
1
|
+
"use strict";(()=>{var wd=Object.create;var ea=Object.defineProperty;var Ed=Object.getOwnPropertyDescriptor;var $d=Object.getOwnPropertyNames;var Rd=Object.getPrototypeOf,Ld=Object.prototype.hasOwnProperty;var Do=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var kd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $d(e))!Ld.call(t,i)&&i!==r&&ea(t,i,{get:()=>e[i],enumerable:!(n=Ed(e,i))||n.enumerable});return t};var u=(t,e,r)=>(r=t!=null?wd(Rd(t)):{},kd(e||!t||!t.__esModule?ea(r,"default",{value:t,enumerable:!0}):r,t));var w=Do((Xp,ta)=>{ta.exports=ftGlobals.wcUtils});var k=Do((Qp,oa)=>{oa.exports=ftGlobals.lit});var Y=Do((Jp,ra)=>{ra.exports=ftGlobals.litDecorators});var uo=Do((ef,na)=>{na.exports=ftGlobals.litRepeat});var st=Do((Im,Pl)=>{Pl.exports=ftGlobals.litClassMap});var cs=Do((xg,ss)=>{ss.exports=ftGlobals.litUnsafeHTML});var Cd=u(w());var Z=u(k()),G=u(Y()),Br=u(uo()),re=u(w());var sa=u(w());var la=u(k()),ho=u(Y()),Ir=u(w());var it;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(it||(it={}));var ia=u(k());var aa=ia.css`
|
|
2
2
|
.ft-size-watcher--pixel {
|
|
3
3
|
width: 0;
|
|
4
4
|
height: 0;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
|
-
`;var rr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},
|
|
20
|
+
`;var rr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Bn=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Ke=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 la.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
|
|
25
|
-
\f\r]`,nr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,da=/-->/g,pa=/>/g,yo=RegExp(`>|${
|
|
26
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),fa=/'/g,ua=/"/g,ba=/^(?:script|style|textarea|title)$/i,va=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),xa=va(1),Sa=va(2),ar=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),ha=new WeakMap,mo=go.createTreeWalker(go,129);function Oa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ca!==void 0?ca.createHTML(e):e}var Pd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",l=nr;for(let c=0;c<r;c++){let p=t[c],f,y,m=-1,g=0;for(;g<p.length&&(l.lastIndex=g,y=l.exec(p),y!==null);)g=l.lastIndex,l===nr?y[1]==="!--"?l=da:y[1]!==void 0?l=pa:y[2]!==void 0?(ba.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=yo):y[3]!==void 0&&(l=yo):l===yo?y[0]===">"?(l=i??nr,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?yo:y[3]==='"'?ua:fa):l===ua||l===fa?l=yo:l===da||l===pa?l=nr:(l=yo,i=void 0);let v=l===yo&&t[c+1].startsWith("/>")?" ":"";a+=l===nr?p+Nd:m>=0?(n.push(f),p.slice(0,m)+ya+p.slice(m)+Kt+v):p+Kt+(m===-2?c:v)}return[Oa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},lr=class t{constructor({strings:e,_$litType$:r},n){let i;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,n),mo.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=mo.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(ya)){let g=y[l++],v=i.getAttribute(m).split(Kt),b=/([.?@])?(.*)/.exec(g);p.push({type:1,index:a,name:b[2],strings:v,ctor:b[1]==="."?_n:b[1]==="?"?Fn:b[1]==="@"?zn:Fo}),i.removeAttribute(m)}else m.startsWith(Kt)&&(p.push({type:6,index:a}),i.removeAttribute(m));if(ba.test(i.tagName)){let m=i.textContent.split(Kt),g=m.length-1;if(g>0){i.textContent=Dr?Dr.emptyScript:"";for(let v=0;v<g;v++)i.append(m[v],_r()),mo.nextNode(),p.push({type:2,index:++a});i.append(m[g],_r())}}}else if(i.nodeType===8)if(i.data===ma)p.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(Kt,m+1))!==-1;)p.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,r){let n=go.createElement("template");return n.innerHTML=e,n}};function _o(t,e,r=t,n){if(e===ar)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ir(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=_o(t,i._$AS(t,e.values),i,n)),e}var Dn=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:n}=this._$AD,i=(e?.creationScope??go).importNode(r,!0);mo.currentNode=i;let a=mo.nextNode(),l=0,c=0,p=n[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 Tn(a,this,e)),this._$AV.push(f),p=n[++c]}l!==p?.index&&(a=mo.nextNode(),l++)}return mo.currentNode=go,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Fr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=_o(this,e,r),ir(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==ar&&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.$(go.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=lr.createElement(Oa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Dn(i,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(e){let r=ha.get(e.strings);return r===void 0&&ha.set(e.strings,r=new lr(e)),r}T(e){ga(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(_r()),this.k(_r()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Se}_$AI(e,r=this,n,i){let a=this.strings,l=!1;if(a===void 0)e=_o(this,e,r,0),l=!ir(e)||e!==this._$AH&&e!==ar,l&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=_o(this,c[n+p],r,p),f===ar&&(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&&!i&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_n=class extends Fo{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},Fn=class extends Fo{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},zn=class extends Fo{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=_o(this,e,r,0)??Se)===ar)return;let n=this._$AH,i=e===Se&&n!==Se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==Se&&(n===Se||i);i&&this.element.removeEventListener(this.name,this,n),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)}},Tn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){_o(this,e)}};var Id=Mn.litHtmlPolyfillSupport;Id?.(lr,Fr),(Mn.litHtmlVersions??=[]).push("3.1.0");var wa=Symbol.for(""),Bd=t=>{if(t?.r===wa)return t?._$litStatic$},Wn=t=>({_$litStatic$:t,r:wa});var Ca=new Map,Ea=t=>(e,...r)=>{let n=r.length,i,a,l=[],c=[],p,f=0,y=!1;for(;f<n;){for(p=e[f];f<n&&(a=r[f],(i=Bd(a))!==void 0);)p+=i+e[++f],y=!0;f!==n&&c.push(a),l.push(p),f++}if(f===n&&l.push(e[n]),y){let m=l.join("$$lit$$");(e=Ca.get(m))===void 0&&(l.raw=l,Ca.set(m,e=l)),r=c}return t(e,...r)},Un=Ea(xa),hf=Ea(Sa);var Hn=u(Y()),dl=u(w());var at;(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"})(at||(at={}));var lt=u(k()),E=u(w());var Pt=u(k(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=c=>Zt(c??i),l=Pt.css`var(${Zt(e)}, ${a(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let a=c=>n.get(c??i),l=Pt.css`var(${Zt(e)}, ${a(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),i=Pt.css`var(${Zt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Pt.css`var(${Zt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};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"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),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)")},$a={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")},Ra={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")},La={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")},ka={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")},Aa={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")},Pa={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")},Ia={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")},Ba={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")},Da={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")},_a={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")},za={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")},Ta={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")},Ma={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")},Ua={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")},Ha={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")},Va={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")},Ga={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")},Ka={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")},Za={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")},qa={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")},Ya={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")},zr={display:$a,"title-1":Ra,"title-2":La,"title-3":ka,"body-1-regular":Na,"body-1-medium":Aa,"body-1-semibold":Pa,"body-2-regular":Ia,"body-2-medium":Ba,"body-2-medium-underline":Dd,"body-2-semibold":Da,"label-1-medium":_a,"label-1-semibold":Fa,"label-1-bold":za,"label-2-medium":Ta,"label-2-semibold":Ma,"label-2-bold":Wa,"caption-1-medium":Ua,"caption-1-semibold":Ha,"caption-1-bold":Va,"caption-2-medium":Ga,"caption-2-semibold":ja,"caption-2-bold":Ka,"caption-3-medium":Za,"caption-3-semibold":qa,"caption-3-bold":Ya};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.
|
|
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 Bn(this.size,this.category)))},this.debounceTimeout)}};Ke.elementDefinitions={};Ke.styles=aa;rr([(0,ho.property)({type:Number})],Ke.prototype,"debounceTimeout",void 0);rr([(0,ho.property)({type:Boolean})],Ke.prototype,"local",void 0);rr([(0,ho.property)({type:Number,reflect:!0})],Ke.prototype,"size",void 0);rr([(0,ho.property)({type:String,reflect:!0})],Ke.prototype,"category",void 0);rr([(0,ho.query)(".ft-size-watcher--watcher")],Ke.prototype,"watcher",void 0);(0,sa.customElement)("ft-size-watcher")(Ke);var pl=u(w());var Mn=globalThis,Dr=Mn.trustedTypes,ca=Dr?Dr.createPolicy("lit-html",{createHTML:t=>t}):void 0,ya="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,ma="?"+Kt,Nd=`<${ma}>`,go=document,_r=()=>go.createComment(""),ir=t=>t===null||typeof t!="object"&&typeof t!="function",ga=Array.isArray,Ad=t=>ga(t)||typeof t?.[Symbol.iterator]=="function",In=`[
|
|
25
|
+
\f\r]`,nr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,da=/-->/g,pa=/>/g,yo=RegExp(`>|${In}(?:([^\\s"'>=/]+)(${In}*=${In}*(?:[^
|
|
26
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),fa=/'/g,ua=/"/g,ba=/^(?:script|style|textarea|title)$/i,va=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),xa=va(1),Sa=va(2),ar=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),ha=new WeakMap,mo=go.createTreeWalker(go,129);function Oa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ca!==void 0?ca.createHTML(e):e}var Pd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",l=nr;for(let c=0;c<r;c++){let p=t[c],f,y,m=-1,g=0;for(;g<p.length&&(l.lastIndex=g,y=l.exec(p),y!==null);)g=l.lastIndex,l===nr?y[1]==="!--"?l=da:y[1]!==void 0?l=pa:y[2]!==void 0?(ba.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=yo):y[3]!==void 0&&(l=yo):l===yo?y[0]===">"?(l=i??nr,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?yo:y[3]==='"'?ua:fa):l===ua||l===fa?l=yo:l===da||l===pa?l=nr:(l=yo,i=void 0);let v=l===yo&&t[c+1].startsWith("/>")?" ":"";a+=l===nr?p+Nd:m>=0?(n.push(f),p.slice(0,m)+ya+p.slice(m)+Kt+v):p+Kt+(m===-2?c:v)}return[Oa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},lr=class t{constructor({strings:e,_$litType$:r},n){let i;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,n),mo.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=mo.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(ya)){let g=y[l++],v=i.getAttribute(m).split(Kt),b=/([.?@])?(.*)/.exec(g);p.push({type:1,index:a,name:b[2],strings:v,ctor:b[1]==="."?_n:b[1]==="?"?Fn:b[1]==="@"?zn:Fo}),i.removeAttribute(m)}else m.startsWith(Kt)&&(p.push({type:6,index:a}),i.removeAttribute(m));if(ba.test(i.tagName)){let m=i.textContent.split(Kt),g=m.length-1;if(g>0){i.textContent=Dr?Dr.emptyScript:"";for(let v=0;v<g;v++)i.append(m[v],_r()),mo.nextNode(),p.push({type:2,index:++a});i.append(m[g],_r())}}}else if(i.nodeType===8)if(i.data===ma)p.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(Kt,m+1))!==-1;)p.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,r){let n=go.createElement("template");return n.innerHTML=e,n}};function _o(t,e,r=t,n){if(e===ar)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ir(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=_o(t,i._$AS(t,e.values),i,n)),e}var Dn=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:n}=this._$AD,i=(e?.creationScope??go).importNode(r,!0);mo.currentNode=i;let a=mo.nextNode(),l=0,c=0,p=n[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 Tn(a,this,e)),this._$AV.push(f),p=n[++c]}l!==p?.index&&(a=mo.nextNode(),l++)}return mo.currentNode=go,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Fr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=_o(this,e,r),ir(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==ar&&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.$(go.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=lr.createElement(Oa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Dn(i,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(e){let r=ha.get(e.strings);return r===void 0&&ha.set(e.strings,r=new lr(e)),r}T(e){ga(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(_r()),this.k(_r()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Se}_$AI(e,r=this,n,i){let a=this.strings,l=!1;if(a===void 0)e=_o(this,e,r,0),l=!ir(e)||e!==this._$AH&&e!==ar,l&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=_o(this,c[n+p],r,p),f===ar&&(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&&!i&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_n=class extends Fo{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},Fn=class extends Fo{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},zn=class extends Fo{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=_o(this,e,r,0)??Se)===ar)return;let n=this._$AH,i=e===Se&&n!==Se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==Se&&(n===Se||i);i&&this.element.removeEventListener(this.name,this,n),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)}},Tn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){_o(this,e)}};var Bd=Mn.litHtmlPolyfillSupport;Bd?.(lr,Fr),(Mn.litHtmlVersions??=[]).push("3.1.0");var wa=Symbol.for(""),Id=t=>{if(t?.r===wa)return t?._$litStatic$},Wn=t=>({_$litStatic$:t,r:wa});var Ca=new Map,Ea=t=>(e,...r)=>{let n=r.length,i,a,l=[],c=[],p,f=0,y=!1;for(;f<n;){for(p=e[f];f<n&&(a=r[f],(i=Id(a))!==void 0);)p+=i+e[++f],y=!0;f!==n&&c.push(a),l.push(p),f++}if(f===n&&l.push(e[n]),y){let m=l.join("$$lit$$");(e=Ca.get(m))===void 0&&(l.raw=l,Ca.set(m,e=l)),r=c}return t(e,...r)},Un=Ea(xa),hf=Ea(Sa);var Hn=u(Y()),dl=u(w());var at;(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"})(at||(at={}));var lt=u(k()),E=u(w());var Pt=u(k(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=c=>Zt(c??i),l=Pt.css`var(${Zt(e)}, ${a(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let a=c=>n.get(c??i),l=Pt.css`var(${Zt(e)}, ${a(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),i=Pt.css`var(${Zt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Pt.css`var(${Zt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};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"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),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)")},$a={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")},Ra={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")},La={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")},ka={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")},Aa={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")},Pa={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")},Ba={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")},Da={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")},_a={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")},za={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")},Ta={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")},Ma={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")},Ua={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")},Ha={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")},Va={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")},Ga={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")},Ka={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")},Za={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")},qa={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")},Ya={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")},zr={display:$a,"title-1":Ra,"title-2":La,"title-3":ka,"body-1-regular":Na,"body-1-medium":Aa,"body-1-semibold":Pa,"body-2-regular":Ba,"body-2-medium":Ia,"body-2-medium-underline":Dd,"body-2-semibold":Da,"label-1-medium":_a,"label-1-semibold":Fa,"label-1-bold":za,"label-2-medium":Ta,"label-2-semibold":Ma,"label-2-bold":Wa,"caption-1-medium":Ua,"caption-1-semibold":Ha,"caption-1-bold":Va,"caption-2-medium":Ga,"caption-2-semibold":ja,"caption-2-bold":Ka,"caption-3-medium":Za,"caption-3-semibold":qa,"caption-3-bold":Ya};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
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 h={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 Pf={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 U={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 Wf={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 jf={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 Xf={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 ou={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var lu={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var fu={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var mu={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var Su={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 $u={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 Au={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 _u={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 Wu={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 ju={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 Xu={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 oh={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 lh={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 fh={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 gh={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 Sh={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),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Eh={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 Nh={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 Dh={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 Mh={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 Gh={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 Yh={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 ty={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 Tr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tr||(Tr={}));var Ae;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ae||(Ae={}));var Mr=u(k());function Xa(t){let e=zr[t];return Mr.css`
|
|
28
28
|
.ft-typography--${(0,Mr.unsafeCSS)(t)} {
|
|
29
29
|
font-family: ${e.fontFamily};
|
|
@@ -33,7 +33,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
33
33
|
line-height: ${e.lineHeight};
|
|
34
34
|
text-transform: ${e.textCase};
|
|
35
35
|
}
|
|
36
|
-
`}var Qa=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),
|
|
36
|
+
`}var Qa=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),It=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),$={fontFamily:It,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")},zo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Qa),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")},To={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Qa),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")},Mo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",It),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")},Wo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",It),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")},Bt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",It),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")},we={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",It),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","",It),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")},Uo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",It),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")},Ho={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",It),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","",It),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=lt.css`
|
|
37
37
|
.ft-typography--title {
|
|
38
38
|
font-family: ${zo.fontFamily};
|
|
39
39
|
font-size: ${zo.fontSize};
|
|
@@ -72,12 +72,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
72
72
|
|
|
73
73
|
`,rl=lt.css`
|
|
74
74
|
.ft-typography--body1 {
|
|
75
|
-
font-family: ${
|
|
76
|
-
font-size: ${
|
|
77
|
-
font-weight: ${
|
|
78
|
-
letter-spacing: ${
|
|
79
|
-
line-height: ${
|
|
80
|
-
text-transform: ${
|
|
75
|
+
font-family: ${Bt.fontFamily};
|
|
76
|
+
font-size: ${Bt.fontSize};
|
|
77
|
+
font-weight: ${Bt.fontWeight};
|
|
78
|
+
letter-spacing: ${Bt.letterSpacing};
|
|
79
|
+
line-height: ${Bt.lineHeight};
|
|
80
|
+
text-transform: ${Bt.textTransform};
|
|
81
81
|
}
|
|
82
82
|
`,Vo=lt.css`
|
|
83
83
|
.ft-typography--body2 {
|
|
@@ -502,14 +502,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
502
502
|
${(0,_.setVariable)(ne.size,H.iconSize)};
|
|
503
503
|
${(0,_.setVariable)(ne.color,"var(--ft-button-internal-color)")};
|
|
504
504
|
}
|
|
505
|
-
`,_.noTextSelect];var eo=u(w());var Dl=u(w());var
|
|
505
|
+
`,_.noTextSelect];var eo=u(w());var Dl=u(w());var Bl=u(k()),Ee=u(Y()),Il=u(st()),cr=u(w());var ze=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},T=class extends cr.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 cr.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 cr.Debouncer(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-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 Bl.html`
|
|
506
506
|
<style>
|
|
507
507
|
.ft-ripple .ft-ripple--effect {
|
|
508
508
|
left: ${this.originX}px;
|
|
509
509
|
top: ${this.originY}px;
|
|
510
510
|
}
|
|
511
511
|
</style>
|
|
512
|
-
<div class="${(0,
|
|
512
|
+
<div class="${(0,Il.classMap)(e)}">
|
|
513
513
|
<div class="ft-ripple--background"></div>
|
|
514
514
|
<div class="ft-ripple--effect"></div>
|
|
515
515
|
</div>
|
|
@@ -560,7 +560,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
560
560
|
</div>
|
|
561
561
|
</div>
|
|
562
562
|
</div>
|
|
563
|
-
`}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="",Zr(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))}};ie.elementDefinitions={"ft-typography":q};ie.styles=Fl;Me([(0,be.property)()],ie.prototype,"text",void 0);Me([(0,be.property)({type:Boolean})],ie.prototype,"manual",void 0);Me([(0,be.property)({type:Boolean})],ie.prototype,"inline",void 0);Me([(0,be.property)({type:Number})],ie.prototype,"delay",void 0);Me([(0,be.property)()],ie.prototype,"position",void 0);Me([(0,be.queryAssignedNodes)()],ie.prototype,"slotNodes",void 0);Me([(0,be.query)(".ft-tooltip--container")],ie.prototype,"container",void 0);Me([(0,be.query)(".ft-tooltip")],ie.prototype,"tooltip",void 0);Me([(0,be.query)(".ft-tooltip--content")],ie.prototype,"tooltipContent",void 0);Me([(0,be.state)()],ie.prototype,"visible",void 0);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onTouch",null);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onHover",null);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onOut",null);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onClick",null);(0,ls.customElement)("ft-tooltip")(ie);var us=u(w());var mr=u(k()),xo=u(Y()),ps=u(w()),fs=u(cs());var wt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID=""})(wt||(wt={}));var C;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(C||(C={}));var ri=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 ds(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,c]=(((r=op.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=ri.get(c))!==null&&n!==void 0?n:ri.get(e))!==null&&i!==void 0?i:ri.get(l))!==null&&a!==void 0?a:C.UNKNOWN}var Sg={[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 Pe;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Pe||(Pe={}));var qr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends ps.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(Pe).includes(this.variant)?this.variant:Pe.fluid_topics,r=e!==Pe.material||!!this.value;return mr.html`
|
|
563
|
+
`}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="",Zr(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))}};ie.elementDefinitions={"ft-typography":q};ie.styles=Fl;Me([(0,be.property)()],ie.prototype,"text",void 0);Me([(0,be.property)({type:Boolean})],ie.prototype,"manual",void 0);Me([(0,be.property)({type:Boolean})],ie.prototype,"inline",void 0);Me([(0,be.property)({type:Number})],ie.prototype,"delay",void 0);Me([(0,be.property)()],ie.prototype,"position",void 0);Me([(0,be.queryAssignedNodes)()],ie.prototype,"slotNodes",void 0);Me([(0,be.query)(".ft-tooltip--container")],ie.prototype,"container",void 0);Me([(0,be.query)(".ft-tooltip")],ie.prototype,"tooltip",void 0);Me([(0,be.query)(".ft-tooltip--content")],ie.prototype,"tooltipContent",void 0);Me([(0,be.state)()],ie.prototype,"visible",void 0);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onTouch",null);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onHover",null);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onOut",null);Me([(0,be.eventOptions)({passive:!0})],ie.prototype,"onClick",null);(0,ls.customElement)("ft-tooltip")(ie);var us=u(w());var mr=u(k()),xo=u(Y()),ps=u(w()),fs=u(cs());var wt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE=""})(wt||(wt={}));var C;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(C||(C={}));var ri=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 ds(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,c]=(((r=op.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=ri.get(c))!==null&&n!==void 0?n:ri.get(e))!==null&&i!==void 0?i:ri.get(l))!==null&&a!==void 0?a:C.UNKNOWN}var Sg={[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 Pe;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Pe||(Pe={}));var qr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends ps.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(Pe).includes(this.variant)?this.variant:Pe.fluid_topics,r=e!==Pe.material||!!this.value;return mr.html`
|
|
564
564
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
565
565
|
${(0,fs.unsafeHTML)(this.resolvedIcon)}
|
|
566
566
|
<slot ?hidden=${r}></slot>
|
|
@@ -1153,7 +1153,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1153
1153
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1154
1154
|
opacity: 1;
|
|
1155
1155
|
}
|
|
1156
|
-
`;var Oo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},
|
|
1156
|
+
`;var Oo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Be=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`
|
|
1157
1157
|
<label class="${(0,ws.classMap)(e)}" for="checkbox-input">
|
|
1158
1158
|
<div class="ft-checkbox--box-container">
|
|
1159
1159
|
<ft-ripple
|
|
@@ -1180,7 +1180,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1180
1180
|
<slot></slot>
|
|
1181
1181
|
</ft-typography>
|
|
1182
1182
|
</label>
|
|
1183
|
-
`}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()}};
|
|
1183
|
+
`}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()}};Be.elementDefinitions={"ft-ripple":T,"ft-typography":q};Be.styles=Ss;Oo([(0,Wt.property)()],Be.prototype,"name",void 0);Oo([(0,Wt.property)({type:Boolean,reflect:!0})],Be.prototype,"checked",void 0);Oo([(0,Wt.property)({type:Boolean})],Be.prototype,"indeterminate",void 0);Oo([(0,Wt.property)({type:Boolean})],Be.prototype,"disabled",void 0);Oo([(0,Wt.query)(".ft-checkbox")],Be.prototype,"container",void 0);Oo([(0,Wt.query)("ft-ripple")],Be.prototype,"ripple",void 0);Oo([(0,Wt.query)("input")],Be.prototype,"input",void 0);(0,Es.customElement)("ft-checkbox")(Be);var ai=u(w());var Ls=u(k()),yt=u(Y()),ks=u(w()),Ns=u(st());var $s=u(k()),Ye=u(w()),Co={textColor:Ye.FtCssVariableFactory.extend("--ft-radio-text-color","",Ye.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Ye.FtCssVariableFactory.external(Ye.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ye.FtCssVariableFactory.external(Ye.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ye.FtCssVariableFactory.extend("--ft-radio-border-color","",Ye.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ye.FtCssVariableFactory.external(Ye.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Rs=$s.css`
|
|
1184
1184
|
* {
|
|
1185
1185
|
box-sizing: border-box;
|
|
1186
1186
|
}
|
|
@@ -1293,7 +1293,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1293
1293
|
</ft-typography>
|
|
1294
1294
|
</label>
|
|
1295
1295
|
</div>
|
|
1296
|
-
`}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
|
|
1296
|
+
`}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 Bs=u(w()),Ht=u(Y()),Is=u(k());var As=u(k());var Ps=As.css`
|
|
1297
1297
|
:host {
|
|
1298
1298
|
display: block;
|
|
1299
1299
|
}
|
|
@@ -1301,7 +1301,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1301
1301
|
:host(:focus-visible) {
|
|
1302
1302
|
outline: none;
|
|
1303
1303
|
}
|
|
1304
|
-
`;var Zo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},We=class extends
|
|
1304
|
+
`;var Zo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},We=class extends Bs.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)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio")?[n]:[...n.querySelectorAll("ft-radio")]))!==null&&r!==void 0?r:[]}render(){return Is.html`
|
|
1305
1305
|
<slot @slotchange=${this.onSlotChange}
|
|
1306
1306
|
@change=${this.onChange}
|
|
1307
1307
|
@keydown=${this.onKeyDown}
|
|
@@ -1372,7 +1372,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1372
1372
|
margin: 10px 0;
|
|
1373
1373
|
color: ${en.colorOnSurfaceMedium};
|
|
1374
1374
|
}
|
|
1375
|
-
`;var
|
|
1375
|
+
`;var Ie=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},he=class extends tn.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(n=>!n.selected)),this.filter&&(e=e.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return Xe.html`
|
|
1376
1376
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1377
1377
|
${this.parent==null?null:Xe.html`
|
|
1378
1378
|
<div tabindex="0"
|
|
@@ -1438,7 +1438,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1438
1438
|
@change=${r=>this.optionsChanged(r,e)}>
|
|
1439
1439
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1440
1440
|
</ft-radio>
|
|
1441
|
-
`}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}))}};he.elementDefinitions={"ft-button":ve,"ft-ripple":T,"ft-typography":q,"ft-checkbox":
|
|
1441
|
+
`}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}))}};he.elementDefinitions={"ft-button":ve,"ft-ripple":T,"ft-typography":q,"ft-checkbox":Be,"ft-icon":ae,"ft-radio":xe};he.styles=_s;Ie([(0,Ce.property)({type:String})],he.prototype,"filterId",void 0);Ie([(0,Ce.property)({type:Object})],he.prototype,"parent",void 0);Ie([(0,Ce.property)({type:Array})],he.prototype,"options",void 0);Ie([(0,Ce.property)({type:Boolean})],he.prototype,"multivalued",void 0);Ie([(0,Ce.property)({type:Boolean})],he.prototype,"disabled",void 0);Ie([(0,Ce.property)({type:Boolean})],he.prototype,"hideSelectedOptions",void 0);Ie([(0,Ce.property)({type:Boolean})],he.prototype,"displayCount",void 0);Ie([(0,Ce.property)({type:Boolean})],he.prototype,"preventNavigation",void 0);Ie([(0,Ce.property)({type:String})],he.prototype,"filter",void 0);Ie([(0,Ce.property)({type:String})],he.prototype,"moreValuesButtonLabel",void 0);Ie([(0,Ce.property)({type:String})],he.prototype,"noValuesLabel",void 0);Ie([(0,Ce.property)({type:Number})],he.prototype,"displayedValuesLimit",void 0);Ie([(0,Ce.query)(".ft-filter-level--container")],he.prototype,"container",void 0);Ie([(0,Ce.state)()],he.prototype,"radios",void 0);Ie([(0,Ce.state)()],he.prototype,"displayedPages",void 0);var Us=u(w());var Ms=u(k()),Qe=u(Y()),wo=u(w());var Ws=u(st());var zs=u(k()),mt=u(w());var De={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`
|
|
1442
1442
|
.ft-snap-scroll {
|
|
1443
1443
|
box-sizing: border-box;
|
|
1444
1444
|
position: relative;
|
|
@@ -2367,8 +2367,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2367
2367
|
overflow: hidden;
|
|
2368
2368
|
white-space: nowrap;
|
|
2369
2369
|
text-overflow: ellipsis;
|
|
2370
|
-
${(0,F.setVariable)(
|
|
2371
|
-
${(0,F.setVariable)(
|
|
2370
|
+
${(0,F.setVariable)(Bt.fontSize,V.selectedOptionSize)};
|
|
2371
|
+
${(0,F.setVariable)(Bt.lineHeight,V.selectedOptionSize)};
|
|
2372
2372
|
}
|
|
2373
2373
|
|
|
2374
2374
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -2486,7 +2486,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2486
2486
|
<ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
|
|
2487
2487
|
<span>${e.label}</span>
|
|
2488
2488
|
</div>
|
|
2489
|
-
`}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,n;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Zr(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:a})=>{this.optionsMenu.style.left=`${i}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 n=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}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,n,i,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=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i: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 n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(e){var r,n;if(!(0,wr.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};Q.elementDefinitions={"ft-input-label":tt,"ft-typography":q,"ft-ripple":T,"ft-icon":ae};Q.styles=[Vo,qt,hc];fe([(0,oe.property)({type:String})],Q.prototype,"label",void 0);fe([(0,oe.property)({type:String})],Q.prototype,"ariaLabel",void 0);fe([(0,oe.property)({type:String})],Q.prototype,"helper",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"outlined",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"disabled",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"error",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"fixedMenuPosition",void 0);fe([(0,oe.property)({type:Array})],Q.prototype,"options",void 0);fe([(0,oe.state)()],Q.prototype,"selectedOption",void 0);fe([(0,oe.state)()],Q.prototype,"optionsDisplayed",void 0);fe([(0,oe.state)()],Q.prototype,"focusOptions",void 0);fe([(0,oe.query)(".ft-select")],Q.prototype,"container",void 0);fe([(0,oe.query)(".ft-select--options")],Q.prototype,"optionsMenu",void 0);fe([(0,oe.query)(".ft-select--input-panel")],Q.prototype,"mainPanel",void 0);fe([(0,oe.query)(".ft-select--option:first-child")],Q.prototype,"firstOption",void 0);fe([(0,oe.query)(".ft-select--option:focus")],Q.prototype,"focusedOption",void 0);fe([(0,oe.query)(".ft-select--option.ft-select--option-selected")],Q.prototype,"selectedOptionElement",void 0);fe([(0,oe.query)(".ft-select--option:last-child")],Q.prototype,"lastOption",void 0);fe([(0,oe.query)("slot")],Q.prototype,"optionsSlot",void 0);(0,gi.customElement)("ft-select")(Q);(0,gi.customElement)("ft-select-option")(Rt);var
|
|
2489
|
+
`}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,n;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Zr(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:a})=>{this.optionsMenu.style.left=`${i}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 n=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}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,n,i,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=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i: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 n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(e){var r,n;if(!(0,wr.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};Q.elementDefinitions={"ft-input-label":tt,"ft-typography":q,"ft-ripple":T,"ft-icon":ae};Q.styles=[Vo,qt,hc];fe([(0,oe.property)({type:String})],Q.prototype,"label",void 0);fe([(0,oe.property)({type:String})],Q.prototype,"ariaLabel",void 0);fe([(0,oe.property)({type:String})],Q.prototype,"helper",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"outlined",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"disabled",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"error",void 0);fe([(0,oe.property)({type:Boolean})],Q.prototype,"fixedMenuPosition",void 0);fe([(0,oe.property)({type:Array})],Q.prototype,"options",void 0);fe([(0,oe.state)()],Q.prototype,"selectedOption",void 0);fe([(0,oe.state)()],Q.prototype,"optionsDisplayed",void 0);fe([(0,oe.state)()],Q.prototype,"focusOptions",void 0);fe([(0,oe.query)(".ft-select")],Q.prototype,"container",void 0);fe([(0,oe.query)(".ft-select--options")],Q.prototype,"optionsMenu",void 0);fe([(0,oe.query)(".ft-select--input-panel")],Q.prototype,"mainPanel",void 0);fe([(0,oe.query)(".ft-select--option:first-child")],Q.prototype,"firstOption",void 0);fe([(0,oe.query)(".ft-select--option:focus")],Q.prototype,"focusedOption",void 0);fe([(0,oe.query)(".ft-select--option.ft-select--option-selected")],Q.prototype,"selectedOptionElement",void 0);fe([(0,oe.query)(".ft-select--option:last-child")],Q.prototype,"lastOption",void 0);fe([(0,oe.query)("slot")],Q.prototype,"optionsSlot",void 0);(0,gi.customElement)("ft-select")(Q);(0,gi.customElement)("ft-select-option")(Rt);var I=u(w()),bi=u(k());var mc=u(k()),bt=u(w()),$e={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")},gc=mc.css`
|
|
2490
2490
|
:host {
|
|
2491
2491
|
width: ${$e.width};
|
|
2492
2492
|
height: ${$e.height};
|
|
@@ -2513,7 +2513,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2513
2513
|
background-position: calc(100vw + ${$e.glareWidth}) 0, calc(${$e.glareWidth} * -1) 0;
|
|
2514
2514
|
}
|
|
2515
2515
|
}
|
|
2516
|
-
`;var A={height:
|
|
2516
|
+
`;var A={height:I.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:I.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",I.designSystemVariables.borderRadiusS),mobileOpenPosition:I.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:I.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:I.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:I.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:I.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:I.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:I.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:I.FtCssVariableFactory.external(I.designSystemVariables.colorSurface,"Design system"),colorOnSurface:I.FtCssVariableFactory.external(I.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:I.FtCssVariableFactory.external(I.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:I.FtCssVariableFactory.external(I.designSystemVariables.colorOutline,"Design system"),colorPrimary:I.FtCssVariableFactory.external(I.designSystemVariables.colorPrimary,"Design system"),elevation02:I.FtCssVariableFactory.external(I.designSystemVariables.elevation02,"Design system"),buttonColor:I.FtCssVariableFactory.external(H.color,"Button"),buttonRippleColor:I.FtCssVariableFactory.external(H.rippleColor,"Button")},bc=bi.css`
|
|
2517
2517
|
* {
|
|
2518
2518
|
box-sizing: border-box;
|
|
2519
2519
|
}
|
|
@@ -2561,8 +2561,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2561
2561
|
}
|
|
2562
2562
|
|
|
2563
2563
|
.ft-search-bar--skeleton {
|
|
2564
|
-
${(0,
|
|
2565
|
-
${(0,
|
|
2564
|
+
${(0,I.setVariable)($e.height,A.height)};
|
|
2565
|
+
${(0,I.setVariable)($e.borderRadiusM,A.borderRadius)};
|
|
2566
2566
|
}
|
|
2567
2567
|
|
|
2568
2568
|
.ft-search-bar--floating-panel-open .ft-search-bar {
|
|
@@ -2616,17 +2616,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2616
2616
|
align-items: center;
|
|
2617
2617
|
height: 100%;
|
|
2618
2618
|
|
|
2619
|
-
${(0,
|
|
2619
|
+
${(0,I.setVariable)(Yt.zIndex,`calc(${A.floatingZIndex} + 1)`)};
|
|
2620
2620
|
}
|
|
2621
2621
|
|
|
2622
2622
|
.ft-search-bar > ft-button,
|
|
2623
2623
|
.ft-search-bar--actions ft-button {
|
|
2624
2624
|
flex-shrink: 0;
|
|
2625
|
-
${(0,
|
|
2625
|
+
${(0,I.setVariable)(H.backgroundColor,"transparent")};
|
|
2626
2626
|
}
|
|
2627
2627
|
|
|
2628
2628
|
.ft-search-bar--left-action {
|
|
2629
|
-
${(0,
|
|
2629
|
+
${(0,I.setVariable)(H.borderRadius,`calc(${A.borderRadius} - 1px) 0 0 calc(${A.borderRadius} - 1px)`)};
|
|
2630
2630
|
border-right: 1px solid ${A.colorOutline};
|
|
2631
2631
|
height: 100%;
|
|
2632
2632
|
}
|
|
@@ -2636,7 +2636,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2636
2636
|
}
|
|
2637
2637
|
|
|
2638
2638
|
.ft-search-bar--floating-panel-open .ft-search-bar--left-action {
|
|
2639
|
-
${(0,
|
|
2639
|
+
${(0,I.setVariable)(H.borderRadius,`calc(${A.borderRadius} - 1px) 0 0 0`)};
|
|
2640
2640
|
}
|
|
2641
2641
|
|
|
2642
2642
|
.ft-search-bar .ft-search-bar--launch-search,
|
|
@@ -2650,9 +2650,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2650
2650
|
}
|
|
2651
2651
|
|
|
2652
2652
|
.ft-search-bar--left-action.ft-search-bar--content-locale {
|
|
2653
|
-
${(0,
|
|
2654
|
-
${(0,
|
|
2655
|
-
${(0,
|
|
2653
|
+
${(0,I.setVariable)(z.borderColor,"transparent")};
|
|
2654
|
+
${(0,I.setVariable)(z.borderRadiusS,`calc(${A.borderRadius} - 1px)`)};
|
|
2655
|
+
${(0,I.setVariable)(V.selectedOptionColor,A.buttonColor)};
|
|
2656
2656
|
}
|
|
2657
2657
|
|
|
2658
2658
|
.ft-search-bar--left-action.ft-search-bar--content-locale,
|
|
@@ -2696,7 +2696,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2696
2696
|
flex-shrink: 0;
|
|
2697
2697
|
padding: 0 10px;
|
|
2698
2698
|
margin-bottom: 8px;
|
|
2699
|
-
${(0,
|
|
2699
|
+
${(0,I.setVariable)($.fontSize,"14px")};
|
|
2700
2700
|
}
|
|
2701
2701
|
|
|
2702
2702
|
[part="content-locale-selector-label"] {
|
|
@@ -2704,8 +2704,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2704
2704
|
flex-shrink: 1;
|
|
2705
2705
|
flex-grow: 1;
|
|
2706
2706
|
word-break: break-word;
|
|
2707
|
-
${(0,
|
|
2708
|
-
${(0,
|
|
2707
|
+
${(0,I.setVariable)($.lineHeight,"22px")};
|
|
2708
|
+
${(0,I.setVariable)($.fontWeight,"bold")};
|
|
2709
2709
|
}
|
|
2710
2710
|
|
|
2711
2711
|
`,vc=bi.css`
|
|
@@ -2715,7 +2715,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2715
2715
|
|
|
2716
2716
|
.ft-search-bar--desktop-menu .ft-search-bar--presets {
|
|
2717
2717
|
margin-right: auto;
|
|
2718
|
-
${(0,
|
|
2718
|
+
${(0,I.setVariable)(V.optionsZIndex,"2")};
|
|
2719
2719
|
}
|
|
2720
2720
|
|
|
2721
2721
|
.ft-search-bar--desktop-menu {
|
|
@@ -2769,7 +2769,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2769
2769
|
.ft-search-bar--desktop-menu .ft-search-bar--filters-container {
|
|
2770
2770
|
display: block;
|
|
2771
2771
|
height: ${A.desktopFiltersHeight};
|
|
2772
|
-
${(0,
|
|
2772
|
+
${(0,I.setVariable)(De.gap,"16px")};
|
|
2773
2773
|
}
|
|
2774
2774
|
|
|
2775
2775
|
.ft-search-bar--desktop-menu ft-filter {
|
|
@@ -3204,7 +3204,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3204
3204
|
`;var Sd=u(w());var Nc=u(k()),Ve=u(Y()),vt=u(w());var $c=u(k());var Rc=$c.css`
|
|
3205
3205
|
`;var fn=u(w()),rp="ft-app-info",Si=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},np={session:(t,e)=>{(0,fn.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>P.dispatchEvent(new Si(e.payload)),0))}},P=fn.FtReduxStore.get({name:rp,reducers:np,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ro=u(w());var Oi=u(w());var Po=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=P.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=P.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var oo=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Oi.CacheRegistry,this.cache=e?i.commonCache:new Oi.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Po.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Po.await()}clearCache(){this.cache.clearAll()}};var Lc,ip=Symbol("clearAfterUnitTest"),un=class extends oo{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Lc]=()=>{this.defaultMessages={},this.cache=new ro.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=P.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 n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};(0,ro.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),l=this.resolveContext(a);return new ro.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},l).resolve(r,...n)}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 n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.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,ro.delay)(0).then(()=>r()).catch(()=>null)))}};Lc=ip;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends un{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends un{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var kc=window.FluidTopicsI18nService,D0=window.FluidTopicsCustomI18nService;var ke=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ue=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=()=>Po.get(),this.messageContexts=[],this.cache=new vt.CacheRegistry,this.cleanSessionDebouncer=new vt.Debouncer}render(){return Nc.html`
|
|
3206
3206
|
<slot></slot>
|
|
3207
|
-
`}update(e){var r,n,i,a,l;super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>kc.addContext(c)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(P.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),P.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),P.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ue.elementDefinitions={};ue.styles=Rc;ke([(0,Ve.property)()],ue.prototype,"baseUrl",void 0);ke([(0,Ve.property)()],ue.prototype,"apiIntegrationIdentifier",void 0);ke([(0,Ve.property)()],ue.prototype,"uiLocale",void 0);ke([(0,vt.jsonProperty)(null)],ue.prototype,"availableUiLocales",void 0);ke([(0,vt.jsonProperty)(null)],ue.prototype,"metadataConfiguration",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"editorMode",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"noCustom",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"openExternalDocumentInNewTab",void 0);ke([(0,Ve.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ue.prototype,"noCustomComponent",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"withManualResources",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"navigatorOnline",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"forcedOffline",void 0);ke([(0,Ve.property)({type:Object})],ue.prototype,"apiProvider",void 0);ke([(0,vt.jsonProperty)([])],ue.prototype,"messageContexts",void 0);ke([(0,vt.jsonProperty)(void 0)],ue.prototype,"session",void 0);ke([(0,Ve.state)()],ue.prototype,"localesConfiguration",void 0);var jp=u(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,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!hn(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!hn(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[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(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!hn(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function hn(t,e){try{return ap(t,e)}catch{return!1}}function Ci(t,e){return!hn(t,e)}var lp=u(Y(),1);var yn=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Rr=u(Y(),1);var Ac=u(Y(),1);function Pc(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Ac.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ci,...e??{}})}var mn=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,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(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 n)try{await l()}catch(c){i(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=u(k(),1);var gn=window,sp=gn.ShadowRoot&&(gn.ShadyCSS===void 0||gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,X0=Symbol();var Ic=(t,e)=>{sp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=gn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var bn=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ic(n,e.elementStyles),n}};var vn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},zc,Dc=Symbol("constructorPrototype"),_c=Symbol("constructorName"),Tc=Symbol("exportpartsDebouncer"),Fc=Symbol("dynamicDependenciesLoaded"),no=class extends bn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zc]=new mn(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(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Fc]||(e[Fc]=!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,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}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,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Tc].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.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,n,i,a,l,c;let p=g=>g!=null&&g.trim().length>0,f=e.filter(p).map(g=>g.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...v,...b).filter(p).map(S=>S.trim()).forEach(S=>y.add(S))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(g=>f.map(v=>`${g}:${v}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};zc=Tc;vn([(0,Rr.property)()],no.prototype,"exportpartsPrefix",void 0);vn([Pc([])],no.prototype,"exportpartsPrefixes",void 0);vn([(0,Rr.property)()],no.prototype,"customStylesheet",void 0);vn([(0,Rr.state)()],no.prototype,"useAdoptedStyleSheets",void 0);function Lr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mc,Wc,Uc,xn=Symbol("internalReduxEventsUnsubscribers"),io=Symbol("internalStoresUnsubscribers"),Io=Symbol("internalStores"),kr=class extends no{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(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Io].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Io].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Io].get(e)}addStore(e,r){var n;r=(n=r??(Lr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Io].delete(r)}setupStore(e,r){this[Io].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Io].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[io].has(e.store):this[io].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[io].set(e,r.subscribe(()=>this.updateFromStores())),Lr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let l=c=>this[a](c);r.addEventListener(i.eventName,l),this[xn].push(()=>r.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[io].forEach((e,r)=>this.unsubscribeFromStore(r)),this[xn].forEach(e=>e()),this[xn]=[]}unsubscribeFromStore(e){this[io].has(e)&&this[io].get(e)(),this[io].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Mc=io,Wc=Io,Uc=xn;kr.reduxProperties=new Map;kr.reduxReactiveProperties=new Set;kr.reduxEventListeners=new Map;function pt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,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 n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===mp}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||Pi(t)||Ii(t))}function Bo(t,e,r){r===void 0&&(r=!1),er(t)===0?(r?Object.keys:Jo)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function er(t){var e=t[ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Pi(t)?2:Ii(t)?3:0}function Qo(t,e){return er(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function cp(t,e){return er(t)===2?t.get(e):t[e]}function Yc(t,e,r){var n=er(t);n===2?t.set(e,r):n===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 Pi(t){return hp&&t instanceof Map}function Ii(t){return yp&&t instanceof Set}function ao(t){return t.o||t.t}function Bi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ed(t);delete e[ce];for(var r=Jo(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Di(t,e){return e===void 0&&(e=!1),_i(t)||Vt(t)||!xt(t)||(er(t)>1&&(t.set=t.add=t.clear=t.delete=dp),Object.freeze(t),e&&Bo(t,function(r,n){return Di(n,!0)},!0)),t}function dp(){pt(2)}function _i(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function At(t){var e=Ai[t];return e||pt(18,t),e}function pp(t,e){Ai[t]||(Ai[t]=e)}function Li(){return Ar}function wi(t,e){e&&(At("Patches"),t.u=[],t.s=[],t.v=e)}function Sn(t){ki(t),t.p.forEach(fp),t.p=null}function ki(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function fp(t){var e=t[ce];e.i===0||e.i===1?e.j():e.g=!0}function Ei(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||At("ES5").S(e,t,n),n?(r[ce].P&&(Sn(e),pt(4)),xt(t)&&(t=On(e,t),e.l||Cn(e,t)),e.u&&At("Patches").M(r[ce].t,t,e.u,e.s)):t=On(e,r,[]),Sn(e),e.u&&e.v(e.u,e.s),t!==Jc?t:void 0}function On(t,e,r){if(_i(e))return e;var n=e[ce];if(!n)return Bo(e,function(c,p){return Vc(t,n,e,c,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Cn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Bi(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),Bo(a,function(c,p){return Vc(t,n,i,c,p,r,l)}),Cn(t,i,!1),r&&t.u&&At("Patches").N(n,r,t.u,t.s)}return n.o}function Vc(t,e,r,n,i,a,l){if(Vt(i)){var c=On(t,i,a&&e&&e.i!==3&&!Qo(e.R,n)?a.concat(n):void 0);if(Yc(r,n,c),!Vt(c))return;t.m=!1}else l&&r.add(i);if(xt(i)&&!_i(i)){if(!t.h.D&&t._<1)return;On(t,i),e&&e.A.l||Cn(t,i)}}function Cn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Di(e,r)}function $i(t,e){var r=t[ce];return(r?ao(r):t)[e]}function Gc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function lo(t){t.P||(t.P=!0,t.l&&lo(t.l))}function Ri(t){t.o||(t.o=Bi(t.t))}function Ni(t,e,r){var n=Pi(e)?At("MapSet").F(e,r):Ii(e)?At("MapSet").T(e,r):t.O?function(i,a){var l=Array.isArray(i),c={i:l?1:0,A:a?a.A:Li(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=Pr;l&&(p=[c],f=Nr);var y=Proxy.revocable(p,f),m=y.revoke,g=y.proxy;return c.k=g,c.j=m,g}(e,r):At("ES5").J(e,r);return(r?r.A:Li()).p.push(n),n}function up(t){return Vt(t)||pt(22,t),function e(r){if(!xt(r))return r;var n,i=r[ce],a=er(r);if(i){if(!i.P&&(i.i<4||!At("ES5").K(i)))return i.t;i.I=!0,n=jc(r,a),i.I=!1}else n=jc(r,a);return Bo(n,function(l,c){i&&cp(i.t,l)===c||Yc(n,l,e(c))}),a===3?new Set(n):n}(t)}function jc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Bi(t)}function Qc(){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 Pr.get(f,l)},set:function(f){var y=this[ce];Pr.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:n(p)&&lo(p);break;case 4:r(p)&&lo(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 g=c[m];if(g===void 0&&!Qo(c,m))return!0;var v=p[m],b=v&&v[ce];if(b?b.t!==g:!Xc(v,g))return!0}}var S=!!c[ce];return f.length!==Jo(c).length+(S?0:1)}function n(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 i(l){l.g&&pt(3,JSON.stringify(ao(l)))}var a={};pp("ES5",{J:function(l,c){var p=Array.isArray(l),f=function(m,g){if(m){for(var v=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(v,""+b,t(b,!0));return v}var S=ed(g);delete S[ce];for(var N=Jo(S),R=0;R<N.length;R++){var L=N[R];S[L]=t(L,m||!!S[L].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(p,l),y={i:p?5:4,A:c?c.A:Li(),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 g=m.t,v=m.k,b=m.R,S=m.i;if(S===4)Bo(v,function(j){j!==ce&&(g[j]!==void 0||Qo(g,j)?b[j]||f(v[j]):(b[j]=!0,lo(m)))}),Bo(g,function(j){v[j]!==void 0||Qo(v,j)||(b[j]=!1,lo(m))});else if(S===5){if(n(m)&&(lo(m),b.length=!0),v.length<g.length)for(var N=v.length;N<g.length;N++)b[N]=!1;else for(var R=g.length;R<v.length;R++)b[R]=!0;for(var L=Math.min(v.length,g.length),D=0;D<L;D++)v.hasOwnProperty(D)||(b[D]=!0),b[D]===void 0&&f(v[D])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Kc,Ar,Fi=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",Jc=Fi?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),qc=Fi?Symbol.for("immer-draftable"):"__$immer_draftable",ce=Fi?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},Ai={},Pr={get:function(t,e){if(e===ce)return t;var r=ao(t);if(!Qo(r,e))return function(i,a,l){var c,p=Gc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!xt(n)?n:n===$i(t.t,e)?(Ri(t),t.o[e]=Ni(t.A.h,n,t)):n},has:function(t,e){return e in ao(t)},ownKeys:function(t){return Reflect.ownKeys(ao(t))},set:function(t,e,r){var n=Gc(ao(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=$i(ao(t),e),a=i?.[ce];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Xc(r,i)&&(r!==void 0||Qo(t.t,e)))return!0;Ri(t),lo(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 $i(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ri(t),lo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ao(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pt(12)}},Nr={};Bo(Pr,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 Pr.set.call(this,t[0],e,r,t[0])};var gp=function(){function t(r){var n=this;this.O=Zc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(S){var N=this;S===void 0&&(S=c);for(var R=arguments.length,L=Array(R>1?R-1:0),D=1;D<R;D++)L[D-1]=arguments[D];return p.produce(S,function(j){var J;return(J=a).call.apply(J,[N,j].concat(L))})}}var f;if(typeof a!="function"&&pt(6),l!==void 0&&typeof l!="function"&&pt(7),xt(i)){var y=Hc(n),m=Ni(n,i,void 0),g=!0;try{f=a(m),g=!1}finally{g?Sn(y):ki(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return wi(y,l),Ei(S,y)},function(S){throw Sn(y),S}):(wi(y,l),Ei(f,y))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Jc&&(f=void 0),n.D&&Di(f,!0),l){var v=[],b=[];At("Patches").M(i,f,v,b),l(v,b)}return f}pt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var y=arguments.length,m=Array(y>1?y-1:0),g=1;g<y;g++)m[g-1]=arguments[g];return n.produceWithPatches(f,function(v){return i.apply(void 0,[v].concat(m))})};var l,c,p=n.produce(i,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 n=Hc(this),i=Ni(this,r,void 0);return i[ce].C=!0,ki(n),i},e.finishDraft=function(r,n){var i=r&&r[ce],a=i.A;return wi(a,n),Ei(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,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var l=At("Patches").$;return Vt(r)?l(r,n):this.produce(r,function(c){return l(c,n)})},t}(),ot=new gp,bp=ot.produce,cS=ot.produceWithPatches.bind(ot),dS=ot.setAutoFreeze.bind(ot),pS=ot.setUseProxies.bind(ot),fS=ot.applyPatches.bind(ot),uS=ot.createDraft.bind(ot),hS=ot.finishDraft.bind(ot),wn=bp;function so(t){"@babel/helpers - typeof";return so=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},so(t)}function zi(t,e){if(so(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(so(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ti(t){var e=zi(t,"string");return so(e)==="symbol"?e:String(e)}function Mi(t,e,r){return e=Ti(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 n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function En(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?td(Object(r),!0).forEach(function(n){Mi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ne(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"}(),Wi=function(){return Math.random().toString(36).substring(7).split("").join(".")},$n={INIT:"@@redux/INIT"+Wi(),REPLACE:"@@redux/REPLACE"+Wi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wi()}};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 Ui(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ne(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ne(1));return r(Ui)(t,e)}if(typeof t!="function")throw new Error(Ne(2));var i=t,a=e,l=[],c=l,p=!1;function f(){c===l&&(c=l.slice())}function y(){if(p)throw new Error(Ne(3));return a}function m(S){if(typeof S!="function")throw new Error(Ne(4));if(p)throw new Error(Ne(5));var N=!0;return f(),c.push(S),function(){if(N){if(p)throw new Error(Ne(6));N=!1,f();var L=c.indexOf(S);c.splice(L,1),l=null}}}function g(S){if(!vp(S))throw new Error(Ne(7));if(typeof S.type>"u")throw new Error(Ne(8));if(p)throw new Error(Ne(9));try{p=!0,a=i(a,S)}finally{p=!1}for(var N=l=c,R=0;R<N.length;R++){var L=N[R];L()}return S}function v(S){if(typeof S!="function")throw new Error(Ne(10));i=S,g({type:$n.REPLACE})}function b(){var S,N=m;return S={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Ne(11));function D(){L.next&&L.next(y())}D();var j=N(D);return{unsubscribe:j}}},S[od]=function(){return this},S}return g({type:$n.INIT}),n={dispatch:g,subscribe:m,getState:y,replaceReducer:v},n[od]=b,n}function xp(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:$n.INIT});if(typeof n>"u")throw new Error(Ne(12));if(typeof r(void 0,{type:$n.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ne(13))})}function rd(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}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 g=!1,v={},b=0;b<a.length;b++){var S=a[b],N=r[S],R=f[S],L=N(R,y);if(typeof L>"u"){var D=y&&y.type;throw new Error(Ne(14))}v[S]=L,g=g||L!==R}return g=g||a.length!==Object.keys(f).length,g?v:f}}function tr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function nd(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ne(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=tr.apply(void 0,c)(i.dispatch),En(En({},i),{},{dispatch:a})}}}function id(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,a,t):l(c)}}};return e}var ad=id();ad.withExtraArgument=id;var Hi=ad;var pd=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[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 n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Sp=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,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(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=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++,i=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],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},or=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=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},co=function(t,e){for(var r in e||(e={}))Ep.call(e,r)&&sd(t,r,e[r]);if(ld)for(var n=0,i=ld(e);n<i.length;n++){var r=i[n];$p.call(e,r)&&sd(t,r,e[r])}return t},Vi=function(t,e){return Cp(t,wp(e))},Rp=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{c(r.next(p))}catch(f){i(f)}},l=function(p){try{c(r.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(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"?tr:tr.apply(null,arguments)},PS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function kp(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 Np=function(t){pd(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array),Ap=function(t){pd(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array);function Ki(t){return xt(t)?wn(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,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,l=a===void 0?!0:a,c=new Np;if(r&&(Pp(r)?c.push(Hi):c.push(Hi.withExtraArgument(r.extraArgument))),0){if(i)var p;if(l)var f}return c}var Gi=!0;function fd(t){var e=Ip(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,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,g=m===void 0?void 0:m,v;if(typeof i=="function")v=i;else if(kp(i))v=rd(i);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 b=l;if(typeof b=="function"&&(b=b(e),!Gi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gi&&b.some(function(j){return typeof j!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=nd.apply(void 0,b),N=tr;p&&(N=Lp(co({trace:!Gi},typeof p=="object"&&p)));var R=new Ap(S),L=R;Array.isArray(g)?L=or([S],g):typeof g=="function"&&(L=g(R));var D=N.apply(void 0,L);return Ui(v,y,D)}function po(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return co(co({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function ud(t){var e={},r=[],n,i={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,i},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Dp(t){return typeof t=="function"}function _p(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ud(e):[e,r,n],a=i[0],l=i[1],c=i[2],p;if(Dp(t))p=function(){return Ki(t())};else{var f=Ki(t);p=function(){return f}}function y(m,g){m===void 0&&(m=p());var v=or([a[g.type]],l.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return v.filter(function(b){return!!b}).length===0&&(v=[c]),v.reduce(function(b,S){if(S)if(Vt(b)){var N=b,R=S(N,g);return R===void 0?b:R}else{if(xt(b))return wn(b,function(L){return S(L,g)});var R=S(b,g);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},m)}return y.getInitialState=p,y}function Fp(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:Ki(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};i.forEach(function(y){var m=n[y],g=Fp(e,y),v,b;"reducer"in m?(v=m.reducer,b=m.prepare):v=m,a[y]=v,l[g]=v,c[y]=b?po(g,b):po(g)});function p(){var y=typeof t.extraReducers=="function"?ud(t.extraReducers):[t.extraReducers],m=y[0],g=m===void 0?{}:m,v=y[1],b=v===void 0?[]:v,S=y[2],N=S===void 0?void 0:S,R=co(co({},g),l);return _p(r,function(L){for(var D in R)L.addCase(D,R[D]);for(var j=0,J=b;j<J.length;j++){var rt=J[j];L.addMatcher(rt.matcher,rt.reducer)}N&&L.addDefaultCase(N)})}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},Mp=["name","message","stack","code"],ji=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}(),Wp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Mp;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},_S=function(){function t(e,r,n){var i=po(e+"/fulfilled",function(y,m,g,v){return{payload:y,meta:Vi(co({},v||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=po(e+"/pending",function(y,m,g){return{payload:void 0,meta:Vi(co({},g||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=po(e+"/rejected",function(y,m,g,v,b){return{payload:v,error:(n&&n.serializeError||Wp)(y||"Rejected"),meta:Vi(co({},b||{}),{arg:g,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,g,v){var b=n?.idGenerator?n.idGenerator(y):Tp(),S=new p,N,R=!1;function L(j){N=j,S.abort()}var D=function(){return Rp(this,null,function(){var j,J,rt,Gt,Pn,jt,Ge;return Sp(this,function(nt){switch(nt.label){case 0:return nt.trys.push([0,4,,5]),Gt=(j=n?.condition)==null?void 0:j.call(n,y,{getState:g,extra:v}),Hp(Gt)?[4,Gt]:[3,2];case 1:Gt=nt.sent(),nt.label=2;case 2:if(Gt===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Pn=new Promise(function(je,fo){return S.signal.addEventListener("abort",function(){return fo({name:"AbortError",message:N||"Aborted"})})}),m(a(b,y,(J=n?.getPendingMeta)==null?void 0:J.call(n,{requestId:b,arg:y},{getState:g,extra:v}))),[4,Promise.race([Pn,Promise.resolve(r(y,{dispatch:m,getState:g,extra:v,requestId:b,signal:S.signal,abort:L,rejectWithValue:function(je,fo){return new ji(je,fo)},fulfillWithValue:function(je,fo){return new cd(je,fo)}})).then(function(je){if(je instanceof ji)throw je;return je instanceof cd?i(je.payload,b,y,je.meta):i(je,b,y)})])];case 3:return rt=nt.sent(),[3,5];case 4:return jt=nt.sent(),rt=jt instanceof ji?l(null,b,y,jt.payload,jt.meta):l(jt,b,y),[3,5];case 5:return Ge=n&&!n.dispatchConditionRejection&&l.match(rt)&&rt.meta.condition,Ge||m(rt),[2,rt]}})})}();return Object.assign(D,{abort:L,requestId:b,arg:y,unwrap:function(){return D.then(Up)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:i,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",gd="cancelled",FS="task-"+gd,zS="task-"+md,TS=yd+"-"+gd,MS=yd+"-"+md;var Zi="listenerMiddleware";var WS=po(Zi+"/add"),US=po(Zi+"/removeAll"),HS=po(Zi+"/remove");var dd,VS=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)}},GS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vp(10);Qc();function Gp(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var Rn=class extends Gp(Object){};window.ftReduxStores||(window.ftReduxStores={});var bd=class t extends Rn{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Lr(a))return a;if(i==null)return;let l=hd({...i,reducers:(r=i.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[i.name]=new t(l,c)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new yn,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let l=i,c=n[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 An=u(w());var Ln=class extends oo{async listMySearches(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var kn=class extends oo{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Kp="ft-user-assets",Nn=An.FtReduxStore.get({name:Kp,initialState:{savedSearches:void 0,bookmarks:void 0}}),qi=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new kn,this.savedSearchesService=new Ln,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();(0,An.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(),Nn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Nn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Nn.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;Nn.actions.bookmarks(r)}}},CO=new qi;var Yi=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Yi;var vd=u(w()),Xi=class{highlightHtml(e,r,n){(0,vd.highlightHtml)(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Xi;var xd=u(w());var Qi=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return xd.DateFormatter.format(e,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Qi;var Zp=u(w());(0,Sd.customElement)("ft-app-context")(ue);var W=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>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"},Ji=class extends CustomEvent{constructor(e){super("change",{detail:e})}},qp=()=>{},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 kt(this),this.desktopSearchBarManager=new $r(this),this.mobileSearchBarManager=new Er(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(n=>r.values.includes(n)),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(n=>r.metadataFilters.some(i=>this.compareFilters(n,i))),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 n,i;return((i=(n=r.valueFilter)===null||n===void 0?void 0:n.values.length)!==null&&i!==void 0?i: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`
|
|
3207
|
+
`}update(e){var r,n,i,a,l;super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>kc.addContext(c)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(P.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),P.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),P.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ue.elementDefinitions={};ue.styles=Rc;ke([(0,Ve.property)()],ue.prototype,"baseUrl",void 0);ke([(0,Ve.property)()],ue.prototype,"apiIntegrationIdentifier",void 0);ke([(0,Ve.property)()],ue.prototype,"uiLocale",void 0);ke([(0,vt.jsonProperty)(null)],ue.prototype,"availableUiLocales",void 0);ke([(0,vt.jsonProperty)(null)],ue.prototype,"metadataConfiguration",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"editorMode",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"noCustom",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"openExternalDocumentInNewTab",void 0);ke([(0,Ve.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ue.prototype,"noCustomComponent",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"withManualResources",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"navigatorOnline",void 0);ke([(0,Ve.property)({type:Boolean})],ue.prototype,"forcedOffline",void 0);ke([(0,Ve.property)({type:Object})],ue.prototype,"apiProvider",void 0);ke([(0,vt.jsonProperty)([])],ue.prototype,"messageContexts",void 0);ke([(0,vt.jsonProperty)(void 0)],ue.prototype,"session",void 0);ke([(0,Ve.state)()],ue.prototype,"localesConfiguration",void 0);var jp=u(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,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!hn(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!hn(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[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(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!hn(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function hn(t,e){try{return ap(t,e)}catch{return!1}}function Ci(t,e){return!hn(t,e)}var lp=u(Y(),1);var yn=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Rr=u(Y(),1);var Ac=u(Y(),1);function Pc(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Ac.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ci,...e??{}})}var mn=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,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(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 n)try{await l()}catch(c){i(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 Ic=u(k(),1);var gn=window,sp=gn.ShadowRoot&&(gn.ShadyCSS===void 0||gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,X0=Symbol();var Bc=(t,e)=>{sp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=gn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var bn=class extends Ic.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Bc(n,e.elementStyles),n}};var vn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},zc,Dc=Symbol("constructorPrototype"),_c=Symbol("constructorName"),Tc=Symbol("exportpartsDebouncer"),Fc=Symbol("dynamicDependenciesLoaded"),no=class extends bn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zc]=new mn(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(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Fc]||(e[Fc]=!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,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}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,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Tc].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.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,n,i,a,l,c;let p=g=>g!=null&&g.trim().length>0,f=e.filter(p).map(g=>g.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...v,...b).filter(p).map(S=>S.trim()).forEach(S=>y.add(S))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(g=>f.map(v=>`${g}:${v}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};zc=Tc;vn([(0,Rr.property)()],no.prototype,"exportpartsPrefix",void 0);vn([Pc([])],no.prototype,"exportpartsPrefixes",void 0);vn([(0,Rr.property)()],no.prototype,"customStylesheet",void 0);vn([(0,Rr.state)()],no.prototype,"useAdoptedStyleSheets",void 0);function Lr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mc,Wc,Uc,xn=Symbol("internalReduxEventsUnsubscribers"),io=Symbol("internalStoresUnsubscribers"),Bo=Symbol("internalStores"),kr=class extends no{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(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Bo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Bo].get(e)}addStore(e,r){var n;r=(n=r??(Lr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Bo].delete(r)}setupStore(e,r){this[Bo].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Bo].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[io].has(e.store):this[io].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[io].set(e,r.subscribe(()=>this.updateFromStores())),Lr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let l=c=>this[a](c);r.addEventListener(i.eventName,l),this[xn].push(()=>r.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[io].forEach((e,r)=>this.unsubscribeFromStore(r)),this[xn].forEach(e=>e()),this[xn]=[]}unsubscribeFromStore(e){this[io].has(e)&&this[io].get(e)(),this[io].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Mc=io,Wc=Bo,Uc=xn;kr.reduxProperties=new Map;kr.reduxReactiveProperties=new Set;kr.reduxEventListeners=new Map;function pt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,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 n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===mp}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||Pi(t)||Bi(t))}function Io(t,e,r){r===void 0&&(r=!1),er(t)===0?(r?Object.keys:Jo)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function er(t){var e=t[ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Pi(t)?2:Bi(t)?3:0}function Qo(t,e){return er(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function cp(t,e){return er(t)===2?t.get(e):t[e]}function Yc(t,e,r){var n=er(t);n===2?t.set(e,r):n===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 Pi(t){return hp&&t instanceof Map}function Bi(t){return yp&&t instanceof Set}function ao(t){return t.o||t.t}function Ii(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ed(t);delete e[ce];for(var r=Jo(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Di(t,e){return e===void 0&&(e=!1),_i(t)||Vt(t)||!xt(t)||(er(t)>1&&(t.set=t.add=t.clear=t.delete=dp),Object.freeze(t),e&&Io(t,function(r,n){return Di(n,!0)},!0)),t}function dp(){pt(2)}function _i(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function At(t){var e=Ai[t];return e||pt(18,t),e}function pp(t,e){Ai[t]||(Ai[t]=e)}function Li(){return Ar}function wi(t,e){e&&(At("Patches"),t.u=[],t.s=[],t.v=e)}function Sn(t){ki(t),t.p.forEach(fp),t.p=null}function ki(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function fp(t){var e=t[ce];e.i===0||e.i===1?e.j():e.g=!0}function Ei(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||At("ES5").S(e,t,n),n?(r[ce].P&&(Sn(e),pt(4)),xt(t)&&(t=On(e,t),e.l||Cn(e,t)),e.u&&At("Patches").M(r[ce].t,t,e.u,e.s)):t=On(e,r,[]),Sn(e),e.u&&e.v(e.u,e.s),t!==Jc?t:void 0}function On(t,e,r){if(_i(e))return e;var n=e[ce];if(!n)return Io(e,function(c,p){return Vc(t,n,e,c,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Cn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ii(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),Io(a,function(c,p){return Vc(t,n,i,c,p,r,l)}),Cn(t,i,!1),r&&t.u&&At("Patches").N(n,r,t.u,t.s)}return n.o}function Vc(t,e,r,n,i,a,l){if(Vt(i)){var c=On(t,i,a&&e&&e.i!==3&&!Qo(e.R,n)?a.concat(n):void 0);if(Yc(r,n,c),!Vt(c))return;t.m=!1}else l&&r.add(i);if(xt(i)&&!_i(i)){if(!t.h.D&&t._<1)return;On(t,i),e&&e.A.l||Cn(t,i)}}function Cn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Di(e,r)}function $i(t,e){var r=t[ce];return(r?ao(r):t)[e]}function Gc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function lo(t){t.P||(t.P=!0,t.l&&lo(t.l))}function Ri(t){t.o||(t.o=Ii(t.t))}function Ni(t,e,r){var n=Pi(e)?At("MapSet").F(e,r):Bi(e)?At("MapSet").T(e,r):t.O?function(i,a){var l=Array.isArray(i),c={i:l?1:0,A:a?a.A:Li(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=Pr;l&&(p=[c],f=Nr);var y=Proxy.revocable(p,f),m=y.revoke,g=y.proxy;return c.k=g,c.j=m,g}(e,r):At("ES5").J(e,r);return(r?r.A:Li()).p.push(n),n}function up(t){return Vt(t)||pt(22,t),function e(r){if(!xt(r))return r;var n,i=r[ce],a=er(r);if(i){if(!i.P&&(i.i<4||!At("ES5").K(i)))return i.t;i.I=!0,n=jc(r,a),i.I=!1}else n=jc(r,a);return Io(n,function(l,c){i&&cp(i.t,l)===c||Yc(n,l,e(c))}),a===3?new Set(n):n}(t)}function jc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ii(t)}function Qc(){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 Pr.get(f,l)},set:function(f){var y=this[ce];Pr.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:n(p)&&lo(p);break;case 4:r(p)&&lo(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 g=c[m];if(g===void 0&&!Qo(c,m))return!0;var v=p[m],b=v&&v[ce];if(b?b.t!==g:!Xc(v,g))return!0}}var S=!!c[ce];return f.length!==Jo(c).length+(S?0:1)}function n(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 i(l){l.g&&pt(3,JSON.stringify(ao(l)))}var a={};pp("ES5",{J:function(l,c){var p=Array.isArray(l),f=function(m,g){if(m){for(var v=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(v,""+b,t(b,!0));return v}var S=ed(g);delete S[ce];for(var N=Jo(S),R=0;R<N.length;R++){var L=N[R];S[L]=t(L,m||!!S[L].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(p,l),y={i:p?5:4,A:c?c.A:Li(),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 g=m.t,v=m.k,b=m.R,S=m.i;if(S===4)Io(v,function(j){j!==ce&&(g[j]!==void 0||Qo(g,j)?b[j]||f(v[j]):(b[j]=!0,lo(m)))}),Io(g,function(j){v[j]!==void 0||Qo(v,j)||(b[j]=!1,lo(m))});else if(S===5){if(n(m)&&(lo(m),b.length=!0),v.length<g.length)for(var N=v.length;N<g.length;N++)b[N]=!1;else for(var R=g.length;R<v.length;R++)b[R]=!0;for(var L=Math.min(v.length,g.length),D=0;D<L;D++)v.hasOwnProperty(D)||(b[D]=!0),b[D]===void 0&&f(v[D])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Kc,Ar,Fi=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",Jc=Fi?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),qc=Fi?Symbol.for("immer-draftable"):"__$immer_draftable",ce=Fi?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},Ai={},Pr={get:function(t,e){if(e===ce)return t;var r=ao(t);if(!Qo(r,e))return function(i,a,l){var c,p=Gc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!xt(n)?n:n===$i(t.t,e)?(Ri(t),t.o[e]=Ni(t.A.h,n,t)):n},has:function(t,e){return e in ao(t)},ownKeys:function(t){return Reflect.ownKeys(ao(t))},set:function(t,e,r){var n=Gc(ao(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=$i(ao(t),e),a=i?.[ce];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Xc(r,i)&&(r!==void 0||Qo(t.t,e)))return!0;Ri(t),lo(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 $i(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ri(t),lo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ao(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pt(12)}},Nr={};Io(Pr,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 Pr.set.call(this,t[0],e,r,t[0])};var gp=function(){function t(r){var n=this;this.O=Zc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(S){var N=this;S===void 0&&(S=c);for(var R=arguments.length,L=Array(R>1?R-1:0),D=1;D<R;D++)L[D-1]=arguments[D];return p.produce(S,function(j){var J;return(J=a).call.apply(J,[N,j].concat(L))})}}var f;if(typeof a!="function"&&pt(6),l!==void 0&&typeof l!="function"&&pt(7),xt(i)){var y=Hc(n),m=Ni(n,i,void 0),g=!0;try{f=a(m),g=!1}finally{g?Sn(y):ki(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return wi(y,l),Ei(S,y)},function(S){throw Sn(y),S}):(wi(y,l),Ei(f,y))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Jc&&(f=void 0),n.D&&Di(f,!0),l){var v=[],b=[];At("Patches").M(i,f,v,b),l(v,b)}return f}pt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var y=arguments.length,m=Array(y>1?y-1:0),g=1;g<y;g++)m[g-1]=arguments[g];return n.produceWithPatches(f,function(v){return i.apply(void 0,[v].concat(m))})};var l,c,p=n.produce(i,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 n=Hc(this),i=Ni(this,r,void 0);return i[ce].C=!0,ki(n),i},e.finishDraft=function(r,n){var i=r&&r[ce],a=i.A;return wi(a,n),Ei(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,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var l=At("Patches").$;return Vt(r)?l(r,n):this.produce(r,function(c){return l(c,n)})},t}(),ot=new gp,bp=ot.produce,cS=ot.produceWithPatches.bind(ot),dS=ot.setAutoFreeze.bind(ot),pS=ot.setUseProxies.bind(ot),fS=ot.applyPatches.bind(ot),uS=ot.createDraft.bind(ot),hS=ot.finishDraft.bind(ot),wn=bp;function so(t){"@babel/helpers - typeof";return so=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},so(t)}function zi(t,e){if(so(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(so(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ti(t){var e=zi(t,"string");return so(e)==="symbol"?e:String(e)}function Mi(t,e,r){return e=Ti(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 n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function En(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?td(Object(r),!0).forEach(function(n){Mi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ne(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"}(),Wi=function(){return Math.random().toString(36).substring(7).split("").join(".")},$n={INIT:"@@redux/INIT"+Wi(),REPLACE:"@@redux/REPLACE"+Wi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wi()}};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 Ui(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ne(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ne(1));return r(Ui)(t,e)}if(typeof t!="function")throw new Error(Ne(2));var i=t,a=e,l=[],c=l,p=!1;function f(){c===l&&(c=l.slice())}function y(){if(p)throw new Error(Ne(3));return a}function m(S){if(typeof S!="function")throw new Error(Ne(4));if(p)throw new Error(Ne(5));var N=!0;return f(),c.push(S),function(){if(N){if(p)throw new Error(Ne(6));N=!1,f();var L=c.indexOf(S);c.splice(L,1),l=null}}}function g(S){if(!vp(S))throw new Error(Ne(7));if(typeof S.type>"u")throw new Error(Ne(8));if(p)throw new Error(Ne(9));try{p=!0,a=i(a,S)}finally{p=!1}for(var N=l=c,R=0;R<N.length;R++){var L=N[R];L()}return S}function v(S){if(typeof S!="function")throw new Error(Ne(10));i=S,g({type:$n.REPLACE})}function b(){var S,N=m;return S={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Ne(11));function D(){L.next&&L.next(y())}D();var j=N(D);return{unsubscribe:j}}},S[od]=function(){return this},S}return g({type:$n.INIT}),n={dispatch:g,subscribe:m,getState:y,replaceReducer:v},n[od]=b,n}function xp(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:$n.INIT});if(typeof n>"u")throw new Error(Ne(12));if(typeof r(void 0,{type:$n.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ne(13))})}function rd(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}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 g=!1,v={},b=0;b<a.length;b++){var S=a[b],N=r[S],R=f[S],L=N(R,y);if(typeof L>"u"){var D=y&&y.type;throw new Error(Ne(14))}v[S]=L,g=g||L!==R}return g=g||a.length!==Object.keys(f).length,g?v:f}}function tr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function nd(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ne(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=tr.apply(void 0,c)(i.dispatch),En(En({},i),{},{dispatch:a})}}}function id(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,a,t):l(c)}}};return e}var ad=id();ad.withExtraArgument=id;var Hi=ad;var pd=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[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 n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Sp=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,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(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=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++,i=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],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},or=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=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},co=function(t,e){for(var r in e||(e={}))Ep.call(e,r)&&sd(t,r,e[r]);if(ld)for(var n=0,i=ld(e);n<i.length;n++){var r=i[n];$p.call(e,r)&&sd(t,r,e[r])}return t},Vi=function(t,e){return Cp(t,wp(e))},Rp=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{c(r.next(p))}catch(f){i(f)}},l=function(p){try{c(r.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(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"?tr:tr.apply(null,arguments)},PS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function kp(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 Np=function(t){pd(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array),Ap=function(t){pd(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array);function Ki(t){return xt(t)?wn(t,function(){}):t}function Pp(t){return typeof t=="boolean"}function Bp(){return function(e){return Ip(e)}}function Ip(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,l=a===void 0?!0:a,c=new Np;if(r&&(Pp(r)?c.push(Hi):c.push(Hi.withExtraArgument(r.extraArgument))),0){if(i)var p;if(l)var f}return c}var Gi=!0;function fd(t){var e=Bp(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,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,g=m===void 0?void 0:m,v;if(typeof i=="function")v=i;else if(kp(i))v=rd(i);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 b=l;if(typeof b=="function"&&(b=b(e),!Gi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gi&&b.some(function(j){return typeof j!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=nd.apply(void 0,b),N=tr;p&&(N=Lp(co({trace:!Gi},typeof p=="object"&&p)));var R=new Ap(S),L=R;Array.isArray(g)?L=or([S],g):typeof g=="function"&&(L=g(R));var D=N.apply(void 0,L);return Ui(v,y,D)}function po(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return co(co({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function ud(t){var e={},r=[],n,i={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,i},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Dp(t){return typeof t=="function"}function _p(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ud(e):[e,r,n],a=i[0],l=i[1],c=i[2],p;if(Dp(t))p=function(){return Ki(t())};else{var f=Ki(t);p=function(){return f}}function y(m,g){m===void 0&&(m=p());var v=or([a[g.type]],l.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return v.filter(function(b){return!!b}).length===0&&(v=[c]),v.reduce(function(b,S){if(S)if(Vt(b)){var N=b,R=S(N,g);return R===void 0?b:R}else{if(xt(b))return wn(b,function(L){return S(L,g)});var R=S(b,g);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},m)}return y.getInitialState=p,y}function Fp(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:Ki(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};i.forEach(function(y){var m=n[y],g=Fp(e,y),v,b;"reducer"in m?(v=m.reducer,b=m.prepare):v=m,a[y]=v,l[g]=v,c[y]=b?po(g,b):po(g)});function p(){var y=typeof t.extraReducers=="function"?ud(t.extraReducers):[t.extraReducers],m=y[0],g=m===void 0?{}:m,v=y[1],b=v===void 0?[]:v,S=y[2],N=S===void 0?void 0:S,R=co(co({},g),l);return _p(r,function(L){for(var D in R)L.addCase(D,R[D]);for(var j=0,J=b;j<J.length;j++){var rt=J[j];L.addMatcher(rt.matcher,rt.reducer)}N&&L.addDefaultCase(N)})}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},Mp=["name","message","stack","code"],ji=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}(),Wp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Mp;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},_S=function(){function t(e,r,n){var i=po(e+"/fulfilled",function(y,m,g,v){return{payload:y,meta:Vi(co({},v||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=po(e+"/pending",function(y,m,g){return{payload:void 0,meta:Vi(co({},g||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=po(e+"/rejected",function(y,m,g,v,b){return{payload:v,error:(n&&n.serializeError||Wp)(y||"Rejected"),meta:Vi(co({},b||{}),{arg:g,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,g,v){var b=n?.idGenerator?n.idGenerator(y):Tp(),S=new p,N,R=!1;function L(j){N=j,S.abort()}var D=function(){return Rp(this,null,function(){var j,J,rt,Gt,Pn,jt,Ge;return Sp(this,function(nt){switch(nt.label){case 0:return nt.trys.push([0,4,,5]),Gt=(j=n?.condition)==null?void 0:j.call(n,y,{getState:g,extra:v}),Hp(Gt)?[4,Gt]:[3,2];case 1:Gt=nt.sent(),nt.label=2;case 2:if(Gt===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Pn=new Promise(function(je,fo){return S.signal.addEventListener("abort",function(){return fo({name:"AbortError",message:N||"Aborted"})})}),m(a(b,y,(J=n?.getPendingMeta)==null?void 0:J.call(n,{requestId:b,arg:y},{getState:g,extra:v}))),[4,Promise.race([Pn,Promise.resolve(r(y,{dispatch:m,getState:g,extra:v,requestId:b,signal:S.signal,abort:L,rejectWithValue:function(je,fo){return new ji(je,fo)},fulfillWithValue:function(je,fo){return new cd(je,fo)}})).then(function(je){if(je instanceof ji)throw je;return je instanceof cd?i(je.payload,b,y,je.meta):i(je,b,y)})])];case 3:return rt=nt.sent(),[3,5];case 4:return jt=nt.sent(),rt=jt instanceof ji?l(null,b,y,jt.payload,jt.meta):l(jt,b,y),[3,5];case 5:return Ge=n&&!n.dispatchConditionRejection&&l.match(rt)&&rt.meta.condition,Ge||m(rt),[2,rt]}})})}();return Object.assign(D,{abort:L,requestId:b,arg:y,unwrap:function(){return D.then(Up)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:i,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",gd="cancelled",FS="task-"+gd,zS="task-"+md,TS=yd+"-"+gd,MS=yd+"-"+md;var Zi="listenerMiddleware";var WS=po(Zi+"/add"),US=po(Zi+"/removeAll"),HS=po(Zi+"/remove");var dd,VS=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)}},GS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vp(10);Qc();function Gp(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var Rn=class extends Gp(Object){};window.ftReduxStores||(window.ftReduxStores={});var bd=class t extends Rn{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Lr(a))return a;if(i==null)return;let l=hd({...i,reducers:(r=i.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[i.name]=new t(l,c)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new yn,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let l=i,c=n[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 An=u(w());var Ln=class extends oo{async listMySearches(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var kn=class extends oo{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Kp="ft-user-assets",Nn=An.FtReduxStore.get({name:Kp,initialState:{savedSearches:void 0,bookmarks:void 0}}),qi=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new kn,this.savedSearchesService=new Ln,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();(0,An.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(),Nn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Nn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Nn.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;Nn.actions.bookmarks(r)}}},CO=new qi;var Yi=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Yi;var vd=u(w()),Xi=class{highlightHtml(e,r,n){(0,vd.highlightHtml)(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Xi;var xd=u(w());var Qi=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return xd.DateFormatter.format(e,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Qi;var Zp=u(w());(0,Sd.customElement)("ft-app-context")(ue);var W=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>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"},Ji=class extends CustomEvent{constructor(e){super("change",{detail:e})}},qp=()=>{},B=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 kt(this),this.desktopSearchBarManager=new $r(this),this.mobileSearchBarManager=new Er(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(n=>r.values.includes(n)),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(n=>r.metadataFilters.some(i=>this.compareFilters(n,i))),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 n,i;return((i=(n=r.valueFilter)===null||n===void 0?void 0:n.values.length)!==null&&i!==void 0?i: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`
|
|
3208
3208
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
3209
3209
|
${this.renderSearchBar()}
|
|
3210
3210
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():Z.html`
|
|
@@ -3229,7 +3229,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3229
3229
|
</div>
|
|
3230
3230
|
</ft-accordion-item>
|
|
3231
3231
|
`:null}
|
|
3232
|
-
${(0,
|
|
3232
|
+
${(0,Br.repeat)(this.facets,r=>r.key,r=>{let n=Gn(r),i=r.key.replace(":","-"),a=yl(n);return r.rootNodes.length>0?Z.html`
|
|
3233
3233
|
<ft-accordion-item data-facet-key="${r.key}">
|
|
3234
3234
|
<div class="ft-search-bar--filter-label" slot="toggle">
|
|
3235
3235
|
<ft-typography variant="button">${r.label}</ft-typography>
|
|
@@ -3259,7 +3259,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3259
3259
|
`}getContentLocaleRadioGroup(){var e;return Z.html`
|
|
3260
3260
|
<ft-radio-group aria-labelledby="content_locale_radio_group_label"
|
|
3261
3261
|
@change=${r=>{this.contentLocale=r.detail==="all"?void 0:r.detail,this.clearFilters()}}>
|
|
3262
|
-
${(0,
|
|
3262
|
+
${(0,Br.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var n;return Z.html`
|
|
3263
3263
|
<ft-radio value="${(n=r.lang)!==null&&n!==void 0?n:"all"}"
|
|
3264
3264
|
?checked=${r.lang==this.contentLocale}>
|
|
3265
3265
|
${r.label}
|
|
@@ -3290,7 +3290,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3290
3290
|
label="${this.labelResolver.resolve("presetsSelector")}"
|
|
3291
3291
|
outlined
|
|
3292
3292
|
@change=${r=>this.selectedPreset=r.detail}>
|
|
3293
|
-
${(0,
|
|
3293
|
+
${(0,Br.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>Z.html`
|
|
3294
3294
|
<ft-select-option value="${r.name}"
|
|
3295
3295
|
label="${r.name}"
|
|
3296
3296
|
?selected=${r.name===this.selectedPreset}>
|
|
@@ -3322,7 +3322,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3322
3322
|
${this.getContentLocaleRadioGroup()}
|
|
3323
3323
|
</div>
|
|
3324
3324
|
`:Z.nothing}
|
|
3325
|
-
${(0,
|
|
3325
|
+
${(0,Br.repeat)(this.facets,e=>e.key,e=>{let r=Gn(e),n=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}),i=e.key.replace(":","-");return Z.html`
|
|
3326
3326
|
<ft-filter
|
|
3327
3327
|
class="${n?"ft-search-bar--hierarchical-filter":""}"
|
|
3328
3328
|
part="filters filter filter-${i}"
|
|
@@ -3348,7 +3348,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3348
3348
|
part="floating-panel"
|
|
3349
3349
|
tabindex="-1">
|
|
3350
3350
|
${this.renderDesktopMenu()}
|
|
3351
|
-
</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)}};
|
|
3351
|
+
</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)}};B.elementDefinitions={"ft-accordion":$t,"ft-accordion-item":dt,"ft-button":ve,"ft-chip":ye,"ft-filter":K,"ft-filter-option":Je,"ft-icon":ae,"ft-ripple":T,"ft-select":Q,"ft-select-option":Rt,"ft-size-watcher":Ke,"ft-skeleton":to,"ft-snap-scroll":ge,"ft-tooltip":ie,"ft-typography":q,"ft-radio-group":We,"ft-radio":xe};B.styles=[Vo,re.noTextInputDefaultClearButton,bc,vc,kt.styles,Lt.styles];W([(0,G.property)({type:Boolean})],B.prototype,"dense",void 0);W([(0,G.property)()],B.prototype,"mode",void 0);W([(0,G.property)({type:Boolean})],B.prototype,"forceMobileMenuOpen",void 0);W([(0,G.property)({type:Boolean})],B.prototype,"forceMenuOpen",void 0);W([(0,G.property)()],B.prototype,"baseUrl",void 0);W([(0,G.property)()],B.prototype,"apiIntegrationIdentifier",void 0);W([(0,G.property)()],B.prototype,"contentLocale",void 0);W([(0,G.state)()],B.prototype,"availableContentLocales",void 0);W([(0,G.state)()],B.prototype,"availableContentLocalesInitialized",void 0);W([(0,G.property)()],B.prototype,"uiLocale",void 0);W([(0,re.jsonProperty)({})],B.prototype,"labels",void 0);W([(0,re.jsonProperty)([])],B.prototype,"displayedFilters",void 0);W([(0,re.jsonProperty)([])],B.prototype,"presets",void 0);W([(0,G.property)({type:String,reflect:!0})],B.prototype,"selectedPreset",void 0);W([(0,re.jsonProperty)([])],B.prototype,"priors",void 0);W([(0,G.property)()],B.prototype,"searchRequestSerializer",void 0);W([(0,G.property)({type:Boolean})],B.prototype,"focusOnDisplay",void 0);W([(0,G.state)()],B.prototype,"metadataFilters",void 0);W([(0,G.state)()],B.prototype,"sizeCategory",void 0);W([(0,G.state)()],B.prototype,"displayFacets",void 0);W([(0,G.state)()],B.prototype,"mobileMenuOpen",void 0);W([(0,G.state)()],B.prototype,"facets",void 0);W([(0,G.state)()],B.prototype,"facetsInitialized",void 0);W([(0,G.query)(".ft-search-bar--container")],B.prototype,"container",void 0);W([(0,G.query)(".ft-search-bar--filters-opener")],B.prototype,"filtersOpener",void 0);W([(0,G.query)(".ft-search-bar--floating-panel")],B.prototype,"floatingContainer",void 0);W([(0,G.query)("ft-snap-scroll.ft-search-bar--filters-container")],B.prototype,"scrollingFiltersContainer",void 0);W([(0,G.query)(".ft-search-bar--input")],B.prototype,"input",void 0);W([(0,G.query)(".ft-search-bar--launch-search")],B.prototype,"launchSearchButton",void 0);W([(0,G.state)()],B.prototype,"query",void 0);W([(0,G.state)()],B.prototype,"suggestions",void 0);W([(0,G.state)()],B.prototype,"recentSearches",void 0);W([(0,G.state)()],B.prototype,"scrollToFacet",void 0);W([(0,G.state)()],B.prototype,"api",void 0);W([(0,G.state)()],B.prototype,"reactToFocus",void 0);W([(0,G.state)()],B.prototype,"facetsLoaded",void 0);(0,Cd.customElement)("ft-search-bar")(B);})();
|
|
3352
3352
|
/*! Bundled license information:
|
|
3353
3353
|
|
|
3354
3354
|
lit-html/lit-html.js:
|