@fluid-topics/ft-search-bar 1.1.102 → 1.1.103
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 +177 -175
- package/build/ft-search-bar.min.js +123 -121
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var wp=Object.create;var Qn=Object.defineProperty;var Ep=Object.getOwnPropertyDescriptor;var $p=Object.getOwnPropertyNames;var Rp=Object.getPrototypeOf,Np=Object.prototype.hasOwnProperty;var
|
|
1
|
+
"use strict";(()=>{var wp=Object.create;var Qn=Object.defineProperty;var Ep=Object.getOwnPropertyDescriptor;var $p=Object.getOwnPropertyNames;var Rp=Object.getPrototypeOf,Np=Object.prototype.hasOwnProperty;var Io=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var kp=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $p(e))!Np.call(t,n)&&n!==o&&Qn(t,n,{get:()=>e[n],enumerable:!(i=Ep(e,n))||i.enumerable});return t};var u=(t,e,o)=>(o=t!=null?wp(Rp(t)):{},kp(e||!t||!t.__esModule?Qn(o,"default",{value:t,enumerable:!0}):o,t));var O=Io((Gd,ea)=>{ea.exports=ftGlobals.wcUtils});var R=Io((Zd,ta)=>{ta.exports=ftGlobals.lit});var Y=Io((qd,oa)=>{oa.exports=ftGlobals.litDecorators});var po=Io((Yd,ra)=>{ra.exports=ftGlobals.litRepeat});var st=Io((lg,Ls)=>{Ls.exports=ftGlobals.litClassMap});var ll=Io((Yg,sl)=>{sl.exports=ftGlobals.litUnsafeHTML});var Cp=u(O());var Z=u(R()),j=u(Y()),Pr=u(po()),oe=u(O());var sa=u(O());var aa=u(R()),fo=u(Y()),Ir=u(O());var it;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(it||(it={}));var ia=u(R());var na=ia.css`
|
|
2
2
|
.ft-size-watcher--pixel {
|
|
3
3
|
width: 0;
|
|
4
4
|
height: 0;
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
|
-
`;var or=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Li=class extends CustomEvent{constructor(e,o){super("change",{detail:{size:e,category:o}})}},
|
|
20
|
+
`;var or=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Li=class extends CustomEvent{constructor(e,o){super("change",{detail:{size:e,category:o}})}},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 aa.html`
|
|
21
21
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
22
22
|
<div class="ft-size-watcher--watcher"></div>
|
|
23
23
|
</div>
|
|
24
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=it.S:this.size<976?this.category=it.M:this.size<1024?this.category=it.L:this.size<1440?this.category=it.XL:this.category=it.XXL,this.dispatchEvent(new Li(this.size,this.category)))},this.debounceTimeout)}};
|
|
24
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=it.S:this.size<976?this.category=it.M:this.size<1024?this.category=it.L:this.size<1440?this.category=it.XL:this.category=it.XXL,this.dispatchEvent(new Li(this.size,this.category)))},this.debounceTimeout)}};Ke.elementDefinitions={};Ke.styles=na;or([(0,fo.property)({type:Number})],Ke.prototype,"debounceTimeout",void 0);or([(0,fo.property)({type:Boolean})],Ke.prototype,"local",void 0);or([(0,fo.property)({type:Number,reflect:!0})],Ke.prototype,"size",void 0);or([(0,fo.property)({type:String,reflect:!0})],Ke.prototype,"category",void 0);or([(0,fo.query)(".ft-size-watcher--watcher")],Ke.prototype,"watcher",void 0);(0,sa.customElement)("ft-size-watcher")(Ke);var ps=u(O());var Ti=globalThis,Br=Ti.trustedTypes,la=Br?Br.createPolicy("lit-html",{createHTML:t=>t}):void 0,ha="$lit$",Gt=`lit$${(Math.random()+"").slice(9)}$`,ma="?"+Gt,Ap=`<${ma}>`,mo=document,Dr=()=>mo.createComment(""),ir=t=>t===null||typeof t!="object"&&typeof t!="function",ga=Array.isArray,Lp=t=>ga(t)||typeof t?.[Symbol.iterator]=="function",Pi=`[
|
|
25
25
|
\f\r]`,rr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ca=/-->/g,pa=/>/g,uo=RegExp(`>|${Pi}(?:([^\\s"'>=/]+)(${Pi}*=${Pi}*(?:[^
|
|
26
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),da=/'/g,fa=/"/g,ya=/^(?:script|style|textarea|title)$/i,ba=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),va=ba(1),xa=ba(2),nr=Symbol.for("lit-noChange"),xe=Symbol.for("lit-nothing"),ua=new WeakMap,ho=mo.createTreeWalker(mo,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return la!==void 0?la.createHTML(e):e}var Pp=(t,e)=>{let o=t.length-1,i=[],n,a=e===2?"<svg>":"",s=rr;for(let l=0;l<o;l++){let d=t[l],f,h,m=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===rr?h[1]==="!--"?s=ca:h[1]!==void 0?s=pa:h[2]!==void 0?(ya.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=uo):h[3]!==void 0&&(s=uo):s===uo?h[0]===">"?(s=n??rr,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?uo:h[3]==='"'?fa:da):s===fa||s===da?s=uo:s===ca||s===pa?s=rr:(s=uo,n=void 0);let b=s===uo&&t[l+1].startsWith("/>")?" ":"";a+=s===rr?d+Ap:m>=0?(i.push(f),d.slice(0,m)+ha+d.slice(m)+Kt+b):d+Kt+(m===-2?l:b)}return[Sa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),i]},ar=class t{constructor({strings:e,_$litType$:o},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,h]=Pp(e,o);if(this.el=t.createElement(f,i),ho.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ho.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ha)){let g=h[s++],b=n.getAttribute(m).split(Kt),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:y[2],strings:b,ctor:y[1]==="."?Bi:y[1]==="?"?Di:y[1]==="@"?_i:Bo}),n.removeAttribute(m)}else m.startsWith(Kt)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(ya.test(n.tagName)){let m=n.textContent.split(Kt),g=m.length-1;if(g>0){n.textContent=Br?Br.emptyScript:"";for(let b=0;b<g;b++)n.append(m[b],Dr()),ho.nextNode(),d.push({type:2,index:++a});n.append(m[g],Dr())}}}else if(n.nodeType===8)if(n.data===ma)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Kt,m+1))!==-1;)d.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,o){let i=mo.createElement("template");return i.innerHTML=e,i}};function Io(t,e,o=t,i){if(e===nr)return e;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=ir(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(e=Io(t,n._$AS(t,e.values),n,i)),e}var Ii=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:i}=this._$AD,n=(e?.creationScope??mo).importNode(o,!0);ho.currentNode=n;let a=ho.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new _r(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new zi(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=ho.nextNode(),s++)}return ho.currentNode=mo,n}p(e){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,o),o+=i.strings.length-2):i._$AI(e[o])),o++}},_r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,i,n){this.type=2,this._$AH=xe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Io(this,e,o),ir(e)?e===xe||e==null||e===""?(this._$AH!==xe&&this._$AR(),this._$AH=xe):e!==this._$AH&&e!==nr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Lp(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==xe&&ir(this._$AH)?this._$AA.nextSibling.data=e:this.$(mo.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ar.createElement(Sa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new Ii(n,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=ua.get(e.strings);return o===void 0&&ua.set(e.strings,o=new ar(e)),o}T(e){ga(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of e)n===o.length?o.push(i=new t(this.k(Dr()),this.k(Dr()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Bo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,i,n,a){this.type=1,this._$AH=xe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=xe}_$AI(e,o=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Io(this,e,o,0),s=!ir(e)||e!==this._$AH&&e!==nr,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Io(this,l[i+d],o,d),f===nr&&(f=this._$AH[d]),s||=!ir(f)||f!==this._$AH[d],f===xe?e=xe:e!==xe&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.O(e)}O(e){e===xe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bi=class extends Bo{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===xe?void 0:e}},Di=class extends Bo{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==xe)}},_i=class extends Bo{constructor(e,o,i,n,a){super(e,o,i,n,a),this.type=5}_$AI(e,o=this){if((e=Io(this,e,o,0)??xe)===nr)return;let i=this._$AH,n=e===xe&&i!==xe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==xe&&(i===xe||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zi=class{constructor(e,o,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Io(this,e)}};var Ip=Ti.litHtmlPolyfillSupport;Ip?.(ar,_r),(Ti.litHtmlVersions??=[]).push("3.1.0");var Ca=Symbol.for(""),Bp=t=>{if(t?.r===Ca)return t?._$litStatic$},Fi=t=>({_$litStatic$:t,r:Ca});var Oa=new Map,wa=t=>(e,...o)=>{let i=o.length,n,a,s=[],l=[],d,f=0,h=!1;for(;f<i;){for(d=e[f];f<i&&(a=o[f],(n=Bp(a))!==void 0);)d+=n+e[++f],h=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),h){let m=s.join("$$lit$$");(e=Oa.get(m))===void 0&&(s.raw=s,Oa.set(m,e=s)),o=l}return t(e,...o)},Mi=wa(va),pf=wa(xa);var Wi=u(Y()),cs=u(O());var nt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(nt||(nt={}));var at=u(R()),C=u(O());var Pt=u(R(),1),Gt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,r=class{static create(e,o,i,n){let a=l=>Gt(l??n),s=Pt.css`var(${Gt(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Pt.css`var(${Gt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,o,i,n){let a=l=>i.get(l??n),s=Pt.css`var(${Gt(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Pt.css`var(${Gt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,o){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Gt(a??e.lastResortDefaultValue()),n=Pt.css`var(${Gt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Pt.css`var(${Gt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ea={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Dp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ba={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},zr={display:Ea,"title-1":$a,"title-2":Ra,"title-3":Na,"body-1-regular":ka,"body-1-medium":Aa,"body-1-semibold":La,"body-2-regular":Pa,"body-2-medium":Ia,"body-2-medium-underline":Dp,"body-2-semibold":Ba,"label-1-medium":Da,"label-1-semibold":_a,"label-1-bold":za,"label-2-medium":Ta,"label-2-semibold":Fa,"label-2-bold":Ma,"caption-1-medium":Wa,"caption-1-semibold":Ua,"caption-1-bold":Ha,"caption-2-medium":Va,"caption-2-semibold":ja,"caption-2-bold":Ka,"caption-3-medium":Ga,"caption-3-semibold":Za,"caption-3-bold":qa};var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
27
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var x={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var M={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Pf={focusOpacity:r.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",p.contentInfoPrimary)};var zf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Uf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Gf={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Jf={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var ru={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var lu={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var uu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var bu={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Cu={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Nu={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Iu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Tu={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Hu={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)};var Zu={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Qu={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var rh={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var lh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var uh={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var bh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Ch={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var Nh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Ih={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Tr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tr||(Tr={}));var Re;(function(t){t.large="large",t.medium="medium",t.small="small"})(Re||(Re={}));var Fr=u(R());function Ya(t){let e=zr[t];return Fr.css`
|
|
26
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),da=/'/g,fa=/"/g,ya=/^(?:script|style|textarea|title)$/i,ba=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),va=ba(1),xa=ba(2),nr=Symbol.for("lit-noChange"),xe=Symbol.for("lit-nothing"),ua=new WeakMap,ho=mo.createTreeWalker(mo,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return la!==void 0?la.createHTML(e):e}var Pp=(t,e)=>{let o=t.length-1,i=[],n,a=e===2?"<svg>":"",s=rr;for(let l=0;l<o;l++){let d=t[l],f,h,m=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===rr?h[1]==="!--"?s=ca:h[1]!==void 0?s=pa:h[2]!==void 0?(ya.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=uo):h[3]!==void 0&&(s=uo):s===uo?h[0]===">"?(s=n??rr,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?uo:h[3]==='"'?fa:da):s===fa||s===da?s=uo:s===ca||s===pa?s=rr:(s=uo,n=void 0);let b=s===uo&&t[l+1].startsWith("/>")?" ":"";a+=s===rr?d+Ap:m>=0?(i.push(f),d.slice(0,m)+ha+d.slice(m)+Gt+b):d+Gt+(m===-2?l:b)}return[Sa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),i]},ar=class t{constructor({strings:e,_$litType$:o},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,h]=Pp(e,o);if(this.el=t.createElement(f,i),ho.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ho.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ha)){let g=h[s++],b=n.getAttribute(m).split(Gt),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:y[2],strings:b,ctor:y[1]==="."?Bi:y[1]==="?"?Di:y[1]==="@"?_i:Do}),n.removeAttribute(m)}else m.startsWith(Gt)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(ya.test(n.tagName)){let m=n.textContent.split(Gt),g=m.length-1;if(g>0){n.textContent=Br?Br.emptyScript:"";for(let b=0;b<g;b++)n.append(m[b],Dr()),ho.nextNode(),d.push({type:2,index:++a});n.append(m[g],Dr())}}}else if(n.nodeType===8)if(n.data===ma)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Gt,m+1))!==-1;)d.push({type:7,index:a}),m+=Gt.length-1}a++}}static createElement(e,o){let i=mo.createElement("template");return i.innerHTML=e,i}};function Bo(t,e,o=t,i){if(e===nr)return e;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=ir(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(e=Bo(t,n._$AS(t,e.values),n,i)),e}var Ii=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:i}=this._$AD,n=(e?.creationScope??mo).importNode(o,!0);ho.currentNode=n;let a=ho.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new _r(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new zi(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=ho.nextNode(),s++)}return ho.currentNode=mo,n}p(e){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,o),o+=i.strings.length-2):i._$AI(e[o])),o++}},_r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,i,n){this.type=2,this._$AH=xe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Bo(this,e,o),ir(e)?e===xe||e==null||e===""?(this._$AH!==xe&&this._$AR(),this._$AH=xe):e!==this._$AH&&e!==nr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Lp(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==xe&&ir(this._$AH)?this._$AA.nextSibling.data=e:this.$(mo.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ar.createElement(Sa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new Ii(n,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=ua.get(e.strings);return o===void 0&&ua.set(e.strings,o=new ar(e)),o}T(e){ga(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of e)n===o.length?o.push(i=new t(this.k(Dr()),this.k(Dr()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Do=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,i,n,a){this.type=1,this._$AH=xe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=xe}_$AI(e,o=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Bo(this,e,o,0),s=!ir(e)||e!==this._$AH&&e!==nr,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Bo(this,l[i+d],o,d),f===nr&&(f=this._$AH[d]),s||=!ir(f)||f!==this._$AH[d],f===xe?e=xe:e!==xe&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.O(e)}O(e){e===xe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bi=class extends Do{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===xe?void 0:e}},Di=class extends Do{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==xe)}},_i=class extends Do{constructor(e,o,i,n,a){super(e,o,i,n,a),this.type=5}_$AI(e,o=this){if((e=Bo(this,e,o,0)??xe)===nr)return;let i=this._$AH,n=e===xe&&i!==xe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==xe&&(i===xe||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zi=class{constructor(e,o,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Bo(this,e)}};var Ip=Ti.litHtmlPolyfillSupport;Ip?.(ar,_r),(Ti.litHtmlVersions??=[]).push("3.1.0");var Ca=Symbol.for(""),Bp=t=>{if(t?.r===Ca)return t?._$litStatic$},Fi=t=>({_$litStatic$:t,r:Ca});var Oa=new Map,wa=t=>(e,...o)=>{let i=o.length,n,a,s=[],l=[],d,f=0,h=!1;for(;f<i;){for(d=e[f];f<i&&(a=o[f],(n=Bp(a))!==void 0);)d+=n+e[++f],h=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),h){let m=s.join("$$lit$$");(e=Oa.get(m))===void 0&&(s.raw=s,Oa.set(m,e=s)),o=l}return t(e,...o)},Mi=wa(va),pf=wa(xa);var Wi=u(Y()),cs=u(O());var nt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(nt||(nt={}));var at=u(R()),C=u(O());var Pt=u(R(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,r=class{static create(e,o,i,n){let a=l=>Zt(l??n),s=Pt.css`var(${Zt(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Pt.css`var(${Zt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,o,i,n){let a=l=>i.get(l??n),s=Pt.css`var(${Zt(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Pt.css`var(${Zt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,o){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),n=Pt.css`var(${Zt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Pt.css`var(${Zt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ea={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Dp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ba={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},zr={display:Ea,"title-1":$a,"title-2":Ra,"title-3":Na,"body-1-regular":ka,"body-1-medium":Aa,"body-1-semibold":La,"body-2-regular":Pa,"body-2-medium":Ia,"body-2-medium-underline":Dp,"body-2-semibold":Ba,"label-1-medium":Da,"label-1-semibold":_a,"label-1-bold":za,"label-2-medium":Ta,"label-2-semibold":Fa,"label-2-bold":Ma,"caption-1-medium":Wa,"caption-1-semibold":Ua,"caption-1-bold":Ha,"caption-2-medium":Va,"caption-2-semibold":ja,"caption-2-bold":Ka,"caption-3-medium":Ga,"caption-3-semibold":Za,"caption-3-bold":qa};var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
27
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var x={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var M={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Pf={focusOpacity:r.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",p.contentInfoPrimary)};var zf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Uf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Gf={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Jf={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var ru={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var lu={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var uu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var bu={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Cu={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Nu={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Iu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Tu={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Hu={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)};var Zu={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Qu={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var rh={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var lh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var uh={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var bh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Ch={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var Nh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Ih={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Tr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tr||(Tr={}));var Ne;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ne||(Ne={}));var Fr=u(R());function Ya(t){let e=zr[t];return Fr.css`
|
|
28
28
|
.ft-typography--${(0,Fr.unsafeCSS)(t)} {
|
|
29
29
|
font-family: ${e.fontFamily};
|
|
30
30
|
font-size: ${e.fontSize};
|
|
@@ -33,17 +33,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
33
33
|
line-height: ${e.lineHeight};
|
|
34
34
|
text-transform: ${e.textCase};
|
|
35
35
|
}
|
|
36
|
-
`}var Xa=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),Bt=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),w={fontFamily:Bt,fontSize:C.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:C.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:C.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:C.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:C.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},
|
|
36
|
+
`}var Xa=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),Bt=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),w={fontFamily:Bt,fontSize:C.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:C.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:C.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:C.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:C.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},_o={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xa),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit")},zo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xa),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit")},To={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit")},Fo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit")},It={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit")},Oe={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit")},ft={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit")},Mo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit")},Wo={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase")},St={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Bt),fontSize:C.FtCssVariableFactory.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase")},Ja=at.css`
|
|
37
37
|
.ft-typography--title {
|
|
38
|
-
font-family: ${Do.fontFamily};
|
|
39
|
-
font-size: ${Do.fontSize};
|
|
40
|
-
font-weight: ${Do.fontWeight};
|
|
41
|
-
letter-spacing: ${Do.letterSpacing};
|
|
42
|
-
line-height: ${Do.lineHeight};
|
|
43
|
-
text-transform: ${Do.textTransform};
|
|
44
|
-
}
|
|
45
|
-
`,Qa=at.css`
|
|
46
|
-
.ft-typography--title-dense {
|
|
47
38
|
font-family: ${_o.fontFamily};
|
|
48
39
|
font-size: ${_o.fontSize};
|
|
49
40
|
font-weight: ${_o.fontWeight};
|
|
@@ -51,8 +42,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
51
42
|
line-height: ${_o.lineHeight};
|
|
52
43
|
text-transform: ${_o.textTransform};
|
|
53
44
|
}
|
|
54
|
-
`,
|
|
55
|
-
.ft-typography--
|
|
45
|
+
`,Qa=at.css`
|
|
46
|
+
.ft-typography--title-dense {
|
|
56
47
|
font-family: ${zo.fontFamily};
|
|
57
48
|
font-size: ${zo.fontSize};
|
|
58
49
|
font-weight: ${zo.fontWeight};
|
|
@@ -60,8 +51,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
60
51
|
line-height: ${zo.lineHeight};
|
|
61
52
|
text-transform: ${zo.textTransform};
|
|
62
53
|
}
|
|
63
|
-
`,
|
|
64
|
-
.ft-typography--
|
|
54
|
+
`,es=at.css`
|
|
55
|
+
.ft-typography--subtitle1 {
|
|
65
56
|
font-family: ${To.fontFamily};
|
|
66
57
|
font-size: ${To.fontSize};
|
|
67
58
|
font-weight: ${To.fontWeight};
|
|
@@ -69,6 +60,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
69
60
|
line-height: ${To.lineHeight};
|
|
70
61
|
text-transform: ${To.textTransform};
|
|
71
62
|
}
|
|
63
|
+
`,ts=at.css`
|
|
64
|
+
.ft-typography--subtitle2 {
|
|
65
|
+
font-family: ${Fo.fontFamily};
|
|
66
|
+
font-size: ${Fo.fontSize};
|
|
67
|
+
font-weight: ${Fo.fontWeight};
|
|
68
|
+
letter-spacing: ${Fo.letterSpacing};
|
|
69
|
+
line-height: ${Fo.lineHeight};
|
|
70
|
+
text-transform: ${Fo.textTransform};
|
|
71
|
+
}
|
|
72
72
|
|
|
73
73
|
`,os=at.css`
|
|
74
74
|
.ft-typography--body1 {
|
|
@@ -79,7 +79,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
79
79
|
line-height: ${It.lineHeight};
|
|
80
80
|
text-transform: ${It.textTransform};
|
|
81
81
|
}
|
|
82
|
-
`,
|
|
82
|
+
`,Uo=at.css`
|
|
83
83
|
.ft-typography--body2 {
|
|
84
84
|
font-family: ${Oe.fontFamily};
|
|
85
85
|
font-size: ${Oe.fontSize};
|
|
@@ -88,7 +88,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
88
88
|
line-height: ${Oe.lineHeight};
|
|
89
89
|
text-transform: ${Oe.textTransform};
|
|
90
90
|
}
|
|
91
|
-
`,
|
|
91
|
+
`,qt=at.css`
|
|
92
92
|
.ft-typography--caption {
|
|
93
93
|
font-family: ${ft.fontFamily};
|
|
94
94
|
font-size: ${ft.fontSize};
|
|
@@ -99,15 +99,6 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
99
99
|
}
|
|
100
100
|
`,rs=at.css`
|
|
101
101
|
.ft-typography--breadcrumb {
|
|
102
|
-
font-family: ${Fo.fontFamily};
|
|
103
|
-
font-size: ${Fo.fontSize};
|
|
104
|
-
font-weight: ${Fo.fontWeight};
|
|
105
|
-
letter-spacing: ${Fo.letterSpacing};
|
|
106
|
-
line-height: ${Fo.lineHeight};
|
|
107
|
-
text-transform: ${Fo.textTransform};
|
|
108
|
-
}
|
|
109
|
-
`,is=at.css`
|
|
110
|
-
.ft-typography--overline {
|
|
111
102
|
font-family: ${Mo.fontFamily};
|
|
112
103
|
font-size: ${Mo.fontSize};
|
|
113
104
|
font-weight: ${Mo.fontWeight};
|
|
@@ -115,6 +106,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
115
106
|
line-height: ${Mo.lineHeight};
|
|
116
107
|
text-transform: ${Mo.textTransform};
|
|
117
108
|
}
|
|
109
|
+
`,is=at.css`
|
|
110
|
+
.ft-typography--overline {
|
|
111
|
+
font-family: ${Wo.fontFamily};
|
|
112
|
+
font-size: ${Wo.fontSize};
|
|
113
|
+
font-weight: ${Wo.fontWeight};
|
|
114
|
+
letter-spacing: ${Wo.letterSpacing};
|
|
115
|
+
line-height: ${Wo.lineHeight};
|
|
116
|
+
text-transform: ${Wo.textTransform};
|
|
117
|
+
}
|
|
118
118
|
`,ns=at.css`
|
|
119
119
|
.ft-typography--button {
|
|
120
120
|
font-family: ${St.fontFamily};
|
|
@@ -136,7 +136,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
136
136
|
</${Fi(this.element)}>
|
|
137
137
|
`:Mi`
|
|
138
138
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
139
|
-
`}};q.styles=[Ja,Qa,es,ts,os,
|
|
139
|
+
`}};q.styles=[Ja,Qa,es,ts,os,Uo,qt,rs,is,ns,as,...ss];ls([(0,Wi.property)()],q.prototype,"element",void 0);ls([(0,Wi.property)()],q.prototype,"variant",void 0);(0,ps.customElement)("ft-typography")(q);var Ui=u(O());function Mr(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ds(t){return Mr(t).split("|").pop()}function fs(t){return Mr(t).split("|").join(" > ")}function us(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(o=>us(o,t.selected)),value:t.value}}function hs(t){return(0,Ui.flatDeep)(t.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]}).filter(e=>e.selected).map(e=>e.label)}function Hi(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>us(e,!1))}}function ms(t){return(0,Ui.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var sn=u(O());var Co=u(R()),X=u(Y()),lt=u(O());var Ye=u(R()),Se=u(Y()),zl=u(po()),ei=u(O());var on=u(O());var gr=u(Y()),yl=u(O());var ks=u(R()),I=u(O());var Ss=u(R()),me=u(O()),gs=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorContent),_={color:gs,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",gs),opacityContentOnSurfacePressed:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ys=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorPrimary),bs={color:ys,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",ys)},vs=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorSecondary),xs={color:vs,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",vs)},Os=Ss.css`
|
|
140
140
|
:host {
|
|
141
141
|
display: contents;
|
|
142
142
|
}
|
|
@@ -248,7 +248,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
248
248
|
opacity: ${_.opacityContentOnSurfacePressed};
|
|
249
249
|
transform: translate(-50%, -50%) scale(1);
|
|
250
250
|
}
|
|
251
|
-
`;var Cs=u(R()),sr=u(O()),
|
|
251
|
+
`;var Cs=u(R()),sr=u(O()),ke={color:sr.FtCssVariableFactory.extend("--ft-loader-color","",sr.designSystemVariables.colorPrimary),size:sr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ws=Cs.css`
|
|
252
252
|
:host {
|
|
253
253
|
line-height: 0;
|
|
254
254
|
}
|
|
@@ -257,8 +257,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
257
257
|
display: inline-block;
|
|
258
258
|
position: relative;
|
|
259
259
|
|
|
260
|
-
width: ${
|
|
261
|
-
height: ${
|
|
260
|
+
width: ${ke.size};
|
|
261
|
+
height: ${ke.size};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
.ft-loader div {
|
|
@@ -267,7 +267,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
267
267
|
width: 25%;
|
|
268
268
|
height: 25%;
|
|
269
269
|
border-radius: 50%;
|
|
270
|
-
background: ${
|
|
270
|
+
background: ${ke.color};
|
|
271
271
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
272
272
|
}
|
|
273
273
|
|
|
@@ -314,7 +314,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
314
314
|
transform: translate(0, 0);
|
|
315
315
|
}
|
|
316
316
|
100% {
|
|
317
|
-
transform: translate(calc(0.35 * ${
|
|
317
|
+
transform: translate(calc(0.35 * ${ke.size}), 0);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
`;var Es=u(R()),Dt=u(O()),ce={size:Dt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Dt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$s=Es.css`
|
|
@@ -498,10 +498,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
ft-loader {
|
|
501
|
-
${(0,I.setVariable)(
|
|
502
|
-
${(0,I.setVariable)(
|
|
501
|
+
${(0,I.setVariable)(ke.size,W.iconSize)};
|
|
502
|
+
${(0,I.setVariable)(ke.color,"var(--ft-button-internal-color)")};
|
|
503
503
|
}
|
|
504
|
-
`,I.noTextSelect];var
|
|
504
|
+
`,I.noTextSelect];var Go=u(O());var Bs=u(O());var Ps=u(R()),Ce=u(Y()),Is=u(st()),lr=u(O());var ze=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},T=class extends lr.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 lr.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 lr.Debouncer(10),this.moveRipple=e=>{var o,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.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 Ps.html`
|
|
505
505
|
<style>
|
|
506
506
|
.ft-ripple .ft-ripple--effect {
|
|
507
507
|
left: ${this.originX}px;
|
|
@@ -512,7 +512,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
512
512
|
<div class="ft-ripple--background"></div>
|
|
513
513
|
<div class="ft-ripple--effect"></div>
|
|
514
514
|
</div>
|
|
515
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,i=e,n,a;return o.x!=null?{x:n,y:a}=o:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};T.elementDefinitions={};T.styles=Os;
|
|
515
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,i=e,n,a;return o.x!=null?{x:n,y:a}=o:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};T.elementDefinitions={};T.styles=Os;ze([(0,Ce.property)({type:Boolean})],T.prototype,"primary",void 0);ze([(0,Ce.property)({type:Boolean})],T.prototype,"secondary",void 0);ze([(0,Ce.property)({type:Boolean})],T.prototype,"unbounded",void 0);ze([(0,Ce.property)({type:Boolean})],T.prototype,"activated",void 0);ze([(0,Ce.property)({type:Boolean})],T.prototype,"selected",void 0);ze([(0,Ce.property)({type:Boolean})],T.prototype,"disabled",void 0);ze([(0,Ce.state)()],T.prototype,"hovered",void 0);ze([(0,Ce.state)()],T.prototype,"focused",void 0);ze([(0,Ce.state)()],T.prototype,"pressed",void 0);ze([(0,Ce.state)()],T.prototype,"rippling",void 0);ze([(0,Ce.state)()],T.prototype,"originX",void 0);ze([(0,Ce.state)()],T.prototype,"originY",void 0);ze([(0,Ce.query)(".ft-ripple")],T.prototype,"ripple",void 0);ze([(0,Ce.query)(".ft-ripple--effect")],T.prototype,"rippleEffect",void 0);(0,Bs.customElement)("ft-ripple")(T);var al=u(O());var nl=u(R()),ye=u(Y()),hr=u(O());var Ds=u(R()),_t=u(O()),Yt={distance:_t.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:_t.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:_t.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:_t.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:_t.FtCssVariableFactory.external(_t.designSystemVariables.borderRadiusS,"Design system"),maxWidth:_t.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},_s=Ds.css`
|
|
516
516
|
.ft-tooltip--container {
|
|
517
517
|
display: block;
|
|
518
518
|
}
|
|
@@ -527,21 +527,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
527
527
|
box-sizing: border-box;
|
|
528
528
|
overflow: hidden;
|
|
529
529
|
width: max-content;
|
|
530
|
-
max-width: ${
|
|
530
|
+
max-width: ${Yt.maxWidth};
|
|
531
531
|
text-align: center;
|
|
532
|
-
padding: ${
|
|
533
|
-
z-index: ${
|
|
532
|
+
padding: ${Yt.distance};
|
|
533
|
+
z-index: ${Yt.zIndex};
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
.ft-tooltip--content {
|
|
537
537
|
padding: 4px 8px;
|
|
538
|
-
border-radius: ${
|
|
539
|
-
background-color: ${
|
|
540
|
-
color: ${
|
|
538
|
+
border-radius: ${Yt.borderRadiusS};
|
|
539
|
+
background-color: ${Yt.backgroundColor};
|
|
540
|
+
color: ${Yt.color};
|
|
541
541
|
position: relative;
|
|
542
542
|
word-break: break-word;
|
|
543
543
|
}
|
|
544
|
-
`;var Ts=["top","right","bottom","left"],zs=["start","end"],Ki=Ts.reduce((t,e)=>t.concat(e,e+"-"+zs[0],e+"-"+zs[1]),[]),cr=Math.min,Yt=Math.max,pr=Math.round;var zt=t=>({x:t,y:t}),_p={left:"right",right:"left",bottom:"top",top:"bottom"},zp={start:"end",end:"start"};function Gi(t,e,o){return Yt(t,cr(e,o))}function Wr(t,e){return typeof t=="function"?t(e):t}function Uo(t){return t.split("-")[0]}function Xt(t){return t.split("-")[1]}function Zi(t){return t==="x"?"y":"x"}function qi(t){return t==="y"?"height":"width"}function Ur(t){return["top","bottom"].includes(Uo(t))?"y":"x"}function Yi(t){return Zi(Ur(t))}function Fs(t,e,o){o===void 0&&(o=!1);let i=Xt(t),n=Yi(t),a=qi(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ji(s)),[s,ji(s)]}function Ms(t){return t.replace(/start|end/g,e=>zp[e])}function ji(t){return t.replace(/left|right|bottom|top/g,e=>_p[e])}function Tp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ws(t){return typeof t!="number"?Tp(t):{top:t,right:t,bottom:t,left:t}}function go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Us(t,e,o){let{reference:i,floating:n}=t,a=Ur(e),s=Yi(e),l=qi(s),d=Uo(e),f=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,b;switch(d){case"top":b={x:h,y:i.y-n.height};break;case"bottom":b={x:h,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:m};break;case"left":b={x:i.x-n.width,y:m};break;default:b={x:i.x,y:i.y}}switch(Xt(e)){case"start":b[s]-=g*(o&&f?-1:1);break;case"end":b[s]+=g*(o&&f?-1:1);break}return b}var Hs=async(t,e,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:m}=Us(f,i,d),g=i,b={},y=0;for(let v=0;v<l.length;v++){let{name:N,fn:E}=l[v],{x:$,y:P,data:V,reset:Q}=await E({x:h,y:m,initialPlacement:i,placement:g,strategy:n,middlewareData:b,rects:f,platform:s,elements:{reference:t,floating:e}});if(h=$??h,m=P??m,b={...b,[N]:{...b[N],...V}},Q&&y<=50){y++,typeof Q=="object"&&(Q.placement&&(g=Q.placement),Q.rects&&(f=Q.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):Q.rects),{x:h,y:m}=Us(f,g,d)),v=-1;continue}}return{x:h,y:m,placement:g,strategy:n,middlewareData:b}};async function Xi(t,e){var o;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:g=!1,padding:b=0}=Wr(e,t),y=Ws(b),N=l[g?m==="floating"?"reference":"floating":m],E=go(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),$=m==="floating"?{...s.floating,x:i,y:n}:s.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),V=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},Q=go(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:$,offsetParent:P,strategy:d}):$);return{top:(E.top-Q.top+y.top)/V.y,bottom:(Q.bottom-E.bottom+y.bottom)/V.y,left:(E.left-Q.left+y.left)/V.x,right:(Q.right-E.right+y.right)/V.x}}function Fp(t,e,o){return(t?[...o.filter(n=>Xt(n)===t),...o.filter(n=>Xt(n)!==t)]:o.filter(n=>Uo(n)===n)).filter(n=>t?Xt(n)===t||(e?Ms(n)!==n:!1):!0)}var Ji=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:g=Ki,autoAlignment:b=!0,...y}=Wr(t,e),v=m!==void 0||g===Ki?Fp(m||null,b,g):g,N=await Xi(e,y),E=((o=s.autoPlacement)==null?void 0:o.index)||0,$=v[E];if($==null)return{};let P=Fs($,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==$)return{reset:{placement:v[0]}};let V=[N[Uo($)],N[P[0]],N[P[1]]],Q=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:$,overflows:V}],ot=v[E+1];if(ot)return{data:{index:E+1,overflows:Q},reset:{placement:ot}};let Vt=Q.map(He=>{let rt=Xt(He.placement);return[He.placement,rt&&h?He.overflows.slice(0,2).reduce((Ve,co)=>Ve+co,0):He.overflows[0],He.overflows]}).sort((He,rt)=>He[1]-rt[1]),jt=((n=Vt.filter(He=>He[2].slice(0,Xt(He[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:n[0])||Vt[0][0];return jt!==l?{data:{index:E+1,overflows:Q},reset:{placement:jt}}:{}}}};var Qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:E,y:$}=N;return{x:E,y:$}}},...d}=Wr(t,e),f={x:o,y:i},h=await Xi(e,d),m=Ur(Uo(n)),g=Zi(m),b=f[g],y=f[m];if(a){let N=g==="y"?"top":"left",E=g==="y"?"bottom":"right",$=b+h[N],P=b-h[E];b=Gi($,b,P)}if(s){let N=m==="y"?"top":"left",E=m==="y"?"bottom":"right",$=y+h[N],P=y-h[E];y=Gi($,y,P)}let v=l.fn({...e,[g]:b,[m]:y});return{...v,data:{x:v.x-o,y:v.y-i}}}}};function Tt(t){return js(t)?(t.nodeName||"").toLowerCase():"#document"}function ze(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ft(t){var e;return(e=(js(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function js(t){return t instanceof Node||t instanceof ze(t).Node}function Ct(t){return t instanceof Element||t instanceof ze(t).Element}function ut(t){return t instanceof HTMLElement||t instanceof ze(t).HTMLElement}function Vs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ze(t).ShadowRoot}function Ho(t){let{overflow:e,overflowX:o,overflowY:i,display:n}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function Ks(t){return["table","td","th"].includes(Tt(t))}function Vr(t){let e=jr(),o=Ke(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Gs(t){let e=yo(t);for(;ut(e)&&!dr(e);){if(Vr(e))return e;e=yo(e)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function dr(t){return["html","body","#document"].includes(Tt(t))}function Ke(t){return ze(t).getComputedStyle(t)}function fr(t){return Ct(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yo(t){if(Tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vs(t)&&t.host||Ft(t);return Vs(e)?e.host:e}function Zs(t){let e=yo(t);return dr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ut(e)&&Ho(e)?e:Zs(e)}function Hr(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);let n=Zs(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=ze(n);return a?e.concat(s,s.visualViewport||[],Ho(n)?n:[],s.frameElement&&o?Hr(s.frameElement):[]):e.concat(n,Hr(n,[],o))}function Xs(t){let e=Ke(t),o=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ut(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,l=pr(o)!==a||pr(i)!==s;return l&&(o=a,i=s),{width:o,height:i,$:l}}function Js(t){return Ct(t)?t:t.contextElement}function Vo(t){let e=Js(t);if(!ut(e))return zt(1);let o=e.getBoundingClientRect(),{width:i,height:n,$:a}=Xs(e),s=(a?pr(o.width):o.width)/i,l=(a?pr(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Mp=zt(0);function Qs(t){let e=ze(t);return!jr()||!e.visualViewport?Mp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ze(t)?!1:e}function ur(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);let n=t.getBoundingClientRect(),a=Js(t),s=zt(1);e&&(i?Ct(i)&&(s=Vo(i)):s=Vo(t));let l=Wp(a,o,i)?Qs(a):zt(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,h=n.width/s.x,m=n.height/s.y;if(a){let g=ze(a),b=i&&Ct(i)?ze(i):i,y=g.frameElement;for(;y&&i&&b!==g;){let v=Vo(y),N=y.getBoundingClientRect(),E=Ke(y),$=N.left+(y.clientLeft+parseFloat(E.paddingLeft))*v.x,P=N.top+(y.clientTop+parseFloat(E.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,m*=v.y,d+=$,f+=P,y=ze(y).frameElement}}return go({width:h,height:m,x:d,y:f})}function Up(t){let{rect:e,offsetParent:o,strategy:i}=t,n=ut(o),a=Ft(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},l=zt(1),d=zt(0);if((n||!n&&i!=="fixed")&&((Tt(o)!=="body"||Ho(a))&&(s=fr(o)),ut(o))){let f=ur(o);l=Vo(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Hp(t){return Array.from(t.getClientRects())}function el(t){return ur(Ft(t)).left+fr(t).scrollLeft}function Vp(t){let e=Ft(t),o=fr(t),i=t.ownerDocument.body,n=Yt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Yt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+el(t),l=-o.scrollTop;return Ke(i).direction==="rtl"&&(s+=Yt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function jp(t,e){let o=ze(t),i=Ft(t),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=jr();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Kp(t,e){let o=ur(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=ut(t)?Vo(t):zt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function qs(t,e,o){let i;if(e==="viewport")i=jp(t,o);else if(e==="document")i=Vp(Ft(t));else if(Ct(e))i=Kp(e,o);else{let n=Qs(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return go(i)}function tl(t,e){let o=yo(t);return o===e||!Ct(o)||dr(o)?!1:Ke(o).position==="fixed"||tl(o,e)}function Gp(t,e){let o=e.get(t);if(o)return o;let i=Hr(t,[],!1).filter(l=>Ct(l)&&Tt(l)!=="body"),n=null,a=Ke(t).position==="fixed",s=a?yo(t):t;for(;Ct(s)&&!dr(s);){let l=Ke(s),d=Vr(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ho(s)&&!d&&tl(t,s))?i=i.filter(h=>h!==s):n=l,s=yo(s)}return e.set(t,i),i}function Zp(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t,s=[...o==="clippingAncestors"?Gp(e,this._c):[].concat(o),i],l=s[0],d=s.reduce((f,h)=>{let m=qs(e,h,n);return f.top=Yt(m.top,f.top),f.right=cr(m.right,f.right),f.bottom=cr(m.bottom,f.bottom),f.left=Yt(m.left,f.left),f},qs(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qp(t){return Xs(t)}function Yp(t,e,o){let i=ut(e),n=Ft(e),a=o==="fixed",s=ur(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=zt(0);if(i||!i&&!a)if((Tt(e)!=="body"||Ho(n))&&(l=fr(e)),i){let f=ur(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=el(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ys(t,e){return!ut(t)||Ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function ol(t,e){let o=ze(t);if(!ut(t))return o;let i=Ys(t,e);for(;i&&Ks(i)&&Ke(i).position==="static";)i=Ys(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Ke(i).position==="static"&&!Vr(i))?o:i||Gs(t)||o}var Xp=async function(t){let{reference:e,floating:o,strategy:i}=t,n=this.getOffsetParent||ol,a=this.getDimensions;return{reference:Yp(e,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function Jp(t){return Ke(t).direction==="rtl"}var Kr={convertOffsetParentRelativeRectToViewportRelativeRect:Up,getDocumentElement:Ft,getClippingRect:Zp,getOffsetParent:ol,getElementRects:Xp,getClientRects:Hp,getDimensions:qp,getScale:Vo,isElement:Ct,isRTL:Jp};var rl=(t,e,o)=>{let i=new Map,n={platform:Kr,...o},a={...n.platform,_c:i};return Hs(t,e,{...n,platform:a})};function il(t){return Qp(t)}function en(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Qp(t){for(let e=t;e;e=en(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=en(t);e;e=en(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Gr(t,e,o){return rl(t,e,{platform:{...Kr,getOffsetParent:i=>Kr.getOffsetParent(i,il)},middleware:[Qi({crossAxis:!0}),Ji({allowedPlacements:[o]})]})}var Te=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},re=class extends hr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new hr.Debouncer,this.revealDebouncer=new hr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return nl.html`
|
|
544
|
+
`;var Ts=["top","right","bottom","left"],zs=["start","end"],Ki=Ts.reduce((t,e)=>t.concat(e,e+"-"+zs[0],e+"-"+zs[1]),[]),cr=Math.min,Xt=Math.max,pr=Math.round;var zt=t=>({x:t,y:t}),_p={left:"right",right:"left",bottom:"top",top:"bottom"},zp={start:"end",end:"start"};function Gi(t,e,o){return Xt(t,cr(e,o))}function Wr(t,e){return typeof t=="function"?t(e):t}function Ho(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function Zi(t){return t==="x"?"y":"x"}function qi(t){return t==="y"?"height":"width"}function Ur(t){return["top","bottom"].includes(Ho(t))?"y":"x"}function Yi(t){return Zi(Ur(t))}function Fs(t,e,o){o===void 0&&(o=!1);let i=Jt(t),n=Yi(t),a=qi(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ji(s)),[s,ji(s)]}function Ms(t){return t.replace(/start|end/g,e=>zp[e])}function ji(t){return t.replace(/left|right|bottom|top/g,e=>_p[e])}function Tp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ws(t){return typeof t!="number"?Tp(t):{top:t,right:t,bottom:t,left:t}}function go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Us(t,e,o){let{reference:i,floating:n}=t,a=Ur(e),s=Yi(e),l=qi(s),d=Ho(e),f=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,b;switch(d){case"top":b={x:h,y:i.y-n.height};break;case"bottom":b={x:h,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:m};break;case"left":b={x:i.x-n.width,y:m};break;default:b={x:i.x,y:i.y}}switch(Jt(e)){case"start":b[s]-=g*(o&&f?-1:1);break;case"end":b[s]+=g*(o&&f?-1:1);break}return b}var Hs=async(t,e,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:m}=Us(f,i,d),g=i,b={},y=0;for(let v=0;v<l.length;v++){let{name:N,fn:E}=l[v],{x:$,y:P,data:V,reset:Q}=await E({x:h,y:m,initialPlacement:i,placement:g,strategy:n,middlewareData:b,rects:f,platform:s,elements:{reference:t,floating:e}});if(h=$??h,m=P??m,b={...b,[N]:{...b[N],...V}},Q&&y<=50){y++,typeof Q=="object"&&(Q.placement&&(g=Q.placement),Q.rects&&(f=Q.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):Q.rects),{x:h,y:m}=Us(f,g,d)),v=-1;continue}}return{x:h,y:m,placement:g,strategy:n,middlewareData:b}};async function Xi(t,e){var o;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:g=!1,padding:b=0}=Wr(e,t),y=Ws(b),N=l[g?m==="floating"?"reference":"floating":m],E=go(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),$=m==="floating"?{...s.floating,x:i,y:n}:s.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),V=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},Q=go(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:$,offsetParent:P,strategy:d}):$);return{top:(E.top-Q.top+y.top)/V.y,bottom:(Q.bottom-E.bottom+y.bottom)/V.y,left:(E.left-Q.left+y.left)/V.x,right:(Q.right-E.right+y.right)/V.x}}function Fp(t,e,o){return(t?[...o.filter(n=>Jt(n)===t),...o.filter(n=>Jt(n)!==t)]:o.filter(n=>Ho(n)===n)).filter(n=>t?Jt(n)===t||(e?Ms(n)!==n:!1):!0)}var Ji=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:g=Ki,autoAlignment:b=!0,...y}=Wr(t,e),v=m!==void 0||g===Ki?Fp(m||null,b,g):g,N=await Xi(e,y),E=((o=s.autoPlacement)==null?void 0:o.index)||0,$=v[E];if($==null)return{};let P=Fs($,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==$)return{reset:{placement:v[0]}};let V=[N[Ho($)],N[P[0]],N[P[1]]],Q=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:$,overflows:V}],ot=v[E+1];if(ot)return{data:{index:E+1,overflows:Q},reset:{placement:ot}};let jt=Q.map(Ve=>{let rt=Jt(Ve.placement);return[Ve.placement,rt&&h?Ve.overflows.slice(0,2).reduce((je,co)=>je+co,0):Ve.overflows[0],Ve.overflows]}).sort((Ve,rt)=>Ve[1]-rt[1]),Kt=((n=jt.filter(Ve=>Ve[2].slice(0,Jt(Ve[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:n[0])||jt[0][0];return Kt!==l?{data:{index:E+1,overflows:Q},reset:{placement:Kt}}:{}}}};var Qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:E,y:$}=N;return{x:E,y:$}}},...d}=Wr(t,e),f={x:o,y:i},h=await Xi(e,d),m=Ur(Ho(n)),g=Zi(m),b=f[g],y=f[m];if(a){let N=g==="y"?"top":"left",E=g==="y"?"bottom":"right",$=b+h[N],P=b-h[E];b=Gi($,b,P)}if(s){let N=m==="y"?"top":"left",E=m==="y"?"bottom":"right",$=y+h[N],P=y-h[E];y=Gi($,y,P)}let v=l.fn({...e,[g]:b,[m]:y});return{...v,data:{x:v.x-o,y:v.y-i}}}}};function Tt(t){return js(t)?(t.nodeName||"").toLowerCase():"#document"}function Te(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ft(t){var e;return(e=(js(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function js(t){return t instanceof Node||t instanceof Te(t).Node}function Ct(t){return t instanceof Element||t instanceof Te(t).Element}function ut(t){return t instanceof HTMLElement||t instanceof Te(t).HTMLElement}function Vs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Te(t).ShadowRoot}function Vo(t){let{overflow:e,overflowX:o,overflowY:i,display:n}=Ge(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function Ks(t){return["table","td","th"].includes(Tt(t))}function Vr(t){let e=jr(),o=Ge(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Gs(t){let e=yo(t);for(;ut(e)&&!dr(e);){if(Vr(e))return e;e=yo(e)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function dr(t){return["html","body","#document"].includes(Tt(t))}function Ge(t){return Te(t).getComputedStyle(t)}function fr(t){return Ct(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yo(t){if(Tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vs(t)&&t.host||Ft(t);return Vs(e)?e.host:e}function Zs(t){let e=yo(t);return dr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ut(e)&&Vo(e)?e:Zs(e)}function Hr(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);let n=Zs(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Te(n);return a?e.concat(s,s.visualViewport||[],Vo(n)?n:[],s.frameElement&&o?Hr(s.frameElement):[]):e.concat(n,Hr(n,[],o))}function Xs(t){let e=Ge(t),o=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ut(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,l=pr(o)!==a||pr(i)!==s;return l&&(o=a,i=s),{width:o,height:i,$:l}}function Js(t){return Ct(t)?t:t.contextElement}function jo(t){let e=Js(t);if(!ut(e))return zt(1);let o=e.getBoundingClientRect(),{width:i,height:n,$:a}=Xs(e),s=(a?pr(o.width):o.width)/i,l=(a?pr(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Mp=zt(0);function Qs(t){let e=Te(t);return!jr()||!e.visualViewport?Mp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Te(t)?!1:e}function ur(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);let n=t.getBoundingClientRect(),a=Js(t),s=zt(1);e&&(i?Ct(i)&&(s=jo(i)):s=jo(t));let l=Wp(a,o,i)?Qs(a):zt(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,h=n.width/s.x,m=n.height/s.y;if(a){let g=Te(a),b=i&&Ct(i)?Te(i):i,y=g.frameElement;for(;y&&i&&b!==g;){let v=jo(y),N=y.getBoundingClientRect(),E=Ge(y),$=N.left+(y.clientLeft+parseFloat(E.paddingLeft))*v.x,P=N.top+(y.clientTop+parseFloat(E.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,m*=v.y,d+=$,f+=P,y=Te(y).frameElement}}return go({width:h,height:m,x:d,y:f})}function Up(t){let{rect:e,offsetParent:o,strategy:i}=t,n=ut(o),a=Ft(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},l=zt(1),d=zt(0);if((n||!n&&i!=="fixed")&&((Tt(o)!=="body"||Vo(a))&&(s=fr(o)),ut(o))){let f=ur(o);l=jo(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Hp(t){return Array.from(t.getClientRects())}function el(t){return ur(Ft(t)).left+fr(t).scrollLeft}function Vp(t){let e=Ft(t),o=fr(t),i=t.ownerDocument.body,n=Xt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Xt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+el(t),l=-o.scrollTop;return Ge(i).direction==="rtl"&&(s+=Xt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function jp(t,e){let o=Te(t),i=Ft(t),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=jr();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Kp(t,e){let o=ur(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=ut(t)?jo(t):zt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function qs(t,e,o){let i;if(e==="viewport")i=jp(t,o);else if(e==="document")i=Vp(Ft(t));else if(Ct(e))i=Kp(e,o);else{let n=Qs(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return go(i)}function tl(t,e){let o=yo(t);return o===e||!Ct(o)||dr(o)?!1:Ge(o).position==="fixed"||tl(o,e)}function Gp(t,e){let o=e.get(t);if(o)return o;let i=Hr(t,[],!1).filter(l=>Ct(l)&&Tt(l)!=="body"),n=null,a=Ge(t).position==="fixed",s=a?yo(t):t;for(;Ct(s)&&!dr(s);){let l=Ge(s),d=Vr(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Vo(s)&&!d&&tl(t,s))?i=i.filter(h=>h!==s):n=l,s=yo(s)}return e.set(t,i),i}function Zp(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t,s=[...o==="clippingAncestors"?Gp(e,this._c):[].concat(o),i],l=s[0],d=s.reduce((f,h)=>{let m=qs(e,h,n);return f.top=Xt(m.top,f.top),f.right=cr(m.right,f.right),f.bottom=cr(m.bottom,f.bottom),f.left=Xt(m.left,f.left),f},qs(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qp(t){return Xs(t)}function Yp(t,e,o){let i=ut(e),n=Ft(e),a=o==="fixed",s=ur(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=zt(0);if(i||!i&&!a)if((Tt(e)!=="body"||Vo(n))&&(l=fr(e)),i){let f=ur(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=el(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ys(t,e){return!ut(t)||Ge(t).position==="fixed"?null:e?e(t):t.offsetParent}function ol(t,e){let o=Te(t);if(!ut(t))return o;let i=Ys(t,e);for(;i&&Ks(i)&&Ge(i).position==="static";)i=Ys(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Ge(i).position==="static"&&!Vr(i))?o:i||Gs(t)||o}var Xp=async function(t){let{reference:e,floating:o,strategy:i}=t,n=this.getOffsetParent||ol,a=this.getDimensions;return{reference:Yp(e,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function Jp(t){return Ge(t).direction==="rtl"}var Kr={convertOffsetParentRelativeRectToViewportRelativeRect:Up,getDocumentElement:Ft,getClippingRect:Zp,getOffsetParent:ol,getElementRects:Xp,getClientRects:Hp,getDimensions:qp,getScale:jo,isElement:Ct,isRTL:Jp};var rl=(t,e,o)=>{let i=new Map,n={platform:Kr,...o},a={...n.platform,_c:i};return Hs(t,e,{...n,platform:a})};function il(t){return Qp(t)}function en(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Qp(t){for(let e=t;e;e=en(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=en(t);e;e=en(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Gr(t,e,o){return rl(t,e,{platform:{...Kr,getOffsetParent:i=>Kr.getOffsetParent(i,il)},middleware:[Qi({crossAxis:!0}),Ji({allowedPlacements:[o]})]})}var Fe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},re=class extends hr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new hr.Debouncer,this.revealDebouncer=new hr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return nl.html`
|
|
545
545
|
<div part="container"
|
|
546
546
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
547
547
|
@mouseenter=${this.onHover}
|
|
@@ -559,45 +559,45 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
559
559
|
</div>
|
|
560
560
|
</div>
|
|
561
561
|
</div>
|
|
562
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Gr(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};re.elementDefinitions={"ft-typography":q};re.styles=_s;Te([(0,ye.property)()],re.prototype,"text",void 0);Te([(0,ye.property)({type:Boolean})],re.prototype,"manual",void 0);Te([(0,ye.property)({type:Boolean})],re.prototype,"inline",void 0);Te([(0,ye.property)({type:Number})],re.prototype,"delay",void 0);Te([(0,ye.property)()],re.prototype,"position",void 0);Te([(0,ye.queryAssignedNodes)()],re.prototype,"slotNodes",void 0);Te([(0,ye.query)(".ft-tooltip--container")],re.prototype,"container",void 0);Te([(0,ye.query)(".ft-tooltip")],re.prototype,"tooltip",void 0);Te([(0,ye.query)(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0);Te([(0,ye.state)()],re.prototype,"visible",void 0);Te([(0,ye.eventOptions)({passive:!0})],re.prototype,"onTouch",null);Te([(0,ye.eventOptions)({passive:!0})],re.prototype,"onHover",null);Te([(0,ye.eventOptions)({passive:!0})],re.prototype,"onOut",null);Te([(0,ye.eventOptions)({passive:!0})],re.prototype,"onClick",null);(0,al.customElement)("ft-tooltip")(re);var fl=u(O());var mr=u(R()),bo=u(Y()),pl=u(O()),dl=u(ll());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.EYE="",t.SHARE="󨃱"})(wt||(wt={}));var S;(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=""})(S||(S={}));var tn=new Map([...["abw"].map(t=>[t,S.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,S.AUDIO]),...["avi"].map(t=>[t,S.AVI]),...["chm","xhs"].map(t=>[t,S.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,S.CODE]),...["csv"].map(t=>[t,S.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,S.DITA]),...["epub"].map(t=>[t,S.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,S.EXCEL]),...["flac"].map(t=>[t,S.FLAC]),...["gif"].map(t=>[t,S.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,S.GZIP]),...["html","htm","xhtml"].map(t=>[t,S.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,S.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,S.JPEG]),...["json"].map(t=>[t,S.JSON]),...["m4a","m4p"].map(t=>[t,S.M4A]),...["mov","qt"].map(t=>[t,S.MOV]),...["mp3"].map(t=>[t,S.MP3]),...["mp4","m4v"].map(t=>[t,S.MP4]),...["ogg","oga"].map(t=>[t,S.OGG]),...["pdf","ps"].map(t=>[t,S.PDF]),...["png"].map(t=>[t,S.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,S.POWERPOINT]),...["rar"].map(t=>[t,S.RAR]),...["stp"].map(t=>[t,S.STP]),...["txt","rtf","md","mdown"].map(t=>[t,S.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,S.VIDEO]),...["wav"].map(t=>[t,S.WAV]),...["wma"].map(t=>[t,S.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,S.WORD]),...["xml","xsl","rdf"].map(t=>[t,S.XML]),...["yaml","yml","x-yaml"].map(t=>[t,S.YAML]),...["zip"].map(t=>[t,S.ZIP])]),ed=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 cl(t,e){var o,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=ed.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(n=(i=tn.get(l))!==null&&i!==void 0?i:tn.get(e))!==null&&n!==void 0?n:tn.get(s))!==null&&a!==void 0?a:S.UNKNOWN}var Xg={[S.ABW]:"#91ABC6",[S.AUDIO]:"#1795E3",[S.AVI]:"#E63324",[S.CHM]:"#71C3EB",[S.CODE]:"#71C3EB",[S.CSV]:"#1F7345",[S.DITA]:"#71C3EB",[S.EPUB]:"#85B926",[S.EXCEL]:"#1F7345",[S.FLAC]:"#1795E3",[S.GIF]:"#59B031",[S.GZIP]:"#F8AB36",[S.HTML]:"#71C3EB",[S.IMAGE]:"#59B031",[S.JPEG]:"#59B031",[S.JSON]:"#71C3EB",[S.M4A]:"#1795E3",[S.MOV]:"#E63324",[S.MP3]:"#1795E3",[S.MP4]:"#E63324",[S.OGG]:"#1795E3",[S.PDF]:"#E44948",[S.PNG]:"#59B031",[S.POWERPOINT]:"#B54A2B",[S.RAR]:"#F8AB36",[S.STP]:"#3764B1",[S.TEXT]:"#3162AB",[S.UNKNOWN]:"#999999",[S.VIDEO]:"#E63324",[S.WAV]:"#1795E3",[S.WMA]:"#1795E3",[S.WORD]:"#3162AB",[S.XML]:"#71C3EB",[S.YAML]:"#71C3EB",[S.ZIP]:"#F8AB36"};var ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ke||(ke={}));var Zr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends pl.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(ke).includes(this.variant)?this.variant:ke.fluid_topics,o=e!==ke.material||!!this.value;return mr.html`
|
|
562
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Gr(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};re.elementDefinitions={"ft-typography":q};re.styles=_s;Fe([(0,ye.property)()],re.prototype,"text",void 0);Fe([(0,ye.property)({type:Boolean})],re.prototype,"manual",void 0);Fe([(0,ye.property)({type:Boolean})],re.prototype,"inline",void 0);Fe([(0,ye.property)({type:Number})],re.prototype,"delay",void 0);Fe([(0,ye.property)()],re.prototype,"position",void 0);Fe([(0,ye.queryAssignedNodes)()],re.prototype,"slotNodes",void 0);Fe([(0,ye.query)(".ft-tooltip--container")],re.prototype,"container",void 0);Fe([(0,ye.query)(".ft-tooltip")],re.prototype,"tooltip",void 0);Fe([(0,ye.query)(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0);Fe([(0,ye.state)()],re.prototype,"visible",void 0);Fe([(0,ye.eventOptions)({passive:!0})],re.prototype,"onTouch",null);Fe([(0,ye.eventOptions)({passive:!0})],re.prototype,"onHover",null);Fe([(0,ye.eventOptions)({passive:!0})],re.prototype,"onOut",null);Fe([(0,ye.eventOptions)({passive:!0})],re.prototype,"onClick",null);(0,al.customElement)("ft-tooltip")(re);var fl=u(O());var mr=u(R()),bo=u(Y()),pl=u(O()),dl=u(ll());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.EYE="",t.SHARE="󨃱"})(wt||(wt={}));var S;(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=""})(S||(S={}));var tn=new Map([...["abw"].map(t=>[t,S.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,S.AUDIO]),...["avi"].map(t=>[t,S.AVI]),...["chm","xhs"].map(t=>[t,S.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,S.CODE]),...["csv"].map(t=>[t,S.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,S.DITA]),...["epub"].map(t=>[t,S.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,S.EXCEL]),...["flac"].map(t=>[t,S.FLAC]),...["gif"].map(t=>[t,S.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,S.GZIP]),...["html","htm","xhtml"].map(t=>[t,S.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,S.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,S.JPEG]),...["json"].map(t=>[t,S.JSON]),...["m4a","m4p"].map(t=>[t,S.M4A]),...["mov","qt"].map(t=>[t,S.MOV]),...["mp3"].map(t=>[t,S.MP3]),...["mp4","m4v"].map(t=>[t,S.MP4]),...["ogg","oga"].map(t=>[t,S.OGG]),...["pdf","ps"].map(t=>[t,S.PDF]),...["png"].map(t=>[t,S.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,S.POWERPOINT]),...["rar"].map(t=>[t,S.RAR]),...["stp"].map(t=>[t,S.STP]),...["txt","rtf","md","mdown"].map(t=>[t,S.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,S.VIDEO]),...["wav"].map(t=>[t,S.WAV]),...["wma"].map(t=>[t,S.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,S.WORD]),...["xml","xsl","rdf"].map(t=>[t,S.XML]),...["yaml","yml","x-yaml"].map(t=>[t,S.YAML]),...["zip"].map(t=>[t,S.ZIP])]),ed=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 cl(t,e){var o,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=ed.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(n=(i=tn.get(l))!==null&&i!==void 0?i:tn.get(e))!==null&&n!==void 0?n:tn.get(s))!==null&&a!==void 0?a:S.UNKNOWN}var Xg={[S.ABW]:"#91ABC6",[S.AUDIO]:"#1795E3",[S.AVI]:"#E63324",[S.CHM]:"#71C3EB",[S.CODE]:"#71C3EB",[S.CSV]:"#1F7345",[S.DITA]:"#71C3EB",[S.EPUB]:"#85B926",[S.EXCEL]:"#1F7345",[S.FLAC]:"#1795E3",[S.GIF]:"#59B031",[S.GZIP]:"#F8AB36",[S.HTML]:"#71C3EB",[S.IMAGE]:"#59B031",[S.JPEG]:"#59B031",[S.JSON]:"#71C3EB",[S.M4A]:"#1795E3",[S.MOV]:"#E63324",[S.MP3]:"#1795E3",[S.MP4]:"#E63324",[S.OGG]:"#1795E3",[S.PDF]:"#E44948",[S.PNG]:"#59B031",[S.POWERPOINT]:"#B54A2B",[S.RAR]:"#F8AB36",[S.STP]:"#3764B1",[S.TEXT]:"#3162AB",[S.UNKNOWN]:"#999999",[S.VIDEO]:"#E63324",[S.WAV]:"#1795E3",[S.WMA]:"#1795E3",[S.WORD]:"#3162AB",[S.XML]:"#71C3EB",[S.YAML]:"#71C3EB",[S.ZIP]:"#F8AB36"};var Ae;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ae||(Ae={}));var Zr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends pl.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(Ae).includes(this.variant)?this.variant:Ae.fluid_topics,o=e!==Ae.material||!!this.value;return mr.html`
|
|
563
563
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
564
564
|
${(0,dl.unsafeHTML)(this.resolvedIcon)}
|
|
565
565
|
<slot ?hidden=${o}></slot>
|
|
566
566
|
</i>
|
|
567
|
-
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let i=this.value||this.textContent;switch(this.variant){case
|
|
567
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let i=this.value||this.textContent;switch(this.variant){case Ae.file_format:this.resolvedIcon=(e=S[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ae.material:this.resolvedIcon=this.value||mr.nothing;break;default:this.resolvedIcon=(o=wt[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ie.elementDefinitions={};ie.styles=$s;Zr([(0,bo.property)()],ie.prototype,"variant",void 0);Zr([(0,bo.property)()],ie.prototype,"value",void 0);Zr([(0,bo.state)()],ie.prototype,"resolvedIcon",void 0);Zr([(0,bo.query)("slot")],ie.prototype,"slottedContent",void 0);(0,fl.customElement)("ft-icon")(ie);var ml=u(O());var ul=u(R()),hl=u(O());var vo=class extends hl.FtLitElement{render(){return ul.html`
|
|
568
568
|
<div class="ft-loader">
|
|
569
569
|
<div></div>
|
|
570
570
|
<div></div>
|
|
571
571
|
<div></div>
|
|
572
572
|
<div></div>
|
|
573
573
|
</div>
|
|
574
|
-
`}};vo.styles=ws;(0,ml.customElement)("ft-loader")(vo);var
|
|
574
|
+
`}};vo.styles=ws;(0,ml.customElement)("ft-loader")(vo);var Ko=u(R()),gl=u(st()),Ee=u(Y()),Me=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},pe=class extends(0,Go.toFtFormComponent)(Go.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(Ko.html`
|
|
575
575
|
<button part="button"
|
|
576
576
|
class="${(0,gl.classMap)(this.buttonClasses)}"
|
|
577
|
-
aria-label="${this.getLabel()}"
|
|
577
|
+
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
578
578
|
?disabled=${this.isDisabled()}>
|
|
579
579
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
580
580
|
<ft-typography part="label"
|
|
581
581
|
variant=${this.typographyVariant}
|
|
582
582
|
element="span"
|
|
583
|
-
class="ft-button--label ${
|
|
583
|
+
class="ft-button--label ${Go.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
584
584
|
?hidden=${!this.hasTextContent()}>
|
|
585
585
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
586
586
|
</ft-typography>
|
|
587
587
|
${this.resolveIcon()}
|
|
588
588
|
</button>
|
|
589
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
589
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ko.html`
|
|
590
590
|
<ft-tooltip part="tooltip"
|
|
591
591
|
text="${this.getLabel()}"
|
|
592
592
|
position="${this.tooltipPosition}">
|
|
593
593
|
${e}
|
|
594
594
|
</ft-tooltip>
|
|
595
|
-
`:e}resolveIcon(){return this.loading?
|
|
596
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
595
|
+
`:e}resolveIcon(){return this.loading?Ko.html`
|
|
596
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Ko.html`
|
|
597
597
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
598
|
-
`:
|
|
598
|
+
`:Ko.html`
|
|
599
599
|
<slot part="icon" name="icon"></slot>
|
|
600
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
600
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":T,"ft-tooltip":re,"ft-typography":q,"ft-icon":ie,"ft-loader":vo};Me([(0,Ee.property)({type:String,reflect:!0})],pe.prototype,"role",void 0);Me([(0,Ee.property)()],pe.prototype,"type",void 0);Me([(0,Ee.property)({type:Boolean})],pe.prototype,"disabled",void 0);Me([(0,Ee.property)()],pe.prototype,"label",void 0);Me([(0,Ee.property)()],pe.prototype,"icon",void 0);Me([(0,Ee.property)()],pe.prototype,"iconVariant",void 0);Me([(0,Ee.property)({type:Boolean})],pe.prototype,"trailingIcon",void 0);Me([(0,Ee.property)({type:Boolean})],pe.prototype,"loading",void 0);Me([(0,Ee.property)({attribute:"aria-label"})],pe.prototype,"ariaLabel",void 0);Me([(0,Ee.property)()],pe.prototype,"tooltipPosition",void 0);Me([(0,Ee.property)({type:Boolean})],pe.prototype,"hideTooltip",void 0);Me([(0,Ee.property)({type:Boolean})],pe.prototype,"forceTooltip",void 0);Me([(0,Ee.query)(".ft-button")],pe.prototype,"button",void 0);Me([(0,Ee.query)(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);var qr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},be=class extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};be.styles=[yl.safariEllipsisFix,As];qr([(0,gr.property)({type:Boolean})],be.prototype,"primary",void 0);qr([(0,gr.property)({type:Boolean})],be.prototype,"outlined",void 0);qr([(0,gr.property)({type:Boolean})],be.prototype,"dense",void 0);qr([(0,gr.property)({type:Boolean})],be.prototype,"round",void 0);var yr=u(Y());var Xr=u(O());var bl=u(R()),K=u(O());var vl=[bl.css`
|
|
601
601
|
:host {
|
|
602
602
|
display: inline-block;
|
|
603
603
|
max-width: 100%;
|
|
@@ -681,7 +681,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
681
681
|
/** Primary styles **/
|
|
682
682
|
|
|
683
683
|
.ft-button--primary {
|
|
684
|
-
${(0,K.setVariable)(
|
|
684
|
+
${(0,K.setVariable)(ke.color,x.primaryIconColor)};
|
|
685
685
|
|
|
686
686
|
${(0,K.setVariable)(_.color,x.primaryStateLayerColor)};
|
|
687
687
|
${(0,K.setVariable)(_.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
|
|
@@ -705,7 +705,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
705
705
|
/** Secondary styles **/
|
|
706
706
|
|
|
707
707
|
.ft-button--secondary {
|
|
708
|
-
${(0,K.setVariable)(
|
|
708
|
+
${(0,K.setVariable)(ke.color,x.secondaryIconColor)};
|
|
709
709
|
|
|
710
710
|
${(0,K.setVariable)(_.color,x.secondaryStateLayerColor)};
|
|
711
711
|
${(0,K.setVariable)(_.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
|
|
@@ -730,7 +730,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
730
730
|
/** Tertiary styles **/
|
|
731
731
|
|
|
732
732
|
.ft-button--tertiary {
|
|
733
|
-
${(0,K.setVariable)(
|
|
733
|
+
${(0,K.setVariable)(ke.color,x.tertiaryIconColor)};
|
|
734
734
|
|
|
735
735
|
${(0,K.setVariable)(_.color,x.tertiaryStateLayerColor)};
|
|
736
736
|
${(0,K.setVariable)(_.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
|
|
@@ -754,7 +754,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
754
754
|
/** Neutral styles **/
|
|
755
755
|
|
|
756
756
|
.ftds--family-neutral {
|
|
757
|
-
${(0,K.setVariable)(
|
|
757
|
+
${(0,K.setVariable)(ke.color,x.neutralIconColor)};
|
|
758
758
|
|
|
759
759
|
${(0,K.setVariable)(_.backgroundColor,x.neutralStateLayerColor)};
|
|
760
760
|
${(0,K.setVariable)(_.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
|
|
@@ -779,7 +779,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
779
779
|
|
|
780
780
|
.ftds--size-large {
|
|
781
781
|
${(0,K.setVariable)(ce.size,x.largeIconSize)};
|
|
782
|
-
${(0,K.setVariable)(
|
|
782
|
+
${(0,K.setVariable)(ke.size,x.largeIconSize)};
|
|
783
783
|
|
|
784
784
|
height: ${x.largeHeight};
|
|
785
785
|
padding: 0 ${x.largeHorizontalPadding};
|
|
@@ -801,7 +801,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
801
801
|
|
|
802
802
|
.ftds--size-medium {
|
|
803
803
|
${(0,K.setVariable)(ce.size,x.mediumIconSize)};
|
|
804
|
-
${(0,K.setVariable)(
|
|
804
|
+
${(0,K.setVariable)(ke.size,x.mediumIconSize)};
|
|
805
805
|
|
|
806
806
|
height: ${x.mediumHeight};
|
|
807
807
|
padding: 0 ${x.mediumHorizontalPadding};
|
|
@@ -824,7 +824,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
824
824
|
|
|
825
825
|
.ftds--size-small {
|
|
826
826
|
${(0,K.setVariable)(ce.size,x.smallIconSize)};
|
|
827
|
-
${(0,K.setVariable)(
|
|
827
|
+
${(0,K.setVariable)(ke.size,x.smallIconSize)};
|
|
828
828
|
|
|
829
829
|
height: ${x.smallHeight};
|
|
830
830
|
padding: 0 ${x.smallHorizontalPadding};
|
|
@@ -841,7 +841,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
841
841
|
.ftds--size-small.ft-button--icon-only {
|
|
842
842
|
width: ${x.smallIconOnlyWidth};
|
|
843
843
|
}
|
|
844
|
-
`,K.noTextSelect];var Yr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ht=class extends(0,Xr.toFtdsBase)(
|
|
844
|
+
`,K.noTextSelect];var Yr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ht=class extends(0,Xr.toFtdsBase)(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Tr.brand,this.iconVariant=Ae.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ne.large:return nt.body2medium;case Ne.medium:return nt.caption1medium;case Ne.small:return nt.caption2medium}}};ht.styles=[Xr.safariEllipsisFix,vl];Yr([(0,yr.property)({type:Boolean})],ht.prototype,"primary",void 0);Yr([(0,yr.property)({type:Boolean})],ht.prototype,"secondary",void 0);Yr([(0,yr.property)({type:Boolean})],ht.prototype,"tertiary",void 0);Yr([(0,yr.property)({type:Boolean})],ht.prototype,"round",void 0);(0,on.customElement)("ft-button")(be);(0,on.customElement)("ftds-button")(ht);var El=u(O());var Ol=u(R()),Wt=u(Y()),Cl=u(O()),wl=u(st());var Ze=u(O()),xl=u(R());var Mt={textColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ze.designSystemVariables.colorOnSurfaceHigh),fontSize:Ze.FtCssVariableFactory.extend("--ft-checkbox-font-size","",w.fontSize),colorPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ze.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Sl=xl.css`
|
|
845
845
|
* {
|
|
846
846
|
box-sizing: border-box;
|
|
847
847
|
}
|
|
@@ -919,7 +919,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
919
919
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
920
920
|
opacity: 1;
|
|
921
921
|
}
|
|
922
|
-
`;var
|
|
922
|
+
`;var xo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends Cl.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 Ol.html`
|
|
923
923
|
<label class="${(0,wl.classMap)(e)}" for="checkbox-input">
|
|
924
924
|
<div class="ft-checkbox--box-container">
|
|
925
925
|
<ft-ripple
|
|
@@ -946,14 +946,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
946
946
|
<slot></slot>
|
|
947
947
|
</ft-typography>
|
|
948
948
|
</label>
|
|
949
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}};
|
|
949
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}click(){this.input.click()}};Le.elementDefinitions={"ft-ripple":T,"ft-typography":q};Le.styles=Sl;xo([(0,Wt.property)()],Le.prototype,"name",void 0);xo([(0,Wt.property)({type:Boolean,reflect:!0})],Le.prototype,"checked",void 0);xo([(0,Wt.property)({type:Boolean})],Le.prototype,"indeterminate",void 0);xo([(0,Wt.property)({type:Boolean})],Le.prototype,"disabled",void 0);xo([(0,Wt.query)(".ft-checkbox")],Le.prototype,"container",void 0);xo([(0,Wt.query)("ft-ripple")],Le.prototype,"ripple",void 0);xo([(0,Wt.query)("input")],Le.prototype,"input",void 0);(0,El.customElement)("ft-checkbox")(Le);var rn=u(O());var Nl=u(R()),mt=u(Y()),kl=u(O()),Al=u(st());var $l=u(R()),qe=u(O()),So={textColor:qe.FtCssVariableFactory.extend("--ft-radio-text-color","",qe.designSystemVariables.colorOnSurfaceHigh),colorPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnPrimary,"Design system"),borderColor:qe.FtCssVariableFactory.extend("--ft-radio-border-color","",qe.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Rl=$l.css`
|
|
950
950
|
* {
|
|
951
951
|
box-sizing: border-box;
|
|
952
952
|
}
|
|
953
953
|
|
|
954
954
|
.ft-radio {
|
|
955
955
|
box-sizing: border-box;
|
|
956
|
-
color: ${
|
|
956
|
+
color: ${So.textColor};
|
|
957
957
|
|
|
958
958
|
display: inline-flex;
|
|
959
959
|
align-items: center;
|
|
@@ -961,7 +961,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
.ft-radio--disabled {
|
|
964
|
-
color: ${
|
|
964
|
+
color: ${So.colorOnSurfaceDisabled};
|
|
965
965
|
}
|
|
966
966
|
|
|
967
967
|
input {
|
|
@@ -984,7 +984,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
.ft-radio--box {
|
|
987
|
-
border: 2px solid ${
|
|
987
|
+
border: 2px solid ${So.borderColor};
|
|
988
988
|
border-radius: 50%;
|
|
989
989
|
|
|
990
990
|
display: flex;
|
|
@@ -997,7 +997,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
997
997
|
|
|
998
998
|
.ft-radio--box:after {
|
|
999
999
|
content: " ";
|
|
1000
|
-
background-color: ${
|
|
1000
|
+
background-color: ${So.colorPrimary};
|
|
1001
1001
|
|
|
1002
1002
|
border-radius: 50%;
|
|
1003
1003
|
|
|
@@ -1009,7 +1009,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
.ft-radio--checked .ft-radio--box {
|
|
1012
|
-
border-color: ${
|
|
1012
|
+
border-color: ${So.colorPrimary};
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
|
|
@@ -1018,12 +1018,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
1020
|
.ft-radio--disabled .ft-radio--box {
|
|
1021
|
-
border-color: ${
|
|
1021
|
+
border-color: ${So.colorOnSurfaceDisabled};
|
|
1022
1022
|
background-color: transparent;
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1026
|
-
background-color: ${
|
|
1026
|
+
background-color: ${So.colorOnSurfaceDisabled};
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
.ft-radio:has(:focus-visible) {
|
|
@@ -1034,7 +1034,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1034
1034
|
.ft-radio ft-typography {
|
|
1035
1035
|
padding-right: 2px;
|
|
1036
1036
|
}
|
|
1037
|
-
`;var
|
|
1037
|
+
`;var Ut=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Jr=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},ve=class extends kl.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Nl.html`
|
|
1038
1038
|
<div class="${(0,Al.classMap)(e)}">
|
|
1039
1039
|
<div class="ft-radio--box-container">
|
|
1040
1040
|
<ft-ripple
|
|
@@ -1059,7 +1059,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1059
1059
|
</ft-typography>
|
|
1060
1060
|
</label>
|
|
1061
1061
|
</div>
|
|
1062
|
-
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Jr(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Jr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};ve.elementDefinitions={"ft-ripple":T,"ft-typography":q};ve.styles=Rl;
|
|
1062
|
+
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Jr(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Jr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};ve.elementDefinitions={"ft-ripple":T,"ft-typography":q};ve.styles=Rl;Ut([(0,mt.property)()],ve.prototype,"value",void 0);Ut([(0,mt.property)()],ve.prototype,"name",void 0);Ut([(0,mt.property)({type:Boolean,reflect:!0})],ve.prototype,"checked",void 0);Ut([(0,mt.property)({attribute:"aria-checked",reflect:!0})],ve.prototype,"ariaChecked",void 0);Ut([(0,mt.property)({type:Boolean})],ve.prototype,"disabled",void 0);Ut([(0,mt.property)({reflect:!0,attribute:"role"})],ve.prototype,"role",void 0);Ut([(0,mt.query)(".ft-radio")],ve.prototype,"container",void 0);Ut([(0,mt.query)("ft-ripple")],ve.prototype,"ripple",void 0);Ut([(0,mt.query)("input")],ve.prototype,"input",void 0);var Il=u(O()),Ht=u(Y()),Bl=u(R());var Ll=u(R());var Pl=Ll.css`
|
|
1063
1063
|
:host {
|
|
1064
1064
|
display: block;
|
|
1065
1065
|
}
|
|
@@ -1067,12 +1067,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1067
1067
|
:host(:focus-visible) {
|
|
1068
1068
|
outline: none;
|
|
1069
1069
|
}
|
|
1070
|
-
`;var Zo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},
|
|
1070
|
+
`;var Zo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},We=class extends Il.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return Bl.html`
|
|
1071
1071
|
<slot @slotchange=${this.onSlotChange}
|
|
1072
1072
|
@change=${this.onChange}
|
|
1073
1073
|
@keydown=${this.onKeyDown}
|
|
1074
1074
|
></slot>
|
|
1075
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};
|
|
1075
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};We.elementDefinitions={};We.styles=Pl;Zo([(0,Ht.property)()],We.prototype,"name",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Zo([(0,Ht.property)({reflect:!0})],We.prototype,"tabIndex",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"aria-labelledby"})],We.prototype,"ariaLabelledBy",void 0);Zo([(0,Ht.queryAssignedElements)()],We.prototype,"radioButtons",void 0);Zo([(0,Ht.state)()],We.prototype,"currentSelectedIndex",void 0);(0,rn.customElement)("ft-radio")(ve);(0,rn.customElement)("ft-radio-group")(We);var Dl=u(R()),ne=u(O());var Qr={borderRadiusM:ne.FtCssVariableFactory.external(ne.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ne.FtCssVariableFactory.external(Oe.fontFamily,"Body2 typography"),fontSize:ne.FtCssVariableFactory.external(Oe.fontSize,"Body2 typography"),fontWeight:ne.FtCssVariableFactory.external(Oe.fontWeight,"Body2 typography"),letterSpacing:ne.FtCssVariableFactory.external(Oe.letterSpacing,"Body2 typography"),lineHeight:ne.FtCssVariableFactory.external(Oe.lineHeight,"Body2 typography"),textTransform:ne.FtCssVariableFactory.external(Oe.textTransform,"Body2 typography")},_l=Dl.css`
|
|
1076
1076
|
.ft-filter-level--container {
|
|
1077
1077
|
display: flex;
|
|
1078
1078
|
flex-direction: column;
|
|
@@ -1138,7 +1138,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1138
1138
|
margin: 10px 0;
|
|
1139
1139
|
color: ${Qr.colorOnSurfaceMedium};
|
|
1140
1140
|
}
|
|
1141
|
-
`;var
|
|
1141
|
+
`;var Pe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},de=class extends ei.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,o;return(o=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&o!==void 0?o:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let o=e.slice(0,this.limit);return Ye.html`
|
|
1142
1142
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1143
1143
|
${this.parent==null?null:Ye.html`
|
|
1144
1144
|
<div tabindex="0"
|
|
@@ -1204,7 +1204,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1204
1204
|
@change=${o=>this.optionsChanged(o,e)}>
|
|
1205
1205
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1206
1206
|
</ft-radio>
|
|
1207
|
-
`}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};
|
|
1207
|
+
`}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};de.elementDefinitions={"ft-button":be,"ft-ripple":T,"ft-typography":q,"ft-checkbox":Le,"ft-icon":ie,"ft-radio":ve};de.styles=_l;Pe([(0,Se.property)({type:String})],de.prototype,"filterId",void 0);Pe([(0,Se.property)({type:Object})],de.prototype,"parent",void 0);Pe([(0,Se.property)({type:Array})],de.prototype,"options",void 0);Pe([(0,Se.property)({type:Boolean})],de.prototype,"multivalued",void 0);Pe([(0,Se.property)({type:Boolean})],de.prototype,"disabled",void 0);Pe([(0,Se.property)({type:Boolean})],de.prototype,"hideSelectedOptions",void 0);Pe([(0,Se.property)({type:Boolean})],de.prototype,"displayCount",void 0);Pe([(0,Se.property)({type:Boolean})],de.prototype,"preventNavigation",void 0);Pe([(0,Se.property)({type:String})],de.prototype,"filter",void 0);Pe([(0,Se.property)({type:String})],de.prototype,"moreValuesButtonLabel",void 0);Pe([(0,Se.property)({type:String})],de.prototype,"noValuesLabel",void 0);Pe([(0,Se.property)({type:Number})],de.prototype,"displayedValuesLimit",void 0);Pe([(0,Se.query)(".ft-filter-level--container")],de.prototype,"container",void 0);Pe([(0,Se.state)()],de.prototype,"radios",void 0);Pe([(0,Se.state)()],de.prototype,"displayedPages",void 0);var Ul=u(O());var Ml=u(R()),Xe=u(Y()),Oo=u(O());var Wl=u(st());var Tl=u(R()),gt=u(O());var Ie={buttonsColor:gt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",gt.designSystemVariables.colorPrimary),buttonsZIndex:gt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:gt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:gt.FtCssVariableFactory.external(gt.designSystemVariables.colorSurface,"Design system")},Fl=Tl.css`
|
|
1208
1208
|
.ft-snap-scroll {
|
|
1209
1209
|
box-sizing: border-box;
|
|
1210
1210
|
position: relative;
|
|
@@ -1239,7 +1239,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1239
1239
|
flex-wrap: nowrap;
|
|
1240
1240
|
align-items: flex-start;
|
|
1241
1241
|
justify-content: flex-start;
|
|
1242
|
-
gap: ${
|
|
1242
|
+
gap: ${Ie.gap};
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
1245
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1282,11 +1282,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1282
1282
|
.ft-snap-scroll--next {
|
|
1283
1283
|
position: absolute;
|
|
1284
1284
|
display: flex;
|
|
1285
|
-
z-index: ${
|
|
1285
|
+
z-index: ${Ie.buttonsZIndex};
|
|
1286
1286
|
opacity: 1;
|
|
1287
1287
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1288
1288
|
${(0,gt.setVariable)(W.backgroundColor,"transparent")};
|
|
1289
|
-
${(0,gt.setVariable)(W.color,
|
|
1289
|
+
${(0,gt.setVariable)(W.color,Ie.buttonsColor)};
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
1292
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1299,37 +1299,37 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1299
1299
|
top: 0;
|
|
1300
1300
|
left: -1px;
|
|
1301
1301
|
bottom: 0;
|
|
1302
|
-
background: linear-gradient(to right, ${
|
|
1302
|
+
background: linear-gradient(to right, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
1305
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1306
1306
|
top: -1px;
|
|
1307
1307
|
left: 0;
|
|
1308
1308
|
right: 0;
|
|
1309
|
-
background: linear-gradient(to bottom, ${
|
|
1309
|
+
background: linear-gradient(to bottom, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1313
1313
|
top: 0;
|
|
1314
1314
|
right: -1px;
|
|
1315
1315
|
bottom: 0;
|
|
1316
|
-
background: linear-gradient(to left, ${
|
|
1316
|
+
background: linear-gradient(to left, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
1319
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1320
1320
|
left: 0;
|
|
1321
1321
|
right: 0;
|
|
1322
1322
|
bottom: -1px;
|
|
1323
|
-
background: linear-gradient(to top, ${
|
|
1323
|
+
background: linear-gradient(to top, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
1326
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1327
1327
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1328
1328
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1329
1329
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1330
|
-
background-color: ${
|
|
1330
|
+
background-color: ${Ie.colorSurface};
|
|
1331
1331
|
}
|
|
1332
|
-
`;var Et=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},nn=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},ge=class extends
|
|
1332
|
+
`;var Et=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},nn=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},ge=class extends Oo.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new Oo.Debouncer(200),this.updateScrollDebouncer=new Oo.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let o=this.elements[e];if(o){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<n||o[this.offsetAttribute]+o[this.sizeAttribute]>i)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,Wl.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Oo.isSafari}),o=this.controls&&this.withScroll;return Ml.html`
|
|
1333
1333
|
<div part="container" class="${e}">
|
|
1334
1334
|
<ft-button
|
|
1335
1335
|
class="ft-snap-scroll--previous"
|
|
@@ -1353,7 +1353,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1353
1353
|
@click=${this.next}
|
|
1354
1354
|
></ft-button>
|
|
1355
1355
|
</div>
|
|
1356
|
-
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new nn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,i;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};ge.elementDefinitions={"ft-button":be};ge.styles=Fl;Et([(0,Xe.property)({type:Boolean})],ge.prototype,"horizontal",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"hideScrollbar",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"controls",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"limitSize",void 0);Et([(0,Xe.state)()],ge.prototype,"elements",void 0);Et([(0,Xe.state)()],ge.prototype,"currentElement",void 0);Et([(0,Xe.state)()],ge.prototype,"withScroll",void 0);Et([(0,Xe.state)()],ge.prototype,"startReached",void 0);Et([(0,Xe.state)()],ge.prototype,"endReached",void 0);Et([(0,Xe.query)(".ft-snap-scroll--content")],ge.prototype,"contentSlot",void 0);(0,Ul.customElement)("ft-snap-scroll")(ge);var Hl=u(R()),ee=u(O());var
|
|
1356
|
+
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new nn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,i;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};ge.elementDefinitions={"ft-button":be};ge.styles=Fl;Et([(0,Xe.property)({type:Boolean})],ge.prototype,"horizontal",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"hideScrollbar",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"controls",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"limitSize",void 0);Et([(0,Xe.state)()],ge.prototype,"elements",void 0);Et([(0,Xe.state)()],ge.prototype,"currentElement",void 0);Et([(0,Xe.state)()],ge.prototype,"withScroll",void 0);Et([(0,Xe.state)()],ge.prototype,"startReached",void 0);Et([(0,Xe.state)()],ge.prototype,"endReached",void 0);Et([(0,Xe.query)(".ft-snap-scroll--content")],ge.prototype,"contentSlot",void 0);(0,Ul.customElement)("ft-snap-scroll")(ge);var Hl=u(R()),ee=u(O());var Ue={colorOutline:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorPrimary,"Design system"),colorSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorSurface,"Design system"),transitionDuration:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ee.FtCssVariableFactory.extend("--ft-filter-label-color","",ee.designSystemVariables.colorOnSurface),labelFontSize:ee.FtCssVariableFactory.extend("--ft-filter-label-font-size","",w.fontSize,"16px")},Vl=[qt,ee.noTextInputDefaultClearButton,Hl.css`
|
|
1357
1357
|
:host {
|
|
1358
1358
|
display: flex;
|
|
1359
1359
|
max-height: 100%;
|
|
@@ -1375,6 +1375,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1375
1375
|
flex-shrink: 0;
|
|
1376
1376
|
padding: 0 10px;
|
|
1377
1377
|
margin-bottom: 8px;
|
|
1378
|
+
align-items: center;
|
|
1378
1379
|
}
|
|
1379
1380
|
|
|
1380
1381
|
.ft-filter--header ft-button {
|
|
@@ -1382,6 +1383,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1382
1383
|
margin-left: auto;
|
|
1383
1384
|
${(0,ee.setVariable)(W.iconSize,"18px")};
|
|
1384
1385
|
}
|
|
1386
|
+
|
|
1385
1387
|
.filter-label {
|
|
1386
1388
|
display: contents;
|
|
1387
1389
|
}
|
|
@@ -1391,8 +1393,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1391
1393
|
flex-shrink: 1;
|
|
1392
1394
|
flex-grow: 1;
|
|
1393
1395
|
word-break: break-word;
|
|
1394
|
-
color: ${
|
|
1395
|
-
font-size: ${
|
|
1396
|
+
color: ${Ue.labelColor};
|
|
1397
|
+
font-size: ${Ue.labelFontSize};
|
|
1396
1398
|
${(0,ee.setVariable)(w.lineHeight,"22px")};
|
|
1397
1399
|
${(0,ee.setVariable)(w.fontWeight,"bold")};
|
|
1398
1400
|
}
|
|
@@ -1405,8 +1407,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1405
1407
|
padding: 0 10px;
|
|
1406
1408
|
overflow: hidden;
|
|
1407
1409
|
height: 32px;
|
|
1408
|
-
transition: height ${
|
|
1409
|
-
margin ${
|
|
1410
|
+
transition: height ${Ue.transitionDuration} ${Ue.transitionTimingFunction},
|
|
1411
|
+
margin ${Ue.transitionDuration} ${Ue.transitionTimingFunction};
|
|
1410
1412
|
transition-delay: 500ms;
|
|
1411
1413
|
}
|
|
1412
1414
|
|
|
@@ -1419,15 +1421,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1419
1421
|
display: block;
|
|
1420
1422
|
width: 100%;
|
|
1421
1423
|
border-radius: 4px;
|
|
1422
|
-
border: 1px solid ${
|
|
1424
|
+
border: 1px solid ${Ue.colorOutline};
|
|
1423
1425
|
padding: 4px;
|
|
1424
|
-
background-color: ${
|
|
1425
|
-
color: ${
|
|
1426
|
-
outline-color: ${
|
|
1426
|
+
background-color: ${Ue.colorSurface};
|
|
1427
|
+
color: ${Ue.colorOnSurface};
|
|
1428
|
+
outline-color: ${Ue.colorPrimary};
|
|
1427
1429
|
}
|
|
1428
1430
|
|
|
1429
1431
|
input::placeholder {
|
|
1430
|
-
color: ${
|
|
1432
|
+
color: ${Ue.colorOnSurfaceMedium};
|
|
1431
1433
|
}
|
|
1432
1434
|
|
|
1433
1435
|
input:placeholder-shown {
|
|
@@ -1443,7 +1445,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1443
1445
|
}
|
|
1444
1446
|
|
|
1445
1447
|
.ft-filter--separator {
|
|
1446
|
-
border-top: 1px solid ${
|
|
1448
|
+
border-top: 1px solid ${Ue.colorOutline};
|
|
1447
1449
|
margin: 4px 10px;
|
|
1448
1450
|
}
|
|
1449
1451
|
|
|
@@ -1468,10 +1470,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1468
1470
|
slot:not([name]) {
|
|
1469
1471
|
display: none;
|
|
1470
1472
|
}
|
|
1471
|
-
`];var ae=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},an=class extends CustomEvent{constructor(e){super("change",{detail:e})}},G=class extends lt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new lt.Debouncer(300),this.changeDebouncer=new lt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,lt.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,lt.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return
|
|
1473
|
+
`];var ae=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},an=class extends CustomEvent{constructor(e){super("change",{detail:e})}},G=class extends lt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new lt.Debouncer(300),this.changeDebouncer=new lt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,lt.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,lt.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Co.html`
|
|
1472
1474
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1473
1475
|
part="container">
|
|
1474
|
-
${!this.label&&!e?null:
|
|
1476
|
+
${!this.label&&!e?null:Co.html`
|
|
1475
1477
|
|
|
1476
1478
|
<div class="ft-filter--header" part="header">
|
|
1477
1479
|
<div class="filter-label" id="id-group-${this.id}">
|
|
@@ -1480,7 +1482,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1480
1482
|
</ft-typography>
|
|
1481
1483
|
<slot name="label"></slot>
|
|
1482
1484
|
</div>
|
|
1483
|
-
${e&&!this.hideClearButton?
|
|
1485
|
+
${e&&!this.hideClearButton?Co.html`
|
|
1484
1486
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1485
1487
|
${this.clearButtonLabel}
|
|
1486
1488
|
</ft-button>
|
|
@@ -1504,8 +1506,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1504
1506
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1505
1507
|
@option-change=${this.optionsChanged}></slot>
|
|
1506
1508
|
</div>
|
|
1507
|
-
`}update(e){if(super.update(e),e.has("options")){let o=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>o.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var o,i,n,a,s;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(o=this.levelsContainer)===null||o===void 0||o.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var l;(l=this.levelsContainer)===null||l===void 0||l.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let e=this.flatOptions,o=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return
|
|
1508
|
-
${this.raiseSelectedOptions&&o.length>0?
|
|
1509
|
+
`}update(e){if(super.update(e),e.has("options")){let o=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>o.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var o,i,n,a,s;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(o=this.levelsContainer)===null||o===void 0||o.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var l;(l=this.levelsContainer)===null||l===void 0||l.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let e=this.flatOptions,o=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Co.html`
|
|
1510
|
+
${this.raiseSelectedOptions&&o.length>0?Co.html`
|
|
1509
1511
|
<ft-filter-level
|
|
1510
1512
|
filterId="${this.id}"
|
|
1511
1513
|
?multivalued=${this.multivalued}
|
|
@@ -1525,7 +1527,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1525
1527
|
${this.renderLevel(n,this.options)}
|
|
1526
1528
|
${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let d=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
|
|
1527
1529
|
</ft-snap-scroll>
|
|
1528
|
-
`}renderLevel(e,o,i){return
|
|
1530
|
+
`}renderLevel(e,o,i){return Co.html`
|
|
1529
1531
|
<ft-filter-level
|
|
1530
1532
|
class="${e}"
|
|
1531
1533
|
filterId="${this.id}"
|
|
@@ -1545,9 +1547,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1545
1547
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1546
1548
|
noValuesLabel="${this.noValuesLabel}"
|
|
1547
1549
|
></ft-filter-level>
|
|
1548
|
-
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var o;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(o=i.subOptions)===null||o===void 0||o.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,lt.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new an(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};G.elementDefinitions={"ft-button":be,"ft-filter-level":
|
|
1550
|
+
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var o;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(o=i.subOptions)===null||o===void 0||o.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,lt.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new an(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};G.elementDefinitions={"ft-button":be,"ft-filter-level":de,"ft-snap-scroll":ge,"ft-typography":q};G.styles=Vl;ae([(0,X.property)({type:String})],G.prototype,"id",void 0);ae([(0,X.property)({type:String})],G.prototype,"label",void 0);ae([(0,X.property)({type:String})],G.prototype,"filterPlaceHolder",void 0);ae([(0,X.property)({type:String})],G.prototype,"clearButtonLabel",void 0);ae([(0,X.property)({type:String})],G.prototype,"moreValuesButtonLabel",void 0);ae([(0,X.property)({type:String})],G.prototype,"noValuesLabel",void 0);ae([(0,lt.jsonProperty)([])],G.prototype,"options",void 0);ae([(0,X.property)({type:Boolean})],G.prototype,"multivalued",void 0);ae([(0,X.property)({type:Boolean})],G.prototype,"disabled",void 0);ae([(0,X.property)({type:Boolean})],G.prototype,"raiseSelectedOptions",void 0);ae([(0,X.property)({type:Boolean})],G.prototype,"displayCount",void 0);ae([(0,X.property)({type:Number})],G.prototype,"displayedValuesLimit",void 0);ae([(0,X.property)({type:Boolean})],G.prototype,"hideClearButton",void 0);ae([(0,X.query)(".ft-filter--slot")],G.prototype,"slotElement",void 0);ae([(0,X.query)(".ft-filter--container")],G.prototype,"container",void 0);ae([(0,X.query)(".ft-filter--values")],G.prototype,"valuesContainer",void 0);ae([(0,X.query)(".ft-filter--levels")],G.prototype,"levelsContainer",void 0);ae([(0,X.state)()],G.prototype,"lastLevelHasHiddenvalues",void 0);ae([(0,X.query)(".ft-filter--filter input")],G.prototype,"filterInput",void 0);ae([(0,X.queryAll)(".ft-filter--levels ft-filter-level")],G.prototype,"levels",void 0);ae([(0,X.state)()],G.prototype,"withScroll",void 0);ae([(0,X.state)()],G.prototype,"filter",void 0);ae([(0,X.state)()],G.prototype,"slideIn",void 0);ae([(0,X.state)()],G.prototype,"slideOut",void 0);var ti=u(O()),wo=u(Y()),jl=u(R()),qo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Je=class extends ti.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return jl.html`
|
|
1549
1551
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1550
|
-
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};qo([(0,
|
|
1552
|
+
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};qo([(0,wo.property)({type:String})],Je.prototype,"label",void 0);qo([(0,wo.property)({type:Object,converter:t=>t})],Je.prototype,"value",void 0);qo([(0,wo.property)({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);qo([(0,wo.property)({type:Object})],Je.prototype,"subOptions",void 0);qo([(0,ti.jsonProperty)({})],Je.prototype,"renderOption",void 0);qo([(0,wo.query)(".ft-filter-option--slot")],Je.prototype,"slotElement",void 0);(0,sn.customElement)("ft-filter")(G);(0,sn.customElement)("ft-filter-option")(Je);var ln=u(O());var ql=u(R()),oi=u(Y()),Yl=u(O());var Kl=u(R());var Gl=Kl.css`
|
|
1551
1553
|
.ft-accordion {
|
|
1552
1554
|
box-sizing: border-box;
|
|
1553
1555
|
}
|
|
@@ -1555,11 +1557,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1555
1557
|
<div class="ft-accordion">
|
|
1556
1558
|
<slot @activated=${this.onChange}></slot>
|
|
1557
1559
|
</div>
|
|
1558
|
-
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===e.target)}};$t.elementDefinitions={};$t.styles=Gl;Zl([(0,oi.property)({type:Boolean})],$t.prototype,"multi",void 0);Zl([(0,oi.query)("slot")],$t.prototype,"content",void 0);var br=u(R()),vr=u(Y()),Ql=u(O());var Xl=u(R())
|
|
1560
|
+
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===e.target)}};$t.elementDefinitions={};$t.styles=Gl;Zl([(0,oi.property)({type:Boolean})],$t.prototype,"multi",void 0);Zl([(0,oi.query)("slot")],$t.prototype,"content",void 0);var br=u(R()),vr=u(Y()),Ql=u(O());var Xl=u(R()),$o=u(O()),Eo={horizontalSpacing:$o.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:$o.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:$o.FtCssVariableFactory.external($o.designSystemVariables.colorOutline,"Design system"),backgroundColor:$o.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Jl=Xl.css`
|
|
1559
1561
|
.ft-accordion-item {
|
|
1560
1562
|
display: flex;
|
|
1561
1563
|
flex-direction: column;
|
|
1562
|
-
background-color: ${
|
|
1564
|
+
background-color: ${Eo.backgroundColor};
|
|
1563
1565
|
}
|
|
1564
1566
|
|
|
1565
1567
|
.ft-accordion-item--toggle {
|
|
@@ -1569,8 +1571,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1569
1571
|
display: flex;
|
|
1570
1572
|
align-items: center;
|
|
1571
1573
|
cursor: pointer;
|
|
1572
|
-
padding: ${
|
|
1573
|
-
gap: calc(${
|
|
1574
|
+
padding: ${Eo.verticalSpacing} ${Eo.horizontalSpacing};
|
|
1575
|
+
gap: calc(${Eo.horizontalSpacing} / 2);
|
|
1574
1576
|
outline: none;
|
|
1575
1577
|
}
|
|
1576
1578
|
|
|
@@ -1595,11 +1597,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1595
1597
|
.ft-accordion-item--active .ft-accordion-item--content {
|
|
1596
1598
|
height: initial;
|
|
1597
1599
|
overflow: visible;
|
|
1598
|
-
padding: ${
|
|
1600
|
+
padding: ${Eo.verticalSpacing} ${Eo.horizontalSpacing};
|
|
1599
1601
|
}
|
|
1600
1602
|
|
|
1601
1603
|
.ft-accordion-item--separator {
|
|
1602
|
-
border-bottom: 1px solid ${
|
|
1604
|
+
border-bottom: 1px solid ${Eo.colorOutline};
|
|
1603
1605
|
}
|
|
1604
1606
|
`;var ri=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ct=class extends Ql.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return br.html`
|
|
1605
1607
|
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
|
|
@@ -1631,7 +1633,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1631
1633
|
</div>
|
|
1632
1634
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1633
1635
|
</div>
|
|
1634
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ie};ct.styles=Jl;ri([(0,vr.property)()],ct.prototype,"icon",void 0);ri([(0,vr.property)()],ct.prototype,"iconVariant",void 0);ri([(0,vr.property)()],ct.prototype,"label",void 0);ri([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,ln.customElement)("ft-accordion")($t);(0,ln.customElement)("ft-accordion-item")(ct);var fn=u(O());var ni=u(R()),
|
|
1636
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ie};ct.styles=Jl;ri([(0,vr.property)()],ct.prototype,"icon",void 0);ri([(0,vr.property)()],ct.prototype,"iconVariant",void 0);ri([(0,vr.property)()],ct.prototype,"label",void 0);ri([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,ln.customElement)("ft-accordion")($t);(0,ln.customElement)("ft-accordion-item")(ct);var fn=u(O());var ni=u(R()),De=u(Y()),ic=u(st()),si=u(O());var ii=u(R()),F=u(O());var ec=F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnSurface),Be={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorSurface),color:ec,fontSize:F.FtCssVariableFactory.extend("--ft-chip-font-size","",Oe.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:F.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:F.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ec),horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},tc=F.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnPrimary)),cn={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorPrimary)),color:tc,rippleColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tc)},oc={horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rc=[F.noTextSelect,ii.css`
|
|
1635
1637
|
:host {
|
|
1636
1638
|
display: inline-block;
|
|
1637
1639
|
max-width: 100%;
|
|
@@ -1647,20 +1649,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1647
1649
|
box-sizing: border-box;
|
|
1648
1650
|
pointer-events: auto;
|
|
1649
1651
|
|
|
1650
|
-
--ft-chip-internal-font-size: ${
|
|
1652
|
+
--ft-chip-internal-font-size: ${Be.fontSize};
|
|
1651
1653
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1652
|
-
${(0,F.setVariable)(ce.size,
|
|
1653
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1654
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1654
|
+
${(0,F.setVariable)(ce.size,Be.iconSize)};
|
|
1655
|
+
--ft-chip-internal-vertical-padding: ${Be.verticalPadding};
|
|
1656
|
+
--ft-chip-internal-horizontal-padding: ${Be.horizontalPadding};
|
|
1655
1657
|
--ft-chip-internal-icon-padding: 3px;
|
|
1656
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
1658
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Be.iconSize});
|
|
1657
1659
|
|
|
1658
|
-
border: 1px solid ${
|
|
1659
|
-
color: ${
|
|
1660
|
-
${(0,F.setVariable)(_.color,
|
|
1661
|
-
border-radius: var(${(0,ii.unsafeCSS)(
|
|
1660
|
+
border: 1px solid ${Be.colorOutline};
|
|
1661
|
+
color: ${Be.color};
|
|
1662
|
+
${(0,F.setVariable)(_.color,Be.rippleColor)};
|
|
1663
|
+
border-radius: var(${(0,ii.unsafeCSS)(Be.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1662
1664
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1663
|
-
background-color: ${
|
|
1665
|
+
background-color: ${Be.backgroundColor};
|
|
1664
1666
|
line-height: var(--ft-chip-internal-content-height);
|
|
1665
1667
|
}
|
|
1666
1668
|
|
|
@@ -1683,7 +1685,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1683
1685
|
cursor: default;
|
|
1684
1686
|
pointer-events: none;
|
|
1685
1687
|
filter: grayscale(1);
|
|
1686
|
-
opacity: ${
|
|
1688
|
+
opacity: ${Be.opacityDisabled};
|
|
1687
1689
|
}
|
|
1688
1690
|
|
|
1689
1691
|
.ft-chip--highlighted {
|
|
@@ -1721,7 +1723,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1721
1723
|
}
|
|
1722
1724
|
|
|
1723
1725
|
.ft-chip--icon-button {
|
|
1724
|
-
${(0,F.setVariable)(W.iconSize,
|
|
1726
|
+
${(0,F.setVariable)(W.iconSize,Be.iconSize)};
|
|
1725
1727
|
${(0,F.setVariable)(W.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1726
1728
|
${(0,F.setVariable)(W.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1727
1729
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -1768,7 +1770,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1768
1770
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1769
1771
|
order: -1;
|
|
1770
1772
|
}
|
|
1771
|
-
`];var Qe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ai=class extends CustomEvent{constructor(){super("icon-click")}},
|
|
1773
|
+
`];var Qe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ai=class extends CustomEvent{constructor(){super("icon-click")}},fe=class extends si.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":si.isSafari};return ni.html`
|
|
1772
1774
|
<div class="${(0,ic.classMap)(e)}"
|
|
1773
1775
|
aria-label="${this.getLabel()}"
|
|
1774
1776
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -1794,7 +1796,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1794
1796
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1795
1797
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1796
1798
|
</div>
|
|
1797
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ai))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ai))}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};
|
|
1799
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ai))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ai))}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};fe.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ie,"ft-button":be};fe.styles=rc;Qe([(0,De.property)({type:Boolean})],fe.prototype,"highlighted",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"removable",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"disabled",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"clickable",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"iconClickable",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"dense",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"multiLine",void 0);Qe([(0,De.property)()],fe.prototype,"label",void 0);Qe([(0,De.property)()],fe.prototype,"iconLabel",void 0);Qe([(0,De.property)()],fe.prototype,"icon",void 0);Qe([(0,De.property)()],fe.prototype,"iconVariant",void 0);Qe([(0,De.property)({type:Boolean})],fe.prototype,"trailingIcon",void 0);Qe([(0,De.query)("ft-typography slot")],fe.prototype,"slottedContent",void 0);var Ro=u(R()),No=u(Y()),sc=u(st()),li=u(O());var nc=u(R());var pn=u(O());var ac=[nc.css`
|
|
1798
1800
|
:host {
|
|
1799
1801
|
display: inline-block;
|
|
1800
1802
|
max-width: 100%;
|
|
@@ -1900,7 +1902,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1900
1902
|
.ftds--family-error .ftds-chip--icon-container {
|
|
1901
1903
|
color: ${M.errorIconColor};
|
|
1902
1904
|
}
|
|
1903
|
-
`];var xr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},dn=class extends CustomEvent{constructor(){super("remove")}},yt=class extends li.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return
|
|
1905
|
+
`];var xr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},dn=class extends CustomEvent{constructor(){super("remove")}},yt=class extends li.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Ro.html`
|
|
1904
1906
|
<div class="${(0,sc.classMap)(e)}"
|
|
1905
1907
|
aria-label="${this.getLabel()}"
|
|
1906
1908
|
part="chip">
|
|
@@ -1910,11 +1912,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1910
1912
|
</ft-typography>
|
|
1911
1913
|
${this.renderRemoveButton()}
|
|
1912
1914
|
</div>
|
|
1913
|
-
`}renderIcon(){return this.icon
|
|
1915
|
+
`}renderIcon(){return this.icon?Ro.html`
|
|
1914
1916
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
1915
|
-
<ft-icon .variant=${
|
|
1917
|
+
<ft-icon .variant=${Ae.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
1916
1918
|
</div>
|
|
1917
|
-
|
|
1919
|
+
`:Ro.nothing}renderRemoveButton(){return this.removable?Ro.html`
|
|
1918
1920
|
<ftds-button round
|
|
1919
1921
|
class="ftds-chip--remove-button"
|
|
1920
1922
|
@click=${this.dispatchRemoveEvent}
|
|
@@ -1924,7 +1926,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1924
1926
|
size=${this.resolveButtonSize()}
|
|
1925
1927
|
part="icon-button"
|
|
1926
1928
|
></ftds-button>
|
|
1927
|
-
|
|
1929
|
+
`:Ro.nothing}resolveButtonSize(){switch(this.size){case Ne.large:return Ne.medium;case Ne.medium:case Ne.small:return Ne.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new dn)}typographyVariant(){switch(this.size){case Ne.large:return nt.body2medium;case Ne.medium:return nt.caption1medium;case Ne.small:return nt.caption2medium}}};yt.elementDefinitions={"ft-typography":q,"ft-icon":ie,"ftds-button":ht};yt.styles=ac;xr([(0,No.property)({type:Boolean})],yt.prototype,"removable",void 0);xr([(0,No.property)()],yt.prototype,"removeButtonLabel",void 0);xr([(0,No.property)()],yt.prototype,"label",void 0);xr([(0,No.property)()],yt.prototype,"icon",void 0);xr([(0,No.query)("ft-typography slot")],yt.prototype,"slottedContent",void 0);(0,fn.customElement)("ft-chip")(fe);(0,fn.customElement)("ftds-chip")(yt);var mn=u(O());var Or=u(R()),se=u(Y()),hn=u(st()),mc=u(po()),Cr=u(O());var fc=u(O());var un=u(R()),Yo=u(Y()),pc=u(st()),dc=u(O());var lc=u(R()),te=u(O());var z={fontSize:te.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:te.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:te.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:te.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:te.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:te.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:te.FtCssVariableFactory.extend("--ft-input-label-border-color","",te.designSystemVariables.colorOutline),textColor:te.FtCssVariableFactory.extend("--ft-input-label-text-color","",te.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:te.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",te.designSystemVariables.colorOnSurfaceDisabled),colorSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorSurface,"Design system"),borderRadiusS:te.FtCssVariableFactory.external(te.designSystemVariables.borderRadiusS,"Design system"),colorError:te.FtCssVariableFactory.external(te.designSystemVariables.colorError,"Design system")},cc=lc.css`
|
|
1928
1930
|
.ft-input-label {
|
|
1929
1931
|
position: absolute;
|
|
1930
1932
|
inset: 0;
|
|
@@ -2055,7 +2057,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2055
2057
|
</div>
|
|
2056
2058
|
`:null}
|
|
2057
2059
|
</div>
|
|
2058
|
-
`}};et.elementDefinitions={};et.styles=[
|
|
2060
|
+
`}};et.elementDefinitions={};et.styles=[qt,cc];Sr([(0,Yo.property)({type:String})],et.prototype,"text",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"raised",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"outlined",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"disabled",void 0);Sr([(0,Yo.property)({type:Boolean})],et.prototype,"error",void 0);(0,fc.customElement)("ft-input-label")(et);var uc=u(R()),B=u(O());var U={labelSize:B.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:B.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:B.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:B.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:B.FtCssVariableFactory.extend("--ft-select-selected-option-color","",B.designSystemVariables.colorOnSurface),helperColor:B.FtCssVariableFactory.extend("--ft-select-helper-color","",B.designSystemVariables.colorOnSurfaceMedium),optionsColor:B.FtCssVariableFactory.extend("--ft-select-options-color","",B.designSystemVariables.colorOnSurface),optionsZIndex:B.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:B.FtCssVariableFactory.external(B.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:B.FtCssVariableFactory.external(B.designSystemVariables.borderRadiusS,"Design system"),elevation02:B.FtCssVariableFactory.external(B.designSystemVariables.elevation02,"Design system"),colorError:B.FtCssVariableFactory.external(B.designSystemVariables.colorError,"Design system")},hc=uc.css`
|
|
2059
2061
|
*:focus {
|
|
2060
2062
|
outline: none;
|
|
2061
2063
|
}
|
|
@@ -2200,7 +2202,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2200
2202
|
.ft-select--in-error .ft-select--helper-text {
|
|
2201
2203
|
color: ${U.colorError};
|
|
2202
2204
|
}
|
|
2203
|
-
`;var
|
|
2205
|
+
`;var ue=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Rt=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Or.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Rt.elementDefinitions={};ue([(0,se.property)({type:String})],Rt.prototype,"label",void 0);ue([(0,se.property)({type:Object,converter:t=>t})],Rt.prototype,"value",void 0);ue([(0,se.property)({type:Boolean,reflect:!0})],Rt.prototype,"selected",void 0);var J=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,o,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Or.html`
|
|
2204
2206
|
<div class="${(0,hn.classMap)(f)}" part="container">
|
|
2205
2207
|
<div class="ft-select--main-panel" part="main-panel">
|
|
2206
2208
|
<ft-input-label text="${this.label}"
|
|
@@ -2248,7 +2250,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2248
2250
|
<ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
|
|
2249
2251
|
<span>${e.label}</span>
|
|
2250
2252
|
</div>
|
|
2251
|
-
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Gr(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var o;e.stopPropagation();let i=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var o,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}l?.focus()}onOptionKeyDown(e,o){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var o,i;if(!(0,Cr.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};J.elementDefinitions={"ft-input-label":et,"ft-typography":q,"ft-ripple":T,"ft-icon":ie};J.styles=[
|
|
2253
|
+
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Gr(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var o;e.stopPropagation();let i=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var o,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}l?.focus()}onOptionKeyDown(e,o){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var o,i;if(!(0,Cr.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};J.elementDefinitions={"ft-input-label":et,"ft-typography":q,"ft-ripple":T,"ft-icon":ie};J.styles=[Uo,qt,hc];ue([(0,se.property)({type:String})],J.prototype,"label",void 0);ue([(0,se.property)({type:String})],J.prototype,"helper",void 0);ue([(0,se.property)({type:Boolean})],J.prototype,"outlined",void 0);ue([(0,se.property)({type:Boolean})],J.prototype,"disabled",void 0);ue([(0,se.property)({type:Boolean})],J.prototype,"error",void 0);ue([(0,se.property)({type:Boolean})],J.prototype,"fixedMenuPosition",void 0);ue([(0,se.property)({type:Array})],J.prototype,"options",void 0);ue([(0,se.state)()],J.prototype,"selectedOption",void 0);ue([(0,se.state)()],J.prototype,"optionsDisplayed",void 0);ue([(0,se.state)()],J.prototype,"focusOptions",void 0);ue([(0,se.query)(".ft-select")],J.prototype,"container",void 0);ue([(0,se.query)(".ft-select--options")],J.prototype,"optionsMenu",void 0);ue([(0,se.query)(".ft-select--input-panel")],J.prototype,"mainPanel",void 0);ue([(0,se.query)(".ft-select--option:first-child")],J.prototype,"firstOption",void 0);ue([(0,se.query)(".ft-select--option:focus")],J.prototype,"focusedOption",void 0);ue([(0,se.query)(".ft-select--option.ft-select--option-selected")],J.prototype,"selectedOptionElement",void 0);ue([(0,se.query)(".ft-select--option:last-child")],J.prototype,"lastOption",void 0);ue([(0,se.query)("slot")],J.prototype,"optionsSlot",void 0);(0,mn.customElement)("ft-select")(J);(0,mn.customElement)("ft-select-option")(Rt);var A=u(O()),gn=u(R());var gc=u(R()),bt=u(O()),we={display:bt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:bt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:bt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:bt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:bt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:bt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:bt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:bt.FtCssVariableFactory.external(bt.designSystemVariables.borderRadiusM,"Design system")},yc=gc.css`
|
|
2252
2254
|
:host {
|
|
2253
2255
|
width: ${we.width};
|
|
2254
2256
|
height: ${we.height};
|
|
@@ -2378,7 +2380,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2378
2380
|
align-items: center;
|
|
2379
2381
|
height: 100%;
|
|
2380
2382
|
|
|
2381
|
-
${(0,A.setVariable)(
|
|
2383
|
+
${(0,A.setVariable)(Yt.zIndex,`calc(${k.floatingZIndex} + 1)`)};
|
|
2382
2384
|
}
|
|
2383
2385
|
|
|
2384
2386
|
.ft-search-bar > ft-button,
|
|
@@ -2440,7 +2442,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2440
2442
|
flex-direction: column;
|
|
2441
2443
|
max-height: 100%;
|
|
2442
2444
|
max-width: 100%;
|
|
2443
|
-
color: ${
|
|
2445
|
+
color: ${Ue.colorOnSurface};
|
|
2444
2446
|
}
|
|
2445
2447
|
|
|
2446
2448
|
[part="content-locale-selector"] > ft-radio-group {
|
|
@@ -2531,7 +2533,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2531
2533
|
.ft-search-bar--desktop-menu .ft-search-bar--filters-container {
|
|
2532
2534
|
display: block;
|
|
2533
2535
|
height: ${k.desktopFiltersHeight};
|
|
2534
|
-
${(0,A.setVariable)(
|
|
2536
|
+
${(0,A.setVariable)(Ie.gap,"16px")};
|
|
2535
2537
|
}
|
|
2536
2538
|
|
|
2537
2539
|
.ft-search-bar--desktop-menu ft-filter {
|
|
@@ -2546,15 +2548,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2546
2548
|
}
|
|
2547
2549
|
|
|
2548
2550
|
.ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
|
|
2549
|
-
max-width: calc(50% - ${
|
|
2551
|
+
max-width: calc(50% - ${Ie.gap} / 2);
|
|
2550
2552
|
}
|
|
2551
2553
|
|
|
2552
2554
|
.ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
|
|
2553
|
-
max-width: max(250px, calc(33% - 2 * ${
|
|
2555
|
+
max-width: max(250px, calc(33% - 2 * ${Ie.gap} / 3));
|
|
2554
2556
|
}
|
|
2555
2557
|
|
|
2556
2558
|
.ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
|
|
2557
|
-
max-width: max(250px, calc(25% - 3 * ${
|
|
2559
|
+
max-width: max(250px, calc(25% - 3 * ${Ie.gap} / 4));
|
|
2558
2560
|
}
|
|
2559
2561
|
|
|
2560
2562
|
.ft-search-bar--hierarchical-filter {
|
|
@@ -2632,11 +2634,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2632
2634
|
margin: 0;
|
|
2633
2635
|
}
|
|
2634
2636
|
`;var Oc=u(O());var xc=u(R()),Sc=u(O());var Qt=class extends Sc.FtLitElement{render(){return xc.html`
|
|
2635
|
-
`}};Qt.elementDefinitions={};Qt.styles=yc;(0,Oc.customElement)("ft-skeleton")(Qt);var
|
|
2637
|
+
`}};Qt.elementDefinitions={};Qt.styles=yc;(0,Oc.customElement)("ft-skeleton")(Qt);var ko=u(R()),yn=u(po());var ci=u(O());var Nt=class{constructor(e,o=300){this.searchBar=e,this.updateDebouncer=new ci.Debouncer(o)}render(){let e=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),o=this.searchBar.suggestions.length>0||e.length>0;return ko.html`
|
|
2636
2638
|
<div class="ft-search-bar--suggestions ft-word-wrap ${o?"ft-search-bar--suggestions-not-empty":""}"
|
|
2637
2639
|
part="suggestions-container"
|
|
2638
2640
|
@keydown=${i=>this.onSuggestKeyDown(i)}>
|
|
2639
|
-
${(0,yn.repeat)(e.slice(0,5),i=>i,i=>
|
|
2641
|
+
${(0,yn.repeat)(e.slice(0,5),i=>i,i=>ko.html`
|
|
2640
2642
|
<a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:i})}"
|
|
2641
2643
|
part="suggestions"
|
|
2642
2644
|
class="ft-search-bar--suggestion ft-search-bar--recent-search"
|
|
@@ -2654,7 +2656,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2654
2656
|
@click=${n=>this.removeRecentSearch(n,i)}></ft-button>
|
|
2655
2657
|
</a>
|
|
2656
2658
|
`)}
|
|
2657
|
-
${(0,yn.repeat)(this.searchBar.suggestions,i=>i.value,i=>
|
|
2659
|
+
${(0,yn.repeat)(this.searchBar.suggestions,i=>i.value,i=>ko.html`
|
|
2658
2660
|
<a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:i.value})}"
|
|
2659
2661
|
part="suggestions"
|
|
2660
2662
|
class="ft-search-bar--suggestion"
|
|
@@ -2666,9 +2668,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2666
2668
|
</a>
|
|
2667
2669
|
`)}
|
|
2668
2670
|
</div>
|
|
2669
|
-
`}update(){return new Promise((e,o)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var o,i,n,a,s,l;switch(e.key){case"ArrowUp":(n=(i=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&i!==void 0?i:this.getLastSuggestionElement())===null||n===void 0||n.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestClick(e,o){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(o),this.searchBar.launchSearch()}removeRecentSearch(e,o){var i,n;e.preventDefault(),e.stopPropagation();let a=e.target.closest(".ft-search-bar--suggestion"),s=(n=(i=a?.previousElementSibling)!==null&&i!==void 0?i:a?.nextElementSibling)!==null&&n!==void 0?n:this.searchBar.input;s?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(l=>l.toLowerCase()!==o.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let o=e.type==="DOCUMENT"?
|
|
2671
|
+
`}update(){return new Promise((e,o)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var o,i,n,a,s,l;switch(e.key){case"ArrowUp":(n=(i=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&i!==void 0?i:this.getLastSuggestionElement())===null||n===void 0||n.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestClick(e,o){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(o),this.searchBar.launchSearch()}removeRecentSearch(e,o){var i,n;e.preventDefault(),e.stopPropagation();let a=e.target.closest(".ft-search-bar--suggestion"),s=(n=(i=a?.previousElementSibling)!==null&&i!==void 0?i:a?.nextElementSibling)!==null&&n!==void 0?n:this.searchBar.input;s?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(l=>l.toLowerCase()!==o.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let o=e.type==="DOCUMENT"?Ae.file_format:Ae.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?wt.BOOK:wt.ARTICLE;break;case"DOCUMENT":i=cl(e.mimeType,e.filenameExtension);break;case"TOPIC":i=wt.TOPICS;break}return ko.html`
|
|
2670
2672
|
<ft-icon .variant="${o}" .value="${i}" part="suggestion-icon"></ft-icon>
|
|
2671
|
-
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Nt.styles=[ci.wordWrap,
|
|
2673
|
+
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Nt.styles=[ci.wordWrap,ko.css`
|
|
2672
2674
|
.ft-search-bar--mobile .ft-search-bar--suggestions {
|
|
2673
2675
|
flex-grow: 1;
|
|
2674
2676
|
flex-shrink: 1;
|
|
@@ -2740,8 +2742,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2740
2742
|
flex-grow: 1;
|
|
2741
2743
|
flex-shrink: 1;
|
|
2742
2744
|
}
|
|
2743
|
-
`];var
|
|
2744
|
-
${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)
|
|
2745
|
+
`];var $e=u(R()),bn=u(po());var pi=u(O());var kt=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return $e.html``;let e=this.searchBar.isMobile(),o=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=$e.html`
|
|
2746
|
+
${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?$e.html`
|
|
2745
2747
|
<ft-chip part="selected-filters selected-filter-ft-locale"
|
|
2746
2748
|
?dense=${this.searchBar.dense&&!e}
|
|
2747
2749
|
?clickable=${e}
|
|
@@ -2751,47 +2753,47 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2751
2753
|
${this.getLocaleLabel(this.searchBar.contentLocale)}
|
|
2752
2754
|
</ft-chip>
|
|
2753
2755
|
`:null}
|
|
2754
|
-
${(0,bn.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ms(n);return(0,bn.repeat)(a,s=>{let l=n.label+": "+fs(s),d=n.key.replace(":","-"),f
|
|
2756
|
+
${(0,bn.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ms(n);return(0,bn.repeat)(a,s=>{let l=n.label+": "+fs(s),d=n.key.replace(":","-"),f=$e.html`
|
|
2755
2757
|
<ft-chip
|
|
2756
2758
|
part="selected-filters selected-filter-${d}"
|
|
2757
2759
|
?dense=${this.searchBar.dense&&!e}
|
|
2758
2760
|
?clickable=${e}
|
|
2759
2761
|
?removable=${!e}
|
|
2760
|
-
icon=${e
|
|
2762
|
+
icon=${e?$e.nothing:"close"}
|
|
2761
2763
|
label="${l}"
|
|
2762
|
-
iconLabel=${e
|
|
2763
|
-
title=${o?l
|
|
2764
|
+
iconLabel=${e?$e.nothing:"Remove "+l}
|
|
2765
|
+
title=${o?l:$e.nothing}
|
|
2764
2766
|
@click=${()=>this.openMobileFilters(n.key)}
|
|
2765
2767
|
@icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==s))}
|
|
2766
2768
|
data-key="${n.key}"
|
|
2767
2769
|
data-value="${s}">
|
|
2768
2770
|
${ds(s)}
|
|
2769
2771
|
</ft-chip>
|
|
2770
|
-
`;return o?f
|
|
2772
|
+
`;return o?f:$e.html`
|
|
2771
2773
|
<ft-tooltip inline text="${l}">
|
|
2772
2774
|
${f}
|
|
2773
2775
|
</ft-tooltip>
|
|
2774
2776
|
`})})}
|
|
2775
|
-
${e
|
|
2777
|
+
${e?$e.html`
|
|
2776
2778
|
<ft-chip part="selected-filters mobile-filters-opener"
|
|
2777
2779
|
icon="plus"
|
|
2778
2780
|
clickable
|
|
2779
2781
|
@click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
|
|
2780
2782
|
${this.searchBar.labelResolver.resolve("filtersButton")}
|
|
2781
2783
|
</ft-chip>
|
|
2782
|
-
|
|
2783
|
-
`;return o
|
|
2784
|
+
`:$e.nothing}
|
|
2785
|
+
`;return o?$e.html`
|
|
2784
2786
|
<ft-snap-scroll horizontal controls hideScrollbar limitSize
|
|
2785
2787
|
class="ft-search-bar--selected-filters"
|
|
2786
2788
|
part="selected-filters-container"
|
|
2787
2789
|
exportpartsPrefix="selected-filters-container">
|
|
2788
2790
|
${i}
|
|
2789
2791
|
</ft-snap-scroll>
|
|
2790
|
-
|
|
2792
|
+
`:$e.html`
|
|
2791
2793
|
<div class="ft-search-bar--selected-filters" part="selected-filters-container">
|
|
2792
2794
|
${i}
|
|
2793
2795
|
</div>
|
|
2794
|
-
`}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var o;return(o=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&o!==void 0?o:e}};kt.styles
|
|
2796
|
+
`}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var o;return(o=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&o!==void 0?o:e}};kt.styles=$e.css`
|
|
2795
2797
|
.ft-search-bar--selected-filters:not(ft-snap-scroll) {
|
|
2796
2798
|
flex-shrink: 0;
|
|
2797
2799
|
display: flex;
|
|
@@ -2802,7 +2804,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2802
2804
|
|
|
2803
2805
|
ft-snap-scroll.ft-search-bar--selected-filters {
|
|
2804
2806
|
overflow: hidden;
|
|
2805
|
-
${(0,pi.setVariable)(
|
|
2807
|
+
${(0,pi.setVariable)(Ie.gap,"4px")};
|
|
2806
2808
|
}
|
|
2807
2809
|
|
|
2808
2810
|
ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
|
|
@@ -2810,8 +2812,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2810
2812
|
}
|
|
2811
2813
|
|
|
2812
2814
|
.ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
|
|
2813
|
-
${(0,pi.setVariable)(
|
|
2814
|
-
${(0,pi.setVariable)(
|
|
2815
|
+
${(0,pi.setVariable)(Be.iconSize,"17px")};
|
|
2816
|
+
${(0,pi.setVariable)(Be.fontSize,"12px")};
|
|
2815
2817
|
}
|
|
2816
2818
|
|
|
2817
2819
|
.ft-search-bar--selected-filters * {
|
|
@@ -2873,13 +2875,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2873
2875
|
</div>
|
|
2874
2876
|
`}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};wr.styles=At.css`
|
|
2875
2877
|
|
|
2876
|
-
`;var
|
|
2878
|
+
`;var He=u(R()),wc=u(po());var Ec=u(st()),Er=class{constructor(e,o,i){this.searchBar=e,this.selectedFacetsManager=o??new kt(e),this.suggestManager=i??new Nt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return He.html`
|
|
2877
2879
|
<div class="${(0,Ec.classMap)(e)}" part="container" tabindex="-1">
|
|
2878
2880
|
<div class="ft-search-bar" part="search-bar">
|
|
2879
2881
|
${this.renderSearchBarLeftAction()}
|
|
2880
2882
|
<div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
|
|
2881
2883
|
<div class="ft-search-bar--input-outline" part="input-outline">
|
|
2882
|
-
${this.searchBar.dense?this.selectedFacetsManager.render():
|
|
2884
|
+
${this.searchBar.dense?this.selectedFacetsManager.render():He.nothing}
|
|
2883
2885
|
<input class="ft-search-bar--input ft-typography--body2"
|
|
2884
2886
|
part="input"
|
|
2885
2887
|
type="search"
|
|
@@ -2894,9 +2896,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2894
2896
|
${this.renderDesktopSearchBarButtons()}
|
|
2895
2897
|
${this.searchBar.renderDesktopFloatingMenu()}
|
|
2896
2898
|
</div>
|
|
2897
|
-
${this.searchBar.dense?
|
|
2899
|
+
${this.searchBar.dense?He.nothing:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
|
|
2898
2900
|
</div>
|
|
2899
|
-
`}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?
|
|
2901
|
+
`}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?He.nothing:He.html`
|
|
2900
2902
|
<ft-button class="ft-search-bar--filters-opener ft-search-bar--left-action"
|
|
2901
2903
|
part="filters-opener"
|
|
2902
2904
|
trailingIcon
|
|
@@ -2907,23 +2909,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2907
2909
|
aria-expanded="${this.searchBar.displayFacets}">
|
|
2908
2910
|
${this.searchBar.labelResolver.resolve("filtersButton")}
|
|
2909
2911
|
</ft-button>
|
|
2910
|
-
`:this.searchBar.hasLocaleSelector()?
|
|
2912
|
+
`:this.searchBar.hasLocaleSelector()?He.html`
|
|
2911
2913
|
<ft-select outlined
|
|
2912
2914
|
class="ft-search-bar--content-locale ft-search-bar--left-action"
|
|
2913
2915
|
part="content-locale select-ft-locale"
|
|
2914
2916
|
.exportpartsPrefixes=${["content-locale","select-ft-locale"]}
|
|
2915
2917
|
@change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
|
|
2916
|
-
${(0,wc.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>
|
|
2918
|
+
${(0,wc.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>He.html`
|
|
2917
2919
|
<ft-select-option .value=${e.lang}
|
|
2918
2920
|
label="${e.label}"
|
|
2919
2921
|
?selected=${e.lang==this.searchBar.contentLocale}>
|
|
2920
2922
|
</ft-select-option>
|
|
2921
2923
|
`)}
|
|
2922
2924
|
</ft-select>
|
|
2923
|
-
`:
|
|
2925
|
+
`:He.nothing}renderDesktopSearchBarButtons(){return He.html`
|
|
2924
2926
|
<div class="ft-search-bar--actions"
|
|
2925
2927
|
part="search-bar-actions">
|
|
2926
|
-
${this.searchBar.query?
|
|
2928
|
+
${this.searchBar.query?He.html`
|
|
2927
2929
|
<ft-button class="ft-search-bar--clear-query"
|
|
2928
2930
|
part="clear-query"
|
|
2929
2931
|
icon="close"
|
|
@@ -2941,12 +2943,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
2941
2943
|
@click=${()=>this.searchBar.launchSearch()}
|
|
2942
2944
|
></ft-button>
|
|
2943
2945
|
</div>
|
|
2944
|
-
`}onSearchBarKeyDown(e){var o;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(o=this.searchBar.input)===null||o===void 0||o.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};Er.styles=
|
|
2946
|
+
`}onSearchBarKeyDown(e){var o;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(o=this.searchBar.input)===null||o===void 0||o.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};Er.styles=He.css`
|
|
2945
2947
|
|
|
2946
2948
|
`;var Sp=u(O());var Ac=u(R()),pt=u(Y()),vt=u(O());var $c=u(R());var Rc=$c.css`
|
|
2947
|
-
`;var di=u(O()),td="ft-app-info",vn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},od={session:(t,e)=>{(0,di.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new vn(e.payload)),0))}},D=di.FtReduxStore.get({name:td,reducers:od,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var to=u(O());var xn=u(O());var
|
|
2949
|
+
`;var di=u(O()),td="ft-app-info",vn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},od={session:(t,e)=>{(0,di.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new vn(e.payload)),0))}},D=di.FtReduxStore.get({name:td,reducers:od,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var to=u(O());var xn=u(O());var Ao=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:i}=D.getState(),n=e??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(e){return new Promise(o=>{let i=t.get(e);if(i)o(i);else{let n=D.subscribe(()=>{i=t.get(e),i&&(n(),o(i))})}})}};var eo=class{constructor(e=!0,o){var i;this.overrideApi=o;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new xn.CacheRegistry,this.cache=e?n.commonCache:new xn.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ao.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ao.await()}clearCache(){this.cache.clearAll()}};var Nc,rd=Symbol("clearAfterUnitTest"),fi=class extends eo{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Nc]=()=>{this.defaultMessages={},this.cache=new to.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var i;if(e=e.toLowerCase(),Object.keys(o).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...o};(0,to.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,i;return this.fetchContext(e),(i=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,o){let i=e.toLowerCase();return this.resolveContext(i)[o]}resolveMessage(e,o,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new to.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(o,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(o),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,to.delay)(0).then(()=>o()).catch(()=>null)))}};Nc=rd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends fi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends fi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var kc=window.FluidTopicsI18nService,d0=window.FluidTopicsCustomI18nService;var _e=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},he=class extends vt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ao.get(),this.messageContexts=[],this.cache=new vt.CacheRegistry,this.cleanSessionDebouncer=new vt.Debouncer}render(){return Ac.html`
|
|
2948
2950
|
<slot></slot>
|
|
2949
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>kc.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ue.elementDefinitions={};ue.styles=Rc;De([(0,pt.property)()],ue.prototype,"baseUrl",void 0);De([(0,pt.property)()],ue.prototype,"apiIntegrationIdentifier",void 0);De([(0,pt.property)()],ue.prototype,"uiLocale",void 0);De([(0,vt.jsonProperty)(null)],ue.prototype,"availableUiLocales",void 0);De([(0,vt.jsonProperty)(null)],ue.prototype,"metadataConfiguration",void 0);De([(0,pt.property)({type:Boolean})],ue.prototype,"editorMode",void 0);De([(0,pt.property)({type:Boolean})],ue.prototype,"noCustom",void 0);De([(0,pt.property)({type:Boolean})],ue.prototype,"openExternalDocumentInNewTab",void 0);De([(0,pt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ue.prototype,"noCustomComponent",void 0);De([(0,pt.property)({type:Boolean})],ue.prototype,"withManualResources",void 0);De([(0,pt.property)({type:Boolean})],ue.prototype,"navigatorOnline",void 0);De([(0,pt.property)({type:Boolean})],ue.prototype,"forcedOffline",void 0);De([(0,pt.property)({type:Object})],ue.prototype,"apiProvider",void 0);De([(0,vt.jsonProperty)([])],ue.prototype,"messageContexts",void 0);De([(0,vt.jsonProperty)(void 0)],ue.prototype,"session",void 0);var Hd=u(Y());function id(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,i,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(i=o;i--!==0;)if(!ui(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ui(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!ui(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ui(t,e){try{return id(t,e)}catch{return!1}}function Sn(t,e){return!ui(t,e)}var nd=u(Y(),1);var hi=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(i=>i.type===e);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var $r=u(Y(),1);var Lc=u(Y(),1);function Pc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Lc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Sn,...e??{}})}var mi=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=u(R(),1);var gi=window,ad=gi.ShadowRoot&&(gi.ShadyCSS===void 0||gi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,R0=Symbol();var Ic=(t,e)=>{ad?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let i=document.createElement("style"),n=gi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,t.appendChild(i)})};var yi=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let o={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Ic(i,e.elementStyles),i}};var bi=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Tc,Dc=Symbol("constructorPrototype"),_c=Symbol("constructorName"),Fc=Symbol("exportpartsDebouncer"),zc=Symbol("dynamicDependenciesLoaded"),oo=class extends yi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Tc]=new mi(5),this[_c]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_c]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[zc]||(e[zc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[Fc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,f=e.filter(d).map(g=>g.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(g=>f.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Tc=Fc;bi([(0,$r.property)()],oo.prototype,"exportpartsPrefix",void 0);bi([Pc([])],oo.prototype,"exportpartsPrefixes",void 0);bi([(0,$r.property)()],oo.prototype,"customStylesheet",void 0);bi([(0,$r.state)()],oo.prototype,"useAdoptedStyleSheets",void 0);function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mc,Wc,Uc,vi=Symbol("internalReduxEventsUnsubscribers"),ro=Symbol("internalStoresUnsubscribers"),Ao=Symbol("internalStores"),Nr=class extends oo{constructor(){super(...arguments),this[Mc]=new Map,this[Wc]=new Map,this[Uc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ao].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ao].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ao].get(e)}addStore(e,o){var i;o=(i=o??(Rr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Ao].delete(o)}setupStore(e,o){this[Ao].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ao].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(e.store);n&&(e.store?this[ro].has(e.store):this[ro].size>0)&&(this[o]=e.selector(n.getState(),this))}})}subscribeToStore(e,o){var i;this[ro].set(e,o.subscribe(()=>this.updateFromStores())),Rr(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let s=l=>this[a](l);o.eventBus.addEventListener(n.eventName,s),this[vi].push(()=>o.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ro].forEach((e,o)=>this.unsubscribeFromStore(o)),this[vi].forEach(e=>e()),this[vi]=[]}unsubscribeFromStore(e){this[ro].has(e)&&this[ro].get(e)(),this[ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Mc=ro,Wc=Ao,Uc=vi;Nr.reduxProperties=new Map;Nr.reduxReactiveProperties=new Set;Nr.reduxEventListeners=new Map;function dt(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ht(t){return!!t&&!!t[le]}function xt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===hd}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||An(t)||Ln(t))}function Lo(t,e,o){o===void 0&&(o=!1),Qo(t)===0?(o?Object.keys:Jo)(t).forEach(function(i){o&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Qo(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:An(t)?2:Ln(t)?3:0}function Xo(t,e){return Qo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sd(t,e){return Qo(t)===2?t.get(e):t[e]}function Yc(t,e,o){var i=Qo(t);i===2?t.set(e,o):i===3?t.add(o):t[e]=o}function Xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function An(t){return fd&&t instanceof Map}function Ln(t){return ud&&t instanceof Set}function io(t){return t.o||t.t}function Pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ep(t);delete e[le];for(var o=Jo(e),i=0;i<o.length;i++){var n=o[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function In(t,e){return e===void 0&&(e=!1),Bn(t)||Ht(t)||!xt(t)||(Qo(t)>1&&(t.set=t.add=t.clear=t.delete=ld),Object.freeze(t),e&&Lo(t,function(o,i){return In(i,!0)},!0)),t}function ld(){dt(2)}function Bn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Lt(t){var e=kn[t];return e||dt(18,t),e}function cd(t,e){kn[t]||(kn[t]=e)}function $n(){return Ar}function On(t,e){e&&(Lt("Patches"),t.u=[],t.s=[],t.v=e)}function xi(t){Rn(t),t.p.forEach(pd),t.p=null}function Rn(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function pd(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function Cn(t,e){e._=e.p.length;var o=e.p[0],i=t!==void 0&&t!==o;return e.h.O||Lt("ES5").S(e,t,i),i?(o[le].P&&(xi(e),dt(4)),xt(t)&&(t=Si(e,t),e.l||Oi(e,t)),e.u&&Lt("Patches").M(o[le].t,t,e.u,e.s)):t=Si(e,o,[]),xi(e),e.u&&e.v(e.u,e.s),t!==Qc?t:void 0}function Si(t,e,o){if(Bn(e))return e;var i=e[le];if(!i)return Lo(e,function(l,d){return Vc(t,i,e,l,d,o)},!0),e;if(i.A!==t)return e;if(!i.P)return Oi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Pn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Lo(a,function(l,d){return Vc(t,i,n,l,d,o,s)}),Oi(t,n,!1),o&&t.u&&Lt("Patches").N(i,o,t.u,t.s)}return i.o}function Vc(t,e,o,i,n,a,s){if(Ht(n)){var l=Si(t,n,a&&e&&e.i!==3&&!Xo(e.R,i)?a.concat(i):void 0);if(Yc(o,i,l),!Ht(l))return;t.m=!1}else s&&o.add(n);if(xt(n)&&!Bn(n)){if(!t.h.D&&t._<1)return;Si(t,n),e&&e.A.l||Oi(t,n)}}function Oi(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&In(e,o)}function wn(t,e){var o=t[le];return(o?io(o):t)[e]}function jc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function no(t){t.P||(t.P=!0,t.l&&no(t.l))}function En(t){t.o||(t.o=Pn(t.t))}function Nn(t,e,o){var i=An(e)?Lt("MapSet").F(e,o):Ln(e)?Lt("MapSet").T(e,o):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:$n(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=Lr;s&&(d=[l],f=kr);var h=Proxy.revocable(d,f),m=h.revoke,g=h.proxy;return l.k=g,l.j=m,g}(e,o):Lt("ES5").J(e,o);return(o?o.A:$n()).p.push(i),i}function dd(t){return Ht(t)||dt(22,t),function e(o){if(!xt(o))return o;var i,n=o[le],a=Qo(o);if(n){if(!n.P&&(n.i<4||!Lt("ES5").K(n)))return n.t;n.I=!0,i=Kc(o,a),n.I=!1}else i=Kc(o,a);return Lo(i,function(s,l){n&&sd(n.t,s)===l||Yc(i,s,e(l))}),a===3?new Set(i):i}(t)}function Kc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Pn(t)}function Jc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[le];return Lr.get(f,s)},set:function(f){var h=this[le];Lr.set(h,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][le];if(!d.P)switch(d.i){case 5:i(d)&&no(d);break;case 4:o(d)&&no(d)}}}function o(s){for(var l=s.t,d=s.k,f=Jo(d),h=f.length-1;h>=0;h--){var m=f[h];if(m!==le){var g=l[m];if(g===void 0&&!Xo(l,m))return!0;var b=d[m],y=b&&b[le];if(y?y.t!==g:!Xc(b,g))return!0}}var v=!!l[le];return f.length!==Jo(l).length+(v?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&dt(3,JSON.stringify(io(s)))}var a={};cd("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,g){if(m){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var v=ep(g);delete v[le];for(var N=Jo(v),E=0;E<N.length;E++){var $=N[E];v[$]=t($,m||!!v[$].enumerable)}return Object.create(Object.getPrototypeOf(g),v)}(d,s),h={i:d?5:4,A:l?l.A:$n(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,le,{value:h,writable:!0}),f},S:function(s,l,d){d?Ht(l)&&l[le].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var m=h[le];if(m){var g=m.t,b=m.k,y=m.R,v=m.i;if(v===4)Lo(b,function(V){V!==le&&(g[V]!==void 0||Xo(g,V)?y[V]||f(b[V]):(y[V]=!0,no(m)))}),Lo(g,function(V){b[V]!==void 0||Xo(b,V)||(y[V]=!1,no(m))});else if(v===5){if(i(m)&&(no(m),y.length=!0),b.length<g.length)for(var N=b.length;N<g.length;N++)y[N]=!1;else for(var E=g.length;E<b.length;E++)y[E]=!0;for(var $=Math.min(b.length,g.length),P=0;P<$;P++)b.hasOwnProperty(P)||(y[P]=!0),y[P]===void 0&&f(b[P])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var Gc,Ar,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fd=typeof Map<"u",ud=typeof Set<"u",Zc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qc=Dn?Symbol.for("immer-nothing"):((Gc={})["immer-nothing"]=!0,Gc),qc=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",le=Dn?Symbol.for("immer-state"):"__$immer_state";var hd=""+Object.prototype.constructor,Jo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ep=Object.getOwnPropertyDescriptors||function(t){var e={};return Jo(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},kn={},Lr={get:function(t,e){if(e===le)return t;var o=io(t);if(!Xo(o,e))return function(n,a,s){var l,d=jc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,o,e);var i=o[e];return t.I||!xt(i)?i:i===wn(t.t,e)?(En(t),t.o[e]=Nn(t.A.h,i,t)):i},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,o){var i=jc(io(t),e);if(i?.set)return i.set.call(t.k,o),!0;if(!t.P){var n=wn(io(t),e),a=n?.[le];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Xc(o,n)&&(o!==void 0||Xo(t.t,e)))return!0;En(t),no(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return wn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,En(t),no(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=io(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:o[e]}},defineProperty:function(){dt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){dt(12)}},kr={};Lo(Lr,function(t,e){kr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),kr.deleteProperty=function(t,e){return kr.set.call(this,t,e,void 0)},kr.set=function(t,e,o){return Lr.set.call(this,t[0],e,o,t[0])};var md=function(){function t(o){var i=this;this.O=Zc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(v){var N=this;v===void 0&&(v=l);for(var E=arguments.length,$=Array(E>1?E-1:0),P=1;P<E;P++)$[P-1]=arguments[P];return d.produce(v,function(V){var Q;return(Q=a).call.apply(Q,[N,V].concat($))})}}var f;if(typeof a!="function"&&dt(6),s!==void 0&&typeof s!="function"&&dt(7),xt(n)){var h=Hc(i),m=Nn(i,n,void 0),g=!0;try{f=a(m),g=!1}finally{g?xi(h):Rn(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return On(h,s),Cn(v,h)},function(v){throw xi(h),v}):(On(h,s),Cn(f,h))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Qc&&(f=void 0),i.D&&In(f,!0),s){var b=[],y=[];Lt("Patches").M(n,f,b,y),s(b,y)}return f}dt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var h=arguments.length,m=Array(h>1?h-1:0),g=1;g<h;g++)m[g-1]=arguments[g];return i.produceWithPatches(f,function(b){return n.apply(void 0,[b].concat(m))})};var s,l,d=i.produce(n,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){xt(o)||dt(8),Ht(o)&&(o=dd(o));var i=Hc(this),n=Nn(this,o,void 0);return n[le].C=!0,Rn(i),n},e.finishDraft=function(o,i){var n=o&&o[le],a=n.A;return On(a,i),Cn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Zc&&dt(20),this.O=o},e.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Lt("Patches").$;return Ht(o)?s(o,i):this.produce(o,function(l){return s(l,i)})},t}(),tt=new md,gd=tt.produce,F0=tt.produceWithPatches.bind(tt),M0=tt.setAutoFreeze.bind(tt),W0=tt.setUseProxies.bind(tt),U0=tt.applyPatches.bind(tt),H0=tt.createDraft.bind(tt),V0=tt.finishDraft.bind(tt),Ci=gd;function ao(t){"@babel/helpers - typeof";return ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ao(t)}function _n(t,e){if(ao(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var i=o.call(t,e||"default");if(ao(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zn(t){var e=_n(t,"string");return ao(e)==="symbol"?e:String(e)}function Tn(t,e,o){return e=zn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function tp(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function wi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?tp(Object(o),!0).forEach(function(i){Tn(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):tp(Object(o)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(o,i))})}return t}function $e(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var op=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ei={INIT:"@@redux/INIT"+Fn(),REPLACE:"@@redux/REPLACE"+Fn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Fn()}};function yd(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Mn(t,e,o){var i;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error($e(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error($e(1));return o(Mn)(t,e)}if(typeof t!="function")throw new Error($e(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error($e(3));return a}function m(v){if(typeof v!="function")throw new Error($e(4));if(d)throw new Error($e(5));var N=!0;return f(),l.push(v),function(){if(N){if(d)throw new Error($e(6));N=!1,f();var $=l.indexOf(v);l.splice($,1),s=null}}}function g(v){if(!yd(v))throw new Error($e(7));if(typeof v.type>"u")throw new Error($e(8));if(d)throw new Error($e(9));try{d=!0,a=n(a,v)}finally{d=!1}for(var N=s=l,E=0;E<N.length;E++){var $=N[E];$()}return v}function b(v){if(typeof v!="function")throw new Error($e(10));n=v,g({type:Ei.REPLACE})}function y(){var v,N=m;return v={subscribe:function($){if(typeof $!="object"||$===null)throw new Error($e(11));function P(){$.next&&$.next(h())}P();var V=N(P);return{unsubscribe:V}}},v[op]=function(){return this},v}return g({type:Ei.INIT}),i={dispatch:g,subscribe:m,getState:h,replaceReducer:b},i[op]=y,i}function bd(t){Object.keys(t).forEach(function(e){var o=t[e],i=o(void 0,{type:Ei.INIT});if(typeof i>"u")throw new Error($e(12));if(typeof o(void 0,{type:Ei.PROBE_UNKNOWN_ACTION()})>"u")throw new Error($e(13))})}function rp(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(o[n]=t[n])}var a=Object.keys(o),s,l;try{bd(o)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var g=!1,b={},y=0;y<a.length;y++){var v=a[y],N=o[v],E=f[v],$=N(E,h);if(typeof $>"u"){var P=h&&h.type;throw new Error($e(14))}b[v]=$,g=g||$!==E}return g=g||a.length!==Object.keys(f).length,g?b:f}}function er(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function ip(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error($e(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=er.apply(void 0,l)(n.dispatch),wi(wi({},n),{},{dispatch:a})}}}function np(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var ap=np();ap.withExtraArgument=np;var Wn=ap;var dp=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function i(){this.constructor=e}e.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),vd=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,n=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(h){f=[6,h],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tr=function(t,e){for(var o=0,i=e.length,n=t.length;o<i;o++,n++)t[n]=e[o];return t},xd=Object.defineProperty,Sd=Object.defineProperties,Od=Object.getOwnPropertyDescriptors,sp=Object.getOwnPropertySymbols,Cd=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable,lp=function(t,e,o){return e in t?xd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},so=function(t,e){for(var o in e||(e={}))Cd.call(e,o)&&lp(t,o,e[o]);if(sp)for(var i=0,n=sp(e);i<n.length;i++){var o=n[i];wd.call(e,o)&&lp(t,o,e[o])}return t},Un=function(t,e){return Sd(t,Od(e))},Ed=function(t,e,o){return new Promise(function(i,n){var a=function(d){try{l(o.next(d))}catch(f){n(f)}},s=function(d){try{l(o.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(t,e)).next())})};var $d=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},lS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Rd(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Nd=function(t){dp(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,tr([void 0],o[0].concat(this)))):new(e.bind.apply(e,tr([void 0],o.concat(this))))},e}(Array),kd=function(t){dp(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,tr([void 0],o[0].concat(this)))):new(e.bind.apply(e,tr([void 0],o.concat(this))))},e}(Array);function jn(t){return xt(t)?Ci(t,function(){}):t}function Ad(t){return typeof t=="boolean"}function Ld(){return function(e){return Pd(e)}}function Pd(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Nd;if(o&&(Ad(o)?l.push(Wn):l.push(Wn.withExtraArgument(o.extraArgument))),0){if(n)var d;if(s)var f}return l}var Hn=!0;function fp(t){var e=Ld(),o=t||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?e():a,l=o.devTools,d=l===void 0?!0:l,f=o.preloadedState,h=f===void 0?void 0:f,m=o.enhancers,g=m===void 0?void 0:m,b;if(typeof n=="function")b=n;else if(Rd(n))b=rp(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!Hn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&y.some(function(V){return typeof V!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ip.apply(void 0,y),N=er;d&&(N=$d(so({trace:!Hn},typeof d=="object"&&d)));var E=new kd(v),$=E;Array.isArray(g)?$=tr([v],g):typeof g=="function"&&($=g(E));var P=N.apply(void 0,$);return Mn(b,h,P)}function lo(t,e){function o(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return so(so({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(i){return i.type===t},o}function up(t){var e={},o=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,o,i]}function Id(t){return typeof t=="function"}function Bd(t,e,o,i){o===void 0&&(o=[]);var n=typeof e=="function"?up(e):[e,o,i],a=n[0],s=n[1],l=n[2],d;if(Id(t))d=function(){return jn(t())};else{var f=jn(t);d=function(){return f}}function h(m,g){m===void 0&&(m=d());var b=tr([a[g.type]],s.filter(function(y){var v=y.matcher;return v(g)}).map(function(y){var v=y.reducer;return v}));return b.filter(function(y){return!!y}).length===0&&(b=[l]),b.reduce(function(y,v){if(v)if(Ht(y)){var N=y,E=v(N,g);return E===void 0?y:E}else{if(xt(y))return Ci(y,function($){return v($,g)});var E=v(y,g);if(E===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return y},m)}return h.getInitialState=d,h}function Dd(t,e){return t+"/"+e}function hp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:jn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var m=i[h],g=Dd(e,h),b,y;"reducer"in m?(b=m.reducer,y=m.prepare):b=m,a[h]=b,s[g]=b,l[h]=y?lo(g,y):lo(g)});function d(){var h=typeof t.extraReducers=="function"?up(t.extraReducers):[t.extraReducers],m=h[0],g=m===void 0?{}:m,b=h[1],y=b===void 0?[]:b,v=h[2],N=v===void 0?void 0:v,E=so(so({},g),s);return Bd(o,function($){for(var P in E)$.addCase(P,E[P]);for(var V=0,Q=y;V<Q.length;V++){var ot=Q[V];$.addMatcher(ot.matcher,ot.reducer)}N&&$.addDefaultCase(N)})}var f;return{name:e,reducer:function(h,m){return f||(f=d()),f(h,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var _d="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zd=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=_d[Math.random()*64|0];return e},Td=["name","message","stack","code"],Vn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),cp=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Fd=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,i=Td;o<i.length;o++){var n=i[o];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},fS=function(){function t(e,o,i){var n=lo(e+"/fulfilled",function(h,m,g,b){return{payload:h,meta:Un(so({},b||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=lo(e+"/pending",function(h,m,g){return{payload:void 0,meta:Un(so({},g||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=lo(e+"/rejected",function(h,m,g,b,y){return{payload:b,error:(i&&i.serializeError||Fd)(h||"Rejected"),meta:Un(so({},y||{}),{arg:g,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(m,g,b){var y=i?.idGenerator?i.idGenerator(h):zd(),v=new d,N,E=!1;function $(V){N=V,v.abort()}var P=function(){return Ed(this,null,function(){var V,Q,ot,Vt,Ai,jt,He;return vd(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),Vt=(V=i?.condition)==null?void 0:V.call(i,h,{getState:g,extra:b}),Wd(Vt)?[4,Vt]:[3,2];case 1:Vt=rt.sent(),rt.label=2;case 2:if(Vt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Ai=new Promise(function(Ve,co){return v.signal.addEventListener("abort",function(){return co({name:"AbortError",message:N||"Aborted"})})}),m(a(y,h,(Q=i?.getPendingMeta)==null?void 0:Q.call(i,{requestId:y,arg:h},{getState:g,extra:b}))),[4,Promise.race([Ai,Promise.resolve(o(h,{dispatch:m,getState:g,extra:b,requestId:y,signal:v.signal,abort:$,rejectWithValue:function(Ve,co){return new Vn(Ve,co)},fulfillWithValue:function(Ve,co){return new cp(Ve,co)}})).then(function(Ve){if(Ve instanceof Vn)throw Ve;return Ve instanceof cp?n(Ve.payload,y,h,Ve.meta):n(Ve,y,h)})])];case 3:return ot=rt.sent(),[3,5];case 4:return jt=rt.sent(),ot=jt instanceof Vn?s(null,y,h,jt.payload,jt.meta):s(jt,y,h),[3,5];case 5:return He=i&&!i.dispatchConditionRejection&&s.match(ot)&&ot.meta.condition,He||m(ot),[2,ot]}})})}();return Object.assign(P,{abort:$,requestId:y,arg:h,unwrap:function(){return P.then(Md)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Md(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Wd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var mp="listener",gp="completed",yp="cancelled",uS="task-"+yp,hS="task-"+gp,mS=mp+"-"+yp,gS=mp+"-"+gp;var Kn="listenerMiddleware";var yS=lo(Kn+"/add"),bS=lo(Kn+"/removeAll"),vS=lo(Kn+"/remove");var pp,xS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(pp||(pp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ud=function(t){return function(e){setTimeout(e,t)}},SS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ud(10);Jc();window.ftReduxStores||(window.ftReduxStores={});var bp=class t{static get(e){var o;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Rr(a))return a;if(n==null)return;let s=hp({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),l=fp({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new t(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new hi,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...d)=>{let f=l(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var ki=u(O());var $i=class extends eo{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ri=class extends eo{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Vd="ft-user-assets",Ni=ki.FtReduxStore.get({name:Vd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Gn=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ri,this.savedSearchesService=new $i,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,ki.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ni.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ni.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ni.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ni.actions.bookmarks(o)}}},YS=new Gn;var Zn=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zn;var vp=u(O()),qn=class{highlightHtml(e,o,i){(0,vp.highlightHtml)(e,o,i)}};window.FluidTopicsHighlightHtmlService=new qn;var xp=u(O());var Yn=class{isDate(e){var o,i,n,a;return(a=(n=((i=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,o){var i,n,a;return xp.DateFormatter.format(e,(i=o?.locale)!==null&&i!==void 0?i:D.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yn;(0,Sp.customElement)("ft-app-context")(ue);var H=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Op={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"},Xn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Jn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},jd=()=>{},L=class extends oe.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 oe.ParametrizedLabelResolver(Op,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>(0,oe.serializeRequest)(this.baseUrl,e),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=it.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Nt(this),this.selectedFacetsManager=new kt(this),this.desktopSearchBarManager=new Er(this),this.mobileSearchBarManager=new wr(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new oe.Debouncer(10),this.updateLocalesDebouncer=new oe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(o=>o.contentLocales).catch(()=>[]).then(o=>{this.availableContentLocales=o,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new oe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(o=>o===this.floatingContainer))},this.compareFilters=(e,o)=>e.key===o.key&&e.negative==o.negative&&e.values.length===o.values.length&&e.values.every(i=>o.values.includes(i)),this.compareRequests=(e,o)=>(e.contentLocale==null||o.contentLocale==null||e.contentLocale===o.contentLocale)&&e.filters.length===o.filters.length&&e.filters.every(i=>o.filters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.searchFilters.filter(o=>o.values.length>0&&!this.displayedFilters.includes(o.key)).map(o=>({id:o.key}));return[...this.displayedFilters.map(o=>({id:o})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,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,oe.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Z.html`
|
|
2951
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>kc.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};he.elementDefinitions={};he.styles=Rc;_e([(0,pt.property)()],he.prototype,"baseUrl",void 0);_e([(0,pt.property)()],he.prototype,"apiIntegrationIdentifier",void 0);_e([(0,pt.property)()],he.prototype,"uiLocale",void 0);_e([(0,vt.jsonProperty)(null)],he.prototype,"availableUiLocales",void 0);_e([(0,vt.jsonProperty)(null)],he.prototype,"metadataConfiguration",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"editorMode",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"noCustom",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"openExternalDocumentInNewTab",void 0);_e([(0,pt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],he.prototype,"noCustomComponent",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"withManualResources",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"navigatorOnline",void 0);_e([(0,pt.property)({type:Boolean})],he.prototype,"forcedOffline",void 0);_e([(0,pt.property)({type:Object})],he.prototype,"apiProvider",void 0);_e([(0,vt.jsonProperty)([])],he.prototype,"messageContexts",void 0);_e([(0,vt.jsonProperty)(void 0)],he.prototype,"session",void 0);var Hd=u(Y());function id(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,i,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(i=o;i--!==0;)if(!ui(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ui(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!ui(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ui(t,e){try{return id(t,e)}catch{return!1}}function Sn(t,e){return!ui(t,e)}var nd=u(Y(),1);var hi=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(i=>i.type===e);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var $r=u(Y(),1);var Lc=u(Y(),1);function Pc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Lc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Sn,...e??{}})}var mi=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=u(R(),1);var gi=window,ad=gi.ShadowRoot&&(gi.ShadyCSS===void 0||gi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,R0=Symbol();var Ic=(t,e)=>{ad?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let i=document.createElement("style"),n=gi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,t.appendChild(i)})};var yi=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let o={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Ic(i,e.elementStyles),i}};var bi=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Tc,Dc=Symbol("constructorPrototype"),_c=Symbol("constructorName"),Fc=Symbol("exportpartsDebouncer"),zc=Symbol("dynamicDependenciesLoaded"),oo=class extends yi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Tc]=new mi(5),this[_c]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_c]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[zc]||(e[zc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[Fc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,f=e.filter(d).map(g=>g.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(g=>f.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Tc=Fc;bi([(0,$r.property)()],oo.prototype,"exportpartsPrefix",void 0);bi([Pc([])],oo.prototype,"exportpartsPrefixes",void 0);bi([(0,$r.property)()],oo.prototype,"customStylesheet",void 0);bi([(0,$r.state)()],oo.prototype,"useAdoptedStyleSheets",void 0);function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mc,Wc,Uc,vi=Symbol("internalReduxEventsUnsubscribers"),ro=Symbol("internalStoresUnsubscribers"),Lo=Symbol("internalStores"),Nr=class extends oo{constructor(){super(...arguments),this[Mc]=new Map,this[Wc]=new Map,this[Uc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Lo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Lo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Lo].get(e)}addStore(e,o){var i;o=(i=o??(Rr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Lo].delete(o)}setupStore(e,o){this[Lo].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Lo].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(e.store);n&&(e.store?this[ro].has(e.store):this[ro].size>0)&&(this[o]=e.selector(n.getState(),this))}})}subscribeToStore(e,o){var i;this[ro].set(e,o.subscribe(()=>this.updateFromStores())),Rr(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let s=l=>this[a](l);o.eventBus.addEventListener(n.eventName,s),this[vi].push(()=>o.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ro].forEach((e,o)=>this.unsubscribeFromStore(o)),this[vi].forEach(e=>e()),this[vi]=[]}unsubscribeFromStore(e){this[ro].has(e)&&this[ro].get(e)(),this[ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Mc=ro,Wc=Lo,Uc=vi;Nr.reduxProperties=new Map;Nr.reduxReactiveProperties=new Set;Nr.reduxEventListeners=new Map;function dt(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Vt(t){return!!t&&!!t[le]}function xt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===hd}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||An(t)||Ln(t))}function Po(t,e,o){o===void 0&&(o=!1),Qo(t)===0?(o?Object.keys:Jo)(t).forEach(function(i){o&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Qo(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:An(t)?2:Ln(t)?3:0}function Xo(t,e){return Qo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sd(t,e){return Qo(t)===2?t.get(e):t[e]}function Yc(t,e,o){var i=Qo(t);i===2?t.set(e,o):i===3?t.add(o):t[e]=o}function Xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function An(t){return fd&&t instanceof Map}function Ln(t){return ud&&t instanceof Set}function io(t){return t.o||t.t}function Pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ep(t);delete e[le];for(var o=Jo(e),i=0;i<o.length;i++){var n=o[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function In(t,e){return e===void 0&&(e=!1),Bn(t)||Vt(t)||!xt(t)||(Qo(t)>1&&(t.set=t.add=t.clear=t.delete=ld),Object.freeze(t),e&&Po(t,function(o,i){return In(i,!0)},!0)),t}function ld(){dt(2)}function Bn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Lt(t){var e=kn[t];return e||dt(18,t),e}function cd(t,e){kn[t]||(kn[t]=e)}function $n(){return Ar}function On(t,e){e&&(Lt("Patches"),t.u=[],t.s=[],t.v=e)}function xi(t){Rn(t),t.p.forEach(pd),t.p=null}function Rn(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function pd(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function Cn(t,e){e._=e.p.length;var o=e.p[0],i=t!==void 0&&t!==o;return e.h.O||Lt("ES5").S(e,t,i),i?(o[le].P&&(xi(e),dt(4)),xt(t)&&(t=Si(e,t),e.l||Oi(e,t)),e.u&&Lt("Patches").M(o[le].t,t,e.u,e.s)):t=Si(e,o,[]),xi(e),e.u&&e.v(e.u,e.s),t!==Qc?t:void 0}function Si(t,e,o){if(Bn(e))return e;var i=e[le];if(!i)return Po(e,function(l,d){return Vc(t,i,e,l,d,o)},!0),e;if(i.A!==t)return e;if(!i.P)return Oi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Pn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Po(a,function(l,d){return Vc(t,i,n,l,d,o,s)}),Oi(t,n,!1),o&&t.u&&Lt("Patches").N(i,o,t.u,t.s)}return i.o}function Vc(t,e,o,i,n,a,s){if(Vt(n)){var l=Si(t,n,a&&e&&e.i!==3&&!Xo(e.R,i)?a.concat(i):void 0);if(Yc(o,i,l),!Vt(l))return;t.m=!1}else s&&o.add(n);if(xt(n)&&!Bn(n)){if(!t.h.D&&t._<1)return;Si(t,n),e&&e.A.l||Oi(t,n)}}function Oi(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&In(e,o)}function wn(t,e){var o=t[le];return(o?io(o):t)[e]}function jc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function no(t){t.P||(t.P=!0,t.l&&no(t.l))}function En(t){t.o||(t.o=Pn(t.t))}function Nn(t,e,o){var i=An(e)?Lt("MapSet").F(e,o):Ln(e)?Lt("MapSet").T(e,o):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:$n(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=Lr;s&&(d=[l],f=kr);var h=Proxy.revocable(d,f),m=h.revoke,g=h.proxy;return l.k=g,l.j=m,g}(e,o):Lt("ES5").J(e,o);return(o?o.A:$n()).p.push(i),i}function dd(t){return Vt(t)||dt(22,t),function e(o){if(!xt(o))return o;var i,n=o[le],a=Qo(o);if(n){if(!n.P&&(n.i<4||!Lt("ES5").K(n)))return n.t;n.I=!0,i=Kc(o,a),n.I=!1}else i=Kc(o,a);return Po(i,function(s,l){n&&sd(n.t,s)===l||Yc(i,s,e(l))}),a===3?new Set(i):i}(t)}function Kc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Pn(t)}function Jc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[le];return Lr.get(f,s)},set:function(f){var h=this[le];Lr.set(h,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][le];if(!d.P)switch(d.i){case 5:i(d)&&no(d);break;case 4:o(d)&&no(d)}}}function o(s){for(var l=s.t,d=s.k,f=Jo(d),h=f.length-1;h>=0;h--){var m=f[h];if(m!==le){var g=l[m];if(g===void 0&&!Xo(l,m))return!0;var b=d[m],y=b&&b[le];if(y?y.t!==g:!Xc(b,g))return!0}}var v=!!l[le];return f.length!==Jo(l).length+(v?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&dt(3,JSON.stringify(io(s)))}var a={};cd("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,g){if(m){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var v=ep(g);delete v[le];for(var N=Jo(v),E=0;E<N.length;E++){var $=N[E];v[$]=t($,m||!!v[$].enumerable)}return Object.create(Object.getPrototypeOf(g),v)}(d,s),h={i:d?5:4,A:l?l.A:$n(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,le,{value:h,writable:!0}),f},S:function(s,l,d){d?Vt(l)&&l[le].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var m=h[le];if(m){var g=m.t,b=m.k,y=m.R,v=m.i;if(v===4)Po(b,function(V){V!==le&&(g[V]!==void 0||Xo(g,V)?y[V]||f(b[V]):(y[V]=!0,no(m)))}),Po(g,function(V){b[V]!==void 0||Xo(b,V)||(y[V]=!1,no(m))});else if(v===5){if(i(m)&&(no(m),y.length=!0),b.length<g.length)for(var N=b.length;N<g.length;N++)y[N]=!1;else for(var E=g.length;E<b.length;E++)y[E]=!0;for(var $=Math.min(b.length,g.length),P=0;P<$;P++)b.hasOwnProperty(P)||(y[P]=!0),y[P]===void 0&&f(b[P])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var Gc,Ar,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fd=typeof Map<"u",ud=typeof Set<"u",Zc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qc=Dn?Symbol.for("immer-nothing"):((Gc={})["immer-nothing"]=!0,Gc),qc=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",le=Dn?Symbol.for("immer-state"):"__$immer_state";var hd=""+Object.prototype.constructor,Jo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ep=Object.getOwnPropertyDescriptors||function(t){var e={};return Jo(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},kn={},Lr={get:function(t,e){if(e===le)return t;var o=io(t);if(!Xo(o,e))return function(n,a,s){var l,d=jc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,o,e);var i=o[e];return t.I||!xt(i)?i:i===wn(t.t,e)?(En(t),t.o[e]=Nn(t.A.h,i,t)):i},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,o){var i=jc(io(t),e);if(i?.set)return i.set.call(t.k,o),!0;if(!t.P){var n=wn(io(t),e),a=n?.[le];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Xc(o,n)&&(o!==void 0||Xo(t.t,e)))return!0;En(t),no(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return wn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,En(t),no(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=io(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:o[e]}},defineProperty:function(){dt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){dt(12)}},kr={};Po(Lr,function(t,e){kr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),kr.deleteProperty=function(t,e){return kr.set.call(this,t,e,void 0)},kr.set=function(t,e,o){return Lr.set.call(this,t[0],e,o,t[0])};var md=function(){function t(o){var i=this;this.O=Zc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(v){var N=this;v===void 0&&(v=l);for(var E=arguments.length,$=Array(E>1?E-1:0),P=1;P<E;P++)$[P-1]=arguments[P];return d.produce(v,function(V){var Q;return(Q=a).call.apply(Q,[N,V].concat($))})}}var f;if(typeof a!="function"&&dt(6),s!==void 0&&typeof s!="function"&&dt(7),xt(n)){var h=Hc(i),m=Nn(i,n,void 0),g=!0;try{f=a(m),g=!1}finally{g?xi(h):Rn(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return On(h,s),Cn(v,h)},function(v){throw xi(h),v}):(On(h,s),Cn(f,h))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Qc&&(f=void 0),i.D&&In(f,!0),s){var b=[],y=[];Lt("Patches").M(n,f,b,y),s(b,y)}return f}dt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var h=arguments.length,m=Array(h>1?h-1:0),g=1;g<h;g++)m[g-1]=arguments[g];return i.produceWithPatches(f,function(b){return n.apply(void 0,[b].concat(m))})};var s,l,d=i.produce(n,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){xt(o)||dt(8),Vt(o)&&(o=dd(o));var i=Hc(this),n=Nn(this,o,void 0);return n[le].C=!0,Rn(i),n},e.finishDraft=function(o,i){var n=o&&o[le],a=n.A;return On(a,i),Cn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Zc&&dt(20),this.O=o},e.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Lt("Patches").$;return Vt(o)?s(o,i):this.produce(o,function(l){return s(l,i)})},t}(),tt=new md,gd=tt.produce,F0=tt.produceWithPatches.bind(tt),M0=tt.setAutoFreeze.bind(tt),W0=tt.setUseProxies.bind(tt),U0=tt.applyPatches.bind(tt),H0=tt.createDraft.bind(tt),V0=tt.finishDraft.bind(tt),Ci=gd;function ao(t){"@babel/helpers - typeof";return ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ao(t)}function _n(t,e){if(ao(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var i=o.call(t,e||"default");if(ao(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zn(t){var e=_n(t,"string");return ao(e)==="symbol"?e:String(e)}function Tn(t,e,o){return e=zn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function tp(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function wi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?tp(Object(o),!0).forEach(function(i){Tn(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):tp(Object(o)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(o,i))})}return t}function Re(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var op=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ei={INIT:"@@redux/INIT"+Fn(),REPLACE:"@@redux/REPLACE"+Fn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Fn()}};function yd(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Mn(t,e,o){var i;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Re(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Re(1));return o(Mn)(t,e)}if(typeof t!="function")throw new Error(Re(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Re(3));return a}function m(v){if(typeof v!="function")throw new Error(Re(4));if(d)throw new Error(Re(5));var N=!0;return f(),l.push(v),function(){if(N){if(d)throw new Error(Re(6));N=!1,f();var $=l.indexOf(v);l.splice($,1),s=null}}}function g(v){if(!yd(v))throw new Error(Re(7));if(typeof v.type>"u")throw new Error(Re(8));if(d)throw new Error(Re(9));try{d=!0,a=n(a,v)}finally{d=!1}for(var N=s=l,E=0;E<N.length;E++){var $=N[E];$()}return v}function b(v){if(typeof v!="function")throw new Error(Re(10));n=v,g({type:Ei.REPLACE})}function y(){var v,N=m;return v={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(Re(11));function P(){$.next&&$.next(h())}P();var V=N(P);return{unsubscribe:V}}},v[op]=function(){return this},v}return g({type:Ei.INIT}),i={dispatch:g,subscribe:m,getState:h,replaceReducer:b},i[op]=y,i}function bd(t){Object.keys(t).forEach(function(e){var o=t[e],i=o(void 0,{type:Ei.INIT});if(typeof i>"u")throw new Error(Re(12));if(typeof o(void 0,{type:Ei.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Re(13))})}function rp(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(o[n]=t[n])}var a=Object.keys(o),s,l;try{bd(o)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var g=!1,b={},y=0;y<a.length;y++){var v=a[y],N=o[v],E=f[v],$=N(E,h);if(typeof $>"u"){var P=h&&h.type;throw new Error(Re(14))}b[v]=$,g=g||$!==E}return g=g||a.length!==Object.keys(f).length,g?b:f}}function er(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function ip(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Re(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=er.apply(void 0,l)(n.dispatch),wi(wi({},n),{},{dispatch:a})}}}function np(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var ap=np();ap.withExtraArgument=np;var Wn=ap;var dp=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function i(){this.constructor=e}e.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),vd=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,n=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(h){f=[6,h],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tr=function(t,e){for(var o=0,i=e.length,n=t.length;o<i;o++,n++)t[n]=e[o];return t},xd=Object.defineProperty,Sd=Object.defineProperties,Od=Object.getOwnPropertyDescriptors,sp=Object.getOwnPropertySymbols,Cd=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable,lp=function(t,e,o){return e in t?xd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},so=function(t,e){for(var o in e||(e={}))Cd.call(e,o)&&lp(t,o,e[o]);if(sp)for(var i=0,n=sp(e);i<n.length;i++){var o=n[i];wd.call(e,o)&&lp(t,o,e[o])}return t},Un=function(t,e){return Sd(t,Od(e))},Ed=function(t,e,o){return new Promise(function(i,n){var a=function(d){try{l(o.next(d))}catch(f){n(f)}},s=function(d){try{l(o.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(t,e)).next())})};var $d=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},lS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Rd(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Nd=function(t){dp(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,tr([void 0],o[0].concat(this)))):new(e.bind.apply(e,tr([void 0],o.concat(this))))},e}(Array),kd=function(t){dp(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,tr([void 0],o[0].concat(this)))):new(e.bind.apply(e,tr([void 0],o.concat(this))))},e}(Array);function jn(t){return xt(t)?Ci(t,function(){}):t}function Ad(t){return typeof t=="boolean"}function Ld(){return function(e){return Pd(e)}}function Pd(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Nd;if(o&&(Ad(o)?l.push(Wn):l.push(Wn.withExtraArgument(o.extraArgument))),0){if(n)var d;if(s)var f}return l}var Hn=!0;function fp(t){var e=Ld(),o=t||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?e():a,l=o.devTools,d=l===void 0?!0:l,f=o.preloadedState,h=f===void 0?void 0:f,m=o.enhancers,g=m===void 0?void 0:m,b;if(typeof n=="function")b=n;else if(Rd(n))b=rp(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!Hn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&y.some(function(V){return typeof V!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ip.apply(void 0,y),N=er;d&&(N=$d(so({trace:!Hn},typeof d=="object"&&d)));var E=new kd(v),$=E;Array.isArray(g)?$=tr([v],g):typeof g=="function"&&($=g(E));var P=N.apply(void 0,$);return Mn(b,h,P)}function lo(t,e){function o(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return so(so({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(i){return i.type===t},o}function up(t){var e={},o=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,o,i]}function Id(t){return typeof t=="function"}function Bd(t,e,o,i){o===void 0&&(o=[]);var n=typeof e=="function"?up(e):[e,o,i],a=n[0],s=n[1],l=n[2],d;if(Id(t))d=function(){return jn(t())};else{var f=jn(t);d=function(){return f}}function h(m,g){m===void 0&&(m=d());var b=tr([a[g.type]],s.filter(function(y){var v=y.matcher;return v(g)}).map(function(y){var v=y.reducer;return v}));return b.filter(function(y){return!!y}).length===0&&(b=[l]),b.reduce(function(y,v){if(v)if(Vt(y)){var N=y,E=v(N,g);return E===void 0?y:E}else{if(xt(y))return Ci(y,function($){return v($,g)});var E=v(y,g);if(E===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return y},m)}return h.getInitialState=d,h}function Dd(t,e){return t+"/"+e}function hp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:jn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var m=i[h],g=Dd(e,h),b,y;"reducer"in m?(b=m.reducer,y=m.prepare):b=m,a[h]=b,s[g]=b,l[h]=y?lo(g,y):lo(g)});function d(){var h=typeof t.extraReducers=="function"?up(t.extraReducers):[t.extraReducers],m=h[0],g=m===void 0?{}:m,b=h[1],y=b===void 0?[]:b,v=h[2],N=v===void 0?void 0:v,E=so(so({},g),s);return Bd(o,function($){for(var P in E)$.addCase(P,E[P]);for(var V=0,Q=y;V<Q.length;V++){var ot=Q[V];$.addMatcher(ot.matcher,ot.reducer)}N&&$.addDefaultCase(N)})}var f;return{name:e,reducer:function(h,m){return f||(f=d()),f(h,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var _d="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zd=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=_d[Math.random()*64|0];return e},Td=["name","message","stack","code"],Vn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),cp=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Fd=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,i=Td;o<i.length;o++){var n=i[o];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},fS=function(){function t(e,o,i){var n=lo(e+"/fulfilled",function(h,m,g,b){return{payload:h,meta:Un(so({},b||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=lo(e+"/pending",function(h,m,g){return{payload:void 0,meta:Un(so({},g||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=lo(e+"/rejected",function(h,m,g,b,y){return{payload:b,error:(i&&i.serializeError||Fd)(h||"Rejected"),meta:Un(so({},y||{}),{arg:g,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(m,g,b){var y=i?.idGenerator?i.idGenerator(h):zd(),v=new d,N,E=!1;function $(V){N=V,v.abort()}var P=function(){return Ed(this,null,function(){var V,Q,ot,jt,Ai,Kt,Ve;return vd(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),jt=(V=i?.condition)==null?void 0:V.call(i,h,{getState:g,extra:b}),Wd(jt)?[4,jt]:[3,2];case 1:jt=rt.sent(),rt.label=2;case 2:if(jt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Ai=new Promise(function(je,co){return v.signal.addEventListener("abort",function(){return co({name:"AbortError",message:N||"Aborted"})})}),m(a(y,h,(Q=i?.getPendingMeta)==null?void 0:Q.call(i,{requestId:y,arg:h},{getState:g,extra:b}))),[4,Promise.race([Ai,Promise.resolve(o(h,{dispatch:m,getState:g,extra:b,requestId:y,signal:v.signal,abort:$,rejectWithValue:function(je,co){return new Vn(je,co)},fulfillWithValue:function(je,co){return new cp(je,co)}})).then(function(je){if(je instanceof Vn)throw je;return je instanceof cp?n(je.payload,y,h,je.meta):n(je,y,h)})])];case 3:return ot=rt.sent(),[3,5];case 4:return Kt=rt.sent(),ot=Kt instanceof Vn?s(null,y,h,Kt.payload,Kt.meta):s(Kt,y,h),[3,5];case 5:return Ve=i&&!i.dispatchConditionRejection&&s.match(ot)&&ot.meta.condition,Ve||m(ot),[2,ot]}})})}();return Object.assign(P,{abort:$,requestId:y,arg:h,unwrap:function(){return P.then(Md)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Md(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Wd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var mp="listener",gp="completed",yp="cancelled",uS="task-"+yp,hS="task-"+gp,mS=mp+"-"+yp,gS=mp+"-"+gp;var Kn="listenerMiddleware";var yS=lo(Kn+"/add"),bS=lo(Kn+"/removeAll"),vS=lo(Kn+"/remove");var pp,xS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(pp||(pp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ud=function(t){return function(e){setTimeout(e,t)}},SS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ud(10);Jc();window.ftReduxStores||(window.ftReduxStores={});var bp=class t{static get(e){var o;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Rr(a))return a;if(n==null)return;let s=hp({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),l=fp({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new t(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new hi,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...d)=>{let f=l(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var ki=u(O());var $i=class extends eo{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ri=class extends eo{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Vd="ft-user-assets",Ni=ki.FtReduxStore.get({name:Vd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Gn=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ri,this.savedSearchesService=new $i,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,ki.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ni.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ni.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ni.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ni.actions.bookmarks(o)}}},YS=new Gn;var Zn=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zn;var vp=u(O()),qn=class{highlightHtml(e,o,i){(0,vp.highlightHtml)(e,o,i)}};window.FluidTopicsHighlightHtmlService=new qn;var xp=u(O());var Yn=class{isDate(e){var o,i,n,a;return(a=(n=((i=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,o){var i,n,a;return xp.DateFormatter.format(e,(i=o?.locale)!==null&&i!==void 0?i:D.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yn;(0,Sp.customElement)("ft-app-context")(he);var H=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Op={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"},Xn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Jn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},jd=()=>{},L=class extends oe.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 oe.ParametrizedLabelResolver(Op,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>(0,oe.serializeRequest)(this.baseUrl,e),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=it.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Nt(this),this.selectedFacetsManager=new kt(this),this.desktopSearchBarManager=new Er(this),this.mobileSearchBarManager=new wr(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new oe.Debouncer(10),this.updateLocalesDebouncer=new oe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(o=>o.contentLocales).catch(()=>[]).then(o=>{this.availableContentLocales=o,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new oe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(o=>o===this.floatingContainer))},this.compareFilters=(e,o)=>e.key===o.key&&e.negative==o.negative&&e.values.length===o.values.length&&e.values.every(i=>o.values.includes(i)),this.compareRequests=(e,o)=>(e.contentLocale==null||o.contentLocale==null||e.contentLocale===o.contentLocale)&&e.filters.length===o.filters.length&&e.filters.every(i=>o.filters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.searchFilters.filter(o=>o.values.length>0&&!this.displayedFilters.includes(o.key)).map(o=>({id:o.key}));return[...this.displayedFilters.map(o=>({id:o})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,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,oe.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Z.html`
|
|
2950
2952
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
2951
2953
|
${this.renderSearchBar()}
|
|
2952
2954
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():Z.html`
|
|
@@ -3089,7 +3091,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
3089
3091
|
part="floating-panel"
|
|
3090
3092
|
tabindex="-1">
|
|
3091
3093
|
${this.renderDesktopMenu()}
|
|
3092
|
-
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};L.elementDefinitions={"ft-accordion":$t,"ft-accordion-item":ct,"ft-button":be,"ft-chip":
|
|
3094
|
+
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};L.elementDefinitions={"ft-accordion":$t,"ft-accordion-item":ct,"ft-button":be,"ft-chip":fe,"ft-filter":G,"ft-filter-option":Je,"ft-icon":ie,"ft-ripple":T,"ft-select":J,"ft-select-option":Rt,"ft-size-watcher":Ke,"ft-skeleton":Qt,"ft-snap-scroll":ge,"ft-tooltip":re,"ft-typography":q,"ft-radio-group":We,"ft-radio":ve};L.styles=[Uo,oe.noTextInputDefaultClearButton,bc,vc,kt.styles,Nt.styles];H([(0,j.property)({type:Boolean})],L.prototype,"dense",void 0);H([(0,j.property)()],L.prototype,"mode",void 0);H([(0,j.property)({type:Boolean})],L.prototype,"forceMobileMenuOpen",void 0);H([(0,j.property)({type:Boolean})],L.prototype,"forceMenuOpen",void 0);H([(0,j.property)()],L.prototype,"baseUrl",void 0);H([(0,j.property)()],L.prototype,"apiIntegrationIdentifier",void 0);H([(0,j.property)()],L.prototype,"contentLocale",void 0);H([(0,j.state)()],L.prototype,"availableContentLocales",void 0);H([(0,j.state)()],L.prototype,"availableContentLocalesInitialized",void 0);H([(0,j.property)()],L.prototype,"uiLocale",void 0);H([(0,oe.jsonProperty)({})],L.prototype,"labels",void 0);H([(0,oe.jsonProperty)([])],L.prototype,"displayedFilters",void 0);H([(0,oe.jsonProperty)([])],L.prototype,"presets",void 0);H([(0,j.property)({type:String,reflect:!0})],L.prototype,"selectedPreset",void 0);H([(0,oe.jsonProperty)([])],L.prototype,"priors",void 0);H([(0,j.property)()],L.prototype,"searchRequestSerializer",void 0);H([(0,j.property)({type:Boolean})],L.prototype,"focusOnDisplay",void 0);H([(0,j.state)()],L.prototype,"searchFilters",void 0);H([(0,j.state)()],L.prototype,"sizeCategory",void 0);H([(0,j.state)()],L.prototype,"displayFacets",void 0);H([(0,j.state)()],L.prototype,"mobileMenuOpen",void 0);H([(0,j.state)()],L.prototype,"facets",void 0);H([(0,j.state)()],L.prototype,"facetsInitialized",void 0);H([(0,j.query)(".ft-search-bar--container")],L.prototype,"container",void 0);H([(0,j.query)(".ft-search-bar--filters-opener")],L.prototype,"filtersOpener",void 0);H([(0,j.query)(".ft-search-bar--floating-panel")],L.prototype,"floatingContainer",void 0);H([(0,j.query)("ft-snap-scroll.ft-search-bar--filters-container")],L.prototype,"scrollingFiltersContainer",void 0);H([(0,j.query)(".ft-search-bar--input")],L.prototype,"input",void 0);H([(0,j.state)()],L.prototype,"query",void 0);H([(0,j.state)()],L.prototype,"suggestions",void 0);H([(0,j.state)()],L.prototype,"recentSearches",void 0);H([(0,j.state)()],L.prototype,"scrollToFacet",void 0);H([(0,j.state)()],L.prototype,"api",void 0);H([(0,j.state)()],L.prototype,"reactToFocus",void 0);H([(0,j.state)()],L.prototype,"facetsLoaded",void 0);(0,Cp.customElement)("ft-search-bar")(L);})();
|
|
3093
3095
|
/*! Bundled license information:
|
|
3094
3096
|
|
|
3095
3097
|
lit-html/lit-html.js:
|