@fluid-topics/ft-reader-topic-metadata 1.1.114 → 1.1.116
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-reader-topic-metadata.light.js +485 -264
- package/build/ft-reader-topic-metadata.min.js +563 -342
- package/package.json +4 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";(()=>{var gc=Object.create;var Xr=Object.defineProperty;var bc=Object.getOwnPropertyDescriptor;var xc=Object.getOwnPropertyNames;var vc=Object.getPrototypeOf,Sc=Object.prototype.hasOwnProperty;var
|
|
1
|
+
"use strict";(()=>{var gc=Object.create;var Xr=Object.defineProperty;var bc=Object.getOwnPropertyDescriptor;var xc=Object.getOwnPropertyNames;var vc=Object.getPrototypeOf,Sc=Object.prototype.hasOwnProperty;var Te=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Oc=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of xc(o))!Sc.call(e,a)&&a!==r&&Xr(e,a,{get:()=>o[a],enumerable:!(n=bc(o,a))||n.enumerable});return e};var C=(e,o,r)=>(r=e!=null?gc(vc(e)):{},Oc(o||!e||!e.__esModule?Xr(r,"default",{value:e,enumerable:!0}):r,e));var k=Te((zl,Jr)=>{Jr.exports=ftGlobals.wcUtils});var M=Te((Ml,Qr)=>{Qr.exports=ftGlobals.lit});var Z=Te((Hl,tn)=>{tn.exports=ftGlobals.litDecorators});var Ge=Te((Pu,Ma)=>{Ma.exports=ftGlobals.litClassMap});var Ja=Te((zu,Xa)=>{Xa.exports=ftGlobals.litUnsafeHTML});var mc=C(k());var wt=C(M()),Xt=C(Z());var en=C(M()),Ul={},on=en.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
}
|
|
5
|
-
`;var Yo=
|
|
6
|
-
\f\r]
|
|
7
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),fn=/'/g,pn=/"/g,gn=/^(?:script|style|textarea|title)$/i,bn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),xn=bn(1),vn=bn(2),De=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),un=new WeakMap,te=ee.createTreeWalker(ee,129);function Sn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ln!==void 0?ln.createHTML(e):e}var Ac=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",c=$e;for(let s=0;s<r;s++){let p=t[s],f,u,h=-1,m=0;for(;m<p.length&&(c.lastIndex=m,u=c.exec(p),u!==null);)m=c.lastIndex,c===$e?u[1]==="!--"?c=sn:u[1]!==void 0?c=dn:u[2]!==void 0?(gn.test(u[2])&&(i=RegExp("</"+u[2],"g")),c=Qt):u[3]!==void 0&&(c=Qt):c===Qt?u[0]===">"?(c=i??$e,h=-1):u[1]===void 0?h=-2:(h=c.lastIndex-u[2].length,f=u[1],c=u[3]===void 0?Qt:u[3]==='"'?pn:fn):c===pn||c===fn?c=Qt:c===sn||c===dn?c=$e:(c=Qt,i=void 0);let g=c===Qt&&t[s+1].startsWith("/>")?" ":"";a+=c===$e?p+Nc:h>=0?(n.push(f),p.slice(0,h)+hn+p.slice(h)+Mt+g):p+Mt+(h===-2?s:g)}return[Sn(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},We=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,s=e.length-1,p=this.parts,[f,u]=Ac(e,r);if(this.el=t.createElement(f,n),te.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=te.nextNode())!==null&&p.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(hn)){let m=u[c++],g=i.getAttribute(h).split(Mt),y=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Qo:y[1]==="?"?tr:y[1]==="@"?er:fe}),i.removeAttribute(h)}else h.startsWith(Mt)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(gn.test(i.tagName)){let h=i.textContent.split(Mt),m=h.length-1;if(m>0){i.textContent=ao?ao.emptyScript:"";for(let g=0;g<m;g++)i.append(h[g],co()),te.nextNode(),p.push({type:2,index:++a});i.append(h[m],co())}}}else if(i.nodeType===8)if(i.data===mn)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Mt,h+1))!==-1;)p.push({type:7,index:a}),h+=Mt.length-1}a++}}static createElement(e,r){let n=ee.createElement("template");return n.innerHTML=e,n}};function de(t,e,r=t,n){if(e===De)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ke(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=de(t,i._$AS(t,e.values),i,n)),e}var Jo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ee).importNode(r,!0);te.currentNode=i;let a=te.nextNode(),c=0,s=0,p=n[0];for(;p!==void 0;){if(c===p.index){let f;p.type===2?f=new lo(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new or(a,this,e)),this._$AV.push(f),p=n[++s]}c!==p?.index&&(a=te.nextNode(),c++)}return te.currentNode=ee,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=de(this,e,r),ke(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==De&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Rc(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!==K&&ke(this._$AH)?this._$AA.nextSibling.data=e:this.$(ee.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=We.createElement(Sn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Jo(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=un.get(e.strings);return r===void 0&&un.set(e.strings,r=new We(e)),r}T(e){yn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(co()),this.k(co()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(e,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=de(this,e,r,0),c=!ke(e)||e!==this._$AH&&e!==De,c&&(this._$AH=e);else{let s=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=de(this,s[n+p],r,p),f===De&&(f=this._$AH[p]),c||=!ke(f)||f!==this._$AH[p],f===K?e=K:e!==K&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}c&&!i&&this.O(e)}O(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Qo=class extends fe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===K?void 0:e}},tr=class extends fe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}},er=class extends fe{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=de(this,e,r,0)??K)===De)return;let n=this._$AH,i=e===K&&n!==K||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},or=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){de(this,e)}};var Pc=rr.litHtmlPolyfillSupport;Pc?.(We,lo),(rr.litHtmlVersions??=[]).push("3.1.0");var Cn=Symbol.for(""),Lc=t=>{if(t?.r===Cn)return t?._$litStatic$},nr=t=>({_$litStatic$:t,r:Cn});var On=new Map,wn=t=>(e,...r)=>{let n=r.length,i,a,c=[],s=[],p,f=0,u=!1;for(;f<n;){for(p=e[f];f<n&&(a=r[f],(i=Lc(a))!==void 0);)p+=i+e[++f],u=!0;f!==n&&s.push(a),c.push(p),f++}if(f===n&&c.push(e[n]),u){let h=c.join("$$lit$$");(e=On.get(h))===void 0&&(c.raw=c,On.set(h,e=c)),r=s}return t(e,...r)},ir=wn(xn),Yl=wn(vn);var ar=S(V()),fi=S($());var ut;(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"})(ut||(ut={}));var ht=S(B()),O=S($());var Lt=S(B(),1),Ut=t=>typeof t=="string"?(0,Lt.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=s=>Ut(s??i),c=Lt.css`var(${Ut(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Lt.css`var(${Ut(e)}, ${a(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=s=>n.get(s??i),c=Lt.css`var(${Ut(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Lt.css`var(${Ut(e)}, ${a(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ut(a??e.lastResortDefaultValue()),i=Lt.css`var(${Ut(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Lt.css`var(${Ut(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},En={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Rn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},An={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},In={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_n={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ic={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},$n={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Dn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Bn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},jn={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},so={display:En,"title-1":Nn,"title-2":Rn,"title-3":An,"body-1-regular":Pn,"body-1-medium":Ln,"body-1-semibold":In,"body-2-regular":Tn,"body-2-medium":_n,"body-2-medium-underline":Ic,"body-2-semibold":$n,"label-1-medium":kn,"label-1-semibold":Dn,"label-1-bold":Wn,"label-2-medium":zn,"label-2-semibold":Bn,"label-2-bold":Mn,"caption-1-medium":Un,"caption-1-semibold":Hn,"caption-1-bold":Gn,"caption-2-medium":Fn,"caption-2-semibold":jn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":Yn};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
8
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var x={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var us={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var L={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Os={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary)};var Rs={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Ts={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Ws={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Hs={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Vs={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Js={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var rd={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var ld={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var ud={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var bd={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Cd={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Ad={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var _d={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var zd={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Gd={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Vd={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Jd={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var rf={color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var sf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var hf={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var xf={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var wf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var fo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(fo||(fo={}));var J;(function(t){t.large="large",t.medium="medium",t.small="small"})(J||(J={}));var po=S(B());function qn(t){let e=so[t];return po.css`
|
|
9
|
-
.ft-typography--${(0,po.unsafeCSS)(
|
|
10
|
-
font-family: ${
|
|
11
|
-
font-size: ${
|
|
12
|
-
font-weight: ${
|
|
13
|
-
letter-spacing: ${
|
|
14
|
-
line-height: ${
|
|
15
|
-
text-transform: ${
|
|
16
|
-
}
|
|
17
|
-
`}var Xn=
|
|
5
|
+
`;var Yo=C(Z());var nn=C(k()),an=C(Z());var rn;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(rn||(rn={}));var Cc=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Vo=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ko=Symbol("registerInterval");function wc(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Ko]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ko]):this.dispatchEvent(new Vo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ko,Cc([(0,an.state)()],r.prototype,"stateManager",void 0),r}var no=class extends wc(nn.FtLitElementRedux){};var cn=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},qo=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},Zo=Symbol("registerInterval");function Ec(e){var o;class r extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[Zo]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[Zo]):this.dispatchEvent(new qo)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=Zo,cn([(0,Yo.state)()],r.prototype,"tocNode",void 0),cn([(0,Yo.state)()],r.prototype,"disableContextInteractions",void 0),r}var ao=class extends Ec(no){};var hc=C(k());var za=C(k());var Da=C(M()),K=C(Z()),Fe=C(k());var pa=C(k());var rr=globalThis,io=rr.trustedTypes,ln=io?io.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,hn="?"+Mt,Nc=`<${hn}>`,ee=document,co=()=>ee.createComment(""),Be=e=>e===null||typeof e!="object"&&typeof e!="function",mn=Array.isArray,Ac=e=>mn(e)||typeof e?.[Symbol.iterator]=="function",Xo=`[
|
|
6
|
+
\f\r]`,ke=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,sn=/-->/g,dn=/>/g,Qt=RegExp(`>|${Xo}(?:([^\\s"'>=/]+)(${Xo}*=${Xo}*(?:[^
|
|
7
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),fn=/'/g,pn=/"/g,gn=/^(?:script|style|textarea|title)$/i,bn=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),xn=bn(1),vn=bn(2),We=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),un=new WeakMap,te=ee.createTreeWalker(ee,129);function Sn(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ln!==void 0?ln.createHTML(o):o}var Rc=(e,o)=>{let r=e.length-1,n=[],a,i=o===2?"<svg>":"",l=ke;for(let d=0;d<r;d++){let p=e[d],f,y,h=-1,m=0;for(;m<p.length&&(l.lastIndex=m,y=l.exec(p),y!==null);)m=l.lastIndex,l===ke?y[1]==="!--"?l=sn:y[1]!==void 0?l=dn:y[2]!==void 0?(gn.test(y[2])&&(a=RegExp("</"+y[2],"g")),l=Qt):y[3]!==void 0&&(l=Qt):l===Qt?y[0]===">"?(l=a??ke,h=-1):y[1]===void 0?h=-2:(h=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?Qt:y[3]==='"'?pn:fn):l===pn||l===fn?l=Qt:l===sn||l===dn?l=ke:(l=Qt,a=void 0);let b=l===Qt&&e[d+1].startsWith("/>")?" ":"";i+=l===ke?p+Nc:h>=0?(n.push(f),p.slice(0,h)+yn+p.slice(h)+Mt+b):p+Mt+(h===-2?d:b)}return[Sn(e,i+(e[r]||"<?>")+(o===2?"</svg>":"")),n]},_e=class e{constructor({strings:o,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,d=o.length-1,p=this.parts,[f,y]=Rc(o,r);if(this.el=e.createElement(f,n),te.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=te.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(yn)){let m=y[l++],b=a.getAttribute(h).split(Mt),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?Qo:g[1]==="?"?tr:g[1]==="@"?er:fe}),a.removeAttribute(h)}else h.startsWith(Mt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(gn.test(a.tagName)){let h=a.textContent.split(Mt),m=h.length-1;if(m>0){a.textContent=io?io.emptyScript:"";for(let b=0;b<m;b++)a.append(h[b],co()),te.nextNode(),p.push({type:2,index:++i});a.append(h[m],co())}}}else if(a.nodeType===8)if(a.data===hn)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(Mt,h+1))!==-1;)p.push({type:7,index:i}),h+=Mt.length-1}i++}}static createElement(o,r){let n=ee.createElement("template");return n.innerHTML=o,n}};function de(e,o,r=e,n){if(o===We)return o;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Be(o)?void 0:o._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(o=de(e,a._$AS(e,o.values),a,n)),o}var Jo=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:n}=this._$AD,a=(o?.creationScope??ee).importNode(r,!0);te.currentNode=a;let i=te.nextNode(),l=0,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new lo(i,i.nextSibling,this,o):p.type===1?f=new p.ctor(i,p.name,p.strings,this,o):p.type===6&&(f=new or(i,this,o)),this._$AV.push(f),p=n[++d]}l!==p?.index&&(i=te.nextNode(),l++)}return te.currentNode=ee,a}p(o){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,r),r+=n.strings.length-2):n._$AI(o[r])),r++}},lo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,n,a){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=de(this,o,r),Be(o)?o===V||o==null||o===""?(this._$AH!==V&&this._$AR(),this._$AH=V):o!==this._$AH&&o!==We&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Ac(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==V&&Be(this._$AH)?this._$AA.nextSibling.data=o:this.$(ee.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:n}=o,a=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=_e.createElement(Sn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new Jo(a,this),l=i.u(this.options);i.p(r),this.$(l),this._$AH=i}}_$AC(o){let r=un.get(o.strings);return r===void 0&&un.set(o.strings,r=new _e(o)),r}T(o){mn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of o)a===r.length?r.push(n=new e(this.k(co()),this.k(co()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,n,a,i){this.type=1,this._$AH=V,this._$AN=void 0,this.element=o,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(o,r=this,n,a){let i=this.strings,l=!1;if(i===void 0)o=de(this,o,r,0),l=!Be(o)||o!==this._$AH&&o!==We,l&&(this._$AH=o);else{let d=o,p,f;for(o=i[0],p=0;p<i.length-1;p++)f=de(this,d[n+p],r,p),f===We&&(f=this._$AH[p]),l||=!Be(f)||f!==this._$AH[p],f===V?o=V:o!==V&&(o+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.O(o)}O(o){o===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Qo=class extends fe{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===V?void 0:o}},tr=class extends fe{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==V)}},er=class extends fe{constructor(o,r,n,a,i){super(o,r,n,a,i),this.type=5}_$AI(o,r=this){if((o=de(this,o,r,0)??V)===We)return;let n=this._$AH,a=o===V&&n!==V||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,i=o!==V&&(n===V||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},or=class{constructor(o,r,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){de(this,o)}};var Lc=rr.litHtmlPolyfillSupport;Lc?.(_e,lo),(rr.litHtmlVersions??=[]).push("3.1.0");var Cn=Symbol.for(""),Pc=e=>{if(e?.r===Cn)return e?._$litStatic$},nr=e=>({_$litStatic$:e,r:Cn});var On=new Map,wn=e=>(o,...r)=>{let n=r.length,a,i,l=[],d=[],p,f=0,y=!1;for(;f<n;){for(p=o[f];f<n&&(i=r[f],(a=Pc(i))!==void 0);)p+=a+o[++f],y=!0;f!==n&&d.push(i),l.push(p),f++}if(f===n&&l.push(o[n]),y){let h=l.join("$$lit$$");(o=On.get(h))===void 0&&(l.raw=l,On.set(h,o=l)),r=d}return e(o,...r)},ar=wn(xn),Xl=wn(vn);var ir=C(Z()),fa=C(k());var ut;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ut||(ut={}));var yt=C(M()),w=C(k());var Pt=C(M(),1),Ht=e=>typeof e=="string"?(0,Pt.unsafeCSS)(e):e,t=class{static create(o,r,n,a){let i=d=>Ht(d??a),l=Pt.css`var(${Ht(o)}, ${i(a)})`;return l.name=o,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>Pt.css`var(${Ht(o)}, ${i(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(o,r,n,a){let i=d=>n.get(d??a),l=Pt.css`var(${Ht(o)}, ${i(a)})`;return l.name=o,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>Pt.css`var(${Ht(o)}, ${i(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(o,r){let n=i=>o.fallbackVariable?o.fallbackVariable.get(i??o.defaultValue):Ht(i??o.lastResortDefaultValue()),a=Pt.css`var(${Ht(o.name)}, ${n(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>Pt.css`var(${Ht(o.name)}, ${n(i)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var c={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},En={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},An={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Rn={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ln={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Pn={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},In={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$n={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Tn={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ic={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},kn={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Wn={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},_n={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Dn={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},zn={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},jn={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},so={display:En,"title-1":Nn,"title-2":An,"title-3":Rn,"body-1-regular":Ln,"body-1-medium":Pn,"body-1-semibold":In,"body-2-regular":$n,"body-2-medium":Tn,"body-2-medium-underline":Ic,"body-2-semibold":kn,"label-1-medium":Bn,"label-1-semibold":Wn,"label-1-bold":_n,"label-2-medium":Dn,"label-2-semibold":zn,"label-2-bold":Mn,"caption-1-medium":Hn,"caption-1-semibold":Un,"caption-1-bold":Fn,"caption-2-medium":Gn,"caption-2-semibold":jn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":Yn};var s={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
8
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",s.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",s.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",s.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",s.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",s.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",s.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",s.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",s.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",s.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",s.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",s.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",s.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",s.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",s.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",s.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",s.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",s.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",s.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",s.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",s.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",s.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",s.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",s.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",s.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",s.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",s.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",s.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",s.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",s.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",s.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",s.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",s.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",s.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",s.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",s.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",s.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",s.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",s.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",s.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",s.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",s.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",s.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",s.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",s.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",s.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",s.contentErrorPrimary)};var hs={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",s.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",s.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",s.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",s.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",s.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",s.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",s.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",s.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",s.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",s.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",s.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var $={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",s.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",s.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",s.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var ws={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",s.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",s.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",s.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",s.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",s.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",s.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",s.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",s.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",s.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",s.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",s.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",s.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",s.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",s.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",s.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Ls={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",s.borderInfoSubtle)};var ks={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",s.contentActionPrimary)};var zs={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",s.contentGlobalSubtle)};var Gs={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",s.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",s.contentGlobalSecondary)};var Ys={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",s.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var td={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",s.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",s.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var ad={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-tabs-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",s.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:t.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",s.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",s.borderActionFocusRing)};var dd={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",s.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var hd={backgroundColor:t.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var vd={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",s.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",s.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Ed={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",s.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Pd={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Bd={backgroundColor:t.extend("--ft-popover-background-color","",s.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:t.extend("--ft-popover-title-color","",s.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",s.contentActionPrimary),gap:t.extend("--ft-popover-gap","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var Md={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",s.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:t.extend("--ft-collapsible-color","",s.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",c.iconSize3)};var jd={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",s.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",s.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-switch-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:t.extend("--ft-switch-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",s.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Yd={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var Qd={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var nf={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",s.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",s.contentSuccessIconOnly)};var df={color:t.extend("--ft-checkbox-color","",s.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",s.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",c.spacing3)};var hf={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",s.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:t.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",c.spacing3)};var vf={color:t.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",s.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",s.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",s.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",c.spacing3)};var Ef={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",s.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pf={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:t.extend("--ft-tooltip-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",s.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.spacing05)};var fo;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(fo||(fo={}));var Q;(function(e){e.large="large",e.medium="medium",e.small="small"})(Q||(Q={}));var po=C(M());function qn(e){let o=so[e];return po.css`
|
|
9
|
+
.ft-typography--${(0,po.unsafeCSS)(e)} {
|
|
10
|
+
font-family: ${o.fontFamily};
|
|
11
|
+
font-size: ${o.fontSize};
|
|
12
|
+
font-weight: ${o.fontWeight};
|
|
13
|
+
letter-spacing: ${o.letterSpacing};
|
|
14
|
+
line-height: ${o.lineHeight};
|
|
15
|
+
text-transform: ${o.textCase};
|
|
16
|
+
}
|
|
17
|
+
`}var Xn=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),It=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),A={fontFamily:It,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xn),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},ue={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xn),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},ye={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},he={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},me={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},Et={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},ge={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},be={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},xe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},Nt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",It),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},Jn=yt.css`
|
|
18
18
|
.ft-typography--title {
|
|
19
19
|
font-family: ${pe.fontFamily};
|
|
20
20
|
font-size: ${pe.fontSize};
|
|
@@ -23,7 +23,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
23
23
|
line-height: ${pe.lineHeight};
|
|
24
24
|
text-transform: ${pe.textTransform};
|
|
25
25
|
}
|
|
26
|
-
`,Qn=
|
|
26
|
+
`,Qn=yt.css`
|
|
27
27
|
.ft-typography--title-dense {
|
|
28
28
|
font-family: ${ue.fontFamily};
|
|
29
29
|
font-size: ${ue.fontSize};
|
|
@@ -32,8 +32,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
32
32
|
line-height: ${ue.lineHeight};
|
|
33
33
|
text-transform: ${ue.textTransform};
|
|
34
34
|
}
|
|
35
|
-
`,
|
|
35
|
+
`,ta=yt.css`
|
|
36
36
|
.ft-typography--subtitle1 {
|
|
37
|
+
font-family: ${ye.fontFamily};
|
|
38
|
+
font-size: ${ye.fontSize};
|
|
39
|
+
font-weight: ${ye.fontWeight};
|
|
40
|
+
letter-spacing: ${ye.letterSpacing};
|
|
41
|
+
line-height: ${ye.lineHeight};
|
|
42
|
+
text-transform: ${ye.textTransform};
|
|
43
|
+
}
|
|
44
|
+
`,ea=yt.css`
|
|
45
|
+
.ft-typography--subtitle2 {
|
|
37
46
|
font-family: ${he.fontFamily};
|
|
38
47
|
font-size: ${he.fontSize};
|
|
39
48
|
font-weight: ${he.fontWeight};
|
|
@@ -41,8 +50,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
41
50
|
line-height: ${he.lineHeight};
|
|
42
51
|
text-transform: ${he.textTransform};
|
|
43
52
|
}
|
|
44
|
-
|
|
45
|
-
|
|
53
|
+
|
|
54
|
+
`,oa=yt.css`
|
|
55
|
+
.ft-typography--body1 {
|
|
46
56
|
font-family: ${me.fontFamily};
|
|
47
57
|
font-size: ${me.fontSize};
|
|
48
58
|
font-weight: ${me.fontWeight};
|
|
@@ -50,17 +60,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
50
60
|
line-height: ${me.lineHeight};
|
|
51
61
|
text-transform: ${me.textTransform};
|
|
52
62
|
}
|
|
53
|
-
|
|
54
|
-
`,oi=ht.css`
|
|
55
|
-
.ft-typography--body1 {
|
|
56
|
-
font-family: ${ye.fontFamily};
|
|
57
|
-
font-size: ${ye.fontSize};
|
|
58
|
-
font-weight: ${ye.fontWeight};
|
|
59
|
-
letter-spacing: ${ye.letterSpacing};
|
|
60
|
-
line-height: ${ye.lineHeight};
|
|
61
|
-
text-transform: ${ye.textTransform};
|
|
62
|
-
}
|
|
63
|
-
`,ri=ht.css`
|
|
63
|
+
`,ra=yt.css`
|
|
64
64
|
.ft-typography--body2 {
|
|
65
65
|
font-family: ${Et.fontFamily};
|
|
66
66
|
font-size: ${Et.fontSize};
|
|
@@ -69,7 +69,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
69
69
|
line-height: ${Et.lineHeight};
|
|
70
70
|
text-transform: ${Et.textTransform};
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
72
|
+
`,na=yt.css`
|
|
73
73
|
.ft-typography--caption {
|
|
74
74
|
font-family: ${ge.fontFamily};
|
|
75
75
|
font-size: ${ge.fontSize};
|
|
@@ -78,7 +78,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
78
78
|
line-height: ${ge.lineHeight};
|
|
79
79
|
text-transform: ${ge.textTransform};
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,aa=yt.css`
|
|
82
82
|
.ft-typography--breadcrumb {
|
|
83
83
|
font-family: ${be.fontFamily};
|
|
84
84
|
font-size: ${be.fontSize};
|
|
@@ -87,7 +87,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
87
87
|
line-height: ${be.lineHeight};
|
|
88
88
|
text-transform: ${be.textTransform};
|
|
89
89
|
}
|
|
90
|
-
`,
|
|
90
|
+
`,ia=yt.css`
|
|
91
91
|
.ft-typography--overline {
|
|
92
92
|
font-family: ${xe.fontFamily};
|
|
93
93
|
font-size: ${xe.fontSize};
|
|
@@ -96,7 +96,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
96
96
|
line-height: ${xe.lineHeight};
|
|
97
97
|
text-transform: ${xe.textTransform};
|
|
98
98
|
}
|
|
99
|
-
`,
|
|
99
|
+
`,ca=yt.css`
|
|
100
100
|
.ft-typography--button {
|
|
101
101
|
font-family: ${Nt.fontFamily};
|
|
102
102
|
font-size: ${Nt.fontSize};
|
|
@@ -105,19 +105,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
105
105
|
line-height: ${Nt.lineHeight};
|
|
106
106
|
text-transform: ${Nt.textTransform};
|
|
107
107
|
}
|
|
108
|
-
`,
|
|
108
|
+
`,la=yt.css`
|
|
109
109
|
.ft-typography {
|
|
110
110
|
vertical-align: inherit;
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
112
|
+
`,sa=[Object.keys(so).map(e=>qn(e))];var da=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},tt=class extends fa.FtLitElement{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?ar`
|
|
113
113
|
<${nr(this.element)}
|
|
114
114
|
part="text"
|
|
115
115
|
class="ft-typography ft-typography--${this.variant}">
|
|
116
116
|
<slot></slot>
|
|
117
117
|
</${nr(this.element)}>
|
|
118
|
-
`:
|
|
118
|
+
`:ar`
|
|
119
119
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
120
|
-
`}};
|
|
120
|
+
`}};tt.styles=[Jn,Qn,ta,ea,oa,ra,na,aa,ia,ca,la,...sa];da([(0,ir.property)()],tt.prototype,"element",void 0);da([(0,ir.property)()],tt.prototype,"variant",void 0);(0,pa.customElement)("ft-typography")(tt);var ua=C(M()),$t=C(k()),ve={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")},ya=ua.css`
|
|
121
121
|
.ft-tooltip--container {
|
|
122
122
|
display: block;
|
|
123
123
|
}
|
|
@@ -146,7 +146,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
146
146
|
position: relative;
|
|
147
147
|
word-break: break-word;
|
|
148
148
|
}
|
|
149
|
-
`;var yi=["top","right","bottom","left"],mi=["start","end"],lr=yi.reduce((t,e)=>t.concat(e,e+"-"+mi[0],e+"-"+mi[1]),[]),ze=Math.min,Ht=Math.max,Be=Math.round;var _t=t=>({x:t,y:t}),Tc={left:"right",right:"left",bottom:"top",top:"bottom"},_c={start:"end",end:"start"};function sr(t,e,r){return Ht(t,ze(e,r))}function uo(t,e){return typeof t=="function"?t(e):t}function Se(t){return t.split("-")[0]}function Gt(t){return t.split("-")[1]}function dr(t){return t==="x"?"y":"x"}function fr(t){return t==="y"?"height":"width"}function ho(t){return["top","bottom"].includes(Se(t))?"y":"x"}function pr(t){return dr(ho(t))}function gi(t,e,r){r===void 0&&(r=!1);let n=Gt(t),i=pr(t),a=fr(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=cr(c)),[c,cr(c)]}function bi(t){return t.replace(/start|end/g,e=>_c[e])}function cr(t){return t.replace(/left|right|bottom|top/g,e=>Tc[e])}function $c(t){return{top:0,right:0,bottom:0,left:0,...t}}function xi(t){return typeof t!="number"?$c(t):{top:t,right:t,bottom:t,left:t}}function oe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function vi(t,e,r){let{reference:n,floating:i}=t,a=ho(e),c=pr(e),s=fr(c),p=Se(e),f=a==="y",u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[s]/2-i[s]/2,g;switch(p){case"top":g={x:u,y:n.y-i.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(Gt(e)){case"start":g[c]-=m*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var Si=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,s=a.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:h}=vi(f,n,p),m=n,g={},y=0;for(let b=0;b<s.length;b++){let{name:N,fn:C}=s[b],{x:w,y:R,data:I,reset:k}=await C({x:u,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:t,floating:e}});if(u=w??u,h=R??h,g={...g,[N]:{...g[N],...I}},k&&y<=50){y++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(f=k.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):k.rects),{x:u,y:h}=vi(f,m,p)),b=-1;continue}}return{x:u,y:h,placement:m,strategy:i,middlewareData:g}};async function ur(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:s,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=uo(e,t),y=xi(g),N=s[m?h==="floating"?"reference":"floating":h],C=oe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:p})),w=h==="floating"?{...c.floating,x:n,y:i}:c.reference,R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),I=await(a.isElement==null?void 0:a.isElement(R))?await(a.getScale==null?void 0:a.getScale(R))||{x:1,y:1}:{x:1,y:1},k=oe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:R,strategy:p}):w);return{top:(C.top-k.top+y.top)/I.y,bottom:(k.bottom-C.bottom+y.bottom)/I.y,left:(C.left-k.left+y.left)/I.x,right:(k.right-C.right+y.right)/I.x}}function kc(t,e,r){return(t?[...r.filter(i=>Gt(i)===t),...r.filter(i=>Gt(i)!==t)]:r.filter(i=>Se(i)===i)).filter(i=>t?Gt(i)===t||(e?bi(i)!==i:!1):!0)}var hr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:s,platform:p,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:m=lr,autoAlignment:g=!0,...y}=uo(t,e),b=h!==void 0||m===lr?kc(h||null,g,m):m,N=await ur(e,y),C=((r=c.autoPlacement)==null?void 0:r.index)||0,w=b[C];if(w==null)return{};let R=gi(w,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(s!==w)return{reset:{placement:b[0]}};let I=[N[Se(w)],N[R[0]],N[R[1]]],k=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:I}],ft=b[C+1];if(ft)return{data:{index:C+1,overflows:k},reset:{placement:ft}};let zt=k.map(at=>{let pt=Gt(at.placement);return[at.placement,pt&&u?at.overflows.slice(0,2).reduce((ct,Jt)=>ct+Jt,0):at.overflows[0],at.overflows]}).sort((at,pt)=>at[1]-pt[1]),Bt=((i=zt.filter(at=>at[2].slice(0,Gt(at[0])?2:3).every(pt=>pt<=0))[0])==null?void 0:i[0])||zt[0][0];return Bt!==s?{data:{index:C+1,overflows:k},reset:{placement:Bt}}:{}}}};var mr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:N=>{let{x:C,y:w}=N;return{x:C,y:w}}},...p}=uo(t,e),f={x:r,y:n},u=await ur(e,p),h=ho(Se(i)),m=dr(h),g=f[m],y=f[h];if(a){let N=m==="y"?"top":"left",C=m==="y"?"bottom":"right",w=g+u[N],R=g-u[C];g=sr(w,g,R)}if(c){let N=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=y+u[N],R=y-u[C];y=sr(w,y,R)}let b=s.fn({...e,[m]:g,[h]:y});return{...b,data:{x:b.x-r,y:b.y-n}}}}};function $t(t){return Ci(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kt(t){var e;return(e=(Ci(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ci(t){return t instanceof Node||t instanceof ot(t).Node}function Rt(t){return t instanceof Element||t instanceof ot(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function Oi(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function Oe(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=lt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function wi(t){return["table","td","th"].includes($t(t))}function yo(t){let e=go(),r=lt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ei(t){let e=re(t);for(;xt(e)&&!Me(e);){if(yo(e))return e;e=re(e)}return null}function go(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(t){return["html","body","#document"].includes($t(t))}function lt(t){return ot(t).getComputedStyle(t)}function Ue(t){return Rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(t){if($t(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Oi(t)&&t.host||kt(t);return Oi(e)?e.host:e}function Ni(t){let e=re(t);return Me(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&Oe(e)?e:Ni(e)}function mo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ni(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),c=ot(i);return a?e.concat(c,c.visualViewport||[],Oe(i)?i:[],c.frameElement&&r?mo(c.frameElement):[]):e.concat(i,mo(i,[],r))}function Pi(t){let e=lt(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=xt(t),a=i?t.offsetWidth:r,c=i?t.offsetHeight:n,s=Be(r)!==a||Be(n)!==c;return s&&(r=a,n=c),{width:r,height:n,$:s}}function Li(t){return Rt(t)?t:t.contextElement}function Ce(t){let e=Li(t);if(!xt(e))return _t(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Pi(e),c=(a?Be(r.width):r.width)/n,s=(a?Be(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var Dc=_t(0);function Ii(t){let e=ot(t);return!go()||!e.visualViewport?Dc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wc(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function He(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Li(t),c=_t(1);e&&(n?Rt(n)&&(c=Ce(n)):c=Ce(t));let s=Wc(a,r,n)?Ii(a):_t(0),p=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,h=i.height/c.y;if(a){let m=ot(a),g=n&&Rt(n)?ot(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let b=Ce(y),N=y.getBoundingClientRect(),C=lt(y),w=N.left+(y.clientLeft+parseFloat(C.paddingLeft))*b.x,R=N.top+(y.clientTop+parseFloat(C.paddingTop))*b.y;p*=b.x,f*=b.y,u*=b.x,h*=b.y,p+=w,f+=R,y=ot(y).frameElement}}return oe({width:u,height:h,x:p,y:f})}function zc(t){let{rect:e,offsetParent:r,strategy:n}=t,i=xt(r),a=kt(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},s=_t(1),p=_t(0);if((i||!i&&n!=="fixed")&&(($t(r)!=="body"||Oe(a))&&(c=Ue(r)),xt(r))){let f=He(r);s=Ce(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+p.x,y:e.y*s.y-c.scrollTop*s.y+p.y}}function Bc(t){return Array.from(t.getClientRects())}function Ti(t){return He(kt(t)).left+Ue(t).scrollLeft}function Mc(t){let e=kt(t),r=Ue(t),n=t.ownerDocument.body,i=Ht(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ht(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ti(t),s=-r.scrollTop;return lt(n).direction==="rtl"&&(c+=Ht(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:s}}function Uc(t,e){let r=ot(t),n=kt(t),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,s=0,p=0;if(i){a=i.width,c=i.height;let f=go();(!f||f&&e==="fixed")&&(s=i.offsetLeft,p=i.offsetTop)}return{width:a,height:c,x:s,y:p}}function Hc(t,e){let r=He(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=xt(t)?Ce(t):_t(1),c=t.clientWidth*a.x,s=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:c,height:s,x:p,y:f}}function Ri(t,e,r){let n;if(e==="viewport")n=Uc(t,r);else if(e==="document")n=Mc(kt(t));else if(Rt(e))n=Hc(e,r);else{let i=Ii(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return oe(n)}function _i(t,e){let r=re(t);return r===e||!Rt(r)||Me(r)?!1:lt(r).position==="fixed"||_i(r,e)}function Gc(t,e){let r=e.get(t);if(r)return r;let n=mo(t,[],!1).filter(s=>Rt(s)&&$t(s)!=="body"),i=null,a=lt(t).position==="fixed",c=a?re(t):t;for(;Rt(c)&&!Me(c);){let s=lt(c),p=yo(c);!p&&s.position==="fixed"&&(i=null),(a?!p&&!i:!p&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Oe(c)&&!p&&_i(t,c))?n=n.filter(u=>u!==c):i=s,c=re(c)}return e.set(t,n),n}function Fc(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,c=[...r==="clippingAncestors"?Gc(e,this._c):[].concat(r),n],s=c[0],p=c.reduce((f,u)=>{let h=Ri(e,u,i);return f.top=Ht(h.top,f.top),f.right=ze(h.right,f.right),f.bottom=ze(h.bottom,f.bottom),f.left=Ht(h.left,f.left),f},Ri(e,s,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function jc(t){return Pi(t)}function Kc(t,e,r){let n=xt(e),i=kt(e),a=r==="fixed",c=He(t,!0,a,e),s={scrollLeft:0,scrollTop:0},p=_t(0);if(n||!n&&!a)if(($t(e)!=="body"||Oe(i))&&(s=Ue(e)),n){let f=He(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=Ti(i));return{x:c.left+s.scrollLeft-p.x,y:c.top+s.scrollTop-p.y,width:c.width,height:c.height}}function Ai(t,e){return!xt(t)||lt(t).position==="fixed"?null:e?e(t):t.offsetParent}function $i(t,e){let r=ot(t);if(!xt(t))return r;let n=Ai(t,e);for(;n&&wi(n)&<(n).position==="static";)n=Ai(n,e);return n&&($t(n)==="html"||$t(n)==="body"&<(n).position==="static"&&!yo(n))?r:n||Ei(t)||r}var Vc=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||$i,a=this.getDimensions;return{reference:Kc(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Zc(t){return lt(t).direction==="rtl"}var bo={convertOffsetParentRelativeRectToViewportRelativeRect:zc,getDocumentElement:kt,getClippingRect:Fc,getOffsetParent:$i,getElementRects:Vc,getClientRects:Bc,getDimensions:jc,getScale:Ce,isElement:Rt,isRTL:Zc};var ki=(t,e,r)=>{let n=new Map,i={platform:bo,...r},a={...i.platform,_c:n};return Si(t,e,{...i,platform:a})};function Di(t){return Yc(t)}function yr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Yc(t){for(let e=t;e;e=yr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=yr(t);e;e=yr(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Wi(t,e,r){return ki(t,e,{platform:{...bo,getOffsetParent:n=>bo.getOffsetParent(n,Di)},middleware:[mr({crossAxis:!0}),hr({allowedPlacements:[r]})]})}var rt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},D=class extends Ge.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 Ge.Debouncer,this.revealDebouncer=new Ge.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return zi.html`
|
|
149
|
+
`;var ma=["top","right","bottom","left"],ha=["start","end"],lr=ma.reduce((e,o)=>e.concat(o,o+"-"+ha[0],o+"-"+ha[1]),[]),De=Math.min,Ut=Math.max,ze=Math.round;var Tt=e=>({x:e,y:e}),$c={left:"right",right:"left",bottom:"top",top:"bottom"},Tc={start:"end",end:"start"};function sr(e,o,r){return Ut(e,De(o,r))}function uo(e,o){return typeof e=="function"?e(o):e}function Se(e){return e.split("-")[0]}function Ft(e){return e.split("-")[1]}function dr(e){return e==="x"?"y":"x"}function fr(e){return e==="y"?"height":"width"}function yo(e){return["top","bottom"].includes(Se(e))?"y":"x"}function pr(e){return dr(yo(e))}function ga(e,o,r){r===void 0&&(r=!1);let n=Ft(e),a=pr(e),i=fr(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[i]>o.floating[i]&&(l=cr(l)),[l,cr(l)]}function ba(e){return e.replace(/start|end/g,o=>Tc[o])}function cr(e){return e.replace(/left|right|bottom|top/g,o=>$c[o])}function kc(e){return{top:0,right:0,bottom:0,left:0,...e}}function xa(e){return typeof e!="number"?kc(e):{top:e,right:e,bottom:e,left:e}}function oe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function va(e,o,r){let{reference:n,floating:a}=e,i=yo(o),l=pr(o),d=fr(l),p=Se(o),f=i==="y",y=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,b;switch(p){case"top":b={x:y,y:n.y-a.height};break;case"bottom":b={x:y,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-a.width,y:h};break;default:b={x:n.x,y:n.y}}switch(Ft(o)){case"start":b[l]-=m*(r&&f?-1:1);break;case"end":b[l]+=m*(r&&f?-1:1);break}return b}var Sa=async(e,o,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,d=i.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(o)),f=await l.getElementRects({reference:e,floating:o,strategy:a}),{x:y,y:h}=va(f,n,p),m=n,b={},g=0;for(let v=0;v<d.length;v++){let{name:R,fn:E}=d[v],{x:N,y:L,data:T,reset:B}=await E({x:y,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:f,platform:l,elements:{reference:e,floating:o}});if(y=N??y,h=L??h,b={...b,[R]:{...b[R],...T}},B&&g<=50){g++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(f=B.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:a}):B.rects),{x:y,y:h}=va(f,m,p)),v=-1;continue}}return{x:y,y:h,placement:m,strategy:a,middlewareData:b}};async function ur(e,o){var r;o===void 0&&(o={});let{x:n,y:a,platform:i,rects:l,elements:d,strategy:p}=e,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=uo(o,e),g=xa(b),R=d[m?h==="floating"?"reference":"floating":h],E=oe(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:f,rootBoundary:y,strategy:p})),N=h==="floating"?{...l.floating,x:n,y:a}:l.reference,L=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),T=await(i.isElement==null?void 0:i.isElement(L))?await(i.getScale==null?void 0:i.getScale(L))||{x:1,y:1}:{x:1,y:1},B=oe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:L,strategy:p}):N);return{top:(E.top-B.top+g.top)/T.y,bottom:(B.bottom-E.bottom+g.bottom)/T.y,left:(E.left-B.left+g.left)/T.x,right:(B.right-E.right+g.right)/T.x}}function Bc(e,o,r){return(e?[...r.filter(a=>Ft(a)===e),...r.filter(a=>Ft(a)!==e)]:r.filter(a=>Se(a)===a)).filter(a=>e?Ft(a)===e||(o?ba(a)!==a:!1):!0)}var yr=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,n,a;let{rects:i,middlewareData:l,placement:d,platform:p,elements:f}=o,{crossAxis:y=!1,alignment:h,allowedPlacements:m=lr,autoAlignment:b=!0,...g}=uo(e,o),v=h!==void 0||m===lr?Bc(h||null,b,m):m,R=await ur(o,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=v[E];if(N==null)return{};let L=ga(N,i,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(d!==N)return{reset:{placement:v[0]}};let T=[R[Se(N)],R[L[0]],R[L[1]]],B=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:T}],ft=v[E+1];if(ft)return{data:{index:E+1,overflows:B},reset:{placement:ft}};let Dt=B.map(it=>{let pt=Ft(it.placement);return[it.placement,pt&&y?it.overflows.slice(0,2).reduce((ct,Jt)=>ct+Jt,0):it.overflows[0],it.overflows]}).sort((it,pt)=>it[1]-pt[1]),zt=((a=Dt.filter(it=>it[2].slice(0,Ft(it[0])?2:3).every(pt=>pt<=0))[0])==null?void 0:a[0])||Dt[0][0];return zt!==d?{data:{index:E+1,overflows:B},reset:{placement:zt}}:{}}}};var hr=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:n,placement:a}=o,{mainAxis:i=!0,crossAxis:l=!1,limiter:d={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...p}=uo(e,o),f={x:r,y:n},y=await ur(o,p),h=yo(Se(a)),m=dr(h),b=f[m],g=f[h];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=b+y[R],L=b-y[E];b=sr(N,b,L)}if(l){let R=h==="y"?"top":"left",E=h==="y"?"bottom":"right",N=g+y[R],L=g-y[E];g=sr(N,g,L)}let v=d.fn({...o,[m]:b,[h]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function kt(e){return Ca(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Bt(e){var o;return(o=(Ca(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Ca(e){return e instanceof Node||e instanceof ot(e).Node}function At(e){return e instanceof Element||e instanceof ot(e).Element}function xt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Oa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function Oe(e){let{overflow:o,overflowX:r,overflowY:n,display:a}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+r)&&!["inline","contents"].includes(a)}function wa(e){return["table","td","th"].includes(kt(e))}function mo(e){let o=go(),r=lt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ea(e){let o=re(e);for(;xt(o)&&!Me(o);){if(mo(o))return o;o=re(o)}return null}function go(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(e){return["html","body","#document"].includes(kt(e))}function lt(e){return ot(e).getComputedStyle(e)}function He(e){return At(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function re(e){if(kt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Oa(e)&&e.host||Bt(e);return Oa(o)?o.host:o}function Na(e){let o=re(e);return Me(o)?e.ownerDocument?e.ownerDocument.body:e.body:xt(o)&&Oe(o)?o:Na(o)}function ho(e,o,r){var n;o===void 0&&(o=[]),r===void 0&&(r=!0);let a=Na(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),l=ot(a);return i?o.concat(l,l.visualViewport||[],Oe(a)?a:[],l.frameElement&&r?ho(l.frameElement):[]):o.concat(a,ho(a,[],r))}function La(e){let o=lt(e),r=parseFloat(o.width)||0,n=parseFloat(o.height)||0,a=xt(e),i=a?e.offsetWidth:r,l=a?e.offsetHeight:n,d=ze(r)!==i||ze(n)!==l;return d&&(r=i,n=l),{width:r,height:n,$:d}}function Pa(e){return At(e)?e:e.contextElement}function Ce(e){let o=Pa(e);if(!xt(o))return Tt(1);let r=o.getBoundingClientRect(),{width:n,height:a,$:i}=La(o),l=(i?ze(r.width):r.width)/n,d=(i?ze(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var Dc=Tt(0);function Ia(e){let o=ot(e);return!go()||!o.visualViewport?Dc:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function zc(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==ot(e)?!1:o}function Ue(e,o,r,n){o===void 0&&(o=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=Pa(e),l=Tt(1);o&&(n?At(n)&&(l=Ce(n)):l=Ce(e));let d=zc(i,r,n)?Ia(i):Tt(0),p=(a.left+d.x)/l.x,f=(a.top+d.y)/l.y,y=a.width/l.x,h=a.height/l.y;if(i){let m=ot(i),b=n&&At(n)?ot(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let v=Ce(g),R=g.getBoundingClientRect(),E=lt(g),N=R.left+(g.clientLeft+parseFloat(E.paddingLeft))*v.x,L=R.top+(g.clientTop+parseFloat(E.paddingTop))*v.y;p*=v.x,f*=v.y,y*=v.x,h*=v.y,p+=N,f+=L,g=ot(g).frameElement}}return oe({width:y,height:h,x:p,y:f})}function Mc(e){let{rect:o,offsetParent:r,strategy:n}=e,a=xt(r),i=Bt(r);if(r===i)return o;let l={scrollLeft:0,scrollTop:0},d=Tt(1),p=Tt(0);if((a||!a&&n!=="fixed")&&((kt(r)!=="body"||Oe(i))&&(l=He(r)),xt(r))){let f=Ue(r);d=Ce(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:o.width*d.x,height:o.height*d.y,x:o.x*d.x-l.scrollLeft*d.x+p.x,y:o.y*d.y-l.scrollTop*d.y+p.y}}function Hc(e){return Array.from(e.getClientRects())}function $a(e){return Ue(Bt(e)).left+He(e).scrollLeft}function Uc(e){let o=Bt(e),r=He(e),n=e.ownerDocument.body,a=Ut(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),i=Ut(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+$a(e),d=-r.scrollTop;return lt(n).direction==="rtl"&&(l+=Ut(o.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:d}}function Fc(e,o){let r=ot(e),n=Bt(e),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,d=0,p=0;if(a){i=a.width,l=a.height;let f=go();(!f||f&&o==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:d,y:p}}function Gc(e,o){let r=Ue(e,!0,o==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=xt(e)?Ce(e):Tt(1),l=e.clientWidth*i.x,d=e.clientHeight*i.y,p=a*i.x,f=n*i.y;return{width:l,height:d,x:p,y:f}}function Aa(e,o,r){let n;if(o==="viewport")n=Fc(e,r);else if(o==="document")n=Uc(Bt(e));else if(At(o))n=Gc(o,r);else{let a=Ia(e);n={...o,x:o.x-a.x,y:o.y-a.y}}return oe(n)}function Ta(e,o){let r=re(e);return r===o||!At(r)||Me(r)?!1:lt(r).position==="fixed"||Ta(r,o)}function jc(e,o){let r=o.get(e);if(r)return r;let n=ho(e,[],!1).filter(d=>At(d)&&kt(d)!=="body"),a=null,i=lt(e).position==="fixed",l=i?re(e):e;for(;At(l)&&!Me(l);){let d=lt(l),p=mo(l);!p&&d.position==="fixed"&&(a=null),(i?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Oe(l)&&!p&&Ta(e,l))?n=n.filter(y=>y!==l):a=d,l=re(l)}return o.set(e,n),n}function Kc(e){let{element:o,boundary:r,rootBoundary:n,strategy:a}=e,l=[...r==="clippingAncestors"?jc(o,this._c):[].concat(r),n],d=l[0],p=l.reduce((f,y)=>{let h=Aa(o,y,a);return f.top=Ut(h.top,f.top),f.right=De(h.right,f.right),f.bottom=De(h.bottom,f.bottom),f.left=Ut(h.left,f.left),f},Aa(o,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Vc(e){return La(e)}function Zc(e,o,r){let n=xt(o),a=Bt(o),i=r==="fixed",l=Ue(e,!0,i,o),d={scrollLeft:0,scrollTop:0},p=Tt(0);if(n||!n&&!i)if((kt(o)!=="body"||Oe(a))&&(d=He(o)),n){let f=Ue(o,!0,i,o);p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}else a&&(p.x=$a(a));return{x:l.left+d.scrollLeft-p.x,y:l.top+d.scrollTop-p.y,width:l.width,height:l.height}}function Ra(e,o){return!xt(e)||lt(e).position==="fixed"?null:o?o(e):e.offsetParent}function ka(e,o){let r=ot(e);if(!xt(e))return r;let n=Ra(e,o);for(;n&&wa(n)&<(n).position==="static";)n=Ra(n,o);return n&&(kt(n)==="html"||kt(n)==="body"&<(n).position==="static"&&!mo(n))?r:n||Ea(e)||r}var Yc=async function(e){let{reference:o,floating:r,strategy:n}=e,a=this.getOffsetParent||ka,i=this.getDimensions;return{reference:Zc(o,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function qc(e){return lt(e).direction==="rtl"}var bo={convertOffsetParentRelativeRectToViewportRelativeRect:Mc,getDocumentElement:Bt,getClippingRect:Kc,getOffsetParent:ka,getElementRects:Yc,getClientRects:Hc,getDimensions:Vc,getScale:Ce,isElement:At,isRTL:qc};var Ba=(e,o,r)=>{let n=new Map,a={platform:bo,...r},i={...a.platform,_c:n};return Sa(e,o,{...a,platform:i})};function Wa(e){return Xc(e)}function mr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Xc(e){for(let o=e;o;o=mr(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=mr(e);o;o=mr(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function _a(e,o,r){return Ba(e,o,{platform:{...bo,getOffsetParent:n=>bo.getOffsetParent(n,Wa)},middleware:[hr({crossAxis:!0}),yr({allowedPlacements:[r]})]})}var rt=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},W=class extends Fe.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 Fe.Debouncer,this.revealDebouncer=new Fe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Da.html`
|
|
150
150
|
<div part="container"
|
|
151
151
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
152
152
|
@mouseenter=${this.onHover}
|
|
@@ -164,7 +164,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
164
164
|
</div>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
|
-
`}updated(
|
|
167
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",_a(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.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(o,r){return Math.max(o,Math.min(0,-r))}};W.elementDefinitions={"ft-typography":tt};W.styles=ya;rt([(0,K.property)()],W.prototype,"text",void 0);rt([(0,K.property)({type:Boolean})],W.prototype,"manual",void 0);rt([(0,K.property)({type:Boolean})],W.prototype,"inline",void 0);rt([(0,K.property)({type:Number})],W.prototype,"delay",void 0);rt([(0,K.property)()],W.prototype,"position",void 0);rt([(0,K.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);rt([(0,K.query)(".ft-tooltip--container")],W.prototype,"container",void 0);rt([(0,K.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);rt([(0,K.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);rt([(0,K.state)()],W.prototype,"visible",void 0);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onTouch",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onHover",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onOut",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,za.customElement)("ft-tooltip")(W);var Or=C(k());var wo=C(M()),et=C(Z()),Si=C(Ge()),No=C(k());var qa=C(k());var Za=C(M()),Y=C(Z()),Ya=C(Ge()),je=C(k());var Ka=C(M()),G=C(k()),Ha=G.FtCssVariableFactory.extend("--ft-ripple-color","",G.designSystemVariables.colorContent),S={color:Ha,backgroundColor:G.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ha),opacityContentOnSurfacePressed:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:G.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ua=G.FtCssVariableFactory.extend("--ft-ripple-color","",G.designSystemVariables.colorPrimary),Fa={color:Ua,backgroundColor:G.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ua)},Ga=G.FtCssVariableFactory.extend("--ft-ripple-color","",G.designSystemVariables.colorSecondary),ja={color:Ga,backgroundColor:G.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ga)},Va=Ka.css`
|
|
168
168
|
:host {
|
|
169
169
|
display: contents;
|
|
170
170
|
}
|
|
@@ -177,7 +177,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
177
177
|
|
|
178
178
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
179
179
|
overflow: hidden;
|
|
180
|
-
border-radius: ${
|
|
180
|
+
border-radius: ${S.borderRadius};
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.ft-ripple .ft-ripple--background,
|
|
@@ -211,27 +211,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.ft-ripple .ft-ripple--background {
|
|
214
|
-
background-color: ${
|
|
214
|
+
background-color: ${S.backgroundColor};
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.ft-ripple .ft-ripple--effect {
|
|
218
|
-
background-color: ${
|
|
218
|
+
background-color: ${S.color};
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
222
|
-
background-color: ${
|
|
222
|
+
background-color: ${ja.backgroundColor};
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
226
|
-
background-color: ${
|
|
226
|
+
background-color: ${ja.color};
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
230
|
-
background-color: ${
|
|
230
|
+
background-color: ${Fa.backgroundColor};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
234
|
-
background-color: ${
|
|
234
|
+
background-color: ${Fa.color};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple .ft-ripple--background {
|
|
@@ -261,33 +261,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
264
|
-
opacity: ${
|
|
264
|
+
opacity: ${S.opacityContentOnSurfaceHover};
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
268
|
-
opacity: ${
|
|
268
|
+
opacity: ${S.opacityContentOnSurfaceSelected};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
272
|
-
opacity: ${
|
|
272
|
+
opacity: ${S.opacityContentOnSurfaceFocused};
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
276
|
-
opacity: ${
|
|
276
|
+
opacity: ${S.opacityContentOnSurfacePressed};
|
|
277
277
|
transform: translate(-50%, -50%) scale(1);
|
|
278
278
|
}
|
|
279
|
-
`;var nt=function(
|
|
279
|
+
`;var nt=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},_=class extends je.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 je.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new je.Debouncer(10),this.moveRipple=o=>{var r,n;let{x:a,y:i}=this.getCoordinates(o),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(i!=null?i-l.y:l.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 Za.html`
|
|
280
280
|
<style>
|
|
281
281
|
.ft-ripple .ft-ripple--effect {
|
|
282
282
|
left: ${this.originX}px;
|
|
283
283
|
top: ${this.originY}px;
|
|
284
284
|
}
|
|
285
285
|
</style>
|
|
286
|
-
<div class="${(0,
|
|
286
|
+
<div class="${(0,Ya.classMap)(o)}">
|
|
287
287
|
<div class="ft-ripple--background"></div>
|
|
288
288
|
<div class="ft-ripple--effect"></div>
|
|
289
289
|
</div>
|
|
290
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>p=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=Vi;nt([(0,Z.property)({type:Boolean})],W.prototype,"primary",void 0);nt([(0,Z.property)({type:Boolean})],W.prototype,"secondary",void 0);nt([(0,Z.property)({type:Boolean})],W.prototype,"unbounded",void 0);nt([(0,Z.property)({type:Boolean})],W.prototype,"activated",void 0);nt([(0,Z.property)({type:Boolean})],W.prototype,"selected",void 0);nt([(0,Z.property)({type:Boolean})],W.prototype,"disabled",void 0);nt([(0,Z.state)()],W.prototype,"hovered",void 0);nt([(0,Z.state)()],W.prototype,"focused",void 0);nt([(0,Z.state)()],W.prototype,"pressed",void 0);nt([(0,Z.state)()],W.prototype,"rippling",void 0);nt([(0,Z.state)()],W.prototype,"originX",void 0);nt([(0,Z.state)()],W.prototype,"originY",void 0);nt([(0,Z.query)(".ft-ripple")],W.prototype,"ripple",void 0);nt([(0,Z.query)(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0);(0,qi.customElement)("ft-ripple")(W);var ra=S($());var Ke=S(B()),ne=S(V()),ea=S($()),oa=S(Ji());var we;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(we||(we={}));var v;(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=""})(v||(v={}));var ku=new Map([...["abw"].map(t=>[t,v.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,v.AUDIO]),...["avi"].map(t=>[t,v.AVI]),...["chm","xhs"].map(t=>[t,v.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,v.CODE]),...["csv"].map(t=>[t,v.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,v.DITA]),...["epub"].map(t=>[t,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,v.EXCEL]),...["flac"].map(t=>[t,v.FLAC]),...["gif"].map(t=>[t,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,v.GZIP]),...["html","htm","xhtml"].map(t=>[t,v.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,v.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,v.JPEG]),...["json"].map(t=>[t,v.JSON]),...["m4a","m4p"].map(t=>[t,v.M4A]),...["mov","qt"].map(t=>[t,v.MOV]),...["mp3"].map(t=>[t,v.MP3]),...["mp4","m4v"].map(t=>[t,v.MP4]),...["ogg","oga"].map(t=>[t,v.OGG]),...["pdf","ps"].map(t=>[t,v.PDF]),...["png"].map(t=>[t,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,v.POWERPOINT]),...["rar"].map(t=>[t,v.RAR]),...["stp"].map(t=>[t,v.STP]),...["txt","rtf","md","mdown"].map(t=>[t,v.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,v.VIDEO]),...["wav"].map(t=>[t,v.WAV]),...["wma"].map(t=>[t,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,v.WORD]),...["xml","xsl","rdf"].map(t=>[t,v.XML]),...["yaml","yml","x-yaml"].map(t=>[t,v.YAML]),...["zip"].map(t=>[t,v.ZIP])]);var Du={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Qi=S(B()),Dt=S($()),F={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")},ta=Qi.css`
|
|
290
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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 o,r;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...d)=>p=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&r("keyup")(d)},l={passive:!0};o.addEventListener("mouseover",this.startHover,l),o.addEventListener("mousemove",this.moveRipple,l),o.addEventListener("mouseleave",this.endHover,l),o.addEventListener("mousedown",n,l),o.addEventListener("touchstart",a,l),o.addEventListener("touchmove",this.moveRipple,l),o.addEventListener("keydown",i,l),o.addEventListener("focus",this.startFocus,l),o.addEventListener("blur",this.endFocus,l),o.addEventListener("focusin",this.startFocus,l),o.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,l),o.removeEventListener("mousemove",this.moveRipple,l),o.removeEventListener("mouseleave",this.endHover,l),o.removeEventListener("mousedown",n,l),o.removeEventListener("touchstart",a,l),o.removeEventListener("touchmove",this.moveRipple,l),o.removeEventListener("keydown",i,l),o.removeEventListener("focus",this.startFocus,l),o.removeEventListener("blur",this.endFocus,l),o.removeEventListener("focusin",this.startFocus,l),o.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,n=o,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};_.elementDefinitions={};_.styles=Va;nt([(0,Y.property)({type:Boolean})],_.prototype,"primary",void 0);nt([(0,Y.property)({type:Boolean})],_.prototype,"secondary",void 0);nt([(0,Y.property)({type:Boolean})],_.prototype,"unbounded",void 0);nt([(0,Y.property)({type:Boolean})],_.prototype,"activated",void 0);nt([(0,Y.property)({type:Boolean})],_.prototype,"selected",void 0);nt([(0,Y.property)({type:Boolean})],_.prototype,"disabled",void 0);nt([(0,Y.state)()],_.prototype,"hovered",void 0);nt([(0,Y.state)()],_.prototype,"focused",void 0);nt([(0,Y.state)()],_.prototype,"pressed",void 0);nt([(0,Y.state)()],_.prototype,"rippling",void 0);nt([(0,Y.state)()],_.prototype,"originX",void 0);nt([(0,Y.state)()],_.prototype,"originY",void 0);nt([(0,Y.query)(".ft-ripple")],_.prototype,"ripple",void 0);nt([(0,Y.query)(".ft-ripple--effect")],_.prototype,"rippleEffect",void 0);(0,qa.customElement)("ft-ripple")(_);var ri=C(k());var Ke=C(M()),ne=C(Z()),ei=C(k()),oi=C(Ja());var we;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.EYE="",e.SHARE="󨃱"})(we||(we={}));var O;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(O||(O={}));var Mu=new Map([...["abw"].map(e=>[e,O.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(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.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(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var Hu={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var Qa=C(M()),Wt=C(k()),j={size:Wt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Wt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ti=Qa.css`
|
|
291
291
|
:host, i.ft-icon {
|
|
292
292
|
display: inline-flex;
|
|
293
293
|
align-items: center;
|
|
@@ -296,14 +296,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
:host {
|
|
299
|
-
width: ${
|
|
300
|
-
height: ${
|
|
299
|
+
width: ${j.size};
|
|
300
|
+
height: ${j.size};
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
i.ft-icon {
|
|
304
304
|
width: 100%;
|
|
305
305
|
height: 100%;
|
|
306
|
-
font-size: ${
|
|
306
|
+
font-size: ${j.size};
|
|
307
307
|
line-height: 1;
|
|
308
308
|
font-weight: normal;
|
|
309
309
|
text-transform: none;
|
|
@@ -314,33 +314,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
314
314
|
text-rendering: auto;
|
|
315
315
|
-webkit-font-smoothing: antialiased;
|
|
316
316
|
-moz-osx-font-smoothing: grayscale;
|
|
317
|
-
vertical-align: ${
|
|
317
|
+
vertical-align: ${j.verticalAlign};
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
i.ft-icon.ft-icon--fluid-topics {
|
|
321
|
-
font-family: ${
|
|
321
|
+
font-family: ${j.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
322
322
|
|
|
323
323
|
/* Ugly fix because font is broken */
|
|
324
|
-
font-size: calc(0.75 * ${
|
|
325
|
-
line-height: ${
|
|
324
|
+
font-size: calc(0.75 * ${j.size});
|
|
325
|
+
line-height: ${j.size};
|
|
326
326
|
position: relative;
|
|
327
327
|
top: -4%;
|
|
328
328
|
justify-content: center;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
.ft-icon--file-format {
|
|
332
|
-
font-family: ${
|
|
332
|
+
font-family: ${j.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
.ft-icon--material {
|
|
336
|
-
font-family: ${
|
|
336
|
+
font-family: ${j.materialFontFamily}, "Material Icons", sans-serif;
|
|
337
337
|
}
|
|
338
|
-
`;var
|
|
339
|
-
<i class="ft-icon ft-icon--${
|
|
340
|
-
${(0,
|
|
338
|
+
`;var ht;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ht||(ht={}));var xo=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},q=class extends ei.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ke.nothing}render(){let o=this.variant&&Object.values(ht).includes(this.variant)?this.variant:ht.fluid_topics,r=o!==ht.material||!!this.value;return Ke.html`
|
|
339
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
340
|
+
${(0,oi.unsafeHTML)(this.resolvedIcon)}
|
|
341
341
|
<slot ?hidden=${r}></slot>
|
|
342
342
|
</i>
|
|
343
|
-
`}get textContent(){var
|
|
343
|
+
`}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let n=this.value||this.textContent;switch(this.variant){case ht.file_format:this.resolvedIcon=(o=O[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break;case ht.material:this.resolvedIcon=this.value||Ke.nothing;break;default:this.resolvedIcon=(r=we[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};q.elementDefinitions={};q.styles=ti;xo([(0,ne.property)()],q.prototype,"variant",void 0);xo([(0,ne.property)()],q.prototype,"value",void 0);xo([(0,ne.state)()],q.prototype,"resolvedIcon",void 0);xo([(0,ne.query)("slot")],q.prototype,"slottedContent",void 0);(0,ri.customElement)("ft-icon")(q);var Co=C(M()),I=C(k());var br=C(k());var Ze=C(Z()),yi=C(k());var li=C(M()),P=C(k());var ni=C(M()),Ve=C(k()),D={color:Ve.FtCssVariableFactory.extend("--ft-loader-color","",Ve.designSystemVariables.colorPrimary),size:Ve.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ai=ni.css`
|
|
344
344
|
:host {
|
|
345
345
|
line-height: 0;
|
|
346
346
|
}
|
|
@@ -349,8 +349,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
349
349
|
display: inline-block;
|
|
350
350
|
position: relative;
|
|
351
351
|
|
|
352
|
-
width: ${
|
|
353
|
-
height: ${
|
|
352
|
+
width: ${D.size};
|
|
353
|
+
height: ${D.size};
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.ft-loader div {
|
|
@@ -359,7 +359,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
359
359
|
width: 25%;
|
|
360
360
|
height: 25%;
|
|
361
361
|
border-radius: 50%;
|
|
362
|
-
background: ${
|
|
362
|
+
background: ${D.color};
|
|
363
363
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
364
364
|
}
|
|
365
365
|
|
|
@@ -406,10 +406,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
406
406
|
transform: translate(0, 0);
|
|
407
407
|
}
|
|
408
408
|
100% {
|
|
409
|
-
transform: translate(calc(0.35 * ${
|
|
409
|
+
transform: translate(calc(0.35 * ${D.size}), 0);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
`;var
|
|
412
|
+
`;var ii=P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorPrimary),H={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorSurface),borderRadius:P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusL),color:ii,fontSize:P.FtCssVariableFactory.extend("--ft-button-font-size","",Nt.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:P.FtCssVariableFactory.extend("--ft-button-ripple-color","",ii),verticalPadding:P.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},ci=P.FtCssVariableFactory.extend("--ft-button-primary-color","",P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorOnPrimary)),gr={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-primary-background-color","",P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorPrimary)),color:ci,rippleColor:P.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ci)},Rt={borderRadius:P.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusM)),verticalPadding:P.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},si=[li.css`
|
|
413
413
|
:host {
|
|
414
414
|
display: inline-block;
|
|
415
415
|
max-width: 100%;
|
|
@@ -420,7 +420,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
420
420
|
box-shadow: 0px 0px 0px transparent;
|
|
421
421
|
border: 0px solid transparent;
|
|
422
422
|
text-shadow: 0px 0px 0px transparent;
|
|
423
|
-
font-size: ${
|
|
423
|
+
font-size: ${H.fontSize};
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
button:hover {
|
|
@@ -449,31 +449,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
449
449
|
border: none;
|
|
450
450
|
pointer-events: auto;
|
|
451
451
|
|
|
452
|
-
--ft-button-internal-line-height: max(calc(${
|
|
453
|
-
--ft-button-internal-color: ${
|
|
454
|
-
${(0,
|
|
455
|
-
${(0,
|
|
452
|
+
--ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
|
|
453
|
+
--ft-button-internal-color: ${H.color};
|
|
454
|
+
${(0,P.setVariable)(j.size,H.iconSize)};
|
|
455
|
+
${(0,P.setVariable)(S.color,H.rippleColor)};
|
|
456
456
|
|
|
457
|
-
border-radius: ${
|
|
458
|
-
padding: ${
|
|
459
|
-
background-color: ${
|
|
457
|
+
border-radius: ${H.borderRadius};
|
|
458
|
+
padding: ${H.verticalPadding} ${H.horizontalPadding};
|
|
459
|
+
background-color: ${H.backgroundColor};
|
|
460
460
|
color: var(--ft-button-internal-color);
|
|
461
461
|
-webkit-mask-image: radial-gradient(white, black);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-button.ft-button--outlined {
|
|
465
465
|
border: 1px solid var(--ft-button-internal-color);
|
|
466
|
-
padding: calc(${
|
|
466
|
+
padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
.ft-button.ft-button--dense {
|
|
470
|
-
padding: ${
|
|
471
|
-
border-radius: ${
|
|
472
|
-
gap: ${
|
|
470
|
+
padding: ${Rt.verticalPadding} ${Rt.horizontalPadding};
|
|
471
|
+
border-radius: ${Rt.borderRadius};
|
|
472
|
+
gap: ${Rt.iconPadding};
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
476
|
-
padding: calc(${
|
|
476
|
+
padding: calc(${Rt.verticalPadding} - 1px) calc(${Rt.horizontalPadding} - 1px);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
.ft-button:not([disabled]):hover {
|
|
@@ -481,22 +481,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.ft-button--round {
|
|
484
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
484
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${H.verticalPadding});
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.ft-button--round.ft-button--dense {
|
|
488
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
488
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Rt.verticalPadding});
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button[disabled] {
|
|
492
492
|
filter: grayscale(1);
|
|
493
|
-
opacity: ${
|
|
493
|
+
opacity: ${H.opacityDisabled};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
.ft-button.ft-button--primary {
|
|
497
497
|
background-color: ${gr.backgroundColor};
|
|
498
498
|
--ft-button-internal-color: ${gr.color};
|
|
499
|
-
${(0,
|
|
499
|
+
${(0,P.setVariable)(S.color,gr.rippleColor)};
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.ft-button:focus {
|
|
@@ -509,13 +509,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
509
509
|
white-space: nowrap;
|
|
510
510
|
text-overflow: ellipsis;
|
|
511
511
|
display: block;
|
|
512
|
-
margin: 0 ${
|
|
513
|
-
${(0,
|
|
514
|
-
${(0,
|
|
512
|
+
margin: 0 ${H.iconPadding};
|
|
513
|
+
${(0,P.setVariable)(Nt.fontSize,"1em")};
|
|
514
|
+
${(0,P.setVariable)(Nt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.ft-button--dense .ft-button--label {
|
|
518
|
-
margin: 0 ${
|
|
518
|
+
margin: 0 ${Rt.iconPadding};
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
.ft-button--label[hidden] {
|
|
@@ -528,13 +528,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
.ft-button--label[hidden] + [part="icon"] {
|
|
531
|
-
margin: 0 calc(${
|
|
532
|
-
padding: 0 ${
|
|
531
|
+
margin: 0 calc(${H.horizontalPadding} * -1);
|
|
532
|
+
padding: 0 ${H.verticalPadding};
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
536
|
-
margin: 0 calc(${
|
|
537
|
-
padding: 0 ${
|
|
536
|
+
margin: 0 calc(${Rt.horizontalPadding} * -1);
|
|
537
|
+
padding: 0 ${Rt.verticalPadding};
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -542,20 +542,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
ft-loader {
|
|
545
|
-
${(0,
|
|
546
|
-
${(0,
|
|
545
|
+
${(0,P.setVariable)(D.size,H.iconSize)};
|
|
546
|
+
${(0,P.setVariable)(D.color,"var(--ft-button-internal-color)")};
|
|
547
547
|
}
|
|
548
|
-
`,
|
|
548
|
+
`,P.noTextSelect];var Ne=C(k());var pi=C(k());var di=C(M()),fi=C(k());var ae=class extends fi.FtLitElement{render(){return di.html`
|
|
549
549
|
<div class="ft-loader">
|
|
550
550
|
<div></div>
|
|
551
551
|
<div></div>
|
|
552
552
|
<div></div>
|
|
553
553
|
<div></div>
|
|
554
554
|
</div>
|
|
555
|
-
`}};
|
|
555
|
+
`}};ae.styles=ai;(0,pi.customElement)("ft-loader")(ae);var Ee=C(M()),ui=C(Ge()),X=C(Z()),at=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},U=class extends(0,Ne.toFtFormComponent)(Ne.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",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(Ee.html`
|
|
556
556
|
<button part="button"
|
|
557
|
-
class="${(0,
|
|
558
|
-
aria-label="${(
|
|
557
|
+
class="${(0,ui.classMap)(this.buttonClasses)}"
|
|
558
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
559
559
|
?disabled=${this.isDisabled()}>
|
|
560
560
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
561
561
|
<ft-typography part="label"
|
|
@@ -567,18 +567,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
567
567
|
</ft-typography>
|
|
568
568
|
${this.resolveIcon()}
|
|
569
569
|
</button>
|
|
570
|
-
`)}addTooltipIfNeeded(
|
|
570
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ee.html`
|
|
571
571
|
<ft-tooltip part="tooltip"
|
|
572
572
|
text="${this.getLabel()}"
|
|
573
573
|
position="${this.tooltipPosition}">
|
|
574
|
-
${
|
|
574
|
+
${o}
|
|
575
575
|
</ft-tooltip>
|
|
576
|
-
`:
|
|
576
|
+
`:o}resolveIcon(){return this.loading?Ee.html`
|
|
577
577
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Ee.html`
|
|
578
578
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
579
579
|
`:Ee.html`
|
|
580
580
|
<slot part="icon" name="icon"></slot>
|
|
581
|
-
`}focus(){var
|
|
581
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":_,"ft-tooltip":W,"ft-typography":tt,"ft-icon":q,"ft-loader":ae};at([(0,X.property)({type:String,reflect:!0})],U.prototype,"role",void 0);at([(0,X.property)()],U.prototype,"type",void 0);at([(0,X.property)({type:Boolean})],U.prototype,"disabled",void 0);at([(0,X.property)()],U.prototype,"label",void 0);at([(0,X.property)()],U.prototype,"icon",void 0);at([(0,X.property)()],U.prototype,"iconVariant",void 0);at([(0,X.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);at([(0,X.property)({type:Boolean})],U.prototype,"loading",void 0);at([(0,X.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);at([(0,X.property)()],U.prototype,"tooltipPosition",void 0);at([(0,X.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);at([(0,X.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);at([(0,X.query)(".ft-button")],U.prototype,"button",void 0);at([(0,X.query)(".ft-button--label slot")],U.prototype,"slottedContent",void 0);var vo=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},vt=class extends U{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"}};vt.styles=[yi.safariEllipsisFix,si];vo([(0,Ze.property)({type:Boolean})],vt.prototype,"primary",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"outlined",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"dense",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"round",void 0);var Ye=C(Z());var Oo=C(k());var hi=C(M()),x=C(k());var mi=[hi.css`
|
|
582
582
|
:host {
|
|
583
583
|
display: inline-block;
|
|
584
584
|
max-width: 100%;
|
|
@@ -628,7 +628,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
.ft-button:focus-visible {
|
|
631
|
-
outline-color: ${
|
|
631
|
+
outline-color: ${u.focusFocusRingColor};
|
|
632
632
|
outline-style: solid;
|
|
633
633
|
}
|
|
634
634
|
|
|
@@ -659,170 +659,391 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
659
659
|
border-radius: 50%;
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
/** Primary styles **/
|
|
662
|
+
/** Brand Primary styles **/
|
|
663
663
|
|
|
664
|
-
.ft-button--primary {
|
|
665
|
-
${(0,
|
|
664
|
+
.ftds--family-brand.ft-button--primary {
|
|
665
|
+
${(0,x.setVariable)(D.color,u.primaryBrandIconColor)};
|
|
666
666
|
|
|
667
|
-
${(0,
|
|
668
|
-
${(0,
|
|
669
|
-
${(0,
|
|
670
|
-
${(0,
|
|
671
|
-
${(0,
|
|
667
|
+
${(0,x.setVariable)(S.color,u.primaryBrandStateLayerColor)};
|
|
668
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
|
|
669
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
|
|
670
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
|
|
671
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
|
|
672
672
|
|
|
673
|
-
background-color: ${
|
|
674
|
-
color: ${
|
|
673
|
+
background-color: ${u.primaryBrandBackgroundColor};
|
|
674
|
+
color: ${u.primaryBrandColor};
|
|
675
675
|
border-style: none;
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
.ft-button--primary[disabled] {
|
|
679
|
-
opacity: ${
|
|
678
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
679
|
+
opacity: ${u.primaryBrandDisabledComponentOpacity};
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
.ft-button--primary ft-icon {
|
|
683
|
-
color: ${
|
|
682
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
683
|
+
color: ${u.primaryBrandIconColor};
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
/** Secondary styles **/
|
|
686
|
+
/** Brand Secondary styles **/
|
|
687
687
|
|
|
688
|
-
.ft-button--secondary {
|
|
689
|
-
${(0,
|
|
688
|
+
.ftds--family-brand.ft-button--secondary {
|
|
689
|
+
${(0,x.setVariable)(D.color,u.secondaryBrandIconColor)};
|
|
690
690
|
|
|
691
|
-
${(0,
|
|
692
|
-
${(0,
|
|
693
|
-
${(0,
|
|
694
|
-
${(0,
|
|
695
|
-
${(0,
|
|
691
|
+
${(0,x.setVariable)(S.color,u.secondaryBrandStateLayerColor)};
|
|
692
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
|
|
693
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
|
|
694
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
|
|
695
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
|
|
696
696
|
|
|
697
|
-
background-color: ${
|
|
698
|
-
color: ${
|
|
699
|
-
border-color: ${
|
|
697
|
+
background-color: ${u.secondaryBrandBackgroundColor};
|
|
698
|
+
color: ${u.secondaryBrandColor};
|
|
699
|
+
border-color: ${u.secondaryBrandBorderColor};
|
|
700
700
|
border-style: solid;
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
.ft-button--secondary[disabled] {
|
|
704
|
-
opacity: ${
|
|
703
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
704
|
+
opacity: ${u.secondaryBrandDisabledComponentOpacity};
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
.ft-button--secondary ft-icon {
|
|
708
|
-
color: ${
|
|
707
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
708
|
+
color: ${u.secondaryBrandIconColor};
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
/** Tertiary styles **/
|
|
711
|
+
/** Brand Tertiary styles **/
|
|
712
712
|
|
|
713
|
-
.ft-button--tertiary {
|
|
714
|
-
${(0,
|
|
713
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
714
|
+
${(0,x.setVariable)(D.color,u.tertiaryBrandIconColor)};
|
|
715
715
|
|
|
716
|
-
${(0,
|
|
717
|
-
${(0,
|
|
718
|
-
${(0,
|
|
719
|
-
${(0,
|
|
720
|
-
${(0,
|
|
716
|
+
${(0,x.setVariable)(S.color,u.tertiaryBrandStateLayerColor)};
|
|
717
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
|
|
718
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
|
|
719
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
720
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
721
721
|
|
|
722
|
-
background-color: ${
|
|
723
|
-
color: ${
|
|
722
|
+
background-color: ${u.tertiaryBrandBackgroundColor};
|
|
723
|
+
color: ${u.tertiaryBrandColor};
|
|
724
724
|
border-style: none;
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
.ft-button--tertiary[disabled] {
|
|
728
|
-
opacity: ${
|
|
727
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
728
|
+
opacity: ${u.tertiaryBrandDisabledComponentOpacity};
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
.ft-button--tertiary ft-icon {
|
|
732
|
-
color: ${
|
|
731
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
732
|
+
color: ${u.tertiaryBrandIconColor};
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
-
/** Neutral styles **/
|
|
735
|
+
/** Neutral Secondary styles **/
|
|
736
736
|
|
|
737
|
-
.ftds--family-neutral {
|
|
738
|
-
${(0,
|
|
737
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
738
|
+
${(0,x.setVariable)(D.color,u.secondaryNeutralIconColor)};
|
|
739
|
+
|
|
740
|
+
${(0,x.setVariable)(S.backgroundColor,u.secondaryNeutralStateLayerColor)};
|
|
741
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
|
|
742
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
|
|
743
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
744
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
745
|
+
|
|
746
|
+
background-color: ${u.secondaryNeutralBackgroundColor};
|
|
747
|
+
color: ${u.secondaryNeutralColor};
|
|
748
|
+
border-color: ${u.secondaryNeutralBorderColor};
|
|
749
|
+
border-style: solid;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
753
|
+
opacity: ${u.secondaryNeutralDisabledComponentOpacity};
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
757
|
+
color: ${u.secondaryNeutralIconColor};
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/** Neutral Tertiary styles **/
|
|
761
|
+
|
|
762
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
763
|
+
${(0,x.setVariable)(D.color,u.tertiaryNeutralIconColor)};
|
|
764
|
+
|
|
765
|
+
${(0,x.setVariable)(S.backgroundColor,u.tertiaryNeutralStateLayerColor)};
|
|
766
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
|
|
767
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
|
|
768
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
769
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
770
|
+
|
|
771
|
+
background-color: ${u.tertiaryNeutralBackgroundColor};
|
|
772
|
+
color: ${u.tertiaryNeutralColor};
|
|
773
|
+
border-style: none;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
777
|
+
opacity: ${u.tertiaryNeutralDisabledComponentOpacity};
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
781
|
+
color: ${u.tertiaryNeutralIconColor};
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/** Info Secondary styles **/
|
|
785
|
+
|
|
786
|
+
.ftds--family-info.ft-button--secondary {
|
|
787
|
+
${(0,x.setVariable)(D.color,u.secondaryInfoIconColor)};
|
|
788
|
+
|
|
789
|
+
${(0,x.setVariable)(S.backgroundColor,u.secondaryInfoStateLayerColor)};
|
|
790
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
|
|
791
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
|
|
792
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
|
|
793
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
|
|
794
|
+
|
|
795
|
+
background-color: ${u.secondaryInfoBackgroundColor};
|
|
796
|
+
color: ${u.secondaryInfoColor};
|
|
797
|
+
border-color: ${u.secondaryInfoBorderColor};
|
|
798
|
+
border-style: solid;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
802
|
+
opacity: ${u.secondaryInfoDisabledComponentOpacity};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
806
|
+
color: ${u.secondaryInfoIconColor};
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/** Info Tertiary styles **/
|
|
810
|
+
|
|
811
|
+
.ftds--family-info.ft-button--tertiary {
|
|
812
|
+
${(0,x.setVariable)(D.color,u.tertiaryInfoIconColor)};
|
|
813
|
+
|
|
814
|
+
${(0,x.setVariable)(S.backgroundColor,u.tertiaryInfoStateLayerColor)};
|
|
815
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
|
|
816
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
|
|
817
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
818
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
819
|
+
|
|
820
|
+
background-color: ${u.tertiaryInfoBackgroundColor};
|
|
821
|
+
color: ${u.tertiaryInfoColor};
|
|
822
|
+
border-style: none;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
826
|
+
opacity: ${u.tertiaryInfoDisabledComponentOpacity};
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
830
|
+
color: ${u.tertiaryInfoIconColor};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** Success Secondary styles **/
|
|
834
|
+
|
|
835
|
+
.ftds--family-success.ft-button--secondary {
|
|
836
|
+
${(0,x.setVariable)(D.color,u.secondarySuccessIconColor)};
|
|
837
|
+
|
|
838
|
+
${(0,x.setVariable)(S.backgroundColor,u.secondarySuccessStateLayerColor)};
|
|
839
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
|
|
840
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
|
|
841
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
|
|
842
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
|
|
843
|
+
|
|
844
|
+
background-color: ${u.secondarySuccessBackgroundColor};
|
|
845
|
+
color: ${u.secondarySuccessColor};
|
|
846
|
+
border-color: ${u.secondarySuccessBorderColor};
|
|
847
|
+
border-style: solid;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
851
|
+
opacity: ${u.secondarySuccessDisabledComponentOpacity};
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
855
|
+
color: ${u.secondarySuccessIconColor};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/** Success Tertiary styles **/
|
|
859
|
+
|
|
860
|
+
.ftds--family-success.ft-button--tertiary {
|
|
861
|
+
${(0,x.setVariable)(D.color,u.tertiarySuccessIconColor)};
|
|
862
|
+
|
|
863
|
+
${(0,x.setVariable)(S.backgroundColor,u.tertiarySuccessStateLayerColor)};
|
|
864
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
|
|
865
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
|
|
866
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
867
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
868
|
+
|
|
869
|
+
background-color: ${u.tertiarySuccessBackgroundColor};
|
|
870
|
+
color: ${u.tertiarySuccessColor};
|
|
871
|
+
border-style: none;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
875
|
+
opacity: ${u.tertiarySuccessDisabledComponentOpacity};
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
879
|
+
color: ${u.tertiarySuccessIconColor};
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/** Warning Secondary styles **/
|
|
883
|
+
|
|
884
|
+
.ftds--family-warning.ft-button--secondary {
|
|
885
|
+
${(0,x.setVariable)(D.color,u.secondaryWarningIconColor)};
|
|
886
|
+
|
|
887
|
+
${(0,x.setVariable)(S.backgroundColor,u.secondaryWarningStateLayerColor)};
|
|
888
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
|
|
889
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
|
|
890
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
|
|
891
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
|
|
892
|
+
|
|
893
|
+
background-color: ${u.secondaryWarningBackgroundColor};
|
|
894
|
+
color: ${u.secondaryWarningColor};
|
|
895
|
+
border-color: ${u.secondaryWarningBorderColor};
|
|
896
|
+
border-style: solid;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
900
|
+
opacity: ${u.secondaryWarningDisabledComponentOpacity};
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
904
|
+
color: ${u.secondaryWarningIconColor};
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/** Warning Tertiary styles **/
|
|
908
|
+
|
|
909
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
910
|
+
${(0,x.setVariable)(D.color,u.tertiaryWarningIconColor)};
|
|
911
|
+
|
|
912
|
+
${(0,x.setVariable)(S.backgroundColor,u.tertiaryWarningStateLayerColor)};
|
|
913
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
|
|
914
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
|
|
915
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
916
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
917
|
+
|
|
918
|
+
background-color: ${u.tertiaryWarningBackgroundColor};
|
|
919
|
+
color: ${u.tertiaryWarningColor};
|
|
920
|
+
border-style: none;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
924
|
+
opacity: ${u.tertiaryWarningDisabledComponentOpacity};
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
928
|
+
color: ${u.tertiaryWarningIconColor};
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/** Error Secondary styles **/
|
|
932
|
+
|
|
933
|
+
.ftds--family-error.ft-button--secondary {
|
|
934
|
+
${(0,x.setVariable)(D.color,u.secondaryErrorIconColor)};
|
|
935
|
+
|
|
936
|
+
${(0,x.setVariable)(S.backgroundColor,u.secondaryErrorStateLayerColor)};
|
|
937
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
|
|
938
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
|
|
939
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
|
|
940
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
|
|
941
|
+
|
|
942
|
+
background-color: ${u.secondaryErrorBackgroundColor};
|
|
943
|
+
color: ${u.secondaryErrorColor};
|
|
944
|
+
border-color: ${u.secondaryErrorBorderColor};
|
|
945
|
+
border-style: solid;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
949
|
+
opacity: ${u.secondaryErrorDisabledComponentOpacity};
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
953
|
+
color: ${u.secondaryErrorIconColor};
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/** Error Tertiary styles **/
|
|
957
|
+
|
|
958
|
+
.ftds--family-error.ft-button--tertiary {
|
|
959
|
+
${(0,x.setVariable)(D.color,u.tertiaryErrorIconColor)};
|
|
739
960
|
|
|
740
|
-
${(0,
|
|
741
|
-
${(0,
|
|
742
|
-
${(0,
|
|
743
|
-
${(0,
|
|
744
|
-
${(0,
|
|
961
|
+
${(0,x.setVariable)(S.backgroundColor,u.tertiaryErrorStateLayerColor)};
|
|
962
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
|
|
963
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
|
|
964
|
+
${(0,x.setVariable)(S.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
965
|
+
${(0,x.setVariable)(S.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
745
966
|
|
|
746
|
-
background-color: ${
|
|
747
|
-
color: ${
|
|
967
|
+
background-color: ${u.tertiaryErrorBackgroundColor};
|
|
968
|
+
color: ${u.tertiaryErrorColor};
|
|
748
969
|
border-style: none;
|
|
749
970
|
}
|
|
750
971
|
|
|
751
|
-
.ftds--family-
|
|
752
|
-
opacity: ${
|
|
972
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
973
|
+
opacity: ${u.tertiaryErrorDisabledComponentOpacity};
|
|
753
974
|
}
|
|
754
975
|
|
|
755
|
-
.ftds--family-
|
|
756
|
-
color: ${
|
|
976
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
977
|
+
color: ${u.tertiaryErrorIconColor};
|
|
757
978
|
}
|
|
758
979
|
|
|
759
980
|
/** Large styles **/
|
|
760
981
|
|
|
761
982
|
.ftds--size-large {
|
|
762
|
-
${(0,
|
|
763
|
-
${(0,
|
|
983
|
+
${(0,x.setVariable)(j.size,u.largeIconSize)};
|
|
984
|
+
${(0,x.setVariable)(D.size,u.largeIconSize)};
|
|
764
985
|
|
|
765
|
-
height: ${
|
|
766
|
-
padding: 0 ${
|
|
767
|
-
gap: ${
|
|
768
|
-
border-radius: ${
|
|
769
|
-
border-width: ${
|
|
986
|
+
height: ${u.largeHeight};
|
|
987
|
+
padding: 0 ${u.largeHorizontalPadding};
|
|
988
|
+
gap: ${u.largeGap};
|
|
989
|
+
border-radius: ${u.largeBorderRadius};
|
|
990
|
+
border-width: ${u.largeBorderWidth};
|
|
770
991
|
}
|
|
771
992
|
|
|
772
993
|
.ftds--size-large:focus-visible {
|
|
773
|
-
outline-width: ${
|
|
774
|
-
outline-offset: ${
|
|
994
|
+
outline-width: ${u.largeFocusOutlineWidth};
|
|
995
|
+
outline-offset: ${u.largeFocusOutlineOffset};
|
|
775
996
|
}
|
|
776
997
|
|
|
777
998
|
.ftds--size-large.ft-button--icon-only {
|
|
778
|
-
width: ${
|
|
999
|
+
width: ${u.largeIconOnlyWidth};
|
|
779
1000
|
}
|
|
780
1001
|
|
|
781
1002
|
/** Small styles **/
|
|
782
1003
|
|
|
783
1004
|
.ftds--size-medium {
|
|
784
|
-
${(0,
|
|
785
|
-
${(0,
|
|
1005
|
+
${(0,x.setVariable)(j.size,u.mediumIconSize)};
|
|
1006
|
+
${(0,x.setVariable)(D.size,u.mediumIconSize)};
|
|
786
1007
|
|
|
787
|
-
height: ${
|
|
788
|
-
padding: 0 ${
|
|
789
|
-
gap: ${
|
|
790
|
-
border-radius: ${
|
|
791
|
-
border-width: ${
|
|
1008
|
+
height: ${u.mediumHeight};
|
|
1009
|
+
padding: 0 ${u.mediumHorizontalPadding};
|
|
1010
|
+
gap: ${u.mediumGap};
|
|
1011
|
+
border-radius: ${u.mediumBorderRadius};
|
|
1012
|
+
border-width: ${u.mediumBorderWidth};
|
|
792
1013
|
}
|
|
793
1014
|
|
|
794
1015
|
.ftds--size-medium:focus-visible {
|
|
795
|
-
outline-width: ${
|
|
796
|
-
outline-offset: ${
|
|
1016
|
+
outline-width: ${u.mediumFocusOutlineWidth};
|
|
1017
|
+
outline-offset: ${u.mediumFocusOutlineOffset};
|
|
797
1018
|
}
|
|
798
1019
|
|
|
799
1020
|
.ftds--size-medium.ft-button--icon-only {
|
|
800
|
-
width: ${
|
|
1021
|
+
width: ${u.mediumIconOnlyWidth};
|
|
801
1022
|
}
|
|
802
1023
|
|
|
803
1024
|
|
|
804
1025
|
/** Small styles **/
|
|
805
1026
|
|
|
806
1027
|
.ftds--size-small {
|
|
807
|
-
${(0,
|
|
808
|
-
${(0,
|
|
1028
|
+
${(0,x.setVariable)(j.size,u.smallIconSize)};
|
|
1029
|
+
${(0,x.setVariable)(D.size,u.smallIconSize)};
|
|
809
1030
|
|
|
810
|
-
height: ${
|
|
811
|
-
padding: 0 ${
|
|
812
|
-
gap: ${
|
|
813
|
-
border-radius: ${
|
|
814
|
-
border-width: ${
|
|
1031
|
+
height: ${u.smallHeight};
|
|
1032
|
+
padding: 0 ${u.smallHorizontalPadding};
|
|
1033
|
+
gap: ${u.smallGap};
|
|
1034
|
+
border-radius: ${u.smallBorderRadius};
|
|
1035
|
+
border-width: ${u.smallBorderWidth};
|
|
815
1036
|
}
|
|
816
1037
|
|
|
817
1038
|
.ftds--size-small:focus-visible {
|
|
818
|
-
outline-width: ${
|
|
819
|
-
outline-offset: ${
|
|
1039
|
+
outline-width: ${u.smallFocusOutlineWidth};
|
|
1040
|
+
outline-offset: ${u.smallFocusOutlineOffset};
|
|
820
1041
|
}
|
|
821
1042
|
|
|
822
1043
|
.ftds--size-small.ft-button--icon-only {
|
|
823
|
-
width: ${
|
|
1044
|
+
width: ${u.smallIconOnlyWidth};
|
|
824
1045
|
}
|
|
825
|
-
`,
|
|
1046
|
+
`,x.noTextSelect];var So=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},St=class extends(0,Oo.toFtdsBase)(U){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=ht.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 Q.large:return ut.body2medium;case Q.medium:return ut.caption1medium;case Q.small:return ut.caption2medium}}};St.styles=[Oo.safariEllipsisFix,mi];So([(0,Ye.property)({type:Boolean})],St.prototype,"primary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"secondary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"tertiary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"round",void 0);(0,br.customElement)("ft-button")(vt);(0,br.customElement)("ftds-button")(St);var gi=I.FtCssVariableFactory.extend("--ft-chip-color","",I.designSystemVariables.colorOnSurface),mt={backgroundColor:I.FtCssVariableFactory.extend("--ft-chip-background-color","",I.designSystemVariables.colorSurface),color:gi,fontSize:I.FtCssVariableFactory.extend("--ft-chip-font-size","",Et.fontSize),iconSize:I.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:I.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:I.FtCssVariableFactory.extend("--ft-chip-ripple-color","",gi),horizontalPadding:I.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:I.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:I.FtCssVariableFactory.external(I.designSystemVariables.colorOutline,"Design system"),opacityDisabled:I.FtCssVariableFactory.external(I.designSystemVariables.colorOpacityDisabled,"Design system")},bi=I.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",I.FtCssVariableFactory.extend("--ft-chip-color","",I.designSystemVariables.colorOnPrimary)),xr={backgroundColor:I.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",I.FtCssVariableFactory.extend("--ft-chip-background-color","",I.designSystemVariables.colorPrimary)),color:bi,rippleColor:I.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bi)},xi={horizontalPadding:I.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:I.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},vi=[I.noTextSelect,Co.css`
|
|
826
1047
|
:host {
|
|
827
1048
|
display: inline-block;
|
|
828
1049
|
max-width: 100%;
|
|
@@ -838,20 +1059,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
838
1059
|
box-sizing: border-box;
|
|
839
1060
|
pointer-events: auto;
|
|
840
1061
|
|
|
841
|
-
--ft-chip-internal-font-size: ${
|
|
1062
|
+
--ft-chip-internal-font-size: ${mt.fontSize};
|
|
842
1063
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
843
|
-
${(0,
|
|
844
|
-
--ft-chip-internal-vertical-padding: ${
|
|
845
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1064
|
+
${(0,I.setVariable)(j.size,mt.iconSize)};
|
|
1065
|
+
--ft-chip-internal-vertical-padding: ${mt.verticalPadding};
|
|
1066
|
+
--ft-chip-internal-horizontal-padding: ${mt.horizontalPadding};
|
|
846
1067
|
--ft-chip-internal-icon-padding: 3px;
|
|
847
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
1068
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${mt.iconSize});
|
|
848
1069
|
|
|
849
|
-
border: 1px solid ${
|
|
850
|
-
color: ${
|
|
851
|
-
${(0,
|
|
852
|
-
border-radius: var(${(0,Co.unsafeCSS)(
|
|
1070
|
+
border: 1px solid ${mt.colorOutline};
|
|
1071
|
+
color: ${mt.color};
|
|
1072
|
+
${(0,I.setVariable)(S.color,mt.rippleColor)};
|
|
1073
|
+
border-radius: var(${(0,Co.unsafeCSS)(mt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
853
1074
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
854
|
-
background-color: ${
|
|
1075
|
+
background-color: ${mt.backgroundColor};
|
|
855
1076
|
line-height: var(--ft-chip-internal-content-height);
|
|
856
1077
|
}
|
|
857
1078
|
|
|
@@ -861,8 +1082,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
861
1082
|
|
|
862
1083
|
.ft-chip--dense {
|
|
863
1084
|
--ft-chip-internal-icon-padding: 3px;
|
|
864
|
-
--ft-chip-internal-vertical-padding: ${
|
|
865
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1085
|
+
--ft-chip-internal-vertical-padding: ${xi.verticalPadding};
|
|
1086
|
+
--ft-chip-internal-horizontal-padding: ${xi.horizontalPadding};
|
|
866
1087
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
867
1088
|
}
|
|
868
1089
|
|
|
@@ -874,14 +1095,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
874
1095
|
cursor: default;
|
|
875
1096
|
pointer-events: none;
|
|
876
1097
|
filter: grayscale(1);
|
|
877
|
-
opacity: ${
|
|
1098
|
+
opacity: ${mt.opacityDisabled};
|
|
878
1099
|
}
|
|
879
1100
|
|
|
880
1101
|
.ft-chip--highlighted {
|
|
881
1102
|
border: none;
|
|
882
1103
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
883
1104
|
background-color: ${xr.backgroundColor};
|
|
884
|
-
${(0,
|
|
1105
|
+
${(0,I.setVariable)(S.color,xr.rippleColor)};
|
|
885
1106
|
color: ${xr.color};
|
|
886
1107
|
}
|
|
887
1108
|
|
|
@@ -912,9 +1133,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
912
1133
|
}
|
|
913
1134
|
|
|
914
1135
|
.ft-chip--icon-button {
|
|
915
|
-
${(0,
|
|
916
|
-
${(0,
|
|
917
|
-
${(0,
|
|
1136
|
+
${(0,I.setVariable)(H.iconSize,mt.iconSize)};
|
|
1137
|
+
${(0,I.setVariable)(H.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1138
|
+
${(0,I.setVariable)(H.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
918
1139
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
919
1140
|
}
|
|
920
1141
|
|
|
@@ -922,8 +1143,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
922
1143
|
vertical-align: bottom;
|
|
923
1144
|
display: block;
|
|
924
1145
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
925
|
-
${(0,
|
|
926
|
-
${(0,
|
|
1146
|
+
${(0,I.setVariable)(Et.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1147
|
+
${(0,I.setVariable)(Et.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
927
1148
|
}
|
|
928
1149
|
|
|
929
1150
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -959,8 +1180,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
959
1180
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
960
1181
|
order: -1;
|
|
961
1182
|
}
|
|
962
|
-
`];var st=function(
|
|
963
|
-
<div class="${(0,
|
|
1183
|
+
`];var st=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Eo=class extends CustomEvent{constructor(){super("icon-click")}},F=class extends No.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 o={"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":No.isSafari};return wo.html`
|
|
1184
|
+
<div class="${(0,Si.classMap)(o)}"
|
|
964
1185
|
aria-label="${this.getLabel()}"
|
|
965
1186
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
966
1187
|
@keyup=${this.onKeyUp}
|
|
@@ -985,7 +1206,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
985
1206
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
986
1207
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
987
1208
|
</div>
|
|
988
|
-
`}onKeyUp(
|
|
1209
|
+
`}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new Eo))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new Eo))}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};F.elementDefinitions={"ft-ripple":_,"ft-typography":tt,"ft-icon":q,"ft-button":vt};F.styles=vi;st([(0,et.property)({type:Boolean})],F.prototype,"highlighted",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"removable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"disabled",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"clickable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"iconClickable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"dense",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"multiLine",void 0);st([(0,et.property)()],F.prototype,"label",void 0);st([(0,et.property)()],F.prototype,"iconLabel",void 0);st([(0,et.property)()],F.prototype,"icon",void 0);st([(0,et.property)()],F.prototype,"iconVariant",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"trailingIcon",void 0);st([(0,et.query)("ft-typography slot")],F.prototype,"slottedContent",void 0);var ie=C(M()),ce=C(Z()),wi=C(Ge()),Ao=C(k());var Oi=C(M());var vr=C(k());var Ci=[Oi.css`
|
|
989
1210
|
:host {
|
|
990
1211
|
display: inline-block;
|
|
991
1212
|
max-width: 100%;
|
|
@@ -1003,96 +1224,96 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1003
1224
|
|
|
1004
1225
|
/* MEDIUM VARIANT */
|
|
1005
1226
|
.ftds--size-medium {
|
|
1006
|
-
min-height: ${
|
|
1007
|
-
padding: 0 ${
|
|
1008
|
-
border-radius: ${
|
|
1009
|
-
border-width: ${
|
|
1227
|
+
min-height: ${$.mediumMinHeight};
|
|
1228
|
+
padding: 0 ${$.mediumHorizontalPadding};
|
|
1229
|
+
border-radius: ${$.mediumBorderRadius};
|
|
1230
|
+
border-width: ${$.mediumBorderWidth};
|
|
1010
1231
|
border-style: solid;
|
|
1011
|
-
gap: ${
|
|
1012
|
-
${(0,vr.setVariable)(
|
|
1232
|
+
gap: ${$.mediumGap};
|
|
1233
|
+
${(0,vr.setVariable)(j.size,$.mediumIconSize)}
|
|
1013
1234
|
}
|
|
1014
1235
|
|
|
1015
1236
|
.ftds--size-medium.ftds-chip--removable {
|
|
1016
|
-
padding-right: ${
|
|
1237
|
+
padding-right: ${$.mediumButtonRightPadding};
|
|
1017
1238
|
}
|
|
1018
1239
|
|
|
1019
1240
|
|
|
1020
1241
|
/* LARGE VARIANT */
|
|
1021
1242
|
.ftds--size-large {
|
|
1022
|
-
min-height: ${
|
|
1023
|
-
padding: 0 ${
|
|
1024
|
-
border-radius: ${
|
|
1025
|
-
border-width: ${
|
|
1243
|
+
min-height: ${$.largeMinHeight};
|
|
1244
|
+
padding: 0 ${$.largeHorizontalPadding};
|
|
1245
|
+
border-radius: ${$.largeBorderRadius};
|
|
1246
|
+
border-width: ${$.largeBorderWidth};
|
|
1026
1247
|
border-style: solid;
|
|
1027
|
-
gap: ${
|
|
1028
|
-
${(0,vr.setVariable)(
|
|
1248
|
+
gap: ${$.largeGap};
|
|
1249
|
+
${(0,vr.setVariable)(j.size,$.largeIconSize)}
|
|
1029
1250
|
}
|
|
1030
1251
|
|
|
1031
1252
|
.ftds--size-large.ftds-chip--removable {
|
|
1032
|
-
padding-right: ${
|
|
1253
|
+
padding-right: ${$.largeButtonRightPadding};
|
|
1033
1254
|
}
|
|
1034
1255
|
|
|
1035
1256
|
|
|
1036
1257
|
/* NEUTRAL COLORS */
|
|
1037
1258
|
.ftds--family-neutral {
|
|
1038
|
-
background-color: ${
|
|
1039
|
-
border-color: ${
|
|
1040
|
-
color: ${
|
|
1259
|
+
background-color: ${$.neutralBackgroundColor};
|
|
1260
|
+
border-color: ${$.neutralBorderColor};
|
|
1261
|
+
color: ${$.neutralColor};
|
|
1041
1262
|
}
|
|
1042
1263
|
|
|
1043
1264
|
.ftds--family-neutral .ftds-chip--icon-container {
|
|
1044
|
-
color: ${
|
|
1265
|
+
color: ${$.neutralIconColor};
|
|
1045
1266
|
}
|
|
1046
1267
|
|
|
1047
1268
|
|
|
1048
1269
|
/* INFO COLORS */
|
|
1049
1270
|
.ftds--family-info {
|
|
1050
|
-
background-color: ${
|
|
1051
|
-
border-color: ${
|
|
1052
|
-
color: ${
|
|
1271
|
+
background-color: ${$.infoBackgroundColor};
|
|
1272
|
+
border-color: ${$.infoBorderColor};
|
|
1273
|
+
color: ${$.infoColor};
|
|
1053
1274
|
}
|
|
1054
1275
|
|
|
1055
1276
|
.ftds--family-info .ftds-chip--icon-container {
|
|
1056
|
-
color: ${
|
|
1277
|
+
color: ${$.infoIconColor};
|
|
1057
1278
|
}
|
|
1058
1279
|
|
|
1059
1280
|
|
|
1060
1281
|
/* SUCCESS COLORS */
|
|
1061
1282
|
.ftds--family-success {
|
|
1062
|
-
background-color: ${
|
|
1063
|
-
border-color: ${
|
|
1064
|
-
color: ${
|
|
1283
|
+
background-color: ${$.successBackgroundColor};
|
|
1284
|
+
border-color: ${$.successBorderColor};
|
|
1285
|
+
color: ${$.successColor};
|
|
1065
1286
|
}
|
|
1066
1287
|
|
|
1067
1288
|
.ftds--family-success .ftds-chip--icon-container {
|
|
1068
|
-
color: ${
|
|
1289
|
+
color: ${$.successIconColor};
|
|
1069
1290
|
}
|
|
1070
1291
|
|
|
1071
1292
|
|
|
1072
1293
|
/* WARNING COLORS */
|
|
1073
1294
|
.ftds--family-warning {
|
|
1074
|
-
background-color: ${
|
|
1075
|
-
border-color: ${
|
|
1076
|
-
color: ${
|
|
1295
|
+
background-color: ${$.warningBackgroundColor};
|
|
1296
|
+
border-color: ${$.warningBorderColor};
|
|
1297
|
+
color: ${$.warningColor};
|
|
1077
1298
|
}
|
|
1078
1299
|
|
|
1079
1300
|
.ftds--family-warning .ftds-chip--icon-container {
|
|
1080
|
-
color: ${
|
|
1301
|
+
color: ${$.warningIconColor};
|
|
1081
1302
|
}
|
|
1082
1303
|
|
|
1083
1304
|
|
|
1084
1305
|
/* ERROR COLORS */
|
|
1085
1306
|
.ftds--family-error {
|
|
1086
|
-
background-color: ${
|
|
1087
|
-
border-color: ${
|
|
1088
|
-
color: ${
|
|
1307
|
+
background-color: ${$.errorBackgroundColor};
|
|
1308
|
+
border-color: ${$.errorBorderColor};
|
|
1309
|
+
color: ${$.errorColor};
|
|
1089
1310
|
}
|
|
1090
1311
|
|
|
1091
1312
|
.ftds--family-error .ftds-chip--icon-container {
|
|
1092
|
-
color: ${
|
|
1313
|
+
color: ${$.errorIconColor};
|
|
1093
1314
|
}
|
|
1094
|
-
`];var qe=function(
|
|
1095
|
-
<div class="${(0,
|
|
1315
|
+
`];var qe=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Sr=class extends CustomEvent{constructor(){super("remove")}},Ot=class extends Ao.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let o={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return ie.html`
|
|
1316
|
+
<div class="${(0,wi.classMap)(o)}"
|
|
1096
1317
|
aria-label="${this.getLabel()}"
|
|
1097
1318
|
part="chip">
|
|
1098
1319
|
${this.renderIcon()}
|
|
@@ -1101,45 +1322,45 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1101
1322
|
</ft-typography>
|
|
1102
1323
|
${this.renderRemoveButton()}
|
|
1103
1324
|
</div>
|
|
1104
|
-
`}renderIcon(){return this.icon?
|
|
1325
|
+
`}renderIcon(){return this.icon?ie.html`
|
|
1105
1326
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
1106
|
-
<ft-icon .variant=${
|
|
1327
|
+
<ft-icon .variant=${ht.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
1107
1328
|
</div>
|
|
1108
|
-
`:
|
|
1329
|
+
`:ie.nothing}renderRemoveButton(){return this.removable?ie.html`
|
|
1109
1330
|
<ftds-button round
|
|
1110
1331
|
class="ftds-chip--remove-button"
|
|
1111
1332
|
@click=${this.dispatchRemoveEvent}
|
|
1112
1333
|
icon=${we.X_MARK}
|
|
1113
1334
|
label=${this.removeButtonLabel}
|
|
1114
|
-
family=${
|
|
1335
|
+
family=${Ao.DesignSystemFamily.neutral}
|
|
1115
1336
|
size=${this.resolveButtonSize()}
|
|
1116
1337
|
part="icon-button"
|
|
1117
1338
|
></ftds-button>
|
|
1118
|
-
`:ae.nothing}resolveButtonSize(){switch(this.size){case J.large:return J.medium;case J.medium:case J.small:return J.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sr)}typographyVariant(){switch(this.size){case J.large:return ut.body2medium;case J.medium:return ut.caption1medium;case J.small:return ut.caption2medium}}};Ot.elementDefinitions={"ft-typography":Q,"ft-icon":Y,"ftds-button":St};Ot.styles=Ca;qe([(0,ce.property)({type:Boolean})],Ot.prototype,"removable",void 0);qe([(0,ce.property)()],Ot.prototype,"removeButtonLabel",void 0);qe([(0,ce.property)()],Ot.prototype,"label",void 0);qe([(0,ce.property)()],Ot.prototype,"icon",void 0);qe([(0,ce.query)("ft-typography slot")],Ot.prototype,"slottedContent",void 0);(0,Or.customElement)("ft-chip")(H);(0,Or.customElement)("ftds-chip")(Ot);var qr=S(V());function qc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ao(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ao(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ao(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ao(t,e){try{return qc(t,e)}catch{return!1}}function Po(t,e){return!Ao(t,e)}var Ea=S(V(),1);var Cr=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Po,attribute:!1,...e};(0,Ea.property)(a)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}};var Lo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Xe=S(V(),1);var Na=S(V(),1);function Ra(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Na.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Po,...e??{}})}var Io=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Pa=S(B(),1);var To=window,Xc=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sm=Symbol();var Aa=(t,e)=>{Xc?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var _o=class extends Pa.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Aa(n,e.elementStyles),n}};var $o=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_a,La=Symbol("constructorPrototype"),Ia=Symbol("constructorName"),$a=Symbol("exportpartsDebouncer"),Ta=Symbol("dynamicDependenciesLoaded"),Ft=class extends _o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_a]=new Io(5),this[Ia]=this.constructor.name,this[La]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ia]&&Object.setPrototypeOf(this,this[La])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ta]||(e[Ta]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[$a].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,c,s;let p=m=>m!=null&&m.trim().length>0,f=e.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(s=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(b=>b.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...g,...y).filter(p).map(b=>b.trim()).forEach(b=>u.add(b))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};_a=$a;$o([(0,Xe.property)()],Ft.prototype,"exportpartsPrefix",void 0);$o([Ra([])],Ft.prototype,"exportpartsPrefixes",void 0);$o([(0,Xe.property)()],Ft.prototype,"customStylesheet",void 0);$o([(0,Xe.state)()],Ft.prototype,"useAdoptedStyleSheets",void 0);function Je(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ka,Da,Wa,ko=Symbol("internalReduxEventsUnsubscribers"),jt=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Qe=class extends Ft{constructor(){super(...arguments),this[ka]=new Map,this[Da]=new Map,this[Wa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[le].get(e)}addStore(e,r){var n;r=(n=r??(Je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[le].delete(r)}setupStore(e,r){this[le].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[le].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[jt].has(e.store):this[jt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[jt].set(e,r.subscribe(()=>this.updateFromStores())),Je(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=s=>this[a](s);r.eventBus.addEventListener(i.eventName,c),this[ko].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[jt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ko].forEach(e=>e()),this[ko]=[]}unsubscribeFromStore(e){this[jt].has(e)&&this[jt].get(e)(),this[jt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ka=jt,Da=le,Wa=ko;Qe.reduxProperties=new Map;Qe.reduxReactiveProperties=new Set;Qe.reduxEventListeners=new Map;function gt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Wt(t){return!!t&&!!t[z]}function Ct(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===il}(t)||Array.isArray(t)||!!t[Fa]||!!(!((e=t.constructor)===null||e===void 0)&&e[Fa])||Tr(t)||_r(t))}function se(t,e,r){r===void 0&&(r=!1),Pe(t)===0?(r?Object.keys:Ae)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Pe(t){var e=t[z];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Tr(t)?2:_r(t)?3:0}function Re(t,e){return Pe(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Jc(t,e){return Pe(t)===2?t.get(e):t[e]}function ja(t,e,r){var n=Pe(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Ka(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Tr(t){return rl&&t instanceof Map}function _r(t){return nl&&t instanceof Set}function Kt(t){return t.o||t.t}function $r(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ya(t);delete e[z];for(var r=Ae(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function kr(t,e){return e===void 0&&(e=!1),Dr(t)||Wt(t)||!Ct(t)||(Pe(t)>1&&(t.set=t.add=t.clear=t.delete=Qc),Object.freeze(t),e&&se(t,function(r,n){return kr(n,!0)},!0)),t}function Qc(){gt(2)}function Dr(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Pt(t){var e=Ir[t];return e||gt(18,t),e}function tl(t,e){Ir[t]||(Ir[t]=e)}function Ar(){return eo}function wr(t,e){e&&(Pt("Patches"),t.u=[],t.s=[],t.v=e)}function Do(t){Pr(t),t.p.forEach(el),t.p=null}function Pr(t){t===eo&&(eo=t.l)}function za(t){return eo={p:[],l:eo,h:t,m:!0,_:0}}function el(t){var e=t[z];e.i===0||e.i===1?e.j():e.g=!0}function Er(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Pt("ES5").S(e,t,n),n?(r[z].P&&(Do(e),gt(4)),Ct(t)&&(t=Wo(e,t),e.l||zo(e,t)),e.u&&Pt("Patches").M(r[z].t,t,e.u,e.s)):t=Wo(e,r,[]),Do(e),e.u&&e.v(e.u,e.s),t!==Za?t:void 0}function Wo(t,e,r){if(Dr(e))return e;var n=e[z];if(!n)return se(e,function(s,p){return Ba(t,n,e,s,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return zo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=$r(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),se(a,function(s,p){return Ba(t,n,i,s,p,r,c)}),zo(t,i,!1),r&&t.u&&Pt("Patches").N(n,r,t.u,t.s)}return n.o}function Ba(t,e,r,n,i,a,c){if(Wt(i)){var s=Wo(t,i,a&&e&&e.i!==3&&!Re(e.R,n)?a.concat(n):void 0);if(ja(r,n,s),!Wt(s))return;t.m=!1}else c&&r.add(i);if(Ct(i)&&!Dr(i)){if(!t.h.D&&t._<1)return;Wo(t,i),e&&e.A.l||zo(t,i)}}function zo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&kr(e,r)}function Nr(t,e){var r=t[z];return(r?Kt(r):t)[e]}function Ma(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Rr(t){t.o||(t.o=$r(t.t))}function Lr(t,e,r){var n=Tr(e)?Pt("MapSet").F(e,r):_r(e)?Pt("MapSet").T(e,r):t.O?function(i,a){var c=Array.isArray(i),s={i:c?1:0,A:a?a.A:Ar(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=s,f=oo;c&&(p=[s],f=to);var u=Proxy.revocable(p,f),h=u.revoke,m=u.proxy;return s.k=m,s.j=h,m}(e,r):Pt("ES5").J(e,r);return(r?r.A:Ar()).p.push(n),n}function ol(t){return Wt(t)||gt(22,t),function e(r){if(!Ct(r))return r;var n,i=r[z],a=Pe(r);if(i){if(!i.P&&(i.i<4||!Pt("ES5").K(i)))return i.t;i.I=!0,n=Ua(r,a),i.I=!1}else n=Ua(r,a);return se(n,function(c,s){i&&Jc(i.t,c)===s||ja(n,c,e(s))}),a===3?new Set(n):n}(t)}function Ua(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $r(t)}function Va(){function t(c,s){var p=a[c];return p?p.enumerable=s:a[c]=p={configurable:!0,enumerable:s,get:function(){var f=this[z];return oo.get(f,c)},set:function(f){var u=this[z];oo.set(u,c,f)}},p}function e(c){for(var s=c.length-1;s>=0;s--){var p=c[s][z];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:r(p)&&Vt(p)}}}function r(c){for(var s=c.t,p=c.k,f=Ae(p),u=f.length-1;u>=0;u--){var h=f[u];if(h!==z){var m=s[h];if(m===void 0&&!Re(s,h))return!0;var g=p[h],y=g&&g[z];if(y?y.t!==m:!Ka(g,m))return!0}}var b=!!s[z];return f.length!==Ae(s).length+(b?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function i(c){c.g&>(3,JSON.stringify(Kt(c)))}var a={};tl("ES5",{J:function(c,s){var p=Array.isArray(c),f=function(h,m){if(h){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var b=Ya(m);delete b[z];for(var N=Ae(b),C=0;C<N.length;C++){var w=N[C];b[w]=t(w,h||!!b[w].enumerable)}return Object.create(Object.getPrototypeOf(m),b)}(p,c),u={i:p?5:4,A:s?s.A:Ar(),P:!1,I:!1,R:{},l:s,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,z,{value:u,writable:!0}),f},S:function(c,s,p){p?Wt(s)&&s[z].A===c&&e(c.p):(c.u&&function f(u){if(u&&typeof u=="object"){var h=u[z];if(h){var m=h.t,g=h.k,y=h.R,b=h.i;if(b===4)se(g,function(I){I!==z&&(m[I]!==void 0||Re(m,I)?y[I]||f(g[I]):(y[I]=!0,Vt(h)))}),se(m,function(I){g[I]!==void 0||Re(g,I)||(y[I]=!1,Vt(h))});else if(b===5){if(n(h)&&(Vt(h),y.length=!0),g.length<m.length)for(var N=g.length;N<m.length;N++)y[N]=!1;else for(var C=m.length;C<g.length;C++)y[C]=!0;for(var w=Math.min(g.length,m.length),R=0;R<w;R++)g.hasOwnProperty(R)||(y[R]=!0),y[R]===void 0&&f(g[R])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var Ha,eo,Wr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rl=typeof Map<"u",nl=typeof Set<"u",Ga=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Za=Wr?Symbol.for("immer-nothing"):((Ha={})["immer-nothing"]=!0,Ha),Fa=Wr?Symbol.for("immer-draftable"):"__$immer_draftable",z=Wr?Symbol.for("immer-state"):"__$immer_state";var il=""+Object.prototype.constructor,Ae=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ya=Object.getOwnPropertyDescriptors||function(t){var e={};return Ae(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ir={},oo={get:function(t,e){if(e===z)return t;var r=Kt(t);if(!Re(r,e))return function(i,a,c){var s,p=Ma(a,c);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ct(n)?n:n===Nr(t.t,e)?(Rr(t),t.o[e]=Lr(t.A.h,n,t)):n},has:function(t,e){return e in Kt(t)},ownKeys:function(t){return Reflect.ownKeys(Kt(t))},set:function(t,e,r){var n=Ma(Kt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Nr(Kt(t),e),a=i?.[z];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ka(r,i)&&(r!==void 0||Re(t.t,e)))return!0;Rr(t),Vt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Nr(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Rr(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Kt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){gt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){gt(12)}},to={};se(oo,function(t,e){to[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),to.deleteProperty=function(t,e){return to.set.call(this,t,e,void 0)},to.set=function(t,e,r){return oo.set.call(this,t[0],e,r,t[0])};var al=function(){function t(r){var n=this;this.O=Ga,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var p=n;return function(b){var N=this;b===void 0&&(b=s);for(var C=arguments.length,w=Array(C>1?C-1:0),R=1;R<C;R++)w[R-1]=arguments[R];return p.produce(b,function(I){var k;return(k=a).call.apply(k,[N,I].concat(w))})}}var f;if(typeof a!="function"&>(6),c!==void 0&&typeof c!="function"&>(7),Ct(i)){var u=za(n),h=Lr(n,i,void 0),m=!0;try{f=a(h),m=!1}finally{m?Do(u):Pr(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(b){return wr(u,c),Er(b,u)},function(b){throw Do(u),b}):(wr(u,c),Er(f,u))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Za&&(f=void 0),n.D&&kr(f,!0),c){var g=[],y=[];Pt("Patches").M(i,f,g,y),c(g,y)}return f}gt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(h))})};var c,s,p=n.produce(i,a,function(f,u){c=f,s=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,c,s]}):[p,c,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ct(r)||gt(8),Wt(r)&&(r=ol(r));var n=za(this),i=Lr(this,r,void 0);return i[z].C=!0,Pr(n),i},e.finishDraft=function(r,n){var i=r&&r[z],a=i.A;return wr(a,n),Er(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ga&>(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=Pt("Patches").$;return Wt(r)?c(r,n):this.produce(r,function(s){return c(s,n)})},t}(),dt=new al,cl=dt.produce,_m=dt.produceWithPatches.bind(dt),$m=dt.setAutoFreeze.bind(dt),km=dt.setUseProxies.bind(dt),Dm=dt.applyPatches.bind(dt),Wm=dt.createDraft.bind(dt),zm=dt.finishDraft.bind(dt),Bo=cl;function Zt(t){"@babel/helpers - typeof";return Zt=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},Zt(t)}function zr(t,e){if(Zt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Zt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Br(t){var e=zr(t,"string");return Zt(e)==="symbol"?e:String(e)}function Mr(t,e,r){return e=Br(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Mo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qa(Object(r),!0).forEach(function(n){Mr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qa(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function X(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 Xa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ur=function(){return Math.random().toString(36).substring(7).split("").join(".")},Uo={INIT:"@@redux/INIT"+Ur(),REPLACE:"@@redux/REPLACE"+Ur(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ur()}};function ll(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 Hr(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(X(1));return r(Hr)(t,e)}if(typeof t!="function")throw new Error(X(2));var i=t,a=e,c=[],s=c,p=!1;function f(){s===c&&(s=c.slice())}function u(){if(p)throw new Error(X(3));return a}function h(b){if(typeof b!="function")throw new Error(X(4));if(p)throw new Error(X(5));var N=!0;return f(),s.push(b),function(){if(N){if(p)throw new Error(X(6));N=!1,f();var w=s.indexOf(b);s.splice(w,1),c=null}}}function m(b){if(!ll(b))throw new Error(X(7));if(typeof b.type>"u")throw new Error(X(8));if(p)throw new Error(X(9));try{p=!0,a=i(a,b)}finally{p=!1}for(var N=c=s,C=0;C<N.length;C++){var w=N[C];w()}return b}function g(b){if(typeof b!="function")throw new Error(X(10));i=b,m({type:Uo.REPLACE})}function y(){var b,N=h;return b={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(X(11));function R(){w.next&&w.next(u())}R();var I=N(R);return{unsubscribe:I}}},b[Xa]=function(){return this},b}return m({type:Uo.INIT}),n={dispatch:m,subscribe:h,getState:u,replaceReducer:g},n[Xa]=y,n}function sl(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Uo.INIT});if(typeof n>"u")throw new Error(X(12));if(typeof r(void 0,{type:Uo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function Ja(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),c,s;try{sl(r)}catch(p){s=p}return function(f,u){if(f===void 0&&(f={}),s)throw s;if(0)var h;for(var m=!1,g={},y=0;y<a.length;y++){var b=a[y],N=r[b],C=f[b],w=N(C,u);if(typeof w>"u"){var R=u&&u.type;throw new Error(X(14))}g[b]=w,m=m||w!==C}return m=m||a.length!==Object.keys(f).length,m?g:f}}function Le(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Qa(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(X(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(p){return p(c)});return a=Le.apply(void 0,s)(i.dispatch),Mo(Mo({},i),{},{dispatch:a})}}}function tc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,a,t):c(s)}}};return e}var ec=tc();ec.withExtraArgument=tc;var Gr=ec;var ac=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),dl=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(f){return function(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(u){f=[6,u],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ie=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},fl=Object.defineProperty,pl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,oc=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,rc=function(t,e,r){return e in t?fl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Yt=function(t,e){for(var r in e||(e={}))hl.call(e,r)&&rc(t,r,e[r]);if(oc)for(var n=0,i=oc(e);n<i.length;n++){var r=i[n];ml.call(e,r)&&rc(t,r,e[r])}return t},Fr=function(t,e){return pl(t,ul(e))},yl=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{s(r.next(p))}catch(f){i(f)}},c=function(p){try{s(r.throw(p))}catch(f){i(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,c)};s((r=r.apply(t,e)).next())})};var gl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Le:Le.apply(null,arguments)},oy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function bl(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var xl=function(t){ac(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array),vl=function(t){ac(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array);function Vr(t){return Ct(t)?Bo(t,function(){}):t}function Sl(t){return typeof t=="boolean"}function Ol(){return function(e){return Cl(e)}}function Cl(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,c=a===void 0?!0:a,s=new xl;if(r&&(Sl(r)?s.push(Gr):s.push(Gr.withExtraArgument(r.extraArgument))),0){if(i)var p;if(c)var f}return s}var jr=!0;function cc(t){var e=Ol(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,u=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(bl(i))g=Ja(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!jr&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!jr&&y.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=Qa.apply(void 0,y),N=Le;p&&(N=gl(Yt({trace:!jr},typeof p=="object"&&p)));var C=new vl(b),w=C;Array.isArray(m)?w=Ie([b],m):typeof m=="function"&&(w=m(C));var R=N.apply(void 0,w);return Hr(g,u,R)}function qt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Yt(Yt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function lc(t){var e={},r=[],n,i={addCase:function(a,c){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function wl(t){return typeof t=="function"}function El(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?lc(e):[e,r,n],a=i[0],c=i[1],s=i[2],p;if(wl(t))p=function(){return Vr(t())};else{var f=Vr(t);p=function(){return f}}function u(h,m){h===void 0&&(h=p());var g=Ie([a[m.type]],c.filter(function(y){var b=y.matcher;return b(m)}).map(function(y){var b=y.reducer;return b}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,b){if(b)if(Wt(y)){var N=y,C=b(N,m);return C===void 0?y:C}else{if(Ct(y))return Bo(y,function(w){return b(w,m)});var C=b(y,m);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},h)}return u.getInitialState=p,u}function Nl(t,e){return t+"/"+e}function sc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Vr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};i.forEach(function(u){var h=n[u],m=Nl(e,u),g,y;"reducer"in h?(g=h.reducer,y=h.prepare):g=h,a[u]=g,c[m]=g,s[u]=y?qt(m,y):qt(m)});function p(){var u=typeof t.extraReducers=="function"?lc(t.extraReducers):[t.extraReducers],h=u[0],m=h===void 0?{}:h,g=u[1],y=g===void 0?[]:g,b=u[2],N=b===void 0?void 0:b,C=Yt(Yt({},m),c);return El(r,function(w){for(var R in C)w.addCase(R,C[R]);for(var I=0,k=y;I<k.length;I++){var ft=k[I];w.addMatcher(ft.matcher,ft.reducer)}N&&w.addDefaultCase(N)})}var f;return{name:e,reducer:function(u,h){return f||(f=p()),f(u,h)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Rl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Rl[Math.random()*64|0];return e},Pl=["name","message","stack","code"],Kr=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),nc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ll=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Pl;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},ay=function(){function t(e,r,n){var i=qt(e+"/fulfilled",function(u,h,m,g){return{payload:u,meta:Fr(Yt({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=qt(e+"/pending",function(u,h,m){return{payload:void 0,meta:Fr(Yt({},m||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),c=qt(e+"/rejected",function(u,h,m,g,y){return{payload:g,error:(n&&n.serializeError||Ll)(u||"Rejected"),meta:Fr(Yt({},y||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(h,m,g){var y=n?.idGenerator?n.idGenerator(u):Al(),b=new p,N,C=!1;function w(I){N=I,b.abort()}var R=function(){return yl(this,null,function(){var I,k,ft,zt,jo,Bt,at;return dl(this,function(pt){switch(pt.label){case 0:return pt.trys.push([0,4,,5]),zt=(I=n?.condition)==null?void 0:I.call(n,u,{getState:m,extra:g}),Tl(zt)?[4,zt]:[3,2];case 1:zt=pt.sent(),pt.label=2;case 2:if(zt===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,jo=new Promise(function(ct,Jt){return b.signal.addEventListener("abort",function(){return Jt({name:"AbortError",message:N||"Aborted"})})}),h(a(y,u,(k=n?.getPendingMeta)==null?void 0:k.call(n,{requestId:y,arg:u},{getState:m,extra:g}))),[4,Promise.race([jo,Promise.resolve(r(u,{dispatch:h,getState:m,extra:g,requestId:y,signal:b.signal,abort:w,rejectWithValue:function(ct,Jt){return new Kr(ct,Jt)},fulfillWithValue:function(ct,Jt){return new nc(ct,Jt)}})).then(function(ct){if(ct instanceof Kr)throw ct;return ct instanceof nc?i(ct.payload,y,u,ct.meta):i(ct,y,u)})])];case 3:return ft=pt.sent(),[3,5];case 4:return Bt=pt.sent(),ft=Bt instanceof Kr?c(null,y,u,Bt.payload,Bt.meta):c(Bt,y,u),[3,5];case 5:return at=n&&!n.dispatchConditionRejection&&c.match(ft)&&ft.meta.condition,at||h(ft),[2,ft]}})})}();return Object.assign(R,{abort:w,requestId:y,arg:u,unwrap:function(){return R.then(Il)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Il(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Tl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var dc="listener",fc="completed",pc="cancelled",cy="task-"+pc,ly="task-"+fc,sy=dc+"-"+pc,dy=dc+"-"+fc;var Zr="listenerMiddleware";var fy=qt(Zr+"/add"),py=qt(Zr+"/removeAll"),uy=qt(Zr+"/remove");var ic,hy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ic||(ic=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},_l=function(t){return function(e){setTimeout(e,t)}},my=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:_l(10);Va();window.ftReduxStores||(window.ftReduxStores={});var uc=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Je(a))return a;if(i==null)return;let c=sc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=cc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:c.reducer(p,f)});return window.ftReduxStores[i.name]=new t(c,s)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Lo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,s=n[c];return s?(...p)=>{let f=s(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[c]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ho=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Go=S($()),$l="ft-app-info",Yr=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},kl={session:(t,e)=>{(0,Go.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>ro.eventBus.dispatchEvent(new Yr(e.payload)),0))}},ro=Go.FtReduxStore.get({name:$l,reducers:kl,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 Fo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function hc(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(ro)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(s=>s.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>Ho.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return Fo([(0,qr.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Fo([(0,qr.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Fo([Cr({store:ro.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Fo([Cr({store:ro.name})],e.prototype,"uiLocale",void 0),e}var Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends hc(io){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return wt.html`
|
|
1339
|
+
`:ie.nothing}resolveButtonSize(){switch(this.size){case Q.large:return Q.medium;case Q.medium:case Q.small:return Q.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sr)}typographyVariant(){switch(this.size){case Q.large:return ut.body2medium;case Q.medium:return ut.caption1medium;case Q.small:return ut.caption2medium}}};Ot.elementDefinitions={"ft-typography":tt,"ft-icon":q,"ftds-button":St};Ot.styles=Ci;qe([(0,ce.property)({type:Boolean})],Ot.prototype,"removable",void 0);qe([(0,ce.property)()],Ot.prototype,"removeButtonLabel",void 0);qe([(0,ce.property)()],Ot.prototype,"label",void 0);qe([(0,ce.property)()],Ot.prototype,"icon",void 0);qe([(0,ce.query)("ft-typography slot")],Ot.prototype,"slottedContent",void 0);(0,Or.customElement)("ft-chip")(F);(0,Or.customElement)("ftds-chip")(Ot);var qr=C(Z());function Jc(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!Ro(e[n],o[n]))return!1;return!0}if(e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;for(n of e.entries())if(!Ro(n[1],o.get(n[0])))return!1;return!0}if(e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(a=Object.keys(e),r=a.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!Ro(e[i],o[i]))return!1}return!0}return e!==e&&o!==o}function Ro(e,o){try{return Jc(e,o)}catch{return!1}}function Lo(e,o){return!Ro(e,o)}var Ei=C(Z(),1);var Cr=e=>{let o=e??{};return(r,n)=>{var a;let i={hasChanged:Lo,attribute:!1,...o};(0,Ei.property)(i)(r,n);let l=r.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(a=o.selector)!==null&&a!==void 0?a:d=>d[n],store:o.store})}};var Po=class{constructor(){this.queue=[]}add(o,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==o.type)),this.queue.push(o)}consume(o){let r=this.queue.find(n=>n.type===o);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Xe=C(Z(),1);var Ni=C(Z(),1);function Ai(e,o){let r=()=>JSON.parse(JSON.stringify(e));return(0,Ni.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Lo,...o??{}})}var Io=class{constructor(o=0){this.timeout=o,this.callbacks=[]}run(o,r){return this.callbacks=[o],this.debounce(r)}queue(o,r){return this.callbacks.push(o),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(o){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),o??this.timeout),this.promise}async runCallbacks(){var o,r;let n=[...this.callbacks];this.callbacks=[];let a=(o=this.rejectPromise)!==null&&o!==void 0?o:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Li=C(M(),1);var $o=window,Qc=$o.ShadowRoot&&($o.ShadyCSS===void 0||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Nh=Symbol();var Ri=(e,o)=>{Qc?e.adoptedStyleSheets=o.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):o.forEach(r=>{let n=document.createElement("style"),a=$o.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)})};var To=class extends Li.LitElement{createRenderRoot(){let o=this.constructor;o.elementDefinitions&&!o.registry&&(o.registry=new CustomElementRegistry,Object.entries(o.elementDefinitions).forEach(([a,i])=>o.registry.define(a,i)));let r={...o.shadowRootOptions,customElements:o.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ri(n,o.elementStyles),n}};var ko=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Ti,Pi=Symbol("constructorPrototype"),Ii=Symbol("constructorName"),ki=Symbol("exportpartsDebouncer"),$i=Symbol("dynamicDependenciesLoaded"),Gt=class extends To{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ti]=new Io(5),this[Ii]=this.constructor.name,this[Pi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ii]&&Object.setPrototypeOf(this,this[Pi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let o=this.constructor;o[$i]||(o[$i]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(o){super.updated(o),this.updateComplete.then(()=>{this.contentAvailableCallback(o),this.applyCustomStylesheet(o),this.scheduleExportpartsUpdate()})}contentAvailableCallback(o){}applyCustomStylesheet(o){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(o.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var o,r,n;(!((o=this.exportpartsPrefix)===null||o===void 0)&&o.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[ki].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(o){var r,n,a,i,l,d;let p=m=>m!=null&&m.trim().length>0,f=o.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(d=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...b,...g).filter(p).map(v=>v.trim()).forEach(v=>y.add(v))}if(y.size===0){this.removeAttribute("exportparts");return}let h=[...y.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ti=ki;ko([(0,Xe.property)()],Gt.prototype,"exportpartsPrefix",void 0);ko([Ai([])],Gt.prototype,"exportpartsPrefixes",void 0);ko([(0,Xe.property)()],Gt.prototype,"customStylesheet",void 0);ko([(0,Xe.state)()],Gt.prototype,"useAdoptedStyleSheets",void 0);function Je(e){var o;return(o=e?.isFtReduxStore)!==null&&o!==void 0?o:!1}var Bi,Wi,_i,Bo=Symbol("internalReduxEventsUnsubscribers"),jt=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Qe=class extends Gt{constructor(){super(...arguments),this[Bi]=new Map,this[Wi]=new Map,this[_i]=[]}get reduxConstructor(){return this.constructor}update(o){super.update(o),[...this.reduxConstructor.reduxReactiveProperties].some(r=>o.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[le].get(o)}addStore(o,r){var n;r=(n=r??(Je(o)?o.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,o)}removeStore(o){let r=typeof o=="string"?o:o.name;this.unsubscribeFromStore(r),this[le].delete(r)}setupStore(o,r){this[le].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[le].forEach((o,r)=>this.subscribeToStore(r,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(o.store);a&&(o.store?this[jt].has(o.store):this[jt].size>0)&&(this[r]=o.selector(a.getState(),this))}})}subscribeToStore(o,r){var n;this[jt].set(o,r.subscribe(()=>this.updateFromStores())),Je(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let l=d=>this[i](d);r.eventBus.addEventListener(a.eventName,l),this[Bo].push(()=>r.eventBus.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(o)}unsubscribeFromStores(){this[jt].forEach((o,r)=>this.unsubscribeFromStore(r)),this[Bo].forEach(o=>o()),this[Bo]=[]}unsubscribeFromStore(o){this[jt].has(o)&&this[jt].get(o)(),this[jt].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Bi=jt,Wi=le,_i=Bo;Qe.reduxProperties=new Map;Qe.reduxReactiveProperties=new Set;Qe.reduxEventListeners=new Map;function gt(e){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function _t(e){return!!e&&!!e[z]}function Ct(e){var o;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===cl}(e)||Array.isArray(e)||!!e[Gi]||!!(!((o=e.constructor)===null||o===void 0)&&o[Gi])||$r(e)||Tr(e))}function se(e,o,r){r===void 0&&(r=!1),Le(e)===0?(r?Object.keys:Re)(e).forEach(function(n){r&&typeof n=="symbol"||o(n,e[n],e)}):e.forEach(function(n,a){return o(a,n,e)})}function Le(e){var o=e[z];return o?o.i>3?o.i-4:o.i:Array.isArray(e)?1:$r(e)?2:Tr(e)?3:0}function Ae(e,o){return Le(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function tl(e,o){return Le(e)===2?e.get(o):e[o]}function ji(e,o,r){var n=Le(e);n===2?e.set(o,r):n===3?e.add(r):e[o]=r}function Ki(e,o){return e===o?e!==0||1/e==1/o:e!=e&&o!=o}function $r(e){return al&&e instanceof Map}function Tr(e){return il&&e instanceof Set}function Kt(e){return e.o||e.t}function kr(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var o=Yi(e);delete o[z];for(var r=Re(o),n=0;n<r.length;n++){var a=r[n],i=o[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),o)}function Br(e,o){return o===void 0&&(o=!1),Wr(e)||_t(e)||!Ct(e)||(Le(e)>1&&(e.set=e.add=e.clear=e.delete=el),Object.freeze(e),o&&se(e,function(r,n){return Br(n,!0)},!0)),e}function el(){gt(2)}function Wr(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Lt(e){var o=Ir[e];return o||gt(18,e),o}function ol(e,o){Ir[e]||(Ir[e]=o)}function Rr(){return eo}function wr(e,o){o&&(Lt("Patches"),e.u=[],e.s=[],e.v=o)}function Wo(e){Lr(e),e.p.forEach(rl),e.p=null}function Lr(e){e===eo&&(eo=e.l)}function Di(e){return eo={p:[],l:eo,h:e,m:!0,_:0}}function rl(e){var o=e[z];o.i===0||o.i===1?o.j():o.g=!0}function Er(e,o){o._=o.p.length;var r=o.p[0],n=e!==void 0&&e!==r;return o.h.O||Lt("ES5").S(o,e,n),n?(r[z].P&&(Wo(o),gt(4)),Ct(e)&&(e=_o(o,e),o.l||Do(o,e)),o.u&&Lt("Patches").M(r[z].t,e,o.u,o.s)):e=_o(o,r,[]),Wo(o),o.u&&o.v(o.u,o.s),e!==Zi?e:void 0}function _o(e,o,r){if(Wr(o))return o;var n=o[z];if(!n)return se(o,function(d,p){return zi(e,n,o,d,p,r)},!0),o;if(n.A!==e)return o;if(!n.P)return Do(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=kr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),se(i,function(d,p){return zi(e,n,a,d,p,r,l)}),Do(e,a,!1),r&&e.u&&Lt("Patches").N(n,r,e.u,e.s)}return n.o}function zi(e,o,r,n,a,i,l){if(_t(a)){var d=_o(e,a,i&&o&&o.i!==3&&!Ae(o.R,n)?i.concat(n):void 0);if(ji(r,n,d),!_t(d))return;e.m=!1}else l&&r.add(a);if(Ct(a)&&!Wr(a)){if(!e.h.D&&e._<1)return;_o(e,a),o&&o.A.l||Do(e,a)}}function Do(e,o,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Br(o,r)}function Nr(e,o){var r=e[z];return(r?Kt(r):e)[o]}function Mi(e,o){if(o in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,o);if(n)return n;r=Object.getPrototypeOf(r)}}function Vt(e){e.P||(e.P=!0,e.l&&Vt(e.l))}function Ar(e){e.o||(e.o=kr(e.t))}function Pr(e,o,r){var n=$r(o)?Lt("MapSet").F(o,r):Tr(o)?Lt("MapSet").T(o,r):e.O?function(a,i){var l=Array.isArray(a),d={i:l?1:0,A:i?i.A:Rr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,f=oo;l&&(p=[d],f=to);var y=Proxy.revocable(p,f),h=y.revoke,m=y.proxy;return d.k=m,d.j=h,m}(o,r):Lt("ES5").J(o,r);return(r?r.A:Rr()).p.push(n),n}function nl(e){return _t(e)||gt(22,e),function o(r){if(!Ct(r))return r;var n,a=r[z],i=Le(r);if(a){if(!a.P&&(a.i<4||!Lt("ES5").K(a)))return a.t;a.I=!0,n=Hi(r,i),a.I=!1}else n=Hi(r,i);return se(n,function(l,d){a&&tl(a.t,l)===d||ji(n,l,o(d))}),i===3?new Set(n):n}(e)}function Hi(e,o){switch(o){case 2:return new Map(e);case 3:return Array.from(e)}return kr(e)}function Vi(){function e(l,d){var p=i[l];return p?p.enumerable=d:i[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[z];return oo.get(f,l)},set:function(f){var y=this[z];oo.set(y,l,f)}},p}function o(l){for(var d=l.length-1;d>=0;d--){var p=l[d][z];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:r(p)&&Vt(p)}}}function r(l){for(var d=l.t,p=l.k,f=Re(p),y=f.length-1;y>=0;y--){var h=f[y];if(h!==z){var m=d[h];if(m===void 0&&!Ae(d,h))return!0;var b=p[h],g=b&&b[z];if(g?g.t!==m:!Ki(b,m))return!0}}var v=!!d[z];return f.length!==Re(d).length+(v?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(l){l.g&>(3,JSON.stringify(Kt(l)))}var i={};ol("ES5",{J:function(l,d){var p=Array.isArray(l),f=function(h,m){if(h){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=Yi(m);delete v[z];for(var R=Re(v),E=0;E<R.length;E++){var N=R[E];v[N]=e(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,l),y={i:p?5:4,A:d?d.A:Rr(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,z,{value:y,writable:!0}),f},S:function(l,d,p){p?_t(d)&&d[z].A===l&&o(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var h=y[z];if(h){var m=h.t,b=h.k,g=h.R,v=h.i;if(v===4)se(b,function(T){T!==z&&(m[T]!==void 0||Ae(m,T)?g[T]||f(b[T]):(g[T]=!0,Vt(h)))}),se(m,function(T){b[T]!==void 0||Ae(b,T)||(g[T]=!1,Vt(h))});else if(v===5){if(n(h)&&(Vt(h),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),L=0;L<N;L++)b.hasOwnProperty(L)||(g[L]=!0),g[L]===void 0&&f(b[L])}}}}(l.p[0]),o(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Ui,eo,_r=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",al=typeof Map<"u",il=typeof Set<"u",Fi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Zi=_r?Symbol.for("immer-nothing"):((Ui={})["immer-nothing"]=!0,Ui),Gi=_r?Symbol.for("immer-draftable"):"__$immer_draftable",z=_r?Symbol.for("immer-state"):"__$immer_state";var cl=""+Object.prototype.constructor,Re=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Yi=Object.getOwnPropertyDescriptors||function(e){var o={};return Re(e).forEach(function(r){o[r]=Object.getOwnPropertyDescriptor(e,r)}),o},Ir={},oo={get:function(e,o){if(o===z)return e;var r=Kt(e);if(!Ae(r,o))return function(a,i,l){var d,p=Mi(i,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,r,o);var n=r[o];return e.I||!Ct(n)?n:n===Nr(e.t,o)?(Ar(e),e.o[o]=Pr(e.A.h,n,e)):n},has:function(e,o){return o in Kt(e)},ownKeys:function(e){return Reflect.ownKeys(Kt(e))},set:function(e,o,r){var n=Mi(Kt(e),o);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Nr(Kt(e),o),i=a?.[z];if(i&&i.t===r)return e.o[o]=r,e.R[o]=!1,!0;if(Ki(r,a)&&(r!==void 0||Ae(e.t,o)))return!0;Ar(e),Vt(e)}return e.o[o]===r&&(r!==void 0||o in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[o])||(e.o[o]=r,e.R[o]=!0),!0},deleteProperty:function(e,o){return Nr(e.t,o)!==void 0||o in e.t?(e.R[o]=!1,Ar(e),Vt(e)):delete e.R[o],e.o&&delete e.o[o],!0},getOwnPropertyDescriptor:function(e,o){var r=Kt(e),n=Reflect.getOwnPropertyDescriptor(r,o);return n&&{writable:!0,configurable:e.i!==1||o!=="length",enumerable:n.enumerable,value:r[o]}},defineProperty:function(){gt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){gt(12)}},to={};se(oo,function(e,o){to[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}}),to.deleteProperty=function(e,o){return to.set.call(this,e,o,void 0)},to.set=function(e,o,r){return oo.set.call(this,e[0],o,r,e[0])};var ll=function(){function e(r){var n=this;this.O=Fi,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var p=n;return function(v){var R=this;v===void 0&&(v=d);for(var E=arguments.length,N=Array(E>1?E-1:0),L=1;L<E;L++)N[L-1]=arguments[L];return p.produce(v,function(T){var B;return(B=i).call.apply(B,[R,T].concat(N))})}}var f;if(typeof i!="function"&>(6),l!==void 0&&typeof l!="function"&>(7),Ct(a)){var y=Di(n),h=Pr(n,a,void 0),m=!0;try{f=i(h),m=!1}finally{m?Wo(y):Lr(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return wr(y,l),Er(v,y)},function(v){throw Wo(y),v}):(wr(y,l),Er(f,y))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Zi&&(f=void 0),n.D&&Br(f,!0),l){var b=[],g=[];Lt("Patches").M(a,f,b,g),l(b,g)}return f}gt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(h))})};var l,d,p=n.produce(a,i,function(f,y){l=f,d=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,d]}):[p,l,d]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var o=e.prototype;return o.createDraft=function(r){Ct(r)||gt(8),_t(r)&&(r=nl(r));var n=Di(this),a=Pr(this,r,void 0);return a[z].C=!0,Lr(n),a},o.finishDraft=function(r,n){var a=r&&r[z],i=a.A;return wr(i,n),Er(void 0,i)},o.setAutoFreeze=function(r){this.D=r},o.setUseProxies=function(r){r&&!Fi&>(20),this.O=r},o.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var l=Lt("Patches").$;return _t(r)?l(r,n):this.produce(r,function(d){return l(d,n)})},e}(),dt=new ll,sl=dt.produce,Dh=dt.produceWithPatches.bind(dt),zh=dt.setAutoFreeze.bind(dt),Mh=dt.setUseProxies.bind(dt),Hh=dt.applyPatches.bind(dt),Uh=dt.createDraft.bind(dt),Fh=dt.finishDraft.bind(dt),zo=sl;function Zt(e){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Zt(e)}function Dr(e,o){if(Zt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,o||"default");if(Zt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}function zr(e){var o=Dr(e,"string");return Zt(o)==="symbol"?o:String(o)}function Mr(e,o,r){return o=zr(o),o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}function qi(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Mo(e){for(var o=1;o<arguments.length;o++){var r=arguments[o]!=null?arguments[o]:{};o%2?qi(Object(r),!0).forEach(function(n){Mr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Xi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Hr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ho={INIT:"@@redux/INIT"+Hr(),REPLACE:"@@redux/REPLACE"+Hr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Hr()}};function dl(e){if(typeof e!="object"||e===null)return!1;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o}function Ur(e,o,r){var n;if(typeof o=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof o=="function"&&typeof r>"u"&&(r=o,o=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(Ur)(e,o)}if(typeof e!="function")throw new Error(J(2));var a=e,i=o,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function y(){if(p)throw new Error(J(3));return i}function h(v){if(typeof v!="function")throw new Error(J(4));if(p)throw new Error(J(5));var R=!0;return f(),d.push(v),function(){if(R){if(p)throw new Error(J(6));R=!1,f();var N=d.indexOf(v);d.splice(N,1),l=null}}}function m(v){if(!dl(v))throw new Error(J(7));if(typeof v.type>"u")throw new Error(J(8));if(p)throw new Error(J(9));try{p=!0,i=a(i,v)}finally{p=!1}for(var R=l=d,E=0;E<R.length;E++){var N=R[E];N()}return v}function b(v){if(typeof v!="function")throw new Error(J(10));a=v,m({type:Ho.REPLACE})}function g(){var v,R=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(J(11));function L(){N.next&&N.next(y())}L();var T=R(L);return{unsubscribe:T}}},v[Xi]=function(){return this},v}return m({type:Ho.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:b},n[Xi]=g,n}function fl(e){Object.keys(e).forEach(function(o){var r=e[o],n=r(void 0,{type:Ho.INIT});if(typeof n>"u")throw new Error(J(12));if(typeof r(void 0,{type:Ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function Ji(e){for(var o=Object.keys(e),r={},n=0;n<o.length;n++){var a=o[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),l,d;try{fl(r)}catch(p){d=p}return function(f,y){if(f===void 0&&(f={}),d)throw d;if(0)var h;for(var m=!1,b={},g=0;g<i.length;g++){var v=i[g],R=r[v],E=f[v],N=R(E,y);if(typeof N>"u"){var L=y&&y.type;throw new Error(J(14))}b[v]=N,m=m||N!==E}return m=m||i.length!==Object.keys(f).length,m?b:f}}function Pe(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return o.length===0?function(n){return n}:o.length===1?o[0]:o.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Qi(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(J(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=o.map(function(p){return p(l)});return i=Pe.apply(void 0,d)(a.dispatch),Mo(Mo({},a),{},{dispatch:i})}}}function tc(e){var o=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,i,e):l(d)}}};return o}var ec=tc();ec.withExtraArgument=tc;var Fr=ec;var ic=function(){var e=function(o,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(o,r)};return function(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(o,r);function n(){this.constructor=o}o.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pl=function(e,o){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(f){return function(y){return p([f,y])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=o.call(e,r)}catch(y){f=[6,y],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ie=function(e,o){for(var r=0,n=o.length,a=e.length;r<n;r++,a++)e[a]=o[r];return e},ul=Object.defineProperty,yl=Object.defineProperties,hl=Object.getOwnPropertyDescriptors,oc=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,rc=function(e,o,r){return o in e?ul(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r},Yt=function(e,o){for(var r in o||(o={}))ml.call(o,r)&&rc(e,r,o[r]);if(oc)for(var n=0,a=oc(o);n<a.length;n++){var r=a[n];gl.call(o,r)&&rc(e,r,o[r])}return e},Gr=function(e,o){return yl(e,hl(o))},bl=function(e,o,r){return new Promise(function(n,a){var i=function(p){try{d(r.next(p))}catch(f){a(f)}},l=function(p){try{d(r.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};d((r=r.apply(e,o)).next())})};var xl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Pe:Pe.apply(null,arguments)},cm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function vl(e){if(typeof e!="object"||e===null)return!1;var o=Object.getPrototypeOf(e);if(o===null)return!0;for(var r=o;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return o===r}var Sl=function(e){ic(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,Ie([void 0],r[0].concat(this)))):new(o.bind.apply(o,Ie([void 0],r.concat(this))))},o}(Array),Ol=function(e){ic(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,Ie([void 0],r[0].concat(this)))):new(o.bind.apply(o,Ie([void 0],r.concat(this))))},o}(Array);function Vr(e){return Ct(e)?zo(e,function(){}):e}function Cl(e){return typeof e=="boolean"}function wl(){return function(o){return El(o)}}function El(e){e===void 0&&(e={});var o=e.thunk,r=o===void 0?!0:o,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,l=i===void 0?!0:i,d=new Sl;if(r&&(Cl(r)?d.push(Fr):d.push(Fr.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return d}var jr=!0;function cc(e){var o=wl(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?o():i,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,y=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,b;if(typeof a=="function")b=a;else if(vl(a))b=Ji(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=l;if(typeof g=="function"&&(g=g(o),!jr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!jr&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Qi.apply(void 0,g),R=Pe;p&&(R=xl(Yt({trace:!jr},typeof p=="object"&&p)));var E=new Ol(v),N=E;Array.isArray(m)?N=Ie([v],m):typeof m=="function"&&(N=m(E));var L=R.apply(void 0,N);return Ur(b,y,L)}function qt(e,o){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(o){var i=o.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Yt(Yt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function lc(e){var o={},r=[],n,a={addCase:function(i,l){var d=typeof i=="string"?i:i.type;if(d in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[d]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[o,r,n]}function Nl(e){return typeof e=="function"}function Al(e,o,r,n){r===void 0&&(r=[]);var a=typeof o=="function"?lc(o):[o,r,n],i=a[0],l=a[1],d=a[2],p;if(Nl(e))p=function(){return Vr(e())};else{var f=Vr(e);p=function(){return f}}function y(h,m){h===void 0&&(h=p());var b=Ie([i[m.type]],l.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[d]),b.reduce(function(g,v){if(v)if(_t(g)){var R=g,E=v(R,m);return E===void 0?g:E}else{if(Ct(g))return zo(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return y.getInitialState=p,y}function Rl(e,o){return e+"/"+o}function sc(e){var o=e.name;if(!o)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:Vr(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(y){var h=n[y],m=Rl(o,y),b,g;"reducer"in h?(b=h.reducer,g=h.prepare):b=h,i[y]=b,l[m]=b,d[y]=g?qt(m,g):qt(m)});function p(){var y=typeof e.extraReducers=="function"?lc(e.extraReducers):[e.extraReducers],h=y[0],m=h===void 0?{}:h,b=y[1],g=b===void 0?[]:b,v=y[2],R=v===void 0?void 0:v,E=Yt(Yt({},m),l);return Al(r,function(N){for(var L in E)N.addCase(L,E[L]);for(var T=0,B=g;T<B.length;T++){var ft=B[T];N.addMatcher(ft.matcher,ft.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:o,reducer:function(y,h){return f||(f=p()),f(y,h)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Ll="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Pl=function(e){e===void 0&&(e=21);for(var o="",r=e;r--;)o+=Ll[Math.random()*64|0];return o},Il=["name","message","stack","code"],Kr=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),nc=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),$l=function(e){if(typeof e=="object"&&e!==null){for(var o={},r=0,n=Il;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(o[a]=e[a])}return o}return{message:String(e)}},fm=function(){function e(o,r,n){var a=qt(o+"/fulfilled",function(y,h,m,b){return{payload:y,meta:Gr(Yt({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=qt(o+"/pending",function(y,h,m){return{payload:void 0,meta:Gr(Yt({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),l=qt(o+"/rejected",function(y,h,m,b,g){return{payload:b,error:(n&&n.serializeError||$l)(y||"Rejected"),meta:Gr(Yt({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function f(y){return function(h,m,b){var g=n?.idGenerator?n.idGenerator(y):Pl(),v=new p,R,E=!1;function N(T){R=T,v.abort()}var L=function(){return bl(this,null,function(){var T,B,ft,Dt,jo,zt,it;return pl(this,function(pt){switch(pt.label){case 0:return pt.trys.push([0,4,,5]),Dt=(T=n?.condition)==null?void 0:T.call(n,y,{getState:m,extra:b}),kl(Dt)?[4,Dt]:[3,2];case 1:Dt=pt.sent(),pt.label=2;case 2:if(Dt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,jo=new Promise(function(ct,Jt){return v.signal.addEventListener("abort",function(){return Jt({name:"AbortError",message:R||"Aborted"})})}),h(i(g,y,(B=n?.getPendingMeta)==null?void 0:B.call(n,{requestId:g,arg:y},{getState:m,extra:b}))),[4,Promise.race([jo,Promise.resolve(r(y,{dispatch:h,getState:m,extra:b,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(ct,Jt){return new Kr(ct,Jt)},fulfillWithValue:function(ct,Jt){return new nc(ct,Jt)}})).then(function(ct){if(ct instanceof Kr)throw ct;return ct instanceof nc?a(ct.payload,g,y,ct.meta):a(ct,g,y)})])];case 3:return ft=pt.sent(),[3,5];case 4:return zt=pt.sent(),ft=zt instanceof Kr?l(null,g,y,zt.payload,zt.meta):l(zt,g,y),[3,5];case 5:return it=n&&!n.dispatchConditionRejection&&l.match(ft)&&ft.meta.condition,it||h(ft),[2,ft]}})})}();return Object.assign(L,{abort:N,requestId:g,arg:y,unwrap:function(){return L.then(Tl)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:o})}return e.withTypes=function(){return e},e}();function Tl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function kl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var dc="listener",fc="completed",pc="cancelled",pm="task-"+pc,um="task-"+fc,ym=dc+"-"+pc,hm=dc+"-"+fc;var Zr="listenerMiddleware";var mm=qt(Zr+"/add"),gm=qt(Zr+"/removeAll"),bm=qt(Zr+"/remove");var ac,xm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ac||(ac=Promise.resolve())).then(e).catch(function(o){return setTimeout(function(){throw o},0)})},Bl=function(e){return function(o){setTimeout(o,e)}},vm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Bl(10);Vi();window.ftReduxStores||(window.ftReduxStores={});var uc=class e{static get(o){var r;let n=typeof o=="string"?o:o.name,a=typeof o=="string"?void 0:o,i=window.ftReduxStores[n];if(Je(i))return i;if(a==null)return;let l=sc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=cc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new e(l,d)}constructor(o,r){this.reduxSlice=o,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Po,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let l=a,d=n[l];return d?(...p)=>{let f=d(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[l]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(o){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(o).join("_"),overwrites:o})}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(o){throw new Error("Not implemented yet.")}subscribe(o){return this.reduxStore.subscribe(o)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Uo=class{static format(o,r,n,a){return window.moment?window.moment(o).locale(r).format(this.getDateFormat(n,a)):o}static getDateFormat(o,r){return o?r?"lll":"ll":r?"L LT":"L"}};var Fo=C(k()),Wl="ft-app-info",Yr=class extends CustomEvent{constructor(o){super("authentication-change",{detail:o})}},_l={session:(e,o)=>{(0,Fo.deepEqual)(e.session,o.payload)||(e.session=o.payload,setTimeout(()=>ro.eventBus.dispatchEvent(new Yr(o.payload)),0))}},ro=Fo.FtReduxStore.get({name:Wl,reducers:_l,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 Go=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i};function yc(e){class o extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(ro)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var a,i;return((i=(a=this.metadataDescriptors.find(d=>d.key===n?.key))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(a=>Uo.format(a,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return Go([(0,qr.property)({type:Boolean})],o.prototype,"useLongDateFormat",void 0),Go([(0,qr.property)({type:Boolean})],o.prototype,"useDateTimeFormat",void 0),Go([Cr({store:ro.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],o.prototype,"metadataDescriptors",void 0),Go([Cr({store:ro.name})],o.prototype,"uiLocale",void 0),o}var $e=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},bt=class extends yc(ao){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return wt.html`
|
|
1119
1340
|
${this.renderChip()}
|
|
1120
1341
|
${this.hideIfEmpty()}
|
|
1121
|
-
`}renderChip(){var
|
|
1342
|
+
`}renderChip(){var o,r,n,a;let i=wt.html`
|
|
1122
1343
|
<ft-chip part="chip"
|
|
1123
1344
|
exportpartsPrefix="chip"
|
|
1124
1345
|
?multiLine=${this.multiLine}>
|
|
1125
1346
|
${this.displayLabel?wt.html`
|
|
1126
|
-
<span part="label">${(r=(
|
|
1347
|
+
<span part="label">${(r=(o=this.flatMetadata)===null||o===void 0?void 0:o.label)!==null&&r!==void 0?r:this.key}: </span>
|
|
1127
1348
|
`:wt.nothing}
|
|
1128
1349
|
${this.metadataValue.length===0?wt.nothing:wt.html`
|
|
1129
1350
|
<span part="values">${this.metadataValue}</span>
|
|
1130
1351
|
`}
|
|
1131
1352
|
</ft-chip>
|
|
1132
|
-
`;return this.displayLabel&&((n=this.flatMetadata)===null||n===void 0?void 0:n.value)==((
|
|
1353
|
+
`;return this.displayLabel&&((n=this.flatMetadata)===null||n===void 0?void 0:n.value)==((a=this.flatMetadata)===null||a===void 0?void 0:a.displayValue)?i:wt.html`
|
|
1133
1354
|
<ft-tooltip part="tooltip" text="${this.tooltipText}">
|
|
1134
|
-
${
|
|
1355
|
+
${i}
|
|
1135
1356
|
</ft-tooltip>
|
|
1136
|
-
`}get metadataValue(){var
|
|
1357
|
+
`}get metadataValue(){var o;return this.flatMetadata?(o=this.flatMetadata)===null||o===void 0?void 0:o.displayValue:this.key?`no value for ${this.key}`:"no metadata selected"}hideIfEmpty(){return!this.editorMode&&!this.flatMetadata?wt.html`
|
|
1137
1358
|
<style>
|
|
1138
1359
|
:host {
|
|
1139
1360
|
display: none !important;
|
|
1140
1361
|
}
|
|
1141
1362
|
</style>
|
|
1142
|
-
`:wt.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.value:""}update(
|
|
1363
|
+
`:wt.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.value:""}update(o){super.update(o),["key","tocNode"].some(r=>o.has(r))&&this.updateContent(),(o.has("metadata")||this.dateFormatOptionsChanged(o))&&(this.flatMetadata=hc.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var o;this.metadata=void 0,this.tocNode&&this.key&&((o=this.service)===null||o===void 0||o.getTopicInfo(this.tocNode).then(r=>this.metadata=r.metadata.find(n=>n.key===this.key)).catch(()=>null))}};bt.elementDefinitions={"ft-tooltip":W,"ft-chip":F};bt.styles=on;$e([(0,Xt.property)()],bt.prototype,"key",void 0);$e([(0,Xt.property)({type:Boolean})],bt.prototype,"multiLine",void 0);$e([(0,Xt.property)({type:Boolean})],bt.prototype,"displayLabel",void 0);$e([(0,Xt.state)()],bt.prototype,"editorMode",void 0);$e([(0,Xt.state)()],bt.prototype,"metadata",void 0);$e([(0,Xt.state)()],bt.prototype,"flatMetadata",void 0);(0,mc.customElement)("ft-reader-topic-metadata")(bt);})();
|
|
1143
1364
|
/*! Bundled license information:
|
|
1144
1365
|
|
|
1145
1366
|
lit-html/lit-html.js:
|