@fluid-topics/ft-reader-toc 1.2.29 → 1.2.30
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-toc.light.js +166 -166
- package/build/ft-reader-toc.min.js +277 -307
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
\f\r]`,Ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),$n=/'/g,Bn=/"/g,Un=/^(?:script|style|textarea|title)$/i,Hn=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Gn=Hn(1),Fn=Hn(2),Vt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Wn=new WeakMap,dt=ft.createTreeWalker(ft,129);function jn(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return kn!==void 0?kn.createHTML(t):t}var fl=(o,t)=>{let r=o.length-1,n=[],a,i=t===2?"<svg>":"",l=Ft;for(let s=0;s<r;s++){let p=o[s],f,h,y=-1,m=0;for(;m<p.length&&(l.lastIndex=m,h=l.exec(p),h!==null);)m=l.lastIndex,l===Ft?h[1]==="!--"?l=Tn:h[1]!==void 0?l=_n:h[2]!==void 0?(Un.test(h[2])&&(a=RegExp("</"+h[2],"g")),l=st):h[3]!==void 0&&(l=st):l===st?h[0]===">"?(l=a??Ft,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,f=h[1],l=h[3]===void 0?st:h[3]==='"'?Bn:$n):l===Bn||l===$n?l=st:l===Tn||l===_n?l=Ft:(l=st,a=void 0);let b=l===st&&o[s+1].startsWith("/>")?" ":"";i+=l===Ft?p+sl:y>=0?(n.push(f),p.slice(0,y)+Dn+p.slice(y)+Fe+b):p+Fe+(y===-2?s:b)}return[jn(o,i+(o[r]||"<?>")+(t===2?"</svg>":"")),n]},Kt=class o{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,s=t.length-1,p=this.parts,[f,h]=fl(t,r);if(this.el=o.createElement(f,n),dt.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=dt.nextNode())!==null&&p.length<s;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Dn)){let m=h[l++],b=a.getAttribute(y).split(Fe),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?mr:g[1]==="?"?gr:g[1]==="@"?br:Ct}),a.removeAttribute(y)}else y.startsWith(Fe)&&(p.push({type:6,index:i}),a.removeAttribute(y));if(Un.test(a.tagName)){let y=a.textContent.split(Fe),m=y.length-1;if(m>0){a.textContent=go?go.emptyScript:"";for(let b=0;b<m;b++)a.append(y[b],bo()),dt.nextNode(),p.push({type:2,index:++i});a.append(y[m],bo())}}}else if(a.nodeType===8)if(a.data===zn)p.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(Fe,y+1))!==-1;)p.push({type:7,index:i}),y+=Fe.length-1}i++}}static createElement(t,r){let n=ft.createElement("template");return n.innerHTML=t,n}};function Ot(o,t,r=o,n){if(t===Vt)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=jt(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(o),a._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=Ot(o,a._$AS(o,t.values),a,n)),t}var yr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??ft).importNode(r,!0);dt.currentNode=a;let i=dt.nextNode(),l=0,s=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new xo(i,i.nextSibling,this,t):p.type===1?f=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(f=new xr(i,this,t)),this._$AV.push(f),p=n[++s]}l!==p?.index&&(i=dt.nextNode(),l++)}return dt.currentNode=ft,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},xo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Ot(this,t,r),jt(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==Vt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):dl(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ft.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Kt.createElement(jn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new yr(a,this),l=i.u(this.options);i.p(r),this.$(l),this._$AH=i}}_$AC(t){let r=Wn.get(t.strings);return r===void 0&&Wn.set(t.strings,r=new Kt(t)),r}T(t){Mn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new o(this.k(bo()),this.k(bo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,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=X}_$AI(t,r=this,n,a){let i=this.strings,l=!1;if(i===void 0)t=Ot(this,t,r,0),l=!jt(t)||t!==this._$AH&&t!==Vt,l&&(this._$AH=t);else{let s=t,p,f;for(t=i[0],p=0;p<i.length-1;p++)f=Ot(this,s[n+p],r,p),f===Vt&&(f=this._$AH[p]),l||=!jt(f)||f!==this._$AH[p],f===X?t=X:t!==X&&(t+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mr=class extends Ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},gr=class extends Ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},br=class extends Ct{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=Ot(this,t,r,0)??X)===Vt)return;let n=this._$AH,a=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==X&&(n===X||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},xr=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ot(this,t)}};var pl=vr.litHtmlPolyfillSupport;pl?.(Kt,xo),(vr.litHtmlVersions??=[]).push("3.1.0");var Kn=Symbol.for(""),ul=o=>{if(o?.r===Kn)return o?._$litStatic$},Sr=o=>({_$litStatic$:o,r:Kn});var Vn=new Map,Zn=o=>(t,...r)=>{let n=r.length,a,i,l=[],s=[],p,f=0,h=!1;for(;f<n;){for(p=t[f];f<n&&(i=r[f],(a=ul(i))!==void 0);)p+=a+t[++f],h=!0;f!==n&&s.push(i),l.push(p),f++}if(f===n&&l.push(t[n]),h){let y=l.join("$$lit$$");(t=Vn.get(y))===void 0&&(l.raw=l,Vn.set(y,t=l)),r=s}return o(t,...r)},Or=Zn(Gn),Hs=Zn(Fn);var Cr=x(Z()),$a=x(L());var je;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(je||(je={}));var xe=x(B()),w=x(L());var Te=x(B(),1),Ve=o=>typeof o=="string"?(0,Te.unsafeCSS)(o):o,e=class{static create(t,r,n,a){let i=s=>Ve(s??a),l=Te.css`var(${Ve(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>Te.css`var(${Ve(t)}, ${i(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,n,a){let i=s=>n.get(s??a),l=Te.css`var(${Ve(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>Te.css`var(${Ve(t)}, ${i(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(t,r){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):Ve(i??t.lastResortDefaultValue()),a=Te.css`var(${Ve(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>Te.css`var(${Ve(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};var c={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},qn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Jn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Qn={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ea={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ta={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},oa={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ra={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},hl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},na={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},aa={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ia={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ca={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},la={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},da={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},fa={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},pa={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ua={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ha={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ya={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ma={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ga={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},xa={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},vo={display:qn,"title-1":Yn,"title-2":Xn,"title-3":Jn,"body-1-regular":Qn,"body-1-medium":ea,"body-1-semibold":ta,"body-2-regular":oa,"body-2-medium":ra,"body-2-medium-underline":hl,"body-2-semibold":na,"label-1-medium":aa,"label-1-semibold":ia,"label-1-bold":ca,"label-2-medium":la,"label-2-semibold":sa,"label-2-bold":da,"caption-1-medium":fa,"caption-1-semibold":pa,"caption-1-bold":ua,"caption-2-medium":ha,"caption-2-semibold":ya,"caption-2-bold":ma,"caption-3-medium":ga,"caption-3-semibold":ba,"caption-3-bold":xa};var d={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:e.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:e.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:e.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:e.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:e.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:e.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:e.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var id={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:e.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:e.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var fd={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:e.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:e.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var md={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Sd={iconSize:e.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Nd={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:e.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Pd={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Bd={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Ud={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var jd={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Yd={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:e.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",c.borderRadiusM)};var tf={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var cf={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:e.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var pf={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var gf={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Of={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Af={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var kf={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Wf={backgroundColor:e.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:e.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:e.extend("--ft-popover-gap","",c.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px")};var Hf={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:e.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Kf={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:e.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:e.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Xf={color1Light:e.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",c.colorRed40),color5Base:e.extend("--ft-chart-5-base","",c.colorRed60),color6Light:e.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",c.colorGray50),color10Base:e.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var tp={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var ip={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:e.extend("--ft-notice-gap","",c.spacing2),iconSize:e.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:e.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:e.create("--ft-notice-dense-border-width","","SIZE","0")};var fp={color:e.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",c.spacing3)};var mp={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:e.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var Sp={color:e.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",c.spacing3)};var Np={iconSize:e.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pp={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:e.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:e.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",c.spacing05)};var Bp={verticalPadding:e.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:e.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:e.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:e.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:e.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:e.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:e.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:e.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:e.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:e.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:e.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var So;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(So||(So={}));var wt;(function(o){o.large="large",o.medium="medium",o.small="small"})(wt||(wt={}));var Oo=x(B());function va(o){let t=vo[o];return Oo.css`
|
|
5
|
-
.ft-typography--${(0,
|
|
1
|
+
"use strict";(()=>{var al=Object.create;var Sn=Object.defineProperty;var il=Object.getOwnPropertyDescriptor;var cl=Object.getOwnPropertyNames;var ll=Object.getPrototypeOf,sl=Object.prototype.hasOwnProperty;var it=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var dl=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of cl(t))!sl.call(o,a)&&a!==r&&Sn(o,a,{get:()=>t[a],enumerable:!(n=il(t,a))||n.enumerable});return o};var x=(o,t,r)=>(r=o!=null?al(ll(o)):{},dl(t||!o||!o.__esModule?Sn(r,"default",{value:o,enumerable:!0}):r,o));var L=it((Bs,Cn)=>{Cn.exports=ftGlobals.wcUtils});var $=it(($s,On)=>{On.exports=ftGlobals.lit});var En=it((Ws,wn)=>{wn.exports=ftGlobals.litRepeat});var Gt=it((Ds,Nn)=>{Nn.exports=ftGlobals.litClassMap});var Rn=it((zs,An)=>{An.exports=ftGlobals.litStyleMap});var Z=it((Ms,Ln)=>{Ln.exports=ftGlobals.litDecorators});var Ha=it((Ah,Ua)=>{Ua.exports=ftGlobals.litUnsafeHTML});var nl=x(L());var Se=x($()),vn=x(En()),ol=x(Gt()),rl=x(Rn()),z=x(Z()),ke=x(L());var Pn=x(L()),kn=x(Z());var In;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(In||(In={}));var fl=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},pr=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},fr=Symbol("registerInterval");function pl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=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[fr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[fr]):this.dispatchEvent(new pr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=fr,fl([(0,kn.state)()],r.prototype,"stateManager",void 0),r}var vt=class extends pl(Pn.FtLitElementRedux){};var Ba=x(L());var xr=globalThis,go=xr.trustedTypes,Tn=go?go.createPolicy("lit-html",{createHTML:o=>o}):void 0,zn="$lit$",Fe=`lit$${Math.random().toFixed(9).slice(2)}$`,Mn="?"+Fe,ul=`<${Mn}>`,st=document,bo=()=>st.createComment(""),jt=o=>o===null||typeof o!="object"&&typeof o!="function",vr=Array.isArray,hl=o=>vr(o)||typeof o?.[Symbol.iterator]=="function",ur=`[
|
|
2
|
+
\f\r]`,Ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_n=/-->/g,Bn=/>/g,ct=RegExp(`>|${ur}(?:([^\\s"'>=/]+)(${ur}*=${ur}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),$n=/'/g,Wn=/"/g,Un=/^(?:script|style|textarea|title)$/i,Sr=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Hn=Sr(1),Gn=Sr(2),Fn=Sr(3),Vt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Dn=new WeakMap,lt=st.createTreeWalker(st,129);function jn(o,t){if(!vr(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tn!==void 0?Tn.createHTML(t):t}var yl=(o,t)=>{let r=o.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",l=Ft;for(let d=0;d<r;d++){let p=o[d],f,h,y=-1,m=0;for(;m<p.length&&(l.lastIndex=m,h=l.exec(p),h!==null);)m=l.lastIndex,l===Ft?h[1]==="!--"?l=_n:h[1]!==void 0?l=Bn:h[2]!==void 0?(Un.test(h[2])&&(a=RegExp("</"+h[2],"g")),l=ct):h[3]!==void 0&&(l=ct):l===ct?h[0]===">"?(l=a??Ft,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,f=h[1],l=h[3]===void 0?ct:h[3]==='"'?Wn:$n):l===Wn||l===$n?l=ct:l===_n||l===Bn?l=Ft:(l=ct,a=void 0);let b=l===ct&&o[d+1].startsWith("/>")?" ":"";i+=l===Ft?p+ul:y>=0?(n.push(f),p.slice(0,y)+zn+p.slice(y)+Fe+b):p+Fe+(y===-2?d:b)}return[jn(o,i+(o[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Kt=class o{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,d=t.length-1,p=this.parts,[f,h]=yl(t,r);if(this.el=o.createElement(f,n),lt.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=lt.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(zn)){let m=h[l++],b=a.getAttribute(y).split(Fe),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?yr:g[1]==="?"?mr:g[1]==="@"?gr:Ct}),a.removeAttribute(y)}else y.startsWith(Fe)&&(p.push({type:6,index:i}),a.removeAttribute(y));if(Un.test(a.tagName)){let y=a.textContent.split(Fe),m=y.length-1;if(m>0){a.textContent=go?go.emptyScript:"";for(let b=0;b<m;b++)a.append(y[b],bo()),lt.nextNode(),p.push({type:2,index:++i});a.append(y[m],bo())}}}else if(a.nodeType===8)if(a.data===Mn)p.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(Fe,y+1))!==-1;)p.push({type:7,index:i}),y+=Fe.length-1}i++}}static createElement(t,r){let n=st.createElement("template");return n.innerHTML=t,n}};function St(o,t,r=o,n){if(t===Vt)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=jt(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(o),a._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=St(o,a._$AS(o,t.values),a,n)),t}var hr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??st).importNode(r,!0);lt.currentNode=a;let i=lt.nextNode(),l=0,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new xo(i,i.nextSibling,this,t):p.type===1?f=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(f=new br(i,this,t)),this._$AV.push(f),p=n[++d]}l!==p?.index&&(i=lt.nextNode(),l++)}return lt.currentNode=st,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},xo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=St(this,t,r),jt(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==Vt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):hl(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==X&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.T(st.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Kt.createElement(jn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new hr(a,this),l=i.u(this.options);i.p(r),this.T(l),this._$AH=i}}_$AC(t){let r=Dn.get(t.strings);return r===void 0&&Dn.set(t.strings,r=new Kt(t)),r}k(t){vr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new o(this.O(bo()),this.O(bo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,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=X}_$AI(t,r=this,n,a){let i=this.strings,l=!1;if(i===void 0)t=St(this,t,r,0),l=!jt(t)||t!==this._$AH&&t!==Vt,l&&(this._$AH=t);else{let d=t,p,f;for(t=i[0],p=0;p<i.length-1;p++)f=St(this,d[n+p],r,p),f===Vt&&(f=this._$AH[p]),l||=!jt(f)||f!==this._$AH[p],f===X?t=X:t!==X&&(t+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},yr=class extends Ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}},mr=class extends Ct{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},gr=class extends Ct{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=St(this,t,r,0)??X)===Vt)return;let n=this._$AH,a=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==X&&(n===X||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},br=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){St(this,t)}};var ml=xr.litHtmlPolyfillSupport;ml?.(Kt,xo),(xr.litHtmlVersions??=[]).push("3.3.0");var Kn=Symbol.for(""),gl=o=>{if(o?.r===Kn)return o?._$litStatic$},Cr=o=>({_$litStatic$:o,r:Kn});var Vn=new Map,Or=o=>(t,...r)=>{let n=r.length,a,i,l=[],d=[],p,f=0,h=!1;for(;f<n;){for(p=t[f];f<n&&(i=r[f],(a=gl(i))!==void 0);)p+=a+t[++f],h=!0;f!==n&&d.push(i),l.push(p),f++}if(f===n&&l.push(t[n]),h){let y=l.join("$$lit$$");(t=Vn.get(y))===void 0&&(l.raw=l,Vn.set(y,t=l)),r=d}return o(t,...r)},wr=Or(Hn),Vs=Or(Gn),Ks=Or(Fn);var Er=x(Z()),_a=x(L());var je;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(je||(je={}));var xe=x($()),w=x(L());var Te=x($(),1),Ve=o=>typeof o=="string"?(0,Te.unsafeCSS)(o):o,e=class{static create(t,r,n,a){let i=d=>Ve(d??a),l=Te.css`var(${Ve(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>Te.css`var(${Ve(t)}, ${i(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,n,a){let i=d=>n.get(d??a),l=Te.css`var(${Ve(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>Te.css`var(${Ve(t)}, ${i(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(t,r){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):Ve(i??t.lastResortDefaultValue()),a=Te.css`var(${Ve(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>Te.css`var(${Ve(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};var c={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Zn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},qn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Jn={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qn={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ea={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ta={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},oa={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},bl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ra={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},na={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},aa={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ia={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ca={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},la={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},sa={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},da={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},fa={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ua={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ha={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ya={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ma={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ga={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ba={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},vo={display:Zn,"title-1":qn,"title-2":Yn,"title-3":Xn,"body-1-regular":Jn,"body-1-medium":Qn,"body-1-semibold":ea,"body-2-regular":ta,"body-2-medium":oa,"body-2-medium-underline":bl,"body-2-semibold":ra,"label-1-medium":na,"label-1-semibold":aa,"label-1-bold":ia,"label-2-medium":ca,"label-2-semibold":la,"label-2-bold":sa,"caption-1-medium":da,"caption-1-semibold":fa,"caption-1-bold":pa,"caption-2-medium":ua,"caption-2-semibold":ha,"caption-2-bold":ya,"caption-3-medium":ma,"caption-3-semibold":ga,"caption-3-bold":ba};var s={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:e.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:e.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",s.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",s.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",s.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",s.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",s.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",s.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",s.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",s.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",s.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",s.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",s.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",s.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",s.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",s.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",s.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",s.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",s.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",s.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",s.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:e.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ft-button-tertiary-neutral-icon-color","",s.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",s.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",s.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",s.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",s.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",s.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",s.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",s.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",s.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",s.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",s.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:e.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ft-button-secondary-info-border-color","",s.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",s.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",s.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",s.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:e.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ft-button-secondary-success-border-color","",s.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",s.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",s.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",s.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:e.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ft-button-secondary-warning-border-color","",s.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",s.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",s.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",s.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:e.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ft-button-secondary-error-border-color","",s.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",s.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",s.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",s.contentErrorPrimary)};var fd={iconSize:e.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:e.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ft-checkbox-border-radius","","SIZE","1px"),color:e.extend("--ft-checkbox-color","",s.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",s.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:e.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:e.extend("--ft-checkbox-left-padding","",c.spacing2)};var md={headerRowBorderWidth:e.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ft-table-header-row-background-color","",s.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ft-table-header-row-border-color","",s.borderGlobalPrimary),headerRowColor:e.extend("--ft-table-header-row-color","",s.contentGlobalPrimary),dataRowBorderWidth:e.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ft-table-data-row-background-color","",s.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ft-table-data-row-border-color","",s.borderGlobalSubtle),dataRowColor:e.extend("--ft-table-data-row-color","",s.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowDefaultHoverStateLayerOpacity:e.extend("--ft-table-data-row-default-hover-state-layer-opacity","",c.opacity8),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverStateLayerOpacity:e.extend("--ft-table-data-row-selectable-unselected-hover-state-layer-opacity","",c.opacity8),dataRowSelectableSelectedDefaultStateLayerOpacity:e.extend("--ft-table-data-row-selectable-selected-default-state-layer-opacity","",c.opacity8),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverStateLayerOpacity:e.extend("--ft-table-data-row-selectable-selected-hover-state-layer-opacity","",c.opacity16),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ft-table-data-row-selectable-selected-color","",s.contentActionPrimary),dataRowClickableHoverStateLayerOpacity:e.extend("--ft-table-data-row-clickable-hover-state-layer-opacity","",c.opacity12),dataRowClickableHoverBackgroundColor:e.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusStateLayerOpacity:e.extend("--ft-table-data-row-clickable-focus-state-layer-opacity","",c.opacity12),dataRowClickableFocusBorderColor:e.extend("--ft-table-data-row-clickable-focus-border-color","",s.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveStateLayerOpacity:e.extend("--ft-table-data-row-clickable-active-state-layer-opacity","",c.opacity24),dataRowClickableActiveBackgroundColor:e.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:e.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:e.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:e.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:e.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:e.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3)};var Sd={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",s.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",s.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",s.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",s.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",s.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",s.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",s.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",s.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",s.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",s.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",s.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:e.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:e.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Nd={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:e.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:e.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",s.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",s.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",s.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var Pd={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",s.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",s.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",s.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",s.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",s.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",s.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",s.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",s.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",s.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",s.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",s.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",s.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",s.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",s.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",s.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var $d={iconSize:e.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",s.borderInfoSubtle)};var Ud={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:e.extend("--ft-badge-color","",s.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",s.contentActionPrimary)};var Vd={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",s.contentGlobalSubtle)};var Xd={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",s.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",s.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var of={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",s.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var cf={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var pf={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",s.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:e.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",c.borderRadiusM)};var gf={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",s.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",s.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Cf={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-tabs-off-color","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",s.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:e.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",s.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",s.borderActionFocusRing)};var Af={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",s.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",s.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var kf={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Wf={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",s.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",s.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Hf={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",s.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Kf={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Jf={backgroundColor:e.extend("--ft-popover-background-color","",s.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:e.extend("--ft-popover-title-color","",s.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",s.contentActionPrimary),gap:e.extend("--ft-popover-gap","",c.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px")};var rp={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",s.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:e.extend("--ft-collapsible-color","",s.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var lp={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:e.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",s.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",s.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-switch-off-color","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:e.extend("--ft-switch-on-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",s.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var pp={color1Light:e.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",c.colorRed40),color5Base:e.extend("--ft-chart-5-base","",c.colorRed60),color6Light:e.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",c.colorGray50),color10Base:e.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var mp={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Sp={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:e.extend("--ft-notice-gap","",c.spacing2),iconSize:e.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",s.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",s.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:e.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:e.create("--ft-notice-dense-border-width","","SIZE","0")};var Np={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",s.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:e.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var Pp={color:e.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",s.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",s.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",s.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",c.spacing3)};var $p={iconSize:e.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",s.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",c.spacing8)};var Up={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:e.extend("--ft-tooltip-color","",s.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",s.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:e.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",c.spacing05)};var Vp={verticalPadding:e.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:e.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:e.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:e.extend("--ft-reorderable-list-reorderable-item-title-color","",s.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:e.extend("--ft-reorderable-list-reorderable-item-users-count-color","",s.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:e.extend("--ft-reorderable-list-reorderable-item-background-color","",s.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",s.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",s.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",s.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:e.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:e.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:e.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:e.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:e.extend("--ft-reorderable-list-border-color","",s.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",s.backgroundGlobalOnSurfaceDark)};var So;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(So||(So={}));var Ot;(function(o){o.large="large",o.medium="medium",o.small="small"})(Ot||(Ot={}));var Co=x($());function xa(o){let t=vo[o];return Co.css`
|
|
5
|
+
.ft-typography--${(0,Co.unsafeCSS)(o)} {
|
|
6
6
|
font-family: ${t.fontFamily};
|
|
7
7
|
font-size: ${t.fontSize};
|
|
8
8
|
font-weight: ${t.fontWeight};
|
|
@@ -10,8 +10,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
10
10
|
line-height: ${t.lineHeight};
|
|
11
11
|
text-transform: ${t.textCase};
|
|
12
12
|
}
|
|
13
|
-
`}var
|
|
13
|
+
`}var va=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),_e=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),A={fontFamily:_e,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")},wt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",va),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")},Et={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",va),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")},Nt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_e),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")},At={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_e),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")},Rt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_e),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")},Lt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_e),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")},It={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_e),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")},Pt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_e),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")},kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_e),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")},Re={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_e),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")},Sa=xe.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
|
+
font-family: ${wt.fontFamily};
|
|
16
|
+
font-size: ${wt.fontSize};
|
|
17
|
+
font-weight: ${wt.fontWeight};
|
|
18
|
+
letter-spacing: ${wt.letterSpacing};
|
|
19
|
+
line-height: ${wt.lineHeight};
|
|
20
|
+
text-transform: ${wt.textTransform};
|
|
21
|
+
}
|
|
22
|
+
`,Ca=xe.css`
|
|
23
|
+
.ft-typography--title-dense {
|
|
15
24
|
font-family: ${Et.fontFamily};
|
|
16
25
|
font-size: ${Et.fontSize};
|
|
17
26
|
font-weight: ${Et.fontWeight};
|
|
@@ -19,8 +28,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
19
28
|
line-height: ${Et.lineHeight};
|
|
20
29
|
text-transform: ${Et.textTransform};
|
|
21
30
|
}
|
|
22
|
-
`,
|
|
23
|
-
.ft-typography--
|
|
31
|
+
`,Oa=xe.css`
|
|
32
|
+
.ft-typography--subtitle1 {
|
|
24
33
|
font-family: ${Nt.fontFamily};
|
|
25
34
|
font-size: ${Nt.fontSize};
|
|
26
35
|
font-weight: ${Nt.fontWeight};
|
|
@@ -29,7 +38,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
29
38
|
text-transform: ${Nt.textTransform};
|
|
30
39
|
}
|
|
31
40
|
`,wa=xe.css`
|
|
32
|
-
.ft-typography--
|
|
41
|
+
.ft-typography--subtitle2 {
|
|
33
42
|
font-family: ${At.fontFamily};
|
|
34
43
|
font-size: ${At.fontSize};
|
|
35
44
|
font-weight: ${At.fontWeight};
|
|
@@ -37,8 +46,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
37
46
|
line-height: ${At.lineHeight};
|
|
38
47
|
text-transform: ${At.textTransform};
|
|
39
48
|
}
|
|
49
|
+
|
|
40
50
|
`,Ea=xe.css`
|
|
41
|
-
.ft-typography--
|
|
51
|
+
.ft-typography--body1 {
|
|
42
52
|
font-family: ${Rt.fontFamily};
|
|
43
53
|
font-size: ${Rt.fontSize};
|
|
44
54
|
font-weight: ${Rt.fontWeight};
|
|
@@ -46,9 +56,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
46
56
|
line-height: ${Rt.lineHeight};
|
|
47
57
|
text-transform: ${Rt.textTransform};
|
|
48
58
|
}
|
|
49
|
-
|
|
50
59
|
`,Na=xe.css`
|
|
51
|
-
.ft-typography--
|
|
60
|
+
.ft-typography--body2 {
|
|
52
61
|
font-family: ${Lt.fontFamily};
|
|
53
62
|
font-size: ${Lt.fontSize};
|
|
54
63
|
font-weight: ${Lt.fontWeight};
|
|
@@ -57,7 +66,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
57
66
|
text-transform: ${Lt.textTransform};
|
|
58
67
|
}
|
|
59
68
|
`,Aa=xe.css`
|
|
60
|
-
.ft-typography--
|
|
69
|
+
.ft-typography--caption {
|
|
61
70
|
font-family: ${It.fontFamily};
|
|
62
71
|
font-size: ${It.fontSize};
|
|
63
72
|
font-weight: ${It.fontWeight};
|
|
@@ -66,7 +75,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
66
75
|
text-transform: ${It.textTransform};
|
|
67
76
|
}
|
|
68
77
|
`,Ra=xe.css`
|
|
69
|
-
.ft-typography--
|
|
78
|
+
.ft-typography--breadcrumb {
|
|
70
79
|
font-family: ${Pt.fontFamily};
|
|
71
80
|
font-size: ${Pt.fontSize};
|
|
72
81
|
font-weight: ${Pt.fontWeight};
|
|
@@ -75,7 +84,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
75
84
|
text-transform: ${Pt.textTransform};
|
|
76
85
|
}
|
|
77
86
|
`,La=xe.css`
|
|
78
|
-
.ft-typography--
|
|
87
|
+
.ft-typography--overline {
|
|
79
88
|
font-family: ${kt.fontFamily};
|
|
80
89
|
font-size: ${kt.fontSize};
|
|
81
90
|
font-weight: ${kt.fontWeight};
|
|
@@ -84,15 +93,6 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
84
93
|
text-transform: ${kt.textTransform};
|
|
85
94
|
}
|
|
86
95
|
`,Ia=xe.css`
|
|
87
|
-
.ft-typography--overline {
|
|
88
|
-
font-family: ${Tt.fontFamily};
|
|
89
|
-
font-size: ${Tt.fontSize};
|
|
90
|
-
font-weight: ${Tt.fontWeight};
|
|
91
|
-
letter-spacing: ${Tt.letterSpacing};
|
|
92
|
-
line-height: ${Tt.lineHeight};
|
|
93
|
-
text-transform: ${Tt.textTransform};
|
|
94
|
-
}
|
|
95
|
-
`,Pa=xe.css`
|
|
96
96
|
.ft-typography--button {
|
|
97
97
|
font-family: ${Re.fontFamily};
|
|
98
98
|
font-size: ${Re.fontSize};
|
|
@@ -101,38 +101,38 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
101
101
|
line-height: ${Re.lineHeight};
|
|
102
102
|
text-transform: ${Re.textTransform};
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,Pa=xe.css`
|
|
105
105
|
.ft-typography {
|
|
106
106
|
vertical-align: inherit;
|
|
107
107
|
}
|
|
108
|
-
`,
|
|
109
|
-
<${
|
|
108
|
+
`,ka=[Object.keys(vo).map(o=>xa(o))];var Ta=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},pe=class extends _a.FtLitElement{constructor(){super(...arguments),this.variant=je.body1}render(){return this.element?wr`
|
|
109
|
+
<${Cr(this.element)}
|
|
110
110
|
part="text"
|
|
111
111
|
class="ft-typography ft-typography--${this.variant}">
|
|
112
112
|
<slot></slot>
|
|
113
|
-
</${
|
|
114
|
-
`:
|
|
113
|
+
</${Cr(this.element)}>
|
|
114
|
+
`:wr`
|
|
115
115
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
-
`}};pe.styles=[
|
|
116
|
+
`}};pe.styles=[Sa,Ca,Oa,wa,Ea,Na,Aa,Ra,La,Ia,Pa,...ka];Ta([(0,Er.property)()],pe.prototype,"element",void 0);Ta([(0,Er.property)()],pe.prototype,"variant",void 0);(0,Ba.customElement)("ft-typography")(pe);var Ma=x(L());var Da=x($()),Zt=x(Z()),za=x(Gt());var Oo=x(L()),$a=x($()),xl={outlineColor:Oo.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",Oo.designSystemVariables.colorPrimary)},Wa=$a.css`
|
|
117
117
|
:host {
|
|
118
118
|
display: contents;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
a:focus {
|
|
122
|
-
outline-color: ${
|
|
122
|
+
outline-color: ${xl.outlineColor};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.ft-reader-link--remove-style {
|
|
126
126
|
text-decoration: none;
|
|
127
127
|
color: inherit;
|
|
128
128
|
}
|
|
129
|
-
`;var wo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var
|
|
129
|
+
`;var wo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ce=class extends vt{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let r=(0,za.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return Da.html`
|
|
130
130
|
<a class=${r}
|
|
131
131
|
href="${(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
132
132
|
@click=${n=>this.onLinkClick(n)}>
|
|
133
133
|
<slot></slot>
|
|
134
134
|
</a>
|
|
135
|
-
`}onLinkClick(t){var r;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};
|
|
135
|
+
`}onLinkClick(t){var r;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Ce.styles=Wa;wo([(0,Zt.property)()],Ce.prototype,"tocId",void 0);wo([(0,Zt.property)()],Ce.prototype,"section",void 0);wo([(0,Zt.property)({type:Number})],Ce.prototype,"pageNumber",void 0);wo([(0,Zt.property)({type:Boolean})],Ce.prototype,"removeStyle",void 0);(0,Ma.customElement)("ft-reader-internal-link")(Ce);var Ka=x(L());var qt=x($()),dt=x(Z()),ja=x(L()),Va=x(Ha());var Eo;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.ROUTE="",o.CIRCLE_USER_SLASH="",o.CIRCLE_USER_CHECK="",o.LIST_MAGNIFYING_GLASS="",o.MEDAL="",o.THUMBS_UP_THUMBS_DOWN_SOLID="",o.ARROW_TURN_DOWN_RIGHT="",o.FLASK="",o.LOCK_KEYHOLE_OPEN_SOLID="",o.HOURGLASS_END="",o.CIRCLE_QUESTION="",o.GRIP_LINES_SOLID="",o.TRANSLATE_SPARKLE_SOLID="",o.CODE="",o.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",o.PAPER_PLANE_SLASH="",o.COMPRESS="",o.EXPAND="",o.ARROW_ROTATE_LEFT="",o.EYE="",o.SHARE="󨃱"})(Eo||(Eo={}));var O;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(O||(O={}));var Rh=new Map([...["abw"].map(o=>[o,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(o=>[o,O.AUDIO]),...["avi"].map(o=>[o,O.AVI]),...["chm","xhs"].map(o=>[o,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(o=>[o,O.CODE]),...["csv"].map(o=>[o,O.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,O.DITA]),...["epub"].map(o=>[o,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,O.EXCEL]),...["flac"].map(o=>[o,O.FLAC]),...["gif"].map(o=>[o,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,O.GZIP]),...["html","htm","xhtml"].map(o=>[o,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(o=>[o,O.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,O.JPEG]),...["json"].map(o=>[o,O.JSON]),...["m4a","m4p"].map(o=>[o,O.M4A]),...["mov","qt"].map(o=>[o,O.MOV]),...["mp3"].map(o=>[o,O.MP3]),...["mp4","m4v"].map(o=>[o,O.MP4]),...["ogg","oga"].map(o=>[o,O.OGG]),...["pdf","ps"].map(o=>[o,O.PDF]),...["png"].map(o=>[o,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,O.POWERPOINT]),...["rar"].map(o=>[o,O.RAR]),...["stp"].map(o=>[o,O.STP]),...["txt","rtf","md","mdown"].map(o=>[o,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(o=>[o,O.VIDEO]),...["wav"].map(o=>[o,O.WAV]),...["wma"].map(o=>[o,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,O.WORD]),...["xml","xsl","rdf"].map(o=>[o,O.XML]),...["yaml","yml","x-yaml"].map(o=>[o,O.YAML]),...["zip"].map(o=>[o,O.ZIP])]);var Lh={[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 Ga=x($()),Be=x(L()),re={size:Be.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Be.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Be.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Be.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Be.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Fa=Ga.css`
|
|
136
136
|
:host, i.ft-icon {
|
|
137
137
|
display: inline-flex;
|
|
138
138
|
align-items: center;
|
|
@@ -180,12 +180,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
180
180
|
.ft-icon--material {
|
|
181
181
|
font-family: ${re.materialFontFamily}, "Material Icons", sans-serif;
|
|
182
182
|
}
|
|
183
|
-
`;var ue;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ue||(ue={}));var No=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var
|
|
183
|
+
`;var ue;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ue||(ue={}));var No=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ne=class extends ja.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=qt.nothing}render(){let t=this.variant&&Object.values(ue).includes(this.variant)?this.variant:ue.fluid_topics,r=t!==ue.material||!!this.value;return qt.html`
|
|
184
184
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
185
|
-
${(0,
|
|
185
|
+
${(0,Va.unsafeHTML)(this.resolvedIcon)}
|
|
186
186
|
<slot ?hidden=${r}></slot>
|
|
187
187
|
</i>
|
|
188
|
-
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case ue.file_format:this.resolvedIcon=(t=
|
|
188
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case ue.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ue.material:this.resolvedIcon=this.value||qt.nothing;break;default:this.resolvedIcon=(r=Eo[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ne.elementDefinitions={};ne.styles=Fa;No([(0,dt.property)()],ne.prototype,"variant",void 0);No([(0,dt.property)()],ne.prototype,"value",void 0);No([(0,dt.state)()],ne.prototype,"resolvedIcon",void 0);No([(0,dt.query)("slot")],ne.prototype,"slottedContent",void 0);(0,Ka.customElement)("ft-icon")(ne);var zr=x(L());var ro=x(Z()),Hi=x(L());var ai=x($()),k=x(L());var Qa=x($()),K=x(L()),Za=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorContent),C={color:Za,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",Za),opacityContentOnSurfacePressed:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:K.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},qa=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorPrimary),Ya={color:qa,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",qa)},Xa=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorSecondary),Ja={color:Xa,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xa)},ei=Qa.css`
|
|
189
189
|
:host {
|
|
190
190
|
display: contents;
|
|
191
191
|
}
|
|
@@ -198,7 +198,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
198
198
|
|
|
199
199
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
200
200
|
overflow: hidden;
|
|
201
|
-
border-radius: ${
|
|
201
|
+
border-radius: ${C.borderRadius};
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
.ft-ripple .ft-ripple--background,
|
|
@@ -232,27 +232,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
.ft-ripple .ft-ripple--background {
|
|
235
|
-
background-color: ${
|
|
235
|
+
background-color: ${C.backgroundColor};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.ft-ripple .ft-ripple--effect {
|
|
239
|
-
background-color: ${
|
|
239
|
+
background-color: ${C.color};
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
243
|
-
background-color: ${
|
|
243
|
+
background-color: ${Ja.backgroundColor};
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
247
|
-
background-color: ${
|
|
247
|
+
background-color: ${Ja.color};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
251
|
-
background-color: ${
|
|
251
|
+
background-color: ${Ya.backgroundColor};
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
255
|
-
background-color: ${
|
|
255
|
+
background-color: ${Ya.color};
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
.ft-ripple .ft-ripple--background {
|
|
@@ -282,22 +282,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
285
|
-
opacity: ${
|
|
285
|
+
opacity: ${C.opacityContentOnSurfaceHover};
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
289
|
-
opacity: ${
|
|
289
|
+
opacity: ${C.opacityContentOnSurfaceSelected};
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
293
|
-
opacity: ${
|
|
293
|
+
opacity: ${C.opacityContentOnSurfaceFocused};
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
297
|
-
opacity: ${
|
|
297
|
+
opacity: ${C.opacityContentOnSurfacePressed};
|
|
298
298
|
transform: translate(-50%, -50%) scale(1);
|
|
299
299
|
}
|
|
300
|
-
`;var
|
|
300
|
+
`;var ti=x($()),Yt=x(L()),M={color:Yt.FtCssVariableFactory.extend("--ft-loader-color","",Yt.designSystemVariables.colorPrimary),size:Yt.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},oi=ti.css`
|
|
301
301
|
:host {
|
|
302
302
|
line-height: 0;
|
|
303
303
|
}
|
|
@@ -366,7 +366,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
366
366
|
transform: translate(calc(0.35 * ${M.size}), 0);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
`;var
|
|
369
|
+
`;var ri=k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorPrimary),U={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorSurface),borderRadius:k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusL),color:ri,fontSize:k.FtCssVariableFactory.extend("--ft-button-font-size","",Re.fontSize),iconSize:k.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:k.FtCssVariableFactory.extend("--ft-button-ripple-color","",ri),verticalPadding:k.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:k.FtCssVariableFactory.external(k.designSystemVariables.colorOpacityDisabled,"Design system")},ni=k.FtCssVariableFactory.extend("--ft-button-primary-color","",k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorOnPrimary)),Nr={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-primary-background-color","",k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorPrimary)),color:ni,rippleColor:k.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ni)},Le={borderRadius:k.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusM)),verticalPadding:k.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ii=[ai.css`
|
|
370
370
|
:host {
|
|
371
371
|
display: inline-block;
|
|
372
372
|
max-width: 100%;
|
|
@@ -410,7 +410,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
410
410
|
--ft-button-internal-line-height: max(calc(${U.fontSize} + 2px), ${U.iconSize});
|
|
411
411
|
--ft-button-internal-color: ${U.color};
|
|
412
412
|
${(0,k.setVariable)(re.size,U.iconSize)};
|
|
413
|
-
${(0,k.setVariable)(
|
|
413
|
+
${(0,k.setVariable)(C.color,U.rippleColor)};
|
|
414
414
|
|
|
415
415
|
border-radius: ${U.borderRadius};
|
|
416
416
|
padding: ${U.verticalPadding} ${U.horizontalPadding};
|
|
@@ -452,9 +452,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button.ft-button--primary {
|
|
455
|
-
background-color: ${
|
|
456
|
-
--ft-button-internal-color: ${
|
|
457
|
-
${(0,k.setVariable)(
|
|
455
|
+
background-color: ${Nr.backgroundColor};
|
|
456
|
+
--ft-button-internal-color: ${Nr.color};
|
|
457
|
+
${(0,k.setVariable)(C.color,Nr.rippleColor)};
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
.ft-button:focus {
|
|
@@ -503,18 +503,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
503
503
|
${(0,k.setVariable)(M.size,U.iconSize)};
|
|
504
504
|
${(0,k.setVariable)(M.color,"var(--ft-button-internal-color)")};
|
|
505
505
|
}
|
|
506
|
-
`,k.noTextSelect];var
|
|
506
|
+
`,k.noTextSelect];var qe=x(L());var si=x(L());var ci=x($()),Q=x(Z()),li=x(Gt()),Xt=x(L());var ae=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},F=class extends Xt.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 Xt.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Xt.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:a,y:i}=this.getCoordinates(t),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=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ci.html`
|
|
507
507
|
<style>
|
|
508
508
|
.ft-ripple .ft-ripple--effect {
|
|
509
509
|
left: ${this.originX}px;
|
|
510
510
|
top: ${this.originY}px;
|
|
511
511
|
}
|
|
512
512
|
</style>
|
|
513
|
-
<div class="${(0,
|
|
513
|
+
<div class="${(0,li.classMap)(t)}">
|
|
514
514
|
<div class="ft-ripple--background"></div>
|
|
515
515
|
<div class="ft-ripple--effect"></div>
|
|
516
516
|
</div>
|
|
517
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...
|
|
517
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...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};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",i,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",i,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=ei;ae([(0,Q.property)({type:Boolean})],F.prototype,"primary",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"secondary",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"unbounded",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"activated",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"selected",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"disabled",void 0);ae([(0,Q.state)()],F.prototype,"hovered",void 0);ae([(0,Q.state)()],F.prototype,"focused",void 0);ae([(0,Q.state)()],F.prototype,"pressed",void 0);ae([(0,Q.state)()],F.prototype,"rippling",void 0);ae([(0,Q.state)()],F.prototype,"originX",void 0);ae([(0,Q.state)()],F.prototype,"originY",void 0);ae([(0,Q.query)(".ft-ripple")],F.prototype,"ripple",void 0);ae([(0,Q.query)(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);(0,si.customElement)("ft-ripple")(F);var Di=x(L());var Wi=x($()),q=x(Z()),oo=x(L());var di=x($()),$e=x(L()),Tt={distance:$e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:$e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:$e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:$e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:$e.FtCssVariableFactory.external($e.designSystemVariables.borderRadiusS,"Design system"),maxWidth:$e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},fi=di.css`
|
|
518
518
|
.ft-tooltip--container {
|
|
519
519
|
display: block;
|
|
520
520
|
}
|
|
@@ -529,21 +529,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
529
529
|
box-sizing: border-box;
|
|
530
530
|
overflow: hidden;
|
|
531
531
|
width: max-content;
|
|
532
|
-
max-width: ${
|
|
532
|
+
max-width: ${Tt.maxWidth};
|
|
533
533
|
text-align: center;
|
|
534
|
-
padding: ${
|
|
535
|
-
z-index: ${
|
|
534
|
+
padding: ${Tt.distance};
|
|
535
|
+
z-index: ${Tt.zIndex};
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
.ft-tooltip--content {
|
|
539
539
|
padding: 4px 8px;
|
|
540
|
-
border-radius: ${
|
|
541
|
-
background-color: ${
|
|
542
|
-
color: ${
|
|
540
|
+
border-radius: ${Tt.borderRadiusS};
|
|
541
|
+
background-color: ${Tt.backgroundColor};
|
|
542
|
+
color: ${Tt.color};
|
|
543
543
|
position: relative;
|
|
544
544
|
word-break: break-word;
|
|
545
545
|
}
|
|
546
|
-
`;var hi=["top","right","bottom","left"],ui=["start","end"],Nr=hi.reduce((o,t)=>o.concat(t,t+"-"+ui[0],t+"-"+ui[1]),[]),Jt=Math.min,Ke=Math.max,Qt=Math.round;var We=o=>({x:o,y:o}),ml={left:"right",right:"left",bottom:"top",top:"bottom"},gl={start:"end",end:"start"};function Ar(o,t,r){return Ke(o,Jt(t,r))}function Ao(o,t){return typeof o=="function"?o(t):o}function $t(o){return o.split("-")[0]}function Ze(o){return o.split("-")[1]}function Rr(o){return o==="x"?"y":"x"}function Lr(o){return o==="y"?"height":"width"}function Ro(o){return["top","bottom"].includes($t(o))?"y":"x"}function Ir(o){return Rr(Ro(o))}function yi(o,t,r){r===void 0&&(r=!1);let n=Ze(o),a=Ir(o),i=Lr(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Er(l)),[l,Er(l)]}function mi(o){return o.replace(/start|end/g,t=>gl[t])}function Er(o){return o.replace(/left|right|bottom|top/g,t=>ml[t])}function bl(o){return{top:0,right:0,bottom:0,left:0,...o}}function gi(o){return typeof o!="number"?bl(o):{top:o,right:o,bottom:o,left:o}}function ut(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function bi(o,t,r){let{reference:n,floating:a}=o,i=Ro(t),l=Ir(t),s=Lr(l),p=$t(t),f=i==="y",h=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,m=n[s]/2-a[s]/2,b;switch(p){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-a.width,y};break;default:b={x:n.x,y:n.y}}switch(Ze(t)){case"start":b[l]-=m*(r&&f?-1:1);break;case"end":b[l]+=m*(r&&f?-1:1);break}return b}var xi=async(o,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,s=i.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(t)),f=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:h,y}=bi(f,n,p),m=n,b={},g=0;for(let S=0;S<s.length;S++){let{name:R,fn:E}=s[S],{x:N,y:P,data:T,reset:D}=await E({x:h,y,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:f,platform:l,elements:{reference:o,floating:t}});if(h=N??h,y=P??y,b={...b,[R]:{...b[R],...T}},D&&g<=50){g++,typeof D=="object"&&(D.placement&&(m=D.placement),D.rects&&(f=D.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):D.rects),{x:h,y}=bi(f,m,p)),S=-1;continue}}return{x:h,y,placement:m,strategy:a,middlewareData:b}};async function Pr(o,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:l,elements:s,strategy:p}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:m=!1,padding:b=0}=Ao(t,o),g=gi(b),R=s[m?y==="floating"?"reference":"floating":y],E=ut(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(s.floating)),boundary:f,rootBoundary:h,strategy:p})),N=y==="floating"?{...l.floating,x:n,y:a}:l.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),T=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},D=ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:P,strategy:p}):N);return{top:(E.top-D.top+g.top)/T.y,bottom:(D.bottom-E.bottom+g.bottom)/T.y,left:(E.left-D.left+g.left)/T.x,right:(D.right-E.right+g.right)/T.x}}function xl(o,t,r){return(o?[...r.filter(a=>Ze(a)===o),...r.filter(a=>Ze(a)!==o)]:r.filter(a=>$t(a)===a)).filter(a=>o?Ze(a)===o||(t?mi(a)!==a:!1):!0)}var kr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,a;let{rects:i,middlewareData:l,placement:s,platform:p,elements:f}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:m=Nr,autoAlignment:b=!0,...g}=Ao(o,t),S=y!==void 0||m===Nr?xl(y||null,b,m):m,R=await Pr(t,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=S[E];if(N==null)return{};let P=yi(N,i,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(s!==N)return{reset:{placement:S[0]}};let T=[R[$t(N)],R[P[0]],R[P[1]]],D=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:T}],ge=S[E+1];if(ge)return{data:{index:E+1,overflows:D},reset:{placement:ge}};let He=D.map(de=>{let be=Ze(de.placement);return[de.placement,be&&h?de.overflows.slice(0,2).reduce((fe,ct)=>fe+ct,0):de.overflows[0],de.overflows]}).sort((de,be)=>de[1]-be[1]),Ge=((a=He.filter(de=>de[2].slice(0,Ze(de[0])?2:3).every(be=>be<=0))[0])==null?void 0:a[0])||He[0][0];return Ge!==s?{data:{index:E+1,overflows:D},reset:{placement:Ge}}:{}}}};var Tr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...p}=Ao(o,t),f={x:r,y:n},h=await Pr(t,p),y=Ro($t(a)),m=Rr(y),b=f[m],g=f[y];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=b+h[R],P=b-h[E];b=Ar(N,b,P)}if(l){let R=y==="y"?"top":"left",E=y==="y"?"bottom":"right",N=g+h[R],P=g-h[E];g=Ar(N,g,P)}let S=s.fn({...t,[m]:b,[y]:g});return{...S,data:{x:S.x-r,y:S.y-n}}}}};function De(o){return Si(o)?(o.nodeName||"").toLowerCase():"#document"}function ie(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ze(o){var t;return(t=(Si(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Si(o){return o instanceof Node||o instanceof ie(o).Node}function Ie(o){return o instanceof Element||o instanceof ie(o).Element}function Ce(o){return o instanceof HTMLElement||o instanceof ie(o).HTMLElement}function vi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ie(o).ShadowRoot}function Bt(o){let{overflow:t,overflowX:r,overflowY:n,display:a}=he(o);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Oi(o){return["table","td","th"].includes(De(o))}function Io(o){let t=Po(),r=he(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ci(o){let t=ht(o);for(;Ce(t)&&!eo(t);){if(Io(t))return t;t=ht(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function eo(o){return["html","body","#document"].includes(De(o))}function he(o){return ie(o).getComputedStyle(o)}function to(o){return Ie(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ht(o){if(De(o)==="html")return o;let t=o.assignedSlot||o.parentNode||vi(o)&&o.host||ze(o);return vi(t)?t.host:t}function wi(o){let t=ht(o);return eo(t)?o.ownerDocument?o.ownerDocument.body:o.body:Ce(t)&&Bt(t)?t:wi(t)}function Lo(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=wi(o),i=a===((n=o.ownerDocument)==null?void 0:n.body),l=ie(a);return i?t.concat(l,l.visualViewport||[],Bt(a)?a:[],l.frameElement&&r?Lo(l.frameElement):[]):t.concat(a,Lo(a,[],r))}function Ai(o){let t=he(o),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Ce(o),i=a?o.offsetWidth:r,l=a?o.offsetHeight:n,s=Qt(r)!==i||Qt(n)!==l;return s&&(r=i,n=l),{width:r,height:n,$:s}}function Ri(o){return Ie(o)?o:o.contextElement}function Wt(o){let t=Ri(o);if(!Ce(t))return We(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=Ai(t),l=(i?Qt(r.width):r.width)/n,s=(i?Qt(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Cl=We(0);function Li(o){let t=ie(o);return!Po()||!t.visualViewport?Cl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==ie(o)?!1:t}function oo(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),i=Ri(o),l=We(1);t&&(n?Ie(n)&&(l=Wt(n)):l=Wt(o));let s=wl(i,r,n)?Li(i):We(0),p=(a.left+s.x)/l.x,f=(a.top+s.y)/l.y,h=a.width/l.x,y=a.height/l.y;if(i){let m=ie(i),b=n&&Ie(n)?ie(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let S=Wt(g),R=g.getBoundingClientRect(),E=he(g),N=R.left+(g.clientLeft+parseFloat(E.paddingLeft))*S.x,P=R.top+(g.clientTop+parseFloat(E.paddingTop))*S.y;p*=S.x,f*=S.y,h*=S.x,y*=S.y,p+=N,f+=P,g=ie(g).frameElement}}return ut({width:h,height:y,x:p,y:f})}function El(o){let{rect:t,offsetParent:r,strategy:n}=o,a=Ce(r),i=ze(r);if(r===i)return t;let l={scrollLeft:0,scrollTop:0},s=We(1),p=We(0);if((a||!a&&n!=="fixed")&&((De(r)!=="body"||Bt(i))&&(l=to(r)),Ce(r))){let f=oo(r);s=Wt(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-l.scrollLeft*s.x+p.x,y:t.y*s.y-l.scrollTop*s.y+p.y}}function Nl(o){return Array.from(o.getClientRects())}function Ii(o){return oo(ze(o)).left+to(o).scrollLeft}function Al(o){let t=ze(o),r=to(o),n=o.ownerDocument.body,a=Ke(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Ke(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+Ii(o),s=-r.scrollTop;return he(n).direction==="rtl"&&(l+=Ke(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:s}}function Rl(o,t){let r=ie(o),n=ze(o),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,s=0,p=0;if(a){i=a.width,l=a.height;let f=Po();(!f||f&&t==="fixed")&&(s=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:s,y:p}}function Ll(o,t){let r=oo(o,!0,t==="fixed"),n=r.top+o.clientTop,a=r.left+o.clientLeft,i=Ce(o)?Wt(o):We(1),l=o.clientWidth*i.x,s=o.clientHeight*i.y,p=a*i.x,f=n*i.y;return{width:l,height:s,x:p,y:f}}function Ei(o,t,r){let n;if(t==="viewport")n=Rl(o,r);else if(t==="document")n=Al(ze(o));else if(Ie(t))n=Ll(t,r);else{let a=Li(o);n={...t,x:t.x-a.x,y:t.y-a.y}}return ut(n)}function Pi(o,t){let r=ht(o);return r===t||!Ie(r)||eo(r)?!1:he(r).position==="fixed"||Pi(r,t)}function Il(o,t){let r=t.get(o);if(r)return r;let n=Lo(o,[],!1).filter(s=>Ie(s)&&De(s)!=="body"),a=null,i=he(o).position==="fixed",l=i?ht(o):o;for(;Ie(l)&&!eo(l);){let s=he(l),p=Io(l);!p&&s.position==="fixed"&&(a=null),(i?!p&&!a:!p&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Bt(l)&&!p&&Pi(o,l))?n=n.filter(h=>h!==l):a=s,l=ht(l)}return t.set(o,n),n}function Pl(o){let{element:t,boundary:r,rootBoundary:n,strategy:a}=o,l=[...r==="clippingAncestors"?Il(t,this._c):[].concat(r),n],s=l[0],p=l.reduce((f,h)=>{let y=Ei(t,h,a);return f.top=Ke(y.top,f.top),f.right=Jt(y.right,f.right),f.bottom=Jt(y.bottom,f.bottom),f.left=Ke(y.left,f.left),f},Ei(t,s,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function kl(o){return Ai(o)}function Tl(o,t,r){let n=Ce(t),a=ze(t),i=r==="fixed",l=oo(o,!0,i,t),s={scrollLeft:0,scrollTop:0},p=We(0);if(n||!n&&!i)if((De(t)!=="body"||Bt(a))&&(s=to(t)),n){let f=oo(t,!0,i,t);p.x=f.x+t.clientLeft,p.y=f.y+t.clientTop}else a&&(p.x=Ii(a));return{x:l.left+s.scrollLeft-p.x,y:l.top+s.scrollTop-p.y,width:l.width,height:l.height}}function Ni(o,t){return!Ce(o)||he(o).position==="fixed"?null:t?t(o):o.offsetParent}function ki(o,t){let r=ie(o);if(!Ce(o))return r;let n=Ni(o,t);for(;n&&Oi(n)&&he(n).position==="static";)n=Ni(n,t);return n&&(De(n)==="html"||De(n)==="body"&&he(n).position==="static"&&!Io(n))?r:n||Ci(o)||r}var _l=async function(o){let{reference:t,floating:r,strategy:n}=o,a=this.getOffsetParent||ki,i=this.getDimensions;return{reference:Tl(t,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function $l(o){return he(o).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:El,getDocumentElement:ze,getClippingRect:Pl,getOffsetParent:ki,getElementRects:_l,getClientRects:Nl,getDimensions:kl,getScale:Wt,isElement:Ie,isRTL:$l};var Ti=(o,t,r)=>{let n=new Map,a={platform:ko,...r},i={...a.platform,_c:n};return xi(o,t,{...a,platform:i})};function _i(o){return Bl(o)}function _r(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Bl(o){for(let t=o;t;t=_r(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=_r(o);t;t=_r(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function $i(o,t,r){return Ti(o,t,{platform:{...ko,getOffsetParent:n=>ko.getOffsetParent(n,_i)},middleware:[Tr({crossAxis:!0}),kr({allowedPlacements:[r]})]})}var ce=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},j=class extends ro.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 ro.Debouncer,this.revealDebouncer=new ro.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Bi.html`
|
|
546
|
+
`;var ui=["top","right","bottom","left"],pi=["start","end"],Rr=ui.reduce((o,t)=>o.concat(t,t+"-"+pi[0],t+"-"+pi[1]),[]),hi=Math.min,yi=Math.max;var vl={left:"right",right:"left",bottom:"top",top:"bottom"},Sl={start:"end",end:"start"};function Lr(o,t,r){return yi(o,hi(t,r))}function Ao(o,t){return typeof o=="function"?o(t):o}function _t(o){return o.split("-")[0]}function Ke(o){return o.split("-")[1]}function Ir(o){return o==="x"?"y":"x"}function Pr(o){return o==="y"?"height":"width"}function Ro(o){return["top","bottom"].includes(_t(o))?"y":"x"}function kr(o){return Ir(Ro(o))}function mi(o,t,r){r===void 0&&(r=!1);let n=Ke(o),a=kr(o),i=Pr(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Ar(l)),[l,Ar(l)]}function gi(o){return o.replace(/start|end/g,t=>Sl[t])}function Ar(o){return o.replace(/left|right|bottom|top/g,t=>vl[t])}function Cl(o){return{top:0,right:0,bottom:0,left:0,...o}}function bi(o){return typeof o!="number"?Cl(o):{top:o,right:o,bottom:o,left:o}}function ft(o){let{x:t,y:r,width:n,height:a}=o;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function xi(o,t,r){let{reference:n,floating:a}=o,i=Ro(t),l=kr(t),d=Pr(l),p=_t(t),f=i==="y",h=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,b;switch(p){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-a.width,y};break;default:b={x:n.x,y:n.y}}switch(Ke(t)){case"start":b[l]-=m*(r&&f?-1:1);break;case"end":b[l]+=m*(r&&f?-1:1);break}return b}var vi=async(o,t,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(t)),f=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:h,y}=xi(f,n,p),m=n,b={},g=0;for(let S=0;S<d.length;S++){let{name:R,fn:E}=d[S],{x:N,y:P,data:T,reset:D}=await E({x:h,y,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:f,platform:l,elements:{reference:o,floating:t}});h=N??h,y=P??y,b={...b,[R]:{...b[R],...T}},D&&g<=50&&(g++,typeof D=="object"&&(D.placement&&(m=D.placement),D.rects&&(f=D.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):D.rects),{x:h,y}=xi(f,m,p)),S=-1)}return{x:h,y,placement:m,strategy:a,middlewareData:b}};async function Tr(o,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:l,elements:d,strategy:p}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:m=!1,padding:b=0}=Ao(t,o),g=bi(b),R=d[m?y==="floating"?"reference":"floating":y],E=ft(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:h,strategy:p})),N=y==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),T=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},D=ft(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:P,strategy:p}):N);return{top:(E.top-D.top+g.top)/T.y,bottom:(D.bottom-E.bottom+g.bottom)/T.y,left:(E.left-D.left+g.left)/T.x,right:(D.right-E.right+g.right)/T.x}}function Ol(o,t,r){return(o?[...r.filter(a=>Ke(a)===o),...r.filter(a=>Ke(a)!==o)]:r.filter(a=>_t(a)===a)).filter(a=>o?Ke(a)===o||(t?gi(a)!==a:!1):!0)}var _r=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,a;let{rects:i,middlewareData:l,placement:d,platform:p,elements:f}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:m=Rr,autoAlignment:b=!0,...g}=Ao(o,t),S=y!==void 0||m===Rr?Ol(y||null,b,m):m,R=await Tr(t,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=S[E];if(N==null)return{};let P=mi(N,i,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(d!==N)return{reset:{placement:S[0]}};let T=[R[_t(N)],R[P[0]],R[P[1]]],D=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:T}],ge=S[E+1];if(ge)return{data:{index:E+1,overflows:D},reset:{placement:ge}};let He=D.map(de=>{let be=Ke(de.placement);return[de.placement,be&&h?de.overflows.slice(0,2).reduce((fe,at)=>fe+at,0):de.overflows[0],de.overflows]}).sort((de,be)=>de[1]-be[1]),Ge=((a=He.filter(de=>de[2].slice(0,Ke(de[0])?2:3).every(be=>be<=0))[0])==null?void 0:a[0])||He[0][0];return Ge!==d?{data:{index:E+1,overflows:D},reset:{placement:Ge}}:{}}}};var Br=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:d={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...p}=Ao(o,t),f={x:r,y:n},h=await Tr(t,p),y=Ro(_t(a)),m=Ir(y),b=f[m],g=f[y];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=b+h[R],P=b-h[E];b=Lr(N,b,P)}if(l){let R=y==="y"?"top":"left",E=y==="y"?"bottom":"right",N=g+h[R],P=g-h[E];g=Lr(N,g,P)}let S=d.fn({...t,[m]:b,[y]:g});return{...S,data:{x:S.x-r,y:S.y-n,enabled:{[m]:i,[y]:l}}}}}};var $r=Math.min,Bt=Math.max,Jt=Math.round;var We=o=>({x:o,y:o});function De(o){return Ci(o)?(o.nodeName||"").toLowerCase():"#document"}function ie(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ze(o){var t;return(t=(Ci(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ci(o){return o instanceof Node||o instanceof ie(o).Node}function Ie(o){return o instanceof Element||o instanceof ie(o).Element}function Oe(o){return o instanceof HTMLElement||o instanceof ie(o).HTMLElement}function Si(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ie(o).ShadowRoot}function $t(o){let{overflow:t,overflowX:r,overflowY:n,display:a}=he(o);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Oi(o){return["table","td","th"].includes(De(o))}function Io(o){let t=Po(),r=he(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function wi(o){let t=pt(o);for(;Oe(t)&&!Qt(t);){if(Io(t))return t;t=pt(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qt(o){return["html","body","#document"].includes(De(o))}function he(o){return ie(o).getComputedStyle(o)}function eo(o){return Ie(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function pt(o){if(De(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Si(o)&&o.host||ze(o);return Si(t)?t.host:t}function Ei(o){let t=pt(o);return Qt(t)?o.ownerDocument?o.ownerDocument.body:o.body:Oe(t)&&$t(t)?t:Ei(t)}function Lo(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=Ei(o),i=a===((n=o.ownerDocument)==null?void 0:n.body),l=ie(a);return i?t.concat(l,l.visualViewport||[],$t(a)?a:[],l.frameElement&&r?Lo(l.frameElement):[]):t.concat(a,Lo(a,[],r))}function Ri(o){let t=he(o),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Oe(o),i=a?o.offsetWidth:r,l=a?o.offsetHeight:n,d=Jt(r)!==i||Jt(n)!==l;return d&&(r=i,n=l),{width:r,height:n,$:d}}function Li(o){return Ie(o)?o:o.contextElement}function Wt(o){let t=Li(o);if(!Oe(t))return We(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=Ri(t),l=(i?Jt(r.width):r.width)/n,d=(i?Jt(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var Al=We(0);function Ii(o){let t=ie(o);return!Po()||!t.visualViewport?Al:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Rl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==ie(o)?!1:t}function to(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),i=Li(o),l=We(1);t&&(n?Ie(n)&&(l=Wt(n)):l=Wt(o));let d=Rl(i,r,n)?Ii(i):We(0),p=(a.left+d.x)/l.x,f=(a.top+d.y)/l.y,h=a.width/l.x,y=a.height/l.y;if(i){let m=ie(i),b=n&&Ie(n)?ie(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let S=Wt(g),R=g.getBoundingClientRect(),E=he(g),N=R.left+(g.clientLeft+parseFloat(E.paddingLeft))*S.x,P=R.top+(g.clientTop+parseFloat(E.paddingTop))*S.y;p*=S.x,f*=S.y,h*=S.x,y*=S.y,p+=N,f+=P,g=ie(g).frameElement}}return ft({width:h,height:y,x:p,y:f})}function Ll(o){let{rect:t,offsetParent:r,strategy:n}=o,a=Oe(r),i=ze(r);if(r===i)return t;let l={scrollLeft:0,scrollTop:0},d=We(1),p=We(0);if((a||!a&&n!=="fixed")&&((De(r)!=="body"||$t(i))&&(l=eo(r)),Oe(r))){let f=to(r);d=Wt(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-l.scrollLeft*d.x+p.x,y:t.y*d.y-l.scrollTop*d.y+p.y}}function Il(o){return Array.from(o.getClientRects())}function Pi(o){return to(ze(o)).left+eo(o).scrollLeft}function Pl(o){let t=ze(o),r=eo(o),n=o.ownerDocument.body,a=Bt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Bt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+Pi(o),d=-r.scrollTop;return he(n).direction==="rtl"&&(l+=Bt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:d}}function kl(o,t){let r=ie(o),n=ze(o),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,d=0,p=0;if(a){i=a.width,l=a.height;let f=Po();(!f||f&&t==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:d,y:p}}function Tl(o,t){let r=to(o,!0,t==="fixed"),n=r.top+o.clientTop,a=r.left+o.clientLeft,i=Oe(o)?Wt(o):We(1),l=o.clientWidth*i.x,d=o.clientHeight*i.y,p=a*i.x,f=n*i.y;return{width:l,height:d,x:p,y:f}}function Ni(o,t,r){let n;if(t==="viewport")n=kl(o,r);else if(t==="document")n=Pl(ze(o));else if(Ie(t))n=Tl(t,r);else{let a=Ii(o);n={...t,x:t.x-a.x,y:t.y-a.y}}return ft(n)}function ki(o,t){let r=pt(o);return r===t||!Ie(r)||Qt(r)?!1:he(r).position==="fixed"||ki(r,t)}function _l(o,t){let r=t.get(o);if(r)return r;let n=Lo(o,[],!1).filter(d=>Ie(d)&&De(d)!=="body"),a=null,i=he(o).position==="fixed",l=i?pt(o):o;for(;Ie(l)&&!Qt(l);){let d=he(l),p=Io(l);!p&&d.position==="fixed"&&(a=null),(i?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||$t(l)&&!p&&ki(o,l))?n=n.filter(h=>h!==l):a=d,l=pt(l)}return t.set(o,n),n}function Bl(o){let{element:t,boundary:r,rootBoundary:n,strategy:a}=o,l=[...r==="clippingAncestors"?_l(t,this._c):[].concat(r),n],d=l[0],p=l.reduce((f,h)=>{let y=Ni(t,h,a);return f.top=Bt(y.top,f.top),f.right=$r(y.right,f.right),f.bottom=$r(y.bottom,f.bottom),f.left=Bt(y.left,f.left),f},Ni(t,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function $l(o){return Ri(o)}function Wl(o,t,r){let n=Oe(t),a=ze(t),i=r==="fixed",l=to(o,!0,i,t),d={scrollLeft:0,scrollTop:0},p=We(0);if(n||!n&&!i)if((De(t)!=="body"||$t(a))&&(d=eo(t)),n){let f=to(t,!0,i,t);p.x=f.x+t.clientLeft,p.y=f.y+t.clientTop}else a&&(p.x=Pi(a));return{x:l.left+d.scrollLeft-p.x,y:l.top+d.scrollTop-p.y,width:l.width,height:l.height}}function Ai(o,t){return!Oe(o)||he(o).position==="fixed"?null:t?t(o):o.offsetParent}function Ti(o,t){let r=ie(o);if(!Oe(o))return r;let n=Ai(o,t);for(;n&&Oi(n)&&he(n).position==="static";)n=Ai(n,t);return n&&(De(n)==="html"||De(n)==="body"&&he(n).position==="static"&&!Io(n))?r:n||wi(o)||r}var Dl=async function(o){let{reference:t,floating:r,strategy:n}=o,a=this.getOffsetParent||Ti,i=this.getDimensions;return{reference:Wl(t,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function zl(o){return he(o).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:Ll,getDocumentElement:ze,getClippingRect:Bl,getOffsetParent:Ti,getElementRects:Dl,getClientRects:Il,getDimensions:$l,getScale:Wt,isElement:Ie,isRTL:zl};var _i=(o,t,r)=>{let n=new Map,a={platform:ko,...r},i={...a.platform,_c:n};return vi(o,t,{...a,platform:i})};function Bi(o){return Ml(o)}function Wr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Ml(o){for(let t=o;t;t=Wr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Wr(o);t;t=Wr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function $i(o,t,r){return _i(o,t,{platform:{...ko,getOffsetParent:n=>ko.getOffsetParent(n,Bi)},middleware:[Br({crossAxis:!0}),_r({allowedPlacements:[r]})]})}var ce=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},j=class extends oo.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 oo.Debouncer,this.revealDebouncer=new oo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Wi.html`
|
|
547
547
|
<div part="container"
|
|
548
548
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
549
549
|
@mouseenter=${this.onHover}
|
|
@@ -561,51 +561,51 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
561
561
|
</div>
|
|
562
562
|
</div>
|
|
563
563
|
</div>
|
|
564
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};j.elementDefinitions={"ft-typography":pe};j.styles=
|
|
564
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};j.elementDefinitions={"ft-typography":pe};j.styles=fi;ce([(0,q.property)()],j.prototype,"text",void 0);ce([(0,q.property)({type:Boolean})],j.prototype,"manual",void 0);ce([(0,q.property)({type:Boolean})],j.prototype,"inline",void 0);ce([(0,q.property)({type:Number})],j.prototype,"delay",void 0);ce([(0,q.property)()],j.prototype,"position",void 0);ce([(0,q.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);ce([(0,q.query)(".ft-tooltip--container")],j.prototype,"container",void 0);ce([(0,q.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);ce([(0,q.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);ce([(0,q.state)()],j.prototype,"visible",void 0);ce([(0,q.eventOptions)({passive:!0})],j.prototype,"onTouch",null);ce([(0,q.eventOptions)({passive:!0})],j.prototype,"onHover",null);ce([(0,q.eventOptions)({passive:!0})],j.prototype,"onOut",null);ce([(0,q.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,Di.customElement)("ft-tooltip")(j);var Ui=x(L());var zi=x($()),Mi=x(L());var ut=class extends Mi.FtLitElement{render(){return zi.html`
|
|
565
565
|
<div class="ft-loader">
|
|
566
566
|
<div></div>
|
|
567
567
|
<div></div>
|
|
568
568
|
<div></div>
|
|
569
569
|
<div></div>
|
|
570
570
|
</div>
|
|
571
|
-
`}};
|
|
571
|
+
`}};ut.styles=oi;(0,Ui.customElement)("ft-loader")(ut);var Ze=x($()),Dr=x(Gt()),Y=x(Z()),ee=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},H=class extends(0,qe.toFtFormComponent)(qe.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,n;let a=Ze.html`
|
|
572
572
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
573
573
|
<ft-typography part="label"
|
|
574
574
|
variant=${this.typographyVariant}
|
|
575
575
|
element="span"
|
|
576
|
-
class="ft-button--label ${
|
|
576
|
+
class="ft-button--label ${qe.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
577
577
|
?hidden=${!this.hasTextContent()}>
|
|
578
578
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
579
579
|
</ft-typography>
|
|
580
580
|
${this.resolveIcon()}
|
|
581
|
-
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?
|
|
581
|
+
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?Ze.html`
|
|
582
582
|
<a href="${i}"
|
|
583
583
|
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
584
584
|
part="button"
|
|
585
|
-
class="${(0
|
|
585
|
+
class="${(0,Dr.classMap)(this.buttonClasses)}"
|
|
586
586
|
aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
|
|
587
587
|
?disabled=${this.isDisabled()}>
|
|
588
588
|
${a}
|
|
589
589
|
</a>
|
|
590
|
-
`:
|
|
590
|
+
`:Ze.html`
|
|
591
591
|
<button part="button"
|
|
592
|
-
class="${(0
|
|
592
|
+
class="${(0,Dr.classMap)(this.buttonClasses)}"
|
|
593
593
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
594
594
|
?disabled=${this.isDisabled()}>
|
|
595
595
|
${a}
|
|
596
596
|
</button>
|
|
597
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
597
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ze.html`
|
|
598
598
|
<ft-tooltip part="tooltip"
|
|
599
599
|
text="${this.getLabel()}"
|
|
600
600
|
position="${this.tooltipPosition}">
|
|
601
601
|
${t}
|
|
602
602
|
</ft-tooltip>
|
|
603
|
-
`:t}resolveIcon(){return this.loading?
|
|
604
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
603
|
+
`:t}resolveIcon(){return this.loading?Ze.html`
|
|
604
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Ze.html`
|
|
605
605
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
606
|
-
`:
|
|
606
|
+
`:Ze.html`
|
|
607
607
|
<slot part="icon" name="icon"></slot>
|
|
608
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,
|
|
608
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,qe.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};H.elementDefinitions={"ft-ripple":F,"ft-tooltip":j,"ft-typography":pe,"ft-icon":ne,"ft-loader":ut};ee([(0,Y.property)()],H.prototype,"href",void 0);ee([(0,Y.property)()],H.prototype,"target",void 0);ee([(0,Y.property)({type:String,reflect:!0})],H.prototype,"role",void 0);ee([(0,Y.property)()],H.prototype,"type",void 0);ee([(0,Y.property)({type:Boolean})],H.prototype,"disabled",void 0);ee([(0,Y.property)()],H.prototype,"label",void 0);ee([(0,Y.property)()],H.prototype,"icon",void 0);ee([(0,Y.property)()],H.prototype,"iconVariant",void 0);ee([(0,Y.property)({type:Boolean})],H.prototype,"trailingIcon",void 0);ee([(0,Y.property)({type:Boolean})],H.prototype,"loading",void 0);ee([(0,Y.property)({attribute:"aria-label"})],H.prototype,"ariaLabel",void 0);ee([(0,Y.property)()],H.prototype,"tooltipPosition",void 0);ee([(0,Y.property)({type:Boolean})],H.prototype,"hideTooltip",void 0);ee([(0,Y.property)({type:Boolean})],H.prototype,"forceTooltip",void 0);ee([(0,Y.query)(".ft-button")],H.prototype,"button",void 0);ee([(0,Y.query)(".ft-button--label slot")],H.prototype,"slottedContent",void 0);ee([(0,Y.query)("[part=tooltip]")],H.prototype,"tooltip",void 0);var To=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},we=class extends H{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"}};we.styles=[Hi.safariEllipsisFix,ii];To([(0,ro.property)({type:Boolean})],we.prototype,"primary",void 0);To([(0,ro.property)({type:Boolean})],we.prototype,"outlined",void 0);To([(0,ro.property)({type:Boolean})],we.prototype,"dense",void 0);To([(0,ro.property)({type:Boolean})],we.prototype,"round",void 0);var no=x(Z());var Bo=x(L());var Gi=x($()),v=x(L());var Fi=[Gi.css`
|
|
609
609
|
:host {
|
|
610
610
|
display: inline-block;
|
|
611
611
|
max-width: 100%;
|
|
@@ -692,11 +692,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
692
692
|
.ftds--family-brand.ft-button--primary {
|
|
693
693
|
${(0,v.setVariable)(M.color,u.primaryBrandIconColor)};
|
|
694
694
|
|
|
695
|
-
${(0,v.setVariable)(
|
|
696
|
-
${(0,v.setVariable)(
|
|
697
|
-
${(0,v.setVariable)(
|
|
698
|
-
${(0,v.setVariable)(
|
|
699
|
-
${(0,v.setVariable)(
|
|
695
|
+
${(0,v.setVariable)(C.color,u.primaryBrandStateLayerColor)};
|
|
696
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
|
|
697
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
|
|
698
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
|
|
699
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
|
|
700
700
|
|
|
701
701
|
background-color: ${u.primaryBrandBackgroundColor};
|
|
702
702
|
color: ${u.primaryBrandColor};
|
|
@@ -716,11 +716,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
716
716
|
.ftds--family-brand.ft-button--secondary {
|
|
717
717
|
${(0,v.setVariable)(M.color,u.secondaryBrandIconColor)};
|
|
718
718
|
|
|
719
|
-
${(0,v.setVariable)(
|
|
720
|
-
${(0,v.setVariable)(
|
|
721
|
-
${(0,v.setVariable)(
|
|
722
|
-
${(0,v.setVariable)(
|
|
723
|
-
${(0,v.setVariable)(
|
|
719
|
+
${(0,v.setVariable)(C.color,u.secondaryBrandStateLayerColor)};
|
|
720
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
|
|
721
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
|
|
722
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
|
|
723
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
|
|
724
724
|
|
|
725
725
|
background-color: ${u.secondaryBrandBackgroundColor};
|
|
726
726
|
color: ${u.secondaryBrandColor};
|
|
@@ -741,11 +741,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
741
741
|
.ftds--family-brand.ft-button--tertiary {
|
|
742
742
|
${(0,v.setVariable)(M.color,u.tertiaryBrandIconColor)};
|
|
743
743
|
|
|
744
|
-
${(0,v.setVariable)(
|
|
745
|
-
${(0,v.setVariable)(
|
|
746
|
-
${(0,v.setVariable)(
|
|
747
|
-
${(0,v.setVariable)(
|
|
748
|
-
${(0,v.setVariable)(
|
|
744
|
+
${(0,v.setVariable)(C.color,u.tertiaryBrandStateLayerColor)};
|
|
745
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
|
|
746
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
|
|
747
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
748
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
749
749
|
|
|
750
750
|
background-color: ${u.tertiaryBrandBackgroundColor};
|
|
751
751
|
color: ${u.tertiaryBrandColor};
|
|
@@ -765,11 +765,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
765
765
|
.ftds--family-neutral.ft-button--secondary {
|
|
766
766
|
${(0,v.setVariable)(M.color,u.secondaryNeutralIconColor)};
|
|
767
767
|
|
|
768
|
-
${(0,v.setVariable)(
|
|
769
|
-
${(0,v.setVariable)(
|
|
770
|
-
${(0,v.setVariable)(
|
|
771
|
-
${(0,v.setVariable)(
|
|
772
|
-
${(0,v.setVariable)(
|
|
768
|
+
${(0,v.setVariable)(C.backgroundColor,u.secondaryNeutralStateLayerColor)};
|
|
769
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
|
|
770
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
|
|
771
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
772
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
773
773
|
|
|
774
774
|
background-color: ${u.secondaryNeutralBackgroundColor};
|
|
775
775
|
color: ${u.secondaryNeutralColor};
|
|
@@ -790,11 +790,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
790
790
|
.ftds--family-neutral.ft-button--tertiary {
|
|
791
791
|
${(0,v.setVariable)(M.color,u.tertiaryNeutralIconColor)};
|
|
792
792
|
|
|
793
|
-
${(0,v.setVariable)(
|
|
794
|
-
${(0,v.setVariable)(
|
|
795
|
-
${(0,v.setVariable)(
|
|
796
|
-
${(0,v.setVariable)(
|
|
797
|
-
${(0,v.setVariable)(
|
|
793
|
+
${(0,v.setVariable)(C.backgroundColor,u.tertiaryNeutralStateLayerColor)};
|
|
794
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
|
|
795
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
|
|
796
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
797
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
798
798
|
|
|
799
799
|
background-color: ${u.tertiaryNeutralBackgroundColor};
|
|
800
800
|
color: ${u.tertiaryNeutralColor};
|
|
@@ -814,11 +814,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
814
814
|
.ftds--family-info.ft-button--secondary {
|
|
815
815
|
${(0,v.setVariable)(M.color,u.secondaryInfoIconColor)};
|
|
816
816
|
|
|
817
|
-
${(0,v.setVariable)(
|
|
818
|
-
${(0,v.setVariable)(
|
|
819
|
-
${(0,v.setVariable)(
|
|
820
|
-
${(0,v.setVariable)(
|
|
821
|
-
${(0,v.setVariable)(
|
|
817
|
+
${(0,v.setVariable)(C.backgroundColor,u.secondaryInfoStateLayerColor)};
|
|
818
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
|
|
819
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
|
|
820
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
|
|
821
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
|
|
822
822
|
|
|
823
823
|
background-color: ${u.secondaryInfoBackgroundColor};
|
|
824
824
|
color: ${u.secondaryInfoColor};
|
|
@@ -839,11 +839,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
839
839
|
.ftds--family-info.ft-button--tertiary {
|
|
840
840
|
${(0,v.setVariable)(M.color,u.tertiaryInfoIconColor)};
|
|
841
841
|
|
|
842
|
-
${(0,v.setVariable)(
|
|
843
|
-
${(0,v.setVariable)(
|
|
844
|
-
${(0,v.setVariable)(
|
|
845
|
-
${(0,v.setVariable)(
|
|
846
|
-
${(0,v.setVariable)(
|
|
842
|
+
${(0,v.setVariable)(C.backgroundColor,u.tertiaryInfoStateLayerColor)};
|
|
843
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
|
|
844
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
|
|
845
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
846
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
847
847
|
|
|
848
848
|
background-color: ${u.tertiaryInfoBackgroundColor};
|
|
849
849
|
color: ${u.tertiaryInfoColor};
|
|
@@ -863,11 +863,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
863
863
|
.ftds--family-success.ft-button--secondary {
|
|
864
864
|
${(0,v.setVariable)(M.color,u.secondarySuccessIconColor)};
|
|
865
865
|
|
|
866
|
-
${(0,v.setVariable)(
|
|
867
|
-
${(0,v.setVariable)(
|
|
868
|
-
${(0,v.setVariable)(
|
|
869
|
-
${(0,v.setVariable)(
|
|
870
|
-
${(0,v.setVariable)(
|
|
866
|
+
${(0,v.setVariable)(C.backgroundColor,u.secondarySuccessStateLayerColor)};
|
|
867
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
|
|
868
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
|
|
869
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
|
|
870
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
|
|
871
871
|
|
|
872
872
|
background-color: ${u.secondarySuccessBackgroundColor};
|
|
873
873
|
color: ${u.secondarySuccessColor};
|
|
@@ -888,11 +888,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
888
888
|
.ftds--family-success.ft-button--tertiary {
|
|
889
889
|
${(0,v.setVariable)(M.color,u.tertiarySuccessIconColor)};
|
|
890
890
|
|
|
891
|
-
${(0,v.setVariable)(
|
|
892
|
-
${(0,v.setVariable)(
|
|
893
|
-
${(0,v.setVariable)(
|
|
894
|
-
${(0,v.setVariable)(
|
|
895
|
-
${(0,v.setVariable)(
|
|
891
|
+
${(0,v.setVariable)(C.backgroundColor,u.tertiarySuccessStateLayerColor)};
|
|
892
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
|
|
893
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
|
|
894
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
895
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
896
896
|
|
|
897
897
|
background-color: ${u.tertiarySuccessBackgroundColor};
|
|
898
898
|
color: ${u.tertiarySuccessColor};
|
|
@@ -912,11 +912,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
912
912
|
.ftds--family-warning.ft-button--secondary {
|
|
913
913
|
${(0,v.setVariable)(M.color,u.secondaryWarningIconColor)};
|
|
914
914
|
|
|
915
|
-
${(0,v.setVariable)(
|
|
916
|
-
${(0,v.setVariable)(
|
|
917
|
-
${(0,v.setVariable)(
|
|
918
|
-
${(0,v.setVariable)(
|
|
919
|
-
${(0,v.setVariable)(
|
|
915
|
+
${(0,v.setVariable)(C.backgroundColor,u.secondaryWarningStateLayerColor)};
|
|
916
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
|
|
917
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
|
|
918
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
|
|
919
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
|
|
920
920
|
|
|
921
921
|
background-color: ${u.secondaryWarningBackgroundColor};
|
|
922
922
|
color: ${u.secondaryWarningColor};
|
|
@@ -937,11 +937,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
937
937
|
.ftds--family-warning.ft-button--tertiary {
|
|
938
938
|
${(0,v.setVariable)(M.color,u.tertiaryWarningIconColor)};
|
|
939
939
|
|
|
940
|
-
${(0,v.setVariable)(
|
|
941
|
-
${(0,v.setVariable)(
|
|
942
|
-
${(0,v.setVariable)(
|
|
943
|
-
${(0,v.setVariable)(
|
|
944
|
-
${(0,v.setVariable)(
|
|
940
|
+
${(0,v.setVariable)(C.backgroundColor,u.tertiaryWarningStateLayerColor)};
|
|
941
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
|
|
942
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
|
|
943
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
944
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
945
945
|
|
|
946
946
|
background-color: ${u.tertiaryWarningBackgroundColor};
|
|
947
947
|
color: ${u.tertiaryWarningColor};
|
|
@@ -961,11 +961,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
961
961
|
.ftds--family-error.ft-button--secondary {
|
|
962
962
|
${(0,v.setVariable)(M.color,u.secondaryErrorIconColor)};
|
|
963
963
|
|
|
964
|
-
${(0,v.setVariable)(
|
|
965
|
-
${(0,v.setVariable)(
|
|
966
|
-
${(0,v.setVariable)(
|
|
967
|
-
${(0,v.setVariable)(
|
|
968
|
-
${(0,v.setVariable)(
|
|
964
|
+
${(0,v.setVariable)(C.backgroundColor,u.secondaryErrorStateLayerColor)};
|
|
965
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
|
|
966
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
|
|
967
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
|
|
968
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
|
|
969
969
|
|
|
970
970
|
background-color: ${u.secondaryErrorBackgroundColor};
|
|
971
971
|
color: ${u.secondaryErrorColor};
|
|
@@ -986,11 +986,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
986
986
|
.ftds--family-error.ft-button--tertiary {
|
|
987
987
|
${(0,v.setVariable)(M.color,u.tertiaryErrorIconColor)};
|
|
988
988
|
|
|
989
|
-
${(0,v.setVariable)(
|
|
990
|
-
${(0,v.setVariable)(
|
|
991
|
-
${(0,v.setVariable)(
|
|
992
|
-
${(0,v.setVariable)(
|
|
993
|
-
${(0,v.setVariable)(
|
|
989
|
+
${(0,v.setVariable)(C.backgroundColor,u.tertiaryErrorStateLayerColor)};
|
|
990
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
|
|
991
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
|
|
992
|
+
${(0,v.setVariable)(C.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
993
|
+
${(0,v.setVariable)(C.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
994
994
|
|
|
995
995
|
background-color: ${u.tertiaryErrorBackgroundColor};
|
|
996
996
|
color: ${u.tertiaryErrorColor};
|
|
@@ -1071,7 +1071,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1071
1071
|
.ftds--size-small.ft-button--icon-only {
|
|
1072
1072
|
width: ${u.smallIconOnlyWidth};
|
|
1073
1073
|
}
|
|
1074
|
-
`,v.noTextSelect];var _o=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var
|
|
1074
|
+
`,v.noTextSelect];var _o=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Me=class extends(0,Bo.toFtdsBase)(H){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=So.brand,this.iconVariant=ue.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 Ot.large:return je.body2medium;case Ot.medium:return je.caption1medium;case Ot.small:return je.caption2medium}}};Me.styles=[Bo.safariEllipsisFix,Fi];_o([(0,no.property)({type:Boolean})],Me.prototype,"primary",void 0);_o([(0,no.property)({type:Boolean})],Me.prototype,"secondary",void 0);_o([(0,no.property)({type:Boolean})],Me.prototype,"tertiary",void 0);_o([(0,no.property)({type:Boolean})],Me.prototype,"round",void 0);(0,zr.customElement)("ft-button")(we);(0,zr.customElement)("ftds-button")(Me);var Zi=x(L());var Ki=x($()),ht=x(Z()),$o=x(L());var le;(function(o){o.S="S",o.M="M",o.L="L",o.XL="XL",o.XXL="XXL"})(le||(le={}));var ji=x($());var Vi=ji.css`
|
|
1075
1075
|
.ft-size-watcher--pixel {
|
|
1076
1076
|
width: 0;
|
|
1077
1077
|
height: 0;
|
|
@@ -1090,11 +1090,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1090
1090
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
1091
1091
|
width: 100%;
|
|
1092
1092
|
}
|
|
1093
|
-
`;var
|
|
1093
|
+
`;var ao=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Mr=class extends CustomEvent{constructor(t,r){super("change",{detail:{size:t,category:r}})}},ye=class extends $o.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=le.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new $o.Debouncer}render(){return Ki.html`
|
|
1094
1094
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
1095
1095
|
<div class="ft-size-watcher--watcher"></div>
|
|
1096
1096
|
</div>
|
|
1097
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=le.S:this.size<976?this.category=le.M:this.size<1024?this.category=le.L:this.size<1440?this.category=le.XL:this.category=le.XXL,this.dispatchEvent(new
|
|
1097
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=le.S:this.size<976?this.category=le.M:this.size<1024?this.category=le.L:this.size<1440?this.category=le.XL:this.category=le.XXL,this.dispatchEvent(new Mr(this.size,this.category)))},this.debounceTimeout)}};ye.elementDefinitions={};ye.styles=Vi;ao([(0,ht.property)({type:Number})],ye.prototype,"debounceTimeout",void 0);ao([(0,ht.property)({type:Boolean})],ye.prototype,"local",void 0);ao([(0,ht.property)({type:Number,reflect:!0})],ye.prototype,"size",void 0);ao([(0,ht.property)({type:String,reflect:!0})],ye.prototype,"category",void 0);ao([(0,ht.query)(".ft-size-watcher--watcher")],ye.prototype,"watcher",void 0);(0,Zi.customElement)("ft-size-watcher")(ye);var qi=x($()),B=x(L());var J={tabulationSize:B.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:B.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",B.designSystemVariables.colorOnSurface),hoverColor:B.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",B.designSystemVariables.colorPrimary),highlightedTextColor:B.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",B.designSystemVariables.colorPrimary),highlightedFontWeight:B.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:B.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:B.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:B.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",B.designSystemVariables.colorPrimary),leafNodeIconColor:B.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",B.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:B.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",B.designSystemVariables.colorSurface),expandCollapseAllButtonColor:B.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",B.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:B.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",B.designSystemVariables.colorSurface)},Yi=qi.css`
|
|
1098
1098
|
.ft-reader-toc {
|
|
1099
1099
|
color: ${J.textColor};
|
|
1100
1100
|
}
|
|
@@ -1102,7 +1102,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1102
1102
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
1103
1103
|
background-color: ${J.highlightedBackgroundColor};
|
|
1104
1104
|
color: ${J.highlightedTextColor};
|
|
1105
|
-
${(0
|
|
1105
|
+
${(0,B.setVariable)(A.fontWeight,J.highlightedFontWeight)}
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
1108
|
.ft-reader-toc--link-container {
|
|
@@ -1121,7 +1121,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
1123
1123
|
ft-button {
|
|
1124
|
-
${(0
|
|
1124
|
+
${(0,B.setVariable)(U.iconSize,J.iconFontSize)};
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
1127
|
[part="leaf-node-icon"] {
|
|
@@ -1129,13 +1129,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
.ft-reader-toc--tree-node-button {
|
|
1132
|
-
${(0
|
|
1133
|
-
${(0
|
|
1132
|
+
${(0,B.setVariable)(U.color,J.treeNodeIconColor)};
|
|
1133
|
+
${(0,B.setVariable)(U.backgroundColor,J.nodeButtonBackgroundColor)};
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
1136
|
.ft-reader-toc--expand-collapse-all-button {
|
|
1137
|
-
${(0
|
|
1138
|
-
${(0
|
|
1137
|
+
${(0,B.setVariable)(U.color,J.expandCollapseAllButtonColor)};
|
|
1138
|
+
${(0,B.setVariable)(U.backgroundColor,J.expandCollapseAllButtonBackgroundColor)};
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
1141
|
.ft-reader-toc--toggle-container {
|
|
@@ -1178,19 +1178,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1178
1178
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1179
1179
|
flex-grow: 1;
|
|
1180
1180
|
}
|
|
1181
|
-
`;var
|
|
1182
|
-
`;var
|
|
1183
|
-
`;var Wo=x(L()),
|
|
1181
|
+
`;var el=x(L());var ir=x($()),cr=x(Z()),lr=x(L());var Xi=x($());var Ji=Xi.css`
|
|
1182
|
+
`;var nr=x(L());var Xc=x(L());var rc=x($()),se=x(Z()),Ee=x(L());var Qi=x($());var ec=Qi.css`
|
|
1183
|
+
`;var Wo=x(L()),Ul="ft-app-info",Ur=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Hl={session:(o,t)=>{(0,Wo.deepEqual)(o.session,t.payload)||(o.session=t.payload,setTimeout(()=>I.dispatchEvent(new Ur(t.payload)),0))}},I=Wo.FtReduxStore.get({name:Ul,reducers:Hl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Xe=x(L());var Hr=x(L());var yt=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=I.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=o.get(t);if(n)r(n);else{let a=I.subscribe(()=>{n=o.get(t),n&&(a(),r(n))})}})}};var io=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:yt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):yt.await()}};var Ye=class extends io{constructor(t=!0,r){var n;super(r);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Hr.CacheRegistry,this.cache=t?a.commonCache:new Hr.CacheRegistry}clearCache(){this.cache.clearAll()}};var tc,Gl=Symbol("clearAfterUnitTest"),Do=class extends Ye{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[tc]=()=>{this.defaultMessages={},this.cache=new Xe.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,Xe.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),l=this.resolveContext(i);return new Xe.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},l).resolve(r,...n)}async fetchContext(t){var r,n,a;if(!this.cache.has(t))if(((n=(r=window.process)===null||r===void 0?void 0:r.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(t,(a=this.defaultMessages[t])!==null&&a!==void 0?a:{});else try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(i){console.error(i)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,Xe.delay)(0).then(()=>r()).catch(()=>null)))}};tc=Gl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Do{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Do{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var mt=window.FluidTopicsI18nService,oc=window.FluidTopicsCustomI18nService;var te=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},V=class extends Ee.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>yt.get(),this.messageContexts=[],this.cache=new Ee.CacheRegistry,this.cleanSessionDebouncer=new Ee.Debouncer}render(){return rc.html`
|
|
1184
1184
|
<slot></slot>
|
|
1185
|
-
`}update(t){var r,n,a,i,l;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(s=>bt.addContext(s)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=Qi;te([(0,se.property)()],V.prototype,"baseUrl",void 0);te([(0,se.property)()],V.prototype,"apiIntegrationIdentifier",void 0);te([(0,se.property)()],V.prototype,"uiLocale",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"editorMode",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"noCustom",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);te([(0,se.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"withManualResources",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);te([(0,se.property)({type:Object})],V.prototype,"apiProvider",void 0);te([(0,Ee.jsonProperty)([])],V.prototype,"messageContexts",void 0);te([(0,Ee.jsonProperty)(void 0)],V.prototype,"session",void 0);te([(0,se.state)()],V.prototype,"localesConfiguration",void 0);var Ns=x(Z());function Ml(o,t){if(o===t)return!0;if(o&&t&&typeof o=="object"&&typeof t=="object"){if(o.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(o)){if(r=o.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!zo(o[n],t[n]))return!1;return!0}if(o instanceof Map&&t instanceof Map){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;for(n of o.entries())if(!zo(n[1],t.get(n[0])))return!1;return!0}if(o instanceof Set&&t instanceof Set){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===t.source&&o.flags===t.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===t.valueOf();let i=l=>Object.keys(l).filter(s=>l[s]!=null);if(a=i(o),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let l=a[n];if(!zo(o[l],t[l]))return!1}return!0}return o!==o&&t!==t||o==null&&t==null}function zo(o,t){try{return Ml(o,t)}catch{return!1}}function Mo(o,t){return!zo(o,t)}var Ul=x(Z(),1);var Uo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var co=x(Z(),1);var rc=x(Z(),1);function nc(o,t){let r=()=>JSON.parse(JSON.stringify(o));return(0,rc.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:Mo,...t??{}})}var Ho=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){a(s);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 ic=x(B(),1);var Go=window,Hl=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gm=Symbol();var ac=(o,t)=>{Hl?o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),a=Go.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)})};var Fo=class extends ic.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ac(n,t.elementStyles),n}};var jo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},dc,cc=Symbol("constructorPrototype"),lc=Symbol("constructorName"),fc=Symbol("exportpartsDebouncer"),sc=Symbol("dynamicDependenciesLoaded"),Qe=class extends Fo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[dc]=new Ho(5),this[lc]=this.constructor.name,this[cc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[lc]&&Object.setPrototypeOf(this,this[cc])}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 t=this.constructor;t[sc]||(t[sc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){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(t.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 t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[fc].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(t){var r,n,a,i,l,s;let p=m=>m!=null&&m.trim().length>0,f=t.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=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=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...g).filter(p).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};dc=fc;jo([(0,co.property)()],Qe.prototype,"exportpartsPrefix",void 0);jo([nc([])],Qe.prototype,"exportpartsPrefixes",void 0);jo([(0,co.property)()],Qe.prototype,"customStylesheet",void 0);jo([(0,co.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function lo(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var pc,uc,hc,so=Symbol("internalReduxEventsUnsubscribers"),et=Symbol("internalStoresUnsubscribers"),xt=Symbol("internalStores"),fo=class extends Qe{constructor(){super(...arguments),this[pc]=new Map,this[uc]=new Map,this[hc]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[xt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[xt].get(t)}addStore(t,r){var n;r=(n=r??(lo(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[xt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[xt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[xt].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(t.store);a&&(t.store?this[et].has(t.store):this[et].size>0)&&(this[r]=t.selector(a.getState(),this))}})}subscribeToStore(t,r){var n;this[et].set(t,r.subscribe(()=>this.updateFromStores())),this[so].set(t,[]),lo(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=s=>this[i](s);r.addEventListener(a.eventName,l),this[so].get(t).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[et].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[et].has(t)&&this[et].get(t)(),this[et].delete(t),(r=this[so].get(t))===null||r===void 0||r.forEach(n=>n()),this[so].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pc=et,uc=xt,hc=so;fo.reduxProperties=new Map;fo.reduxReactiveProperties=new Set;fo.reduxEventListeners=new Map;function ve(o){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ue(o){return!!o&&!!o[G]}function Ne(o){var t;return!!o&&(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)===Yl}(o)||Array.isArray(o)||!!o[Sc]||!!(!((t=o.constructor)===null||t===void 0)&&t[Sc])||Zr(o)||qr(o))}function vt(o,t,r){r===void 0&&(r=!1),Mt(o)===0?(r?Object.keys:zt)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Mt(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:Zr(o)?2:qr(o)?3:0}function Dt(o,t){return Mt(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function Gl(o,t){return Mt(o)===2?o.get(t):o[t]}function Oc(o,t,r){var n=Mt(o);n===2?o.set(t,r):n===3?o.add(r):o[t]=r}function Cc(o,t){return o===t?o!==0||1/o==1/t:o!=o&&t!=t}function Zr(o){return Zl&&o instanceof Map}function qr(o){return ql&&o instanceof Set}function tt(o){return o.o||o.t}function Yr(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=Nc(o);delete t[G];for(var r=zt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:o[a]})}return Object.create(Object.getPrototypeOf(o),t)}function Xr(o,t){return t===void 0&&(t=!1),Jr(o)||Ue(o)||!Ne(o)||(Mt(o)>1&&(o.set=o.add=o.clear=o.delete=Fl),Object.freeze(o),t&&vt(o,function(r,n){return Xr(n,!0)},!0)),o}function Fl(){ve(2)}function Jr(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Pe(o){var t=Kr[o];return t||ve(18,o),t}function jl(o,t){Kr[o]||(Kr[o]=t)}function Fr(){return uo}function Mr(o,t){t&&(Pe("Patches"),o.u=[],o.s=[],o.v=t)}function Vo(o){jr(o),o.p.forEach(Vl),o.p=null}function jr(o){o===uo&&(uo=o.l)}function yc(o){return uo={p:[],l:uo,h:o,m:!0,_:0}}function Vl(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function Ur(o,t){t._=t.p.length;var r=t.p[0],n=o!==void 0&&o!==r;return t.h.O||Pe("ES5").S(t,o,n),n?(r[G].P&&(Vo(t),ve(4)),Ne(o)&&(o=Ko(t,o),t.l||Zo(t,o)),t.u&&Pe("Patches").M(r[G].t,o,t.u,t.s)):o=Ko(t,r,[]),Vo(t),t.u&&t.v(t.u,t.s),o!==Ec?o:void 0}function Ko(o,t,r){if(Jr(t))return t;var n=t[G];if(!n)return vt(t,function(s,p){return mc(o,n,t,s,p,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Zo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Yr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),vt(i,function(s,p){return mc(o,n,a,s,p,r,l)}),Zo(o,a,!1),r&&o.u&&Pe("Patches").N(n,r,o.u,o.s)}return n.o}function mc(o,t,r,n,a,i,l){if(Ue(a)){var s=Ko(o,a,i&&t&&t.i!==3&&!Dt(t.R,n)?i.concat(n):void 0);if(Oc(r,n,s),!Ue(s))return;o.m=!1}else l&&r.add(a);if(Ne(a)&&!Jr(a)){if(!o.h.D&&o._<1)return;Ko(o,a),t&&t.A.l||Zo(o,a)}}function Zo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Xr(t,r)}function Hr(o,t){var r=o[G];return(r?tt(r):o)[t]}function gc(o,t){if(t in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ot(o){o.P||(o.P=!0,o.l&&ot(o.l))}function Gr(o){o.o||(o.o=Yr(o.t))}function Vr(o,t,r){var n=Zr(t)?Pe("MapSet").F(t,r):qr(t)?Pe("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),s={i:l?1:0,A:i?i.A:Fr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=s,f=ho;l&&(p=[s],f=po);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return s.k=m,s.j=y,m}(t,r):Pe("ES5").J(t,r);return(r?r.A:Fr()).p.push(n),n}function Kl(o){return Ue(o)||ve(22,o),function t(r){if(!Ne(r))return r;var n,a=r[G],i=Mt(r);if(a){if(!a.P&&(a.i<4||!Pe("ES5").K(a)))return a.t;a.I=!0,n=bc(r,i),a.I=!1}else n=bc(r,i);return vt(n,function(l,s){a&&Gl(a.t,l)===s||Oc(n,l,t(s))}),i===3?new Set(n):n}(o)}function bc(o,t){switch(t){case 2:return new Map(o);case 3:return Array.from(o)}return Yr(o)}function wc(){function o(l,s){var p=i[l];return p?p.enumerable=s:i[l]=p={configurable:!0,enumerable:s,get:function(){var f=this[G];return ho.get(f,l)},set:function(f){var h=this[G];ho.set(h,l,f)}},p}function t(l){for(var s=l.length-1;s>=0;s--){var p=l[s][G];if(!p.P)switch(p.i){case 5:n(p)&&ot(p);break;case 4:r(p)&&ot(p)}}}function r(l){for(var s=l.t,p=l.k,f=zt(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==G){var m=s[y];if(m===void 0&&!Dt(s,y))return!0;var b=p[y],g=b&&b[G];if(g?g.t!==m:!Cc(b,m))return!0}}var S=!!s[G];return f.length!==zt(s).length+(S?0:1)}function n(l){var s=l.k;if(s.length!==l.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 a(l){l.g&&ve(3,JSON.stringify(tt(l)))}var i={};jl("ES5",{J:function(l,s){var p=Array.isArray(l),f=function(y,m){if(y){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,o(g,!0));return b}var S=Nc(m);delete S[G];for(var R=zt(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(p,l),h={i:p?5:4,A:s?s.A:Fr(),P:!1,I:!1,R:{},l:s,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,G,{value:h,writable:!0}),f},S:function(l,s,p){p?Ue(s)&&s[G].A===l&&t(l.p):(l.u&&function f(h){if(h&&typeof h=="object"){var y=h[G];if(y){var m=y.t,b=y.k,g=y.R,S=y.i;if(S===4)vt(b,function(T){T!==G&&(m[T]!==void 0||Dt(m,T)?g[T]||f(b[T]):(g[T]=!0,ot(y)))}),vt(m,function(T){b[T]!==void 0||Dt(b,T)||(g[T]=!1,ot(y))});else if(S===5){if(n(y)&&(ot(y),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),P=0;P<N;P++)b.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(b[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var xc,uo,Qr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zl=typeof Map<"u",ql=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=Qr?Symbol.for("immer-nothing"):((xc={})["immer-nothing"]=!0,xc),Sc=Qr?Symbol.for("immer-draftable"):"__$immer_draftable",G=Qr?Symbol.for("immer-state"):"__$immer_state";var Yl=""+Object.prototype.constructor,zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Nc=Object.getOwnPropertyDescriptors||function(o){var t={};return zt(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},Kr={},ho={get:function(o,t){if(t===G)return o;var r=tt(o);if(!Dt(r,t))return function(a,i,l){var s,p=gc(i,l);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Ne(n)?n:n===Hr(o.t,t)?(Gr(o),o.o[t]=Vr(o.A.h,n,o)):n},has:function(o,t){return t in tt(o)},ownKeys:function(o){return Reflect.ownKeys(tt(o))},set:function(o,t,r){var n=gc(tt(o),t);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var a=Hr(tt(o),t),i=a?.[G];if(i&&i.t===r)return o.o[t]=r,o.R[t]=!1,!0;if(Cc(r,a)&&(r!==void 0||Dt(o.t,t)))return!0;Gr(o),ot(o)}return o.o[t]===r&&(r!==void 0||t in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[t])||(o.o[t]=r,o.R[t]=!0),!0},deleteProperty:function(o,t){return Hr(o.t,t)!==void 0||t in o.t?(o.R[t]=!1,Gr(o),ot(o)):delete o.R[t],o.o&&delete o.o[t],!0},getOwnPropertyDescriptor:function(o,t){var r=tt(o),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:o.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){ve(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){ve(12)}},po={};vt(ho,function(o,t){po[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),po.deleteProperty=function(o,t){return po.set.call(this,o,t,void 0)},po.set=function(o,t,r){return ho.set.call(this,o[0],t,r,o[0])};var Xl=function(){function o(r){var n=this;this.O=vc,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var s=i;i=a;var p=n;return function(S){var R=this;S===void 0&&(S=s);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return p.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var f;if(typeof i!="function"&&ve(6),l!==void 0&&typeof l!="function"&&ve(7),Ne(a)){var h=yc(n),y=Vr(n,a,void 0),m=!0;try{f=i(y),m=!1}finally{m?Vo(h):jr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Mr(h,l),Ur(S,h)},function(S){throw Vo(h),S}):(Mr(h,l),Ur(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Ec&&(f=void 0),n.D&&Xr(f,!0),l){var b=[],g=[];Pe("Patches").M(a,f,b,g),l(b,g)}return f}ve(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(y))})};var l,s,p=n.produce(a,i,function(f,h){l=f,s=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,s]}):[p,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=o.prototype;return t.createDraft=function(r){Ne(r)||ve(8),Ue(r)&&(r=Kl(r));var n=yc(this),a=Vr(this,r,void 0);return a[G].C=!0,jr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Mr(i,n),Ur(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!vc&&ve(20),this.O=r},t.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=Pe("Patches").$;return Ue(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},o}(),me=new Xl,Jl=me.produce,tg=me.produceWithPatches.bind(me),og=me.setAutoFreeze.bind(me),rg=me.setUseProxies.bind(me),ng=me.applyPatches.bind(me),ag=me.createDraft.bind(me),ig=me.finishDraft.bind(me),qo=Jl;function rt(o){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(o)}function en(o,t){if(rt(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(rt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(o)}function tn(o){var t=en(o,"string");return rt(t)==="symbol"?t:String(t)}function on(o,t,r){return t=tn(t),t in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o}function Ac(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),r.push.apply(r,n)}return r}function Yo(o){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ac(Object(r),!0).forEach(function(n){on(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Ac(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function oe(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Rc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),rn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xo={INIT:"@@redux/INIT"+rn(),REPLACE:"@@redux/REPLACE"+rn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+rn()}};function Ql(o){if(typeof o!="object"||o===null)return!1;for(var t=o;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(o)===t}function nn(o,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(nn)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],s=l,p=!1;function f(){s===l&&(s=l.slice())}function h(){if(p)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(p)throw new Error(oe(5));var R=!0;return f(),s.push(S),function(){if(R){if(p)throw new Error(oe(6));R=!1,f();var N=s.indexOf(S);s.splice(N,1),l=null}}}function m(S){if(!Ql(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(p)throw new Error(oe(9));try{p=!0,i=a(i,S)}finally{p=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return S}function b(S){if(typeof S!="function")throw new Error(oe(10));a=S,m({type:Xo.REPLACE})}function g(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(oe(11));function P(){N.next&&N.next(h())}P();var T=R(P);return{unsubscribe:T}}},S[Rc]=function(){return this},S}return m({type:Xo.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:b},n[Rc]=g,n}function es(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:Xo.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Lc(o){for(var t=Object.keys(o),r={},n=0;n<t.length;n++){var a=t[n];typeof o[a]=="function"&&(r[a]=o[a])}var i=Object.keys(r),l,s;try{es(r)}catch(p){s=p}return function(f,h){if(f===void 0&&(f={}),s)throw s;if(0)var y;for(var m=!1,b={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=f[S],N=R(E,h);if(typeof N>"u"){var P=h&&h.type;throw new Error(oe(14))}b[S]=N,m=m||N!==E}return m=m||i.length!==Object.keys(f).length,m?b:f}}function Ut(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Ic(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(p){return p(l)});return i=Ut.apply(void 0,s)(a.dispatch),Yo(Yo({},a),{},{dispatch:i})}}}function Pc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(s){return typeof s=="function"?s(a,i,o):l(s)}}};return t}var kc=Pc();kc.withExtraArgument=Pc;var an=kc;var Wc=function(){var o=function(t,r){return o=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])},o(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ts=function(o,t){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:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(f){return function(h){return p([f,h])}}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=t.call(o,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ht=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},os=Object.defineProperty,rs=Object.defineProperties,ns=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,as=Object.prototype.hasOwnProperty,is=Object.prototype.propertyIsEnumerable,_c=function(o,t,r){return t in o?os(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},nt=function(o,t){for(var r in t||(t={}))as.call(t,r)&&_c(o,r,t[r]);if(Tc)for(var n=0,a=Tc(t);n<a.length;n++){var r=a[n];is.call(t,r)&&_c(o,r,t[r])}return o},cn=function(o,t){return rs(o,ns(t))},cs=function(o,t,r){return new Promise(function(n,a){var i=function(p){try{s(r.next(p))}catch(f){a(f)}},l=function(p){try{s(r.throw(p))}catch(f){a(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};s((r=r.apply(o,t)).next())})};var ls=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ut:Ut.apply(null,arguments)},wg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ss(o){if(typeof o!="object"||o===null)return!1;var t=Object.getPrototypeOf(o);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var ds=function(o){Wc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array),fs=function(o){Wc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array);function dn(o){return Ne(o)?qo(o,function(){}):o}function ps(o){return typeof o=="boolean"}function us(){return function(t){return hs(t)}}function hs(o){o===void 0&&(o={});var t=o.thunk,r=t===void 0?!0:t,n=o.immutableCheck,a=n===void 0?!0:n,i=o.serializableCheck,l=i===void 0?!0:i,s=new ds;if(r&&(ps(r)?s.push(an):s.push(an.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return s}var ln=!0;function Dc(o){var t=us(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,b;if(typeof a=="function")b=a;else if(ss(a))b=Lc(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(t),!ln&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ln&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Ic.apply(void 0,g),R=Ut;p&&(R=ls(nt({trace:!ln},typeof p=="object"&&p)));var E=new fs(S),N=E;Array.isArray(m)?N=Ht([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return nn(b,h,P)}function at(o,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return nt(nt({type:o,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function zc(o){var t={},r=[],n,a={addCase:function(i,l){var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return o(a),[t,r,n]}function ys(o){return typeof o=="function"}function ms(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?zc(t):[t,r,n],i=a[0],l=a[1],s=a[2],p;if(ys(o))p=function(){return dn(o())};else{var f=dn(o);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var b=Ht([i[m.type]],l.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return b.filter(function(g){return!!g}).length===0&&(b=[s]),b.reduce(function(g,S){if(S)if(Ue(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Ne(g))return qo(g,function(N){return S(N,m)});var E=S(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},y)}return h.getInitialState=p,h}function gs(o,t){return o+"/"+t}function Mc(o){var t=o.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:dn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},s={};a.forEach(function(h){var y=n[h],m=gs(t,h),b,g;"reducer"in y?(b=y.reducer,g=y.prepare):b=y,i[h]=b,l[m]=b,s[h]=g?at(m,g):at(m)});function p(){var h=typeof o.extraReducers=="function"?zc(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,b=h[1],g=b===void 0?[]:b,S=h[2],R=S===void 0?void 0:S,E=nt(nt({},m),l);return ms(r,function(N){for(var P in E)N.addCase(P,E[P]);for(var T=0,D=g;T<D.length;T++){var ge=D[T];N.addMatcher(ge.matcher,ge.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:t,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:s,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var bs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",xs=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=bs[Math.random()*64|0];return t},vs=["name","message","stack","code"],sn=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),$c=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Ss=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=vs;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},Rg=function(){function o(t,r,n){var a=at(t+"/fulfilled",function(h,y,m,b){return{payload:h,meta:cn(nt({},b||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=at(t+"/pending",function(h,y,m){return{payload:void 0,meta:cn(nt({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=at(t+"/rejected",function(h,y,m,b,g){return{payload:b,error:(n&&n.serializeError||Ss)(h||"Rejected"),meta:cn(nt({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(y,m,b){var g=n?.idGenerator?n.idGenerator(h):xs(),S=new p,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return cs(this,null,function(){var T,D,ge,He,fr,Ge,de;return ts(this,function(be){switch(be.label){case 0:return be.trys.push([0,4,,5]),He=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:b}),Cs(He)?[4,He]:[3,2];case 1:He=be.sent(),be.label=2;case 2:if(He===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,fr=new Promise(function(fe,ct){return S.signal.addEventListener("abort",function(){return ct({name:"AbortError",message:R||"Aborted"})})}),y(i(g,h,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([fr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:b,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(fe,ct){return new sn(fe,ct)},fulfillWithValue:function(fe,ct){return new $c(fe,ct)}})).then(function(fe){if(fe instanceof sn)throw fe;return fe instanceof $c?a(fe.payload,g,h,fe.meta):a(fe,g,h)})])];case 3:return ge=be.sent(),[3,5];case 4:return Ge=be.sent(),ge=Ge instanceof sn?l(null,g,h,Ge.payload,Ge.meta):l(Ge,g,h),[3,5];case 5:return de=n&&!n.dispatchConditionRejection&&l.match(ge)&&ge.meta.condition,de||y(ge),[2,ge]}})})}();return Object.assign(P,{abort:N,requestId:g,arg:h,unwrap:function(){return P.then(Os)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function Os(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Cs(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Uc="listener",Hc="completed",Gc="cancelled",Lg="task-"+Gc,Ig="task-"+Hc,Pg=Uc+"-"+Gc,kg=Uc+"-"+Hc;var fn="listenerMiddleware";var Tg=at(fn+"/add"),_g=at(fn+"/removeAll"),$g=at(fn+"/remove");var Bc,Bg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Bc||(Bc=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},ws=function(o){return function(t){setTimeout(t,o)}},Wg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ws(10);wc();function Es(o,t){return class extends o{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Jo=class extends Es(Object){};window.ftReduxStores||(window.ftReduxStores={});var Fc=class o extends Jo{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(lo(i))return i;if(a==null)return;let l=Mc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),s=Dc({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 o(l,s,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Uo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,l,s)=>{let p=l,f=i[p];return f?(...h)=>{let y=f(...h.map(a));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[p]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var or=x(L());var Qo=class extends Xe{async listMySearches(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var er=class extends Xe{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var As="ft-user-assets",tr=or.FtReduxStore.get({name:As,initialState:{savedSearches:void 0,bookmarks:void 0}}),pn=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new er,this.savedSearchesService=new Qo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,or.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();tr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;tr.actions.bookmarks(r)}}},bb=new pn;var un=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new un;var jc=x(L()),hn=class{highlightHtml(t,r,n){(0,jc.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new hn;var Vc=x(L());var yn=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;return Vc.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new yn;var Rs=x(L());(0,Kc.customElement)("ft-app-context")(V);var qc=x(Z()),Ls=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},mn=Symbol("i18nAttributes"),gn=Symbol("i18nListAttributes"),rr=Symbol("i18nProperties"),bn=Symbol("i18nManualContexts"),yo=Symbol("i18nUnsubs");function ir(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?tc:bt}i18n(i,l,...s){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,l,...s);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var l,s,p;(l=this[mn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,f,i))}),(s=this[gn])===null||s===void 0||s.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(p=this[rr])===null||p===void 0||p.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,l){return{...i,message:this.i18n({context:i.context,key:i.key,...l})}}getI18nAttributeMessage(i,l,s){var p;let f=!s||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===s.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,l):i}update(i){var l,s,p;super.update(i),(l=this[mn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,h),this[h]=this.getI18nAttributeMessage(y,f))}),(s=this[gn])===null||s===void 0||s.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(p=this[rr])===null||p===void 0||p.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,l,s){i.context&&i.key&&l.has(s)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,l){i=i.toLowerCase(),this[yo].has(i)||this[yo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,l??{}),this.onI18nUpdate(i)}connectedCallback(){var i,l,s,p,f,h;super.connectedCallback(),new Set([...(l=(i=this[rr])===null||i===void 0?void 0:i.values())!==null&&l!==void 0?l:[],...[...(p=(s=this[mn])===null||s===void 0?void 0:s.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(f=this[gn])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[bn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(i,l){this[bn].set(i,l??{}),this.addI18nMessagesAndSubscribe(i,l)}addI18nContext(i,l){this.addI18nMessages(typeof i=="string"?i:i.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(i=>i()),this[yo].clear()}}return t=bn,r=yo,Ls([(0,qc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Zc=class extends ir(ar.FtLitElement){},nr=class extends ir(ar.FtLitElementRedux){};var mo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ae=class extends nr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":cr.nothing:cr.html`
|
|
1185
|
+
`}update(t){var r,n,a,i,l;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>mt.addContext(d)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=ec;te([(0,se.property)()],V.prototype,"baseUrl",void 0);te([(0,se.property)()],V.prototype,"apiIntegrationIdentifier",void 0);te([(0,se.property)()],V.prototype,"uiLocale",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"editorMode",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"noCustom",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);te([(0,se.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"withManualResources",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);te([(0,se.property)({type:Object})],V.prototype,"apiProvider",void 0);te([(0,Ee.jsonProperty)([])],V.prototype,"messageContexts",void 0);te([(0,Ee.jsonProperty)(void 0)],V.prototype,"session",void 0);te([(0,se.state)()],V.prototype,"localesConfiguration",void 0);var Is=x(Z());function Fl(o,t){if(o===t)return!0;if(o&&t&&typeof o=="object"&&typeof t=="object"){if(o.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(o)){if(r=o.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!zo(o[n],t[n]))return!1;return!0}if(o instanceof Map&&t instanceof Map){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;for(n of o.entries())if(!zo(n[1],t.get(n[0])))return!1;return!0}if(o instanceof Set&&t instanceof Set){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===t.source&&o.flags===t.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===t.valueOf();let i=l=>Object.keys(l).filter(d=>l[d]!=null);if(a=i(o),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let l=a[n];if(!zo(o[l],t[l]))return!1}return!0}return o!==o&&t!==t||o==null&&t==null}function zo(o,t){try{return Fl(o,t)}catch{return!1}}function Mo(o,t){return!zo(o,t)}var jl=x(Z(),1);var Uo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var co=x(Z(),1);var nc=x(Z(),1);function ac(o,t){let r=()=>JSON.parse(JSON.stringify(o));return(0,nc.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:Mo,...t??{}})}var Ho=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>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 cc=x($(),1);var Go=globalThis,Vl=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,rg=Symbol();var ic=(o,t)=>{if(Vl)o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=Go.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)}};var Fo=class extends cc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ic(n,t.elementStyles),n}};var jo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},fc,lc=Symbol("constructorPrototype"),sc=Symbol("constructorName"),pc=Symbol("exportpartsDebouncer"),dc=Symbol("dynamicDependenciesLoaded"),Je=class extends Fo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[fc]=new Ho(5),this[sc]=this.constructor.name,this[lc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[sc]&&Object.setPrototypeOf(this,this[lc])}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 t=this.constructor;t[dc]||(t[dc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){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(t.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 t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[pc].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(t){var r,n,a,i,l,d;let p=m=>m!=null&&m.trim().length>0,f=t.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=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(S=>S.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...b,...g).filter(p).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};fc=pc;jo([(0,co.property)()],Je.prototype,"exportpartsPrefix",void 0);jo([ac([])],Je.prototype,"exportpartsPrefixes",void 0);jo([(0,co.property)()],Je.prototype,"customStylesheet",void 0);jo([(0,co.state)()],Je.prototype,"useAdoptedStyleSheets",void 0);function lo(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var uc,hc,yc,so=Symbol("internalReduxEventsUnsubscribers"),Qe=Symbol("internalStoresUnsubscribers"),gt=Symbol("internalStores"),fo=class extends Je{constructor(){super(...arguments),this[uc]=new Map,this[hc]=new Map,this[yc]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[gt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[gt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[gt].get(t)}addStore(t,r){var n;r=(n=r??(lo(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[gt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[gt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[gt].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(t.store);a&&(t.store?this[Qe].has(t.store):this[Qe].size>0)&&(this[r]=t.selector(a.getState(),this))}})}subscribeToStore(t,r){var n;this[Qe].set(t,r.subscribe(()=>this.updateFromStores())),this[so].set(t,[]),lo(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.addEventListener(a.eventName,l),this[so].get(t).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qe].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[Qe].has(t)&&this[Qe].get(t)(),this[Qe].delete(t),(r=this[so].get(t))===null||r===void 0||r.forEach(n=>n()),this[so].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};uc=Qe,hc=gt,yc=so;fo.reduxProperties=new Map;fo.reduxReactiveProperties=new Set;fo.reduxEventListeners=new Map;function ve(o){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ue(o){return!!o&&!!o[G]}function Ne(o){var t;return!!o&&(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)===es}(o)||Array.isArray(o)||!!o[Cc]||!!(!((t=o.constructor)===null||t===void 0)&&t[Cc])||Xr(o)||Jr(o))}function bt(o,t,r){r===void 0&&(r=!1),Mt(o)===0?(r?Object.keys:zt)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Mt(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:Xr(o)?2:Jr(o)?3:0}function Dt(o,t){return Mt(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function Kl(o,t){return Mt(o)===2?o.get(t):o[t]}function Oc(o,t,r){var n=Mt(o);n===2?o.set(t,r):n===3?o.add(r):o[t]=r}function wc(o,t){return o===t?o!==0||1/o==1/t:o!=o&&t!=t}function Xr(o){return Jl&&o instanceof Map}function Jr(o){return Ql&&o instanceof Set}function et(o){return o.o||o.t}function Qr(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=Ac(o);delete t[G];for(var r=zt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:o[a]})}return Object.create(Object.getPrototypeOf(o),t)}function en(o,t){return t===void 0&&(t=!1),tn(o)||Ue(o)||!Ne(o)||(Mt(o)>1&&(o.set=o.add=o.clear=o.delete=Zl),Object.freeze(o),t&&bt(o,function(r,n){return en(n,!0)},!0)),o}function Zl(){ve(2)}function tn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Pe(o){var t=Yr[o];return t||ve(18,o),t}function ql(o,t){Yr[o]||(Yr[o]=t)}function Kr(){return uo}function Gr(o,t){t&&(Pe("Patches"),o.u=[],o.s=[],o.v=t)}function Vo(o){Zr(o),o.p.forEach(Yl),o.p=null}function Zr(o){o===uo&&(uo=o.l)}function mc(o){return uo={p:[],l:uo,h:o,m:!0,_:0}}function Yl(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function Fr(o,t){t._=t.p.length;var r=t.p[0],n=o!==void 0&&o!==r;return t.h.O||Pe("ES5").S(t,o,n),n?(r[G].P&&(Vo(t),ve(4)),Ne(o)&&(o=Ko(t,o),t.l||Zo(t,o)),t.u&&Pe("Patches").M(r[G].t,o,t.u,t.s)):o=Ko(t,r,[]),Vo(t),t.u&&t.v(t.u,t.s),o!==Nc?o:void 0}function Ko(o,t,r){if(tn(t))return t;var n=t[G];if(!n)return bt(t,function(d,p){return gc(o,n,t,d,p,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Zo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Qr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),bt(i,function(d,p){return gc(o,n,a,d,p,r,l)}),Zo(o,a,!1),r&&o.u&&Pe("Patches").N(n,r,o.u,o.s)}return n.o}function gc(o,t,r,n,a,i,l){if(Ue(a)){var d=Ko(o,a,i&&t&&t.i!==3&&!Dt(t.R,n)?i.concat(n):void 0);if(Oc(r,n,d),!Ue(d))return;o.m=!1}else l&&r.add(a);if(Ne(a)&&!tn(a)){if(!o.h.D&&o._<1)return;Ko(o,a),t&&t.A.l||Zo(o,a)}}function Zo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&en(t,r)}function jr(o,t){var r=o[G];return(r?et(r):o)[t]}function bc(o,t){if(t in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function tt(o){o.P||(o.P=!0,o.l&&tt(o.l))}function Vr(o){o.o||(o.o=Qr(o.t))}function qr(o,t,r){var n=Xr(t)?Pe("MapSet").F(t,r):Jr(t)?Pe("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),d={i:l?1:0,A:i?i.A:Kr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,f=ho;l&&(p=[d],f=po);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return d.k=m,d.j=y,m}(t,r):Pe("ES5").J(t,r);return(r?r.A:Kr()).p.push(n),n}function Xl(o){return Ue(o)||ve(22,o),function t(r){if(!Ne(r))return r;var n,a=r[G],i=Mt(r);if(a){if(!a.P&&(a.i<4||!Pe("ES5").K(a)))return a.t;a.I=!0,n=xc(r,i),a.I=!1}else n=xc(r,i);return bt(n,function(l,d){a&&Kl(a.t,l)===d||Oc(n,l,t(d))}),i===3?new Set(n):n}(o)}function xc(o,t){switch(t){case 2:return new Map(o);case 3:return Array.from(o)}return Qr(o)}function Ec(){function o(l,d){var p=i[l];return p?p.enumerable=d:i[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[G];return ho.get(f,l)},set:function(f){var h=this[G];ho.set(h,l,f)}},p}function t(l){for(var d=l.length-1;d>=0;d--){var p=l[d][G];if(!p.P)switch(p.i){case 5:n(p)&&tt(p);break;case 4:r(p)&&tt(p)}}}function r(l){for(var d=l.t,p=l.k,f=zt(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==G){var m=d[y];if(m===void 0&&!Dt(d,y))return!0;var b=p[y],g=b&&b[G];if(g?g.t!==m:!wc(b,m))return!0}}var S=!!d[G];return f.length!==zt(d).length+(S?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&&ve(3,JSON.stringify(et(l)))}var i={};ql("ES5",{J:function(l,d){var p=Array.isArray(l),f=function(y,m){if(y){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,o(g,!0));return b}var S=Ac(m);delete S[G];for(var R=zt(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(p,l),h={i:p?5:4,A:d?d.A:Kr(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,G,{value:h,writable:!0}),f},S:function(l,d,p){p?Ue(d)&&d[G].A===l&&t(l.p):(l.u&&function f(h){if(h&&typeof h=="object"){var y=h[G];if(y){var m=y.t,b=y.k,g=y.R,S=y.i;if(S===4)bt(b,function(T){T!==G&&(m[T]!==void 0||Dt(m,T)?g[T]||f(b[T]):(g[T]=!0,tt(y)))}),bt(m,function(T){b[T]!==void 0||Dt(b,T)||(g[T]=!1,tt(y))});else if(S===5){if(n(y)&&(tt(y),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),P=0;P<N;P++)b.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(b[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var vc,uo,on=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Jl=typeof Map<"u",Ql=typeof Set<"u",Sc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Nc=on?Symbol.for("immer-nothing"):((vc={})["immer-nothing"]=!0,vc),Cc=on?Symbol.for("immer-draftable"):"__$immer_draftable",G=on?Symbol.for("immer-state"):"__$immer_state";var es=""+Object.prototype.constructor,zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ac=Object.getOwnPropertyDescriptors||function(o){var t={};return zt(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},Yr={},ho={get:function(o,t){if(t===G)return o;var r=et(o);if(!Dt(r,t))return function(a,i,l){var d,p=bc(i,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Ne(n)?n:n===jr(o.t,t)?(Vr(o),o.o[t]=qr(o.A.h,n,o)):n},has:function(o,t){return t in et(o)},ownKeys:function(o){return Reflect.ownKeys(et(o))},set:function(o,t,r){var n=bc(et(o),t);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var a=jr(et(o),t),i=a?.[G];if(i&&i.t===r)return o.o[t]=r,o.R[t]=!1,!0;if(wc(r,a)&&(r!==void 0||Dt(o.t,t)))return!0;Vr(o),tt(o)}return o.o[t]===r&&(r!==void 0||t in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[t])||(o.o[t]=r,o.R[t]=!0),!0},deleteProperty:function(o,t){return jr(o.t,t)!==void 0||t in o.t?(o.R[t]=!1,Vr(o),tt(o)):delete o.R[t],o.o&&delete o.o[t],!0},getOwnPropertyDescriptor:function(o,t){var r=et(o),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:o.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){ve(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){ve(12)}},po={};bt(ho,function(o,t){po[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),po.deleteProperty=function(o,t){return po.set.call(this,o,t,void 0)},po.set=function(o,t,r){return ho.set.call(this,o[0],t,r,o[0])};var ts=function(){function o(r){var n=this;this.O=Sc,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(S){var R=this;S===void 0&&(S=d);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return p.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var f;if(typeof i!="function"&&ve(6),l!==void 0&&typeof l!="function"&&ve(7),Ne(a)){var h=mc(n),y=qr(n,a,void 0),m=!0;try{f=i(y),m=!1}finally{m?Vo(h):Zr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Gr(h,l),Fr(S,h)},function(S){throw Vo(h),S}):(Gr(h,l),Fr(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Nc&&(f=void 0),n.D&&en(f,!0),l){var b=[],g=[];Pe("Patches").M(a,f,b,g),l(b,g)}return f}ve(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(y))})};var l,d,p=n.produce(a,i,function(f,h){l=f,d=h});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 t=o.prototype;return t.createDraft=function(r){Ne(r)||ve(8),Ue(r)&&(r=Xl(r));var n=mc(this),a=qr(this,r,void 0);return a[G].C=!0,Zr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Gr(i,n),Fr(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Sc&&ve(20),this.O=r},t.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=Pe("Patches").$;return Ue(r)?l(r,n):this.produce(r,function(d){return l(d,n)})},o}(),me=new ts,os=me.produce,yg=me.produceWithPatches.bind(me),mg=me.setAutoFreeze.bind(me),gg=me.setUseProxies.bind(me),bg=me.applyPatches.bind(me),xg=me.createDraft.bind(me),vg=me.finishDraft.bind(me),qo=os;function xt(o){"@babel/helpers - typeof";return xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xt(o)}function Rc(o,t){if(xt(o)!="object"||!o)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(xt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(o)}function Lc(o){var t=Rc(o,"string");return xt(t)=="symbol"?t:t+""}function Ic(o,t,r){return(t=Lc(t))in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o}function Pc(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),r.push.apply(r,n)}return r}function rn(o){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Pc(Object(r),!0).forEach(function(n){Ic(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Pc(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function oe(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var kc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),nn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yo={INIT:"@@redux/INIT"+nn(),REPLACE:"@@redux/REPLACE"+nn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+nn()}};function rs(o){if(typeof o!="object"||o===null)return!1;for(var t=o;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(o)===t}function an(o,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(an)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function h(){if(p)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(p)throw new Error(oe(5));var R=!0;return f(),d.push(S),function(){if(R){if(p)throw new Error(oe(6));R=!1,f();var N=d.indexOf(S);d.splice(N,1),l=null}}}function m(S){if(!rs(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(p)throw new Error(oe(9));try{p=!0,i=a(i,S)}finally{p=!1}for(var R=l=d,E=0;E<R.length;E++){var N=R[E];N()}return S}function b(S){if(typeof S!="function")throw new Error(oe(10));a=S,m({type:Yo.REPLACE})}function g(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(oe(11));function P(){N.next&&N.next(h())}P();var T=R(P);return{unsubscribe:T}}},S[kc]=function(){return this},S}return m({type:Yo.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:b},n[kc]=g,n}function ns(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:Yo.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Yo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Tc(o){for(var t=Object.keys(o),r={},n=0;n<t.length;n++){var a=t[n];typeof o[a]=="function"&&(r[a]=o[a])}var i=Object.keys(r),l,d;try{ns(r)}catch(p){d=p}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var y;for(var m=!1,b={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=f[S],N=R(E,h);if(typeof N>"u"){var P=h&&h.type;throw new Error(oe(14))}b[S]=N,m=m||N!==E}return m=m||i.length!==Object.keys(f).length,m?b:f}}function Ut(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function _c(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=t.map(function(p){return p(l)});return i=Ut.apply(void 0,d)(a.dispatch),rn(rn({},a),{},{dispatch:i})}}}function Bc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,i,o):l(d)}}};return t}var $c=Bc();$c.withExtraArgument=Bc;var cn=$c;var Uc=function(){var o=function(t,r){return o=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])},o(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),as=function(o,t){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(h){return p([f,h])}}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=t.call(o,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ht=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},is=Object.defineProperty,cs=Object.defineProperties,ls=Object.getOwnPropertyDescriptors,Wc=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,ds=Object.prototype.propertyIsEnumerable,Dc=function(o,t,r){return t in o?is(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},ot=function(o,t){for(var r in t||(t={}))ss.call(t,r)&&Dc(o,r,t[r]);if(Wc)for(var n=0,a=Wc(t);n<a.length;n++){var r=a[n];ds.call(t,r)&&Dc(o,r,t[r])}return o},ln=function(o,t){return cs(o,ls(t))},fs=function(o,t,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(o,t)).next())})};var ps=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ut:Ut.apply(null,arguments)},Dg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function us(o){if(typeof o!="object"||o===null)return!1;var t=Object.getPrototypeOf(o);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var hs=function(o){Uc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array),ys=function(o){Uc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array);function fn(o){return Ne(o)?qo(o,function(){}):o}function ms(o){return typeof o=="boolean"}function gs(){return function(t){return bs(t)}}function bs(o){o===void 0&&(o={});var t=o.thunk,r=t===void 0?!0:t,n=o.immutableCheck,a=n===void 0?!0:n,i=o.serializableCheck,l=i===void 0?!0:i,d=new hs;if(r&&(ms(r)?d.push(cn):d.push(cn.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return d}var sn=!0;function Hc(o){var t=gs(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,b;if(typeof a=="function")b=a;else if(us(a))b=Tc(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(t),!sn&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!sn&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=_c.apply(void 0,g),R=Ut;p&&(R=ps(ot({trace:!sn},typeof p=="object"&&p)));var E=new ys(S),N=E;Array.isArray(m)?N=Ht([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return an(b,h,P)}function rt(o,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ot(ot({type:o,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function Gc(o){var t={},r=[],n,a={addCase:function(i,l){var d=typeof i=="string"?i:i.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return o(a),[t,r,n]}function xs(o){return typeof o=="function"}function vs(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?Gc(t):[t,r,n],i=a[0],l=a[1],d=a[2],p;if(xs(o))p=function(){return fn(o())};else{var f=fn(o);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var b=Ht([i[m.type]],l.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return b.filter(function(g){return!!g}).length===0&&(b=[d]),b.reduce(function(g,S){if(S)if(Ue(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Ne(g))return qo(g,function(N){return S(N,m)});var E=S(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},y)}return h.getInitialState=p,h}function Ss(o,t){return o+"/"+t}function Fc(o){var t=o.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:fn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(h){var y=n[h],m=Ss(t,h),b,g;"reducer"in y?(b=y.reducer,g=y.prepare):b=y,i[h]=b,l[m]=b,d[h]=g?rt(m,g):rt(m)});function p(){var h=typeof o.extraReducers=="function"?Gc(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,b=h[1],g=b===void 0?[]:b,S=h[2],R=S===void 0?void 0:S,E=ot(ot({},m),l);return vs(r,function(N){for(var P in E)N.addCase(P,E[P]);for(var T=0,D=g;T<D.length;T++){var ge=D[T];N.addMatcher(ge.matcher,ge.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:t,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Cs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Os=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=Cs[Math.random()*64|0];return t},ws=["name","message","stack","code"],dn=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),zc=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Es=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=ws;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},Hg=function(){function o(t,r,n){var a=rt(t+"/fulfilled",function(h,y,m,b){return{payload:h,meta:ln(ot({},b||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=rt(t+"/pending",function(h,y,m){return{payload:void 0,meta:ln(ot({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=rt(t+"/rejected",function(h,y,m,b,g){return{payload:b,error:(n&&n.serializeError||Es)(h||"Rejected"),meta:ln(ot({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(y,m,b){var g=n?.idGenerator?n.idGenerator(h):Os(),S=new p,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return fs(this,null,function(){var T,D,ge,He,dr,Ge,de;return as(this,function(be){switch(be.label){case 0:return be.trys.push([0,4,,5]),He=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:b}),As(He)?[4,He]:[3,2];case 1:He=be.sent(),be.label=2;case 2:if(He===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,dr=new Promise(function(fe,at){return S.signal.addEventListener("abort",function(){return at({name:"AbortError",message:R||"Aborted"})})}),y(i(g,h,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([dr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:b,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(fe,at){return new dn(fe,at)},fulfillWithValue:function(fe,at){return new zc(fe,at)}})).then(function(fe){if(fe instanceof dn)throw fe;return fe instanceof zc?a(fe.payload,g,h,fe.meta):a(fe,g,h)})])];case 3:return ge=be.sent(),[3,5];case 4:return Ge=be.sent(),ge=Ge instanceof dn?l(null,g,h,Ge.payload,Ge.meta):l(Ge,g,h),[3,5];case 5:return de=n&&!n.dispatchConditionRejection&&l.match(ge)&&ge.meta.condition,de||y(ge),[2,ge]}})})}();return Object.assign(P,{abort:N,requestId:g,arg:h,unwrap:function(){return P.then(Ns)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function Ns(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function As(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var jc="listener",Vc="completed",Kc="cancelled",Gg="task-"+Kc,Fg="task-"+Vc,jg=jc+"-"+Kc,Vg=jc+"-"+Vc;var pn="listenerMiddleware";var Kg=rt(pn+"/add"),Zg=rt(pn+"/removeAll"),qg=rt(pn+"/remove");var Mc,Yg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Mc||(Mc=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},Rs=function(o){return function(t){setTimeout(t,o)}},Xg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Rs(10);Ec();function Ls(o,t){return class extends o{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Xo=class extends Ls(Object){};window.ftReduxStores||(window.ftReduxStores={});var Zc=class o extends Xo{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(lo(i))return i;if(a==null)return;let l=Fc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=Hc({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 o(l,d,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Uo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,l,d)=>{let p=l,f=i[p];return f?(...h)=>{let y=f(...h.map(a));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[p]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var tr=x(L());var Jo=class extends Ye{async listMySearches(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Qo=class extends Ye{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Ps="ft-user-assets",er=tr.FtReduxStore.get({name:Ps,initialState:{savedSearches:void 0,bookmarks:void 0}}),un=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qo,this.savedSearchesService=new Jo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,tr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),er.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),er.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();er.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;er.actions.bookmarks(r)}}},kb=new un;var hn=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new hn;var qc=x(L()),yn=class{highlightHtml(t,r,n){(0,qc.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new yn;var Yc=x(L());var mn=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;return Yc.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new mn;var ks=x(L());(0,Xc.customElement)("ft-app-context")(V);var Qc=x(Z()),Ts=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},gn=Symbol("i18nAttributes"),bn=Symbol("i18nListAttributes"),or=Symbol("i18nProperties"),xn=Symbol("i18nManualContexts"),yo=Symbol("i18nUnsubs");function ar(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?oc:mt}i18n(i,l,...d){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,l,...d);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var l,d,p;(l=this[gn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,f,i))}),(d=this[bn])===null||d===void 0||d.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(p=this[or])===null||p===void 0||p.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,l){return{...i,message:this.i18n({context:i.context,key:i.key,...l})}}getI18nAttributeMessage(i,l,d){var p;let f=!d||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===d.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,l):i}update(i){var l,d,p;super.update(i),(l=this[gn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,h),this[h]=this.getI18nAttributeMessage(y,f))}),(d=this[bn])===null||d===void 0||d.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(p=this[or])===null||p===void 0||p.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,l,d){i.context&&i.key&&l.has(d)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,l){i=i.toLowerCase(),this[yo].has(i)||this[yo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,l??{}),this.onI18nUpdate(i)}connectedCallback(){var i,l,d,p,f,h;super.connectedCallback(),new Set([...(l=(i=this[or])===null||i===void 0?void 0:i.values())!==null&&l!==void 0?l:[],...[...(p=(d=this[gn])===null||d===void 0?void 0:d.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(f=this[bn])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[xn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(i,l){this[xn].set(i,l??{}),this.addI18nMessagesAndSubscribe(i,l)}addI18nContext(i,l){this.addI18nMessages(typeof i=="string"?i:i.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(i=>i()),this[yo].clear()}}return t=xn,r=yo,Ts([(0,Qc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Jc=class extends ar(nr.FtLitElement){},rr=class extends ar(nr.FtLitElementRedux){};var mo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ae=class extends rr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ir.nothing:ir.html`
|
|
1186
1186
|
<span class="ft-i18n">
|
|
1187
1187
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1188
1188
|
</span>
|
|
1189
|
-
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ae.elementDefinitions={};Ae.styles=
|
|
1190
|
-
<div class=${(0,
|
|
1189
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ae.elementDefinitions={};Ae.styles=Ji;mo([(0,lr.redux)()],Ae.prototype,"editorMode",void 0);mo([(0,cr.property)()],Ae.prototype,"context",void 0);mo([(0,cr.property)()],Ae.prototype,"key",void 0);mo([(0,lr.jsonProperty)([])],Ae.prototype,"args",void 0);mo([(0,cr.property)()],Ae.prototype,"defaultMessage",void 0);var sr=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,n)=>{let a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...a)=>mt.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(r,n)=>mt.resolveRawMessage(this.name,n)})}};(0,el.customElement)("ft-i18n")(Ae);var nt=sr.build("designedReaderToc"),tl={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var W=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var d=o.length-1;d>=0;d--)(l=o[d])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},_=class extends ar(vt){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=ue.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ue.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=le.M,this.nodesToExpandExist=!1,this.addI18nContext(nt,tl)}update(t){var r,n,a;super.update(t),t.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(i=>i.children.length>0)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(t){var r,n;if(super.contentAvailableCallback(t),this.scrollCurrentTopicIntoView&&t.has("highlightedTocIds")&&this.highlightedTocIds&&((r=this.highlightedTocIds)===null||r===void 0?void 0:r.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&ke.scrollHelper.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var t;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===le.S,"ft-reader-toc-desktop":this.viewportSize!==le.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return Se.html`
|
|
1190
|
+
<div class=${(0,ol.classMap)(r)}>
|
|
1191
1191
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1192
1192
|
${this.renderExpandCollapseAll()}
|
|
1193
|
-
${(0,
|
|
1193
|
+
${(0,vn.repeat)((t=this.toc)!==null&&t!==void 0?t:[],n=>n.tocId,n=>this.renderNode(n))}
|
|
1194
1194
|
</div>
|
|
1195
1195
|
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?Se.html`
|
|
1196
1196
|
<div part="expand-collapse-all-container"
|
|
@@ -1199,24 +1199,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1199
1199
|
class="ft-reader-toc--expand-collapse-all-button"
|
|
1200
1200
|
iconVariant="${this.expandCollapseAllIconVariant}"
|
|
1201
1201
|
icon="${this.expandCollapseAllHideIcon?"":this.expandAll?this.collapseAllIcon||"ICON_COLLAPSE":this.expandAllIcon||"ICON_EXPAND"}"
|
|
1202
|
-
label="${this.expandAll?
|
|
1202
|
+
label="${this.expandAll?nt.messages.collapseAllLong():nt.messages.expandAllLong()}"
|
|
1203
1203
|
tooltipPosition="${this.getExpandCollapseAllTooltipPosition()}"
|
|
1204
1204
|
?trailingIcon=${this.expandCollapseAllTrailingIcon}
|
|
1205
1205
|
@click=${()=>this.toggleExpandCollapseAll()}>
|
|
1206
|
-
${this.expandCollapseAllHideLabel?"":this.expandAll?
|
|
1206
|
+
${this.expandCollapseAllHideLabel?"":this.expandAll?nt.messages.collapseAll():nt.messages.expandAll()}
|
|
1207
1207
|
</ft-button>
|
|
1208
1208
|
</div>
|
|
1209
|
-
`:Se.nothing}renderNode(t){var r,n,a;let i=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(t.tocId),l=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),
|
|
1209
|
+
`:Se.nothing}renderNode(t){var r,n,a;let i=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(t.tocId),l=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),d=t.children.length>0,p=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,f=t.depth-1-p,h={"padding-left":`calc( ${J.tabulationSize} * ${f} + 4px)`};return Se.html`
|
|
1210
1210
|
<div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
|
|
1211
|
-
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${(0,
|
|
1211
|
+
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${(0,rl.styleMap)(h)}>
|
|
1212
1212
|
${this.nodesToExpandExist&&!this.expanded?Se.html`
|
|
1213
1213
|
<div class="ft-reader-toc--toggle-container">
|
|
1214
|
-
${
|
|
1214
|
+
${d?Se.html`
|
|
1215
1215
|
<ft-button part="expand-collapse-node"
|
|
1216
1216
|
class="ft-reader-toc--tree-node-button"
|
|
1217
1217
|
round hideTooltip
|
|
1218
1218
|
?dense=${this.viewportSize!==le.S}
|
|
1219
|
-
label="${l?
|
|
1219
|
+
label="${l?nt.messages.collapse(t.title):nt.messages.expand(t.title)}"
|
|
1220
1220
|
.iconVariant="${this.iconVariant}"
|
|
1221
1221
|
icon="${l?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
1222
1222
|
@click=${()=>this.manuallyToggle(t.tocId,l)}
|
|
@@ -1226,18 +1226,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1226
1226
|
</ft-button>
|
|
1227
1227
|
`:this.getLeafNodeIcon()}
|
|
1228
1228
|
</div>
|
|
1229
|
-
`:
|
|
1229
|
+
`:d?Se.nothing:this.getLeafNodeIcon()}
|
|
1230
1230
|
<ft-reader-internal-link part="node-link"
|
|
1231
1231
|
tocId="${t.tocId}"
|
|
1232
1232
|
removeStyle>
|
|
1233
1233
|
<ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
|
|
1234
1234
|
</ft-reader-internal-link>
|
|
1235
1235
|
</div>
|
|
1236
|
-
${
|
|
1236
|
+
${d?Se.html`
|
|
1237
1237
|
<div id="${t.tocId}-children"
|
|
1238
1238
|
class="ft-reader-toc--node-children"
|
|
1239
1239
|
?hidden=${!l}>
|
|
1240
|
-
${(0,
|
|
1240
|
+
${(0,vn.repeat)(l?t.children:[],y=>y.tocId,y=>this.renderNode(y))}
|
|
1241
1241
|
</div>
|
|
1242
1242
|
`:Se.nothing}
|
|
1243
1243
|
</div>
|
|
@@ -1246,7 +1246,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1246
1246
|
part="leaf-node-icon"
|
|
1247
1247
|
.variant="${this.leafNodeIconVariant}"
|
|
1248
1248
|
.value="${this.leafNodeIcon}"></ft-icon>
|
|
1249
|
-
`}};_.elementDefinitions={"ft-button":we,"ft-icon":ne,"ft-reader-internal-link":
|
|
1249
|
+
`}};_.elementDefinitions={"ft-button":we,"ft-icon":ne,"ft-reader-internal-link":Ce,"ft-size-watcher":ye,"ft-typography":pe};_.styles=Yi;W([(0,z.property)({type:Boolean})],_.prototype,"expanded",void 0);W([(0,z.property)()],_.prototype,"iconVariant",void 0);W([(0,z.property)()],_.prototype,"collapseIcon",void 0);W([(0,z.property)()],_.prototype,"expandIcon",void 0);W([(0,z.property)()],_.prototype,"leafNodeIconVariant",void 0);W([(0,z.property)()],_.prototype,"leafNodeIcon",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAll",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAllHideLabel",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAllTrailingIcon",void 0);W([(0,z.property)()],_.prototype,"expandCollapseAllAlignment",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAllHideIcon",void 0);W([(0,z.property)()],_.prototype,"expandCollapseAllIconVariant",void 0);W([(0,z.property)()],_.prototype,"collapseAllIcon",void 0);W([(0,z.property)()],_.prototype,"expandAllIcon",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"autoCollapse",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"scrollCurrentTopicIntoView",void 0);W([(0,z.property)()],_.prototype,"scope",void 0);W([(0,z.property)({type:Boolean,reflect:!0})],_.prototype,"empty",void 0);W([(0,ke.redux)({selector:(o,t)=>{var r,n,a;return t.isCurrentPageToc?!((r=o.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(n=o.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=o.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?o.pagesToc:o.toc}})],_.prototype,"toc",void 0);W([(0,ke.redux)()],_.prototype,"currentPage",void 0);W([(0,ke.redux)({selector:(o,t)=>{var r,n;return!((r=o.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!t.isCurrentPageToc?!((n=o.currentPage)===null||n===void 0)&&n.rootTocId?[o.currentPage.rootTocId]:[]:o.visibleTopics}})],_.prototype,"highlightedTocIds",void 0);W([(0,z.state)({hasChanged:ke.hasChanged})],_.prototype,"automaticallyExpandedNodes",void 0);W([(0,z.state)({hasChanged:ke.hasChanged})],_.prototype,"manuallyExpandedNodes",void 0);W([(0,z.state)({hasChanged:ke.hasChanged})],_.prototype,"manuallyCollapsedNodes",void 0);W([(0,z.state)()],_.prototype,"expandAll",void 0);W([(0,z.state)()],_.prototype,"viewportSize",void 0);(0,nl.customElement)("ft-reader-toc")(_);})();
|
|
1250
1250
|
/*! Bundled license information:
|
|
1251
1251
|
|
|
1252
1252
|
lit-html/lit-html.js:
|