@fluid-topics/ft-reader-attachments 1.1.80 → 1.1.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var ur=Object.create;var bt=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var xr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Or=Object.prototype.hasOwnProperty;var re=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports);var Cr=(t,o,n,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of xr(o))!Or.call(t,a)&&a!==n&&bt(t,a,{get:()=>o[a],enumerable:!(l=br(o,a))||l.enumerable});return t};var y=(t,o,n)=>(n=t!=null?ur(Sr(t)):{},Cr(o||!t||!t.__esModule?bt(n,"default",{value:t,enumerable:!0}):n,t));var S=re((zr,xt)=>{xt.exports=ftGlobals.wcUtils});var A=re(($r,St)=>{St.exports=ftGlobals.lit});var H=re((Hr,Ot)=>{Ot.exports=ftGlobals.litDecorators});var Tt=re((Yr,Pt)=>{Pt.exports=ftGlobals.litRepeat});var Qt=re((sn,Jt)=>{Jt.exports=ftGlobals.litUnsafeHTML});var ut=re((hp,sr)=>{sr.exports=ftGlobals.litClassMap});var mr=y(S());var oe=y(A()),ue=y(H()),Xe=y(S());var Wt=y(A()),O=y(S());var wt=y(A()),N=y(S()),Ct=N.FtCssVariableFactory.extend("--ft-ripple-color","",N.designSystemVariables.colorContent),z={color:Ct,backgroundColor:N.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ct),opacityContentOnSurfacePressed:N.FtCssVariableFactory.external(N.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:N.FtCssVariableFactory.external(N.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:N.FtCssVariableFactory.external(N.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:N.FtCssVariableFactory.external(N.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:N.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},vt=N.FtCssVariableFactory.extend("--ft-ripple-color","",N.designSystemVariables.colorPrimary),Nt={color:vt,backgroundColor:N.FtCssVariableFactory.extend("--ft-ripple-background-color","",vt)},Et=N.FtCssVariableFactory.extend("--ft-ripple-color","",N.designSystemVariables.colorSecondary),Rt={color:Et,backgroundColor:N.FtCssVariableFactory.extend("--ft-ripple-background-color","",Et)},At=wt.css`
1
+ "use strict";(()=>{var Wa=Object.create;var jr=Object.defineProperty;var Da=Object.getOwnPropertyDescriptor;var Ua=Object.getOwnPropertyNames;var Ma=Object.getPrototypeOf,Ba=Object.prototype.hasOwnProperty;var Le=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var za=(t,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Ua(r))!Ba.call(t,a)&&a!==o&&jr(t,a,{get:()=>r[a],enumerable:!(n=Da(r,a))||n.enumerable});return t};var S=(t,r,o)=>(o=t!=null?Wa(Ma(t)):{},za(r||!t||!t.__esModule?jr(o,"default",{value:t,enumerable:!0}):o,t));var R=Le((Hi,Zr)=>{Zr.exports=ftGlobals.wcUtils});var M=Le((Gi,Fr)=>{Fr.exports=ftGlobals.lit});var $=Le((Ki,Vr)=>{Vr.exports=ftGlobals.litDecorators});var po=Le((Qi,so)=>{so.exports=ftGlobals.litRepeat});var yn=Le((Ms,mn)=>{mn.exports=ftGlobals.litUnsafeHTML});var Hr=Le((ju,Ra)=>{Ra.exports=ftGlobals.litClassMap});var Ta=S(R());var Re=S(M()),Ye=S($()),Ft=S(R());var no=S(M()),I=S(R());var eo=S(M()),T=S(R()),qr=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorContent),ee={color:qr,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",qr),opacityContentOnSurfacePressed:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:T.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Yr=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorPrimary),Xr={color:Yr,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",Yr)},Jr=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorSecondary),Qr={color:Jr,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",Jr)},to=eo.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  .ft-ripple:not(.ft-ripple--unbounded) {
13
13
  overflow: hidden;
14
- border-radius: ${z.borderRadius};
14
+ border-radius: ${ee.borderRadius};
15
15
  }
16
16
 
17
17
  .ft-ripple .ft-ripple--background,
@@ -45,27 +45,27 @@
45
45
  }
46
46
 
47
47
  .ft-ripple .ft-ripple--background {
48
- background-color: ${z.backgroundColor};
48
+ background-color: ${ee.backgroundColor};
49
49
  }
50
50
 
51
51
  .ft-ripple .ft-ripple--effect {
52
- background-color: ${z.color};
52
+ background-color: ${ee.color};
53
53
  }
54
54
 
55
55
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
- background-color: ${Rt.backgroundColor};
56
+ background-color: ${Qr.backgroundColor};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
- background-color: ${Rt.color};
60
+ background-color: ${Qr.color};
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${Nt.backgroundColor};
64
+ background-color: ${Xr.backgroundColor};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
- background-color: ${Nt.color};
68
+ background-color: ${Xr.color};
69
69
  }
70
70
 
71
71
  .ft-ripple .ft-ripple--background {
@@ -95,22 +95,22 @@
95
95
  }
96
96
 
97
97
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
98
- opacity: ${z.opacityContentOnSurfaceHover};
98
+ opacity: ${ee.opacityContentOnSurfaceHover};
99
99
  }
100
100
 
101
101
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
102
- opacity: ${z.opacityContentOnSurfaceSelected};
102
+ opacity: ${ee.opacityContentOnSurfaceSelected};
103
103
  }
104
104
 
105
105
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
106
- opacity: ${z.opacityContentOnSurfaceFocused};
106
+ opacity: ${ee.opacityContentOnSurfaceFocused};
107
107
  }
108
108
 
109
109
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
110
- opacity: ${z.opacityContentOnSurfacePressed};
110
+ opacity: ${ee.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `;var Lt=y(A()),G=y(S()),I={size:G.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:G.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",G.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:G.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",G.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:G.FtCssVariableFactory.extend("--ft-icon-material-font-family","",G.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:G.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},It=Lt.css`
113
+ `;var ro=S(M()),oe=S(R()),G={size:oe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:oe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",oe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:oe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",oe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:oe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",oe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:oe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},oo=ro.css`
114
114
  :host, i.ft-icon {
115
115
  display: inline-flex;
116
116
  align-items: center;
@@ -119,14 +119,14 @@
119
119
  }
120
120
 
121
121
  :host {
122
- width: ${I.size};
123
- height: ${I.size};
122
+ width: ${G.size};
123
+ height: ${G.size};
124
124
  }
125
125
 
126
126
  i.ft-icon {
127
127
  width: 100%;
128
128
  height: 100%;
129
- font-size: ${I.size};
129
+ font-size: ${G.size};
130
130
  line-height: 1;
131
131
  font-weight: normal;
132
132
  text-transform: none;
@@ -137,40 +137,40 @@
137
137
  text-rendering: auto;
138
138
  -webkit-font-smoothing: antialiased;
139
139
  -moz-osx-font-smoothing: grayscale;
140
- vertical-align: ${I.verticalAlign};
140
+ vertical-align: ${G.verticalAlign};
141
141
  }
142
142
 
143
143
  i.ft-icon.ft-icon--fluid-topics {
144
- font-family: ${I.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
144
+ font-family: ${G.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
145
145
 
146
146
  /* Ugly fix because font is broken */
147
- font-size: calc(0.75 * ${I.size});
148
- line-height: ${I.size};
147
+ font-size: calc(0.75 * ${G.size});
148
+ line-height: ${G.size};
149
149
  position: relative;
150
150
  top: -4%;
151
151
  justify-content: center;
152
152
  }
153
153
 
154
154
  .ft-icon--file-format {
155
- font-family: ${I.fileFormatFontFamily}, ft-mime, sans-serif;
155
+ font-family: ${G.fileFormatFontFamily}, ft-mime, sans-serif;
156
156
  }
157
157
 
158
158
  .ft-icon--material {
159
- font-family: ${I.materialFontFamily}, "Material Icons", sans-serif;
159
+ font-family: ${G.materialFontFamily}, "Material Icons", sans-serif;
160
160
  }
161
- `;var W={itemsGap:O.FtCssVariableFactory.create("--ft-reader-attachments-items-gap","","SIZE","8px"),itemPadding:O.FtCssVariableFactory.create("--ft-reader-attachments-item-padding","","SIZE","8px"),itemBorderWidth:O.FtCssVariableFactory.create("--ft-reader-attachments-item-border-width","","SIZE","1px"),itemBorderColor:O.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-color","",O.designSystemVariables.colorOutline),itemBorderRadius:O.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-radius","",O.designSystemVariables.borderRadiusS),itemBackgroundColor:O.FtCssVariableFactory.extend("--ft-reader-attachments-item-background-color","",O.designSystemVariables.colorSurface),itemTextColor:O.FtCssVariableFactory.extend("--ft-reader-attachments-item-text-color","",O.designSystemVariables.colorOnSurfaceMedium),itemHoverBackgroundColor:O.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-background-color","",O.designSystemVariables.colorPrimary),itemHoverTextColor:O.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-text-color","",O.designSystemVariables.colorOnSurfaceHigh),fileFormatIconSize:O.FtCssVariableFactory.create("--ft-reader-attachments-file-format-icon-size","","SIZE","30px"),downloadIconSize:O.FtCssVariableFactory.create("--ft-reader-attachments-down-icon-size","","SIZE","20px")},Bt=Wt.css`
161
+ `;var K={itemsGap:I.FtCssVariableFactory.create("--ft-reader-attachments-items-gap","","SIZE","8px"),itemPadding:I.FtCssVariableFactory.create("--ft-reader-attachments-item-padding","","SIZE","8px"),itemBorderWidth:I.FtCssVariableFactory.create("--ft-reader-attachments-item-border-width","","SIZE","1px"),itemBorderColor:I.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-color","",I.designSystemVariables.colorOutline),itemBorderRadius:I.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-radius","",I.designSystemVariables.borderRadiusS),itemBackgroundColor:I.FtCssVariableFactory.extend("--ft-reader-attachments-item-background-color","",I.designSystemVariables.colorSurface),itemTextColor:I.FtCssVariableFactory.extend("--ft-reader-attachments-item-text-color","",I.designSystemVariables.colorOnSurfaceMedium),itemHoverBackgroundColor:I.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-background-color","",I.designSystemVariables.colorPrimary),itemHoverTextColor:I.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-text-color","",I.designSystemVariables.colorOnSurfaceHigh),fileFormatIconSize:I.FtCssVariableFactory.create("--ft-reader-attachments-file-format-icon-size","","SIZE","30px"),downloadIconSize:I.FtCssVariableFactory.create("--ft-reader-attachments-down-icon-size","","SIZE","20px")},ao=no.css`
162
162
  [part="container"] {
163
163
  display: flex;
164
164
  flex-direction: column;
165
- gap: ${W.itemsGap};
165
+ gap: ${K.itemsGap};
166
166
  }
167
167
 
168
168
  [part="attachment"] {
169
169
  border-style: solid;
170
- border-width: ${W.itemBorderWidth};
171
- border-color: ${W.itemBorderColor};
172
- border-radius: ${W.itemBorderRadius};
173
- background-color: ${W.itemBackgroundColor};
170
+ border-width: ${K.itemBorderWidth};
171
+ border-color: ${K.itemBorderColor};
172
+ border-radius: ${K.itemBorderRadius};
173
+ background-color: ${K.itemBackgroundColor};
174
174
  }
175
175
 
176
176
  [part="attachment"], [part="viewer-link"], [part="download-link"] {
@@ -180,14 +180,14 @@
180
180
 
181
181
  [part="viewer-link"], [part="download-link"] {
182
182
  position: relative;
183
- color: ${W.itemTextColor};
183
+ color: ${K.itemTextColor};
184
184
  text-decoration: none;
185
- padding: ${W.itemPadding};
185
+ padding: ${K.itemPadding};
186
186
  align-items: center;
187
187
  }
188
188
 
189
189
  [part="viewer-link"]:hover, [part="download-link"]:hover {
190
- color: ${W.itemHoverTextColor};
190
+ color: ${K.itemHoverTextColor};
191
191
  }
192
192
 
193
193
  [part="viewer-link"] {
@@ -202,16 +202,16 @@
202
202
  }
203
203
 
204
204
  [part~="ripple"] {
205
- ${(0,O.setVariable)(z.color,W.itemHoverBackgroundColor)};
206
- ${(0,O.setVariable)(z.borderRadius,W.itemBorderRadius)};
205
+ ${(0,I.setVariable)(ee.color,K.itemHoverBackgroundColor)};
206
+ ${(0,I.setVariable)(ee.borderRadius,K.itemBorderRadius)};
207
207
  }
208
208
 
209
209
  [part="file-format-icon"] {
210
- ${(0,O.setVariable)(I.size,W.fileFormatIconSize)};
210
+ ${(0,I.setVariable)(G.size,K.fileFormatIconSize)};
211
211
  }
212
212
 
213
213
  [part="download-icon"] {
214
- ${(0,O.setVariable)(I.size,W.downloadIconSize)};
214
+ ${(0,I.setVariable)(G.size,K.downloadIconSize)};
215
215
  }
216
216
 
217
217
  .hide-file-format-icon [part="file-format-icon"] {
@@ -225,161 +225,161 @@
225
225
  .hide-download-icon [part="download-link"] {
226
226
  display: none;
227
227
  }
228
- `;var _t=y(S()),kt=y(H());var Ut;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ut||(Ut={}));var vr=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},Je=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},qe=Symbol("registerInterval");function Nr(t){var o;class n extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[qe]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[qe]):this.dispatchEvent(new Je)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=qe,vr([(0,kt.state)()],n.prototype,"stateManager",void 0),n}var Ae=class extends Nr(_t.FtLitElementRedux){};var hr=y(Tt());var Xt=y(S());var ze=y(A()),$e=y(H()),He=y(S());var zt=y(A());var $t=zt.css`
229
- `;var Pe=y(S());var Vt=y(S());var Zt=y(A()),B=y(H()),k=y(S());var Ht=y(A());var Gt=Ht.css`
230
- `;var Dt=y(S()),Er="ft-app-info",Rr={},u=Dt.FtReduxStore.get({name:Er,reducers:Rr,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var V=y(S());var Qe=y(S());var q=class t{static get(o){let{baseUrl:n,apiIntegrationIdentifier:l}=u.getState(),a=o??l;if(n&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,a,!0)}static await(o){return new Promise(n=>{let l=t.get(o);if(l)n(l);else{let a=u.subscribe(()=>{l=t.get(o),l&&(a(),n(l))})}})}};var F=class{constructor(o=!0,n){var l;this.overrideApi=n;let a=this.constructor;a.commonCache=(l=a.commonCache)!==null&&l!==void 0?l:new Qe.CacheRegistry,this.cache=o?a.commonCache:new Qe.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:q.get()}get awaitApi(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:q.await()}clearCache(){this.cache.clearAll()}};var Mt,wr=Symbol("clearAfterUnitTest"),Le=class extends F{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Mt]=()=>{this.defaultMessages={},this.cache=new V.CacheRegistry,this.listeners={}},this.currentUiLocale=u.getState().uiLocale,u.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:o}=u.getState();this.currentUiLocale!==o&&(this.currentUiLocale=o,this.cache.clearAll(),this.notifyAll())}addContext(o){let n=o.name.toLowerCase();this.cache.setFinal(n,o),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(o,n){var l;if(o=o.toLowerCase(),Object.keys(n).length>0){let a={...(l=this.defaultMessages[o])!==null&&l!==void 0?l:{},...n};(0,V.deepEqual)(this.defaultMessages[o],a)||(this.defaultMessages[o]=a,await this.notify(o))}await this.fetchContext(o)}resolveMessage(o,n,...l){var a,c,p;o=o.toLowerCase(),this.fetchContext(o);let s=(c=(a=this.cache.getNow(o))===null||a===void 0?void 0:a.messages)!==null&&c!==void 0?c:{};return new V.ParametrizedLabelResolver((p=this.defaultMessages[o])!==null&&p!==void 0?p:{},s).resolve(n,...l)}async fetchContext(o){if(!this.cache.has(o))try{await this.cache.get(o,()=>this.messageContextProvider(this.currentUiLocale,o)),await this.notify(o)}catch(n){console.error(n)}}subscribe(o,n){var l;return o=o.toLowerCase(),this.listeners[o]=(l=this.listeners[o])!==null&&l!==void 0?l:new Set,this.listeners[o].add(n),()=>{var a;return(a=this.listeners[o])===null||a===void 0?void 0:a.delete(n)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(o=>this.notify(o)))}async notify(o){this.listeners[o]!=null&&await Promise.all([...this.listeners[o].values()].map(n=>(0,V.delay)(0).then(()=>n()).catch(()=>null)))}};Mt=wr;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Le{constructor(){super(async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Le{constructor(){super(async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o))}});var ae=window.FluidTopicsI18nService,Kt=window.FluidTopicsCustomI18nService;var w=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},v=class extends k.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=()=>q.get(),this.messageContexts=[],this.cache=new k.CacheRegistry,this.cleanSessionDebouncer=new k.Debouncer}render(){return Zt.html`
228
+ `;var co=S(R()),lo=S($());var io;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(io||(io={}));var $a=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},qt=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Vt=Symbol("registerInterval");function Ha(t){var r;class o extends t{constructor(){super(...arguments),this[r]=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[Vt]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Vt]):this.dispatchEvent(new qt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return r=Vt,$a([(0,lo.state)()],o.prototype,"stateManager",void 0),o}var ht=class extends Ha(co.FtLitElementRedux){};var _a=S(po());var un=S(R());var Wt=S(M()),Dt=S($()),Ut=S(R());var fo=S(M());var uo=fo.css`
229
+ `;var kt=S(R());var dn=S(R());var xo=S(M()),j=S($()),Y=S(R());var ho=S(M());var mo=ho.css`
230
+ `;var yo=S(R()),Ga="ft-app-info",Ka={},C=yo.FtReduxStore.get({name:Ga,reducers:Ka,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var de=S(R());var Yt=S(R());var ve=class t{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=C.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=t.get(r);if(n)o(n);else{let a=C.subscribe(()=>{n=t.get(r),n&&(a(),o(n))})}})}};var se=class{constructor(r=!0,o){var n;this.overrideApi=o;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Yt.CacheRegistry,this.cache=r?a.commonCache:new Yt.CacheRegistry}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:ve.get()}get awaitApi(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:ve.await()}clearCache(){this.cache.clearAll()}};var go,ja=Symbol("clearAfterUnitTest"),mt=class extends se{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[go]=()=>{this.defaultMessages={},this.cache=new de.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=C.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,de.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}await this.fetchContext(r)}resolveMessage(r,o,...n){var a,i,l;r=r.toLowerCase(),this.fetchContext(r);let d=(i=(a=this.cache.getNow(r))===null||a===void 0?void 0:a.messages)!==null&&i!==void 0?i:{};return new de.ParametrizedLabelResolver((l=this.defaultMessages[r])!==null&&l!==void 0?l:{},d).resolve(o,...n)}async fetchContext(r){if(!this.cache.has(r))try{await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r)),await this.notify(r)}catch(o){console.error(o)}}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,de.delay)(0).then(()=>o()).catch(()=>null)))}};go=ja;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends mt{constructor(){super(async(t,r)=>(await this.awaitApi).getFluidTopicsMessageContext(t,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends mt{constructor(){super(async(t,r)=>(await this.awaitApi).getCustomMessageContext(t,r))}});var Pe=window.FluidTopicsI18nService,bo=window.FluidTopicsCustomI18nService;var B=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},k=class extends Y.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=()=>ve.get(),this.messageContexts=[],this.cache=new Y.CacheRegistry,this.cleanSessionDebouncer=new Y.Debouncer}render(){return xo.html`
231
231
  <slot></slot>
232
- `}update(o){super.update(o),o.has("baseUrl")&&(u.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&u.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&u.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&u.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&u.actions.noCustom(this.noCustom),o.has("editorMode")&&u.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&u.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&u.actions.session(this.session),o.has("availableUiLocales")&&u.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>ae.addContext(n)),o.has("openExternalDocumentInNewTab")&&u.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&u.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&u.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};v.elementDefinitions={};v.styles=Gt;w([(0,B.property)()],v.prototype,"baseUrl",void 0);w([(0,B.property)()],v.prototype,"apiIntegrationIdentifier",void 0);w([(0,B.property)()],v.prototype,"uiLocale",void 0);w([(0,k.jsonProperty)(null)],v.prototype,"availableUiLocales",void 0);w([(0,k.jsonProperty)(null)],v.prototype,"metadataConfiguration",void 0);w([(0,B.property)({type:Boolean})],v.prototype,"editorMode",void 0);w([(0,B.property)({type:Boolean})],v.prototype,"noCustom",void 0);w([(0,B.property)({type:Boolean})],v.prototype,"openExternalDocumentInNewTab",void 0);w([(0,B.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],v.prototype,"noCustomComponent",void 0);w([(0,B.property)({type:Boolean})],v.prototype,"withManualResources",void 0);w([(0,B.property)({type:Boolean})],v.prototype,"navigatorOnline",void 0);w([(0,B.property)({type:Boolean})],v.prototype,"forcedOffline",void 0);w([(0,B.property)({type:Object})],v.prototype,"apiProvider",void 0);w([(0,k.jsonProperty)([])],v.prototype,"messageContexts",void 0);w([(0,k.jsonProperty)(void 0)],v.prototype,"session",void 0);var Ue=y(S());var Ie=class extends F{async listMySearches(){let o=u.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var We=class extends F{async listMyBookmarks(){let o=u.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var Ar="ft-user-assets",Be=Ue.FtReduxStore.get({name:Ar,initialState:{savedSearches:void 0,bookmarks:void 0}}),et=class{constructor(){this.currentSession=u.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new We,this.savedSearchesService=new Ie,u.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:n}=u.getState();(0,Ue.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Be.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Be.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();Be.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let n=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Be.actions.bookmarks(n)}}},Ca=new et;var tt=class{addCommand(o,n=!1){u.commands.add(o,n)}consumeCommand(o){return u.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new tt;var Ft=y(S()),ot=class{highlightHtml(o,n){(0,Ft.highlightHtml)(o,n)}};window.FluidTopicsHighlightHtmlService=new ot;(0,Vt.customElement)("ft-app-context")(v);var Yt=y(H()),Lr=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},rt=Symbol("i18nAttributes"),_e=Symbol("i18nProperties"),be=Symbol("i18nUnsubs");function Te(t){var o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Kt:ae}i18n(a,c,...p){var s;if(typeof a=="string")return this.i18nService.resolveMessage(a,c,...p);let g=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...g)}onI18nUpdate(a){var c,p;(c=this[rt])===null||c===void 0||c.forEach((s,g)=>{var m;let x=this.getI18nAttributeValue(g);((m=x?.context)===null||m===void 0?void 0:m.toLowerCase())===a.toLowerCase()&&this.updateI18nAttributeMessage(g,x,s)}),(p=this[_e])===null||p===void 0||p.forEach((s,g)=>{s.context.toLowerCase()===a.toLowerCase()&&(this[g]=this.i18n(s))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(a,c,p){this[a]={...c,message:this.i18n({context:c.context,key:c.key,...p})}}update(a){var c,p;super.update(a),(c=this[rt])===null||c===void 0||c.forEach((s,g)=>{let m=this.getI18nAttributeValue(g);m?.context&&m.key&&(a.has(g)||s.argsProvider!=null)&&(a.has(g)&&this.addI18nContext(m.context),this.updateI18nAttributeMessage(g,m,s))}),(p=this[_e])===null||p===void 0||p.forEach((s,g)=>{s.argsProvider!=null&&(this[g]=this.i18n(s))})}getI18nAttributeValue(a){return this[a]}connectedCallback(){var a,c,p,s;super.connectedCallback(),new Set([...(c=(a=this[_e])===null||a===void 0?void 0:a.values())!==null&&c!==void 0?c:[],...[...(s=(p=this[rt])===null||p===void 0?void 0:p.keys())!==null&&s!==void 0?s:[]].map(g=>this.getI18nAttributeValue(g))].map(g=>g?.context)).forEach(g=>g&&this.addI18nMessages(g))}addI18nMessages(a,c){a=a.toLowerCase(),this[be].has(a)||this[be].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,c??{})}addI18nContext(a,c){this.addI18nMessages(typeof a=="string"?a:a.name,c)}disconnectedCallback(){super.disconnectedCallback(),this[be].forEach(a=>a()),this[be].clear()}}return o=be,Lr([(0,Yt.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var jt=class extends Te(Pe.FtLitElement){},ke=class extends Te(Pe.FtLitElementRedux){};var xe=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},P=class extends ke{constructor(){super(),this.editorMode=!1,this.addStore(u)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ze.nothing:ze.html`
232
+ `}update(r){super.update(r),r.has("baseUrl")&&(C.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&C.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&C.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&C.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&C.actions.noCustom(this.noCustom),r.has("editorMode")&&C.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&C.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&C.actions.session(this.session),r.has("availableUiLocales")&&C.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Pe.addContext(o)),r.has("openExternalDocumentInNewTab")&&C.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&C.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&C.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};k.elementDefinitions={};k.styles=mo;B([(0,j.property)()],k.prototype,"baseUrl",void 0);B([(0,j.property)()],k.prototype,"apiIntegrationIdentifier",void 0);B([(0,j.property)()],k.prototype,"uiLocale",void 0);B([(0,Y.jsonProperty)(null)],k.prototype,"availableUiLocales",void 0);B([(0,Y.jsonProperty)(null)],k.prototype,"metadataConfiguration",void 0);B([(0,j.property)({type:Boolean})],k.prototype,"editorMode",void 0);B([(0,j.property)({type:Boolean})],k.prototype,"noCustom",void 0);B([(0,j.property)({type:Boolean})],k.prototype,"openExternalDocumentInNewTab",void 0);B([(0,j.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],k.prototype,"noCustomComponent",void 0);B([(0,j.property)({type:Boolean})],k.prototype,"withManualResources",void 0);B([(0,j.property)({type:Boolean})],k.prototype,"navigatorOnline",void 0);B([(0,j.property)({type:Boolean})],k.prototype,"forcedOffline",void 0);B([(0,j.property)({type:Object})],k.prototype,"apiProvider",void 0);B([(0,Y.jsonProperty)([])],k.prototype,"messageContexts",void 0);B([(0,Y.jsonProperty)(void 0)],k.prototype,"session",void 0);var Pi=S($());function Za(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!_e(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!_e(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(a=Object.keys(t),o=a.length,o!==Object.keys(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!_e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r}function _e(t,r){try{return Za(t,r)}catch{return!1}}var Fa=S($(),1);var yt=class{constructor(){this.queue=[]}add(r,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==r.type)),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var Jt=S($(),1);var vo=S($(),1);function So(t,r){let o=()=>JSON.parse(JSON.stringify(t));return(0,vo.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,a)=>!_e(n,a),...r??{}})}var gt=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>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 Co=S(M(),1);var bt=window,Va=bt.ShadowRoot&&(bt.ShadyCSS===void 0||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wc=Symbol();var Oo=(t,r)=>{Va?t.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):r.forEach(o=>{let n=document.createElement("style"),a=bt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)})};var xt=class extends Co.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,i])=>r.registry.define(a,i)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Oo(n,r.elementStyles),n}};var Xt=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},No,wo=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer"),Se=class extends xt{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[No]=new gt(5),this[Eo]=this.constructor.name,this[wo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[wo])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}applyCustomStylesheet(r){var o,n,a;if(this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(i){console.error(i,this.customStylesheet)}}else if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(i=>i.remove()),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 r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ao].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(r){var o,n,a,i,l,d;let p=m=>m!=null&&m.trim().length>0,f=r.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(d=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...x,...g).filter(p).map(v=>v.trim()).forEach(v=>u.add(v))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(m=>f.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};No=Ao;Xt([(0,Jt.property)()],Se.prototype,"exportpartsPrefix",void 0);Xt([So([])],Se.prototype,"exportpartsPrefixes",void 0);Xt([(0,Jt.property)()],Se.prototype,"customStylesheet",void 0);function et(t){var r;return(r=t?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Ro,Io,Lo,vt=Symbol("internalReduxEventsUnsubscribers"),pe=Symbol("internalStoresUnsubscribers"),Oe=Symbol("internalStores"),tt=class extends Se{constructor(){super(...arguments),this[Ro]=new Map,this[Io]=new Map,this[Lo]=[]}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Oe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Oe].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[Oe].get(r)}addStore(r,o){var n;o=(n=o??(et(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,r)}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[Oe].delete(o)}setupStore(r,o){this[Oe].set(r,o),this.subscribeToStore(r,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Oe].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[pe].has(r.store):this[pe].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[pe].set(r,o.subscribe(()=>this.updateFromStores())),et(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let l=d=>this[i](d);o.eventBus.addEventListener(a.eventName,l),this[vt].push(()=>o.eventBus.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[pe].forEach((r,o)=>this.unsubscribeFromStore(o)),this[vt].forEach(r=>r()),this[vt]=[]}unsubscribeFromStore(r){this[pe].has(r)&&this[pe].get(r)(),this[pe].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ro=pe,Io=Oe,Lo=vt;tt.reduxProperties=new Map;tt.reduxReactiveProperties=new Set;tt.reduxEventListeners=new Map;function Z(t){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ne(t){return!!t&&!!t[L]}function X(t){var r;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ri}(t)||Array.isArray(t)||!!t[Uo]||!!(!((r=t.constructor)===null||r===void 0)&&r[Uo])||cr(t)||lr(t))}function Ce(t,r,o){o===void 0&&(o=!1),We(t)===0?(o?Object.keys:Te)(t).forEach(function(n){o&&typeof n=="symbol"||r(n,t[n],t)}):t.forEach(function(n,a){return r(a,n,t)})}function We(t){var r=t[L];return r?r.i>3?r.i-4:r.i:Array.isArray(t)?1:cr(t)?2:lr(t)?3:0}function ke(t,r){return We(t)===2?t.has(r):Object.prototype.hasOwnProperty.call(t,r)}function qa(t,r){return We(t)===2?t.get(r):t[r]}function Mo(t,r,o){var n=We(t);n===2?t.set(r,o):n===3?t.add(o):t[r]=o}function Bo(t,r){return t===r?t!==0||1/t==1/r:t!=t&&r!=r}function cr(t){return ei&&t instanceof Map}function lr(t){return ti&&t instanceof Set}function fe(t){return t.o||t.t}function sr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var r=Ho(t);delete r[L];for(var o=Te(r),n=0;n<o.length;n++){var a=o[n],i=r[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),r)}function dr(t,r){return r===void 0&&(r=!1),pr(t)||ne(t)||!X(t)||(We(t)>1&&(t.set=t.add=t.clear=t.delete=Ya),Object.freeze(t),r&&Ce(t,function(o,n){return dr(n,!0)},!0)),t}function Ya(){Z(2)}function pr(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function te(t){var r=ir[t];return r||Z(18,t),r}function Xa(t,r){ir[t]||(ir[t]=r)}function or(){return ot}function Qt(t,r){r&&(te("Patches"),t.u=[],t.s=[],t.v=r)}function St(t){nr(t),t.p.forEach(Ja),t.p=null}function nr(t){t===ot&&(ot=t.l)}function Po(t){return ot={p:[],l:ot,h:t,m:!0,_:0}}function Ja(t){var r=t[L];r.i===0||r.i===1?r.j():r.g=!0}function er(t,r){r._=r.p.length;var o=r.p[0],n=t!==void 0&&t!==o;return r.h.O||te("ES5").S(r,t,n),n?(o[L].P&&(St(r),Z(4)),X(t)&&(t=Ot(r,t),r.l||Ct(r,t)),r.u&&te("Patches").M(o[L].t,t,r.u,r.s)):t=Ot(r,o,[]),St(r),r.u&&r.v(r.u,r.s),t!==$o?t:void 0}function Ot(t,r,o){if(pr(r))return r;var n=r[L];if(!n)return Ce(r,function(d,p){return _o(t,n,r,d,p,o)},!0),r;if(n.A!==t)return r;if(!n.P)return Ct(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=sr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),Ce(i,function(d,p){return _o(t,n,a,d,p,o,l)}),Ct(t,a,!1),o&&t.u&&te("Patches").N(n,o,t.u,t.s)}return n.o}function _o(t,r,o,n,a,i,l){if(ne(a)){var d=Ot(t,a,i&&r&&r.i!==3&&!ke(r.R,n)?i.concat(n):void 0);if(Mo(o,n,d),!ne(d))return;t.m=!1}else l&&o.add(a);if(X(a)&&!pr(a)){if(!t.h.D&&t._<1)return;Ot(t,a),r&&r.A.l||Ct(t,a)}}function Ct(t,r,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&dr(r,o)}function tr(t,r){var o=t[L];return(o?fe(o):t)[r]}function ko(t,r){if(r in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function ue(t){t.P||(t.P=!0,t.l&&ue(t.l))}function rr(t){t.o||(t.o=sr(t.t))}function ar(t,r,o){var n=cr(r)?te("MapSet").F(r,o):lr(r)?te("MapSet").T(r,o):t.O?function(a,i){var l=Array.isArray(a),d={i:l?1:0,A:i?i.A:or(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,f=nt;l&&(p=[d],f=rt);var u=Proxy.revocable(p,f),h=u.revoke,m=u.proxy;return d.k=m,d.j=h,m}(r,o):te("ES5").J(r,o);return(o?o.A:or()).p.push(n),n}function Qa(t){return ne(t)||Z(22,t),function r(o){if(!X(o))return o;var n,a=o[L],i=We(o);if(a){if(!a.P&&(a.i<4||!te("ES5").K(a)))return a.t;a.I=!0,n=To(o,i),a.I=!1}else n=To(o,i);return Ce(n,function(l,d){a&&qa(a.t,l)===d||Mo(n,l,r(d))}),i===3?new Set(n):n}(t)}function To(t,r){switch(r){case 2:return new Map(t);case 3:return Array.from(t)}return sr(t)}function zo(){function t(l,d){var p=i[l];return p?p.enumerable=d:i[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[L];return nt.get(f,l)},set:function(f){var u=this[L];nt.set(u,l,f)}},p}function r(l){for(var d=l.length-1;d>=0;d--){var p=l[d][L];if(!p.P)switch(p.i){case 5:n(p)&&ue(p);break;case 4:o(p)&&ue(p)}}}function o(l){for(var d=l.t,p=l.k,f=Te(p),u=f.length-1;u>=0;u--){var h=f[u];if(h!==L){var m=d[h];if(m===void 0&&!ke(d,h))return!0;var x=p[h],g=x&&x[L];if(g?g.t!==m:!Bo(x,m))return!0}}var v=!!d[L];return f.length!==Te(d).length+(v?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&Z(3,JSON.stringify(fe(l)))}var i={};Xa("ES5",{J:function(l,d){var p=Array.isArray(l),f=function(h,m){if(h){for(var x=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(x,""+g,t(g,!0));return x}var v=Ho(m);delete v[L];for(var N=Te(v),w=0;w<N.length;w++){var E=N[w];v[E]=t(E,h||!!v[E].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,l),u={i:p?5:4,A:d?d.A:or(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,L,{value:u,writable:!0}),f},S:function(l,d,p){p?ne(d)&&d[L].A===l&&r(l.p):(l.u&&function f(u){if(u&&typeof u=="object"){var h=u[L];if(h){var m=h.t,x=h.k,g=h.R,v=h.i;if(v===4)Ce(x,function(A){A!==L&&(m[A]!==void 0||ke(m,A)?g[A]||f(x[A]):(g[A]=!0,ue(h)))}),Ce(m,function(A){x[A]!==void 0||ke(x,A)||(g[A]=!1,ue(h))});else if(v===5){if(n(h)&&(ue(h),g.length=!0),x.length<m.length)for(var N=x.length;N<m.length;N++)g[N]=!1;else for(var w=m.length;w<x.length;w++)g[w]=!0;for(var E=Math.min(x.length,m.length),P=0;P<E;P++)x.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(x[P])}}}}(l.p[0]),r(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Wo,ot,fr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ei=typeof Map<"u",ti=typeof Set<"u",Do=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$o=fr?Symbol.for("immer-nothing"):((Wo={})["immer-nothing"]=!0,Wo),Uo=fr?Symbol.for("immer-draftable"):"__$immer_draftable",L=fr?Symbol.for("immer-state"):"__$immer_state";var ri=""+Object.prototype.constructor,Te=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ho=Object.getOwnPropertyDescriptors||function(t){var r={};return Te(t).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(t,o)}),r},ir={},nt={get:function(t,r){if(r===L)return t;var o=fe(t);if(!ke(o,r))return function(a,i,l){var d,p=ko(i,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(t,o,r);var n=o[r];return t.I||!X(n)?n:n===tr(t.t,r)?(rr(t),t.o[r]=ar(t.A.h,n,t)):n},has:function(t,r){return r in fe(t)},ownKeys:function(t){return Reflect.ownKeys(fe(t))},set:function(t,r,o){var n=ko(fe(t),r);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=tr(fe(t),r),i=a?.[L];if(i&&i.t===o)return t.o[r]=o,t.R[r]=!1,!0;if(Bo(o,a)&&(o!==void 0||ke(t.t,r)))return!0;rr(t),ue(t)}return t.o[r]===o&&(o!==void 0||r in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[r])||(t.o[r]=o,t.R[r]=!0),!0},deleteProperty:function(t,r){return tr(t.t,r)!==void 0||r in t.t?(t.R[r]=!1,rr(t),ue(t)):delete t.R[r],t.o&&delete t.o[r],!0},getOwnPropertyDescriptor:function(t,r){var o=fe(t),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:t.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){Z(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Z(12)}},rt={};Ce(nt,function(t,r){rt[t]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),rt.deleteProperty=function(t,r){return rt.set.call(this,t,r,void 0)},rt.set=function(t,r,o){return nt.set.call(this,t[0],r,o,t[0])};var oi=function(){function t(o){var n=this;this.O=Do,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var p=n;return function(v){var N=this;v===void 0&&(v=d);for(var w=arguments.length,E=Array(w>1?w-1:0),P=1;P<w;P++)E[P-1]=arguments[P];return p.produce(v,function(A){var le;return(le=i).call.apply(le,[N,A].concat(E))})}}var f;if(typeof i!="function"&&Z(6),l!==void 0&&typeof l!="function"&&Z(7),X(a)){var u=Po(n),h=ar(n,a,void 0),m=!0;try{f=i(h),m=!1}finally{m?St(u):nr(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Qt(u,l),er(v,u)},function(v){throw St(u),v}):(Qt(u,l),er(f,u))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===$o&&(f=void 0),n.D&&dr(f,!0),l){var x=[],g=[];te("Patches").M(a,f,x,g),l(x,g)}return f}Z(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(x){return a.apply(void 0,[x].concat(h))})};var l,d,p=n.produce(a,i,function(f,u){l=f,d=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,d]}):[p,l,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=t.prototype;return r.createDraft=function(o){X(o)||Z(8),ne(o)&&(o=Qa(o));var n=Po(this),a=ar(this,o,void 0);return a[L].C=!0,nr(n),a},r.finishDraft=function(o,n){var a=o&&o[L],i=a.A;return Qt(i,n),er(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Do&&Z(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var l=te("Patches").$;return ne(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},t}(),H=new oi,ni=H.produce,Dc=H.produceWithPatches.bind(H),Uc=H.setAutoFreeze.bind(H),Mc=H.setUseProxies.bind(H),Bc=H.applyPatches.bind(H),zc=H.createDraft.bind(H),$c=H.finishDraft.bind(H),wt=ni;function he(t){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},he(t)}function ur(t,r){if(he(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,r||"default");if(he(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function hr(t){var r=ur(t,"string");return he(r)==="symbol"?r:String(r)}function mr(t,r,o){return r=hr(r),r in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t}function Go(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function Et(t){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Go(Object(o),!0).forEach(function(n){mr(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Go(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function U(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ko=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),yr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Nt={INIT:"@@redux/INIT"+yr(),REPLACE:"@@redux/REPLACE"+yr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+yr()}};function ai(t){if(typeof t!="object"||t===null)return!1;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}function gr(t,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(U(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(U(1));return o(gr)(t,r)}if(typeof t!="function")throw new Error(U(2));var a=t,i=r,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function u(){if(p)throw new Error(U(3));return i}function h(v){if(typeof v!="function")throw new Error(U(4));if(p)throw new Error(U(5));var N=!0;return f(),d.push(v),function(){if(N){if(p)throw new Error(U(6));N=!1,f();var E=d.indexOf(v);d.splice(E,1),l=null}}}function m(v){if(!ai(v))throw new Error(U(7));if(typeof v.type>"u")throw new Error(U(8));if(p)throw new Error(U(9));try{p=!0,i=a(i,v)}finally{p=!1}for(var N=l=d,w=0;w<N.length;w++){var E=N[w];E()}return v}function x(v){if(typeof v!="function")throw new Error(U(10));a=v,m({type:Nt.REPLACE})}function g(){var v,N=h;return v={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(U(11));function P(){E.next&&E.next(u())}P();var A=N(P);return{unsubscribe:A}}},v[Ko]=function(){return this},v}return m({type:Nt.INIT}),n={dispatch:m,subscribe:h,getState:u,replaceReducer:x},n[Ko]=g,n}function ii(t){Object.keys(t).forEach(function(r){var o=t[r],n=o(void 0,{type:Nt.INIT});if(typeof n>"u")throw new Error(U(12));if(typeof o(void 0,{type:Nt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(U(13))})}function jo(t){for(var r=Object.keys(t),o={},n=0;n<r.length;n++){var a=r[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),l,d;try{ii(o)}catch(p){d=p}return function(f,u){if(f===void 0&&(f={}),d)throw d;if(0)var h;for(var m=!1,x={},g=0;g<i.length;g++){var v=i[g],N=o[v],w=f[v],E=N(w,u);if(typeof E>"u"){var P=u&&u.type;throw new Error(U(14))}x[v]=E,m=m||E!==w}return m=m||i.length!==Object.keys(f).length,m?x:f}}function De(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Zo(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(U(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=r.map(function(p){return p(l)});return i=De.apply(void 0,d)(a.dispatch),Et(Et({},a),{},{dispatch:i})}}}function Fo(t){var r=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,i,t):l(d)}}};return r}var Vo=Fo();Vo.withExtraArgument=Fo;var br=Vo;var Qo=function(){var t=function(r,o){return t=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])},t(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),ci=function(t,r){var o={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(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:f[1],done:!1};case 5:o.label++,a=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){o.label=f[1];break}if(f[0]===6&&o.label<i[1]){o.label=i[1],i=f;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(f);break}i[2]&&o.ops.pop(),o.trys.pop();continue}f=r.call(t,o)}catch(u){f=[6,u],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ue=function(t,r){for(var o=0,n=r.length,a=t.length;o<n;o++,a++)t[a]=r[o];return t},li=Object.defineProperty,si=Object.defineProperties,di=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,pi=Object.prototype.hasOwnProperty,fi=Object.prototype.propertyIsEnumerable,Yo=function(t,r,o){return r in t?li(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o},me=function(t,r){for(var o in r||(r={}))pi.call(r,o)&&Yo(t,o,r[o]);if(qo)for(var n=0,a=qo(r);n<a.length;n++){var o=a[n];fi.call(r,o)&&Yo(t,o,r[o])}return t},xr=function(t,r){return si(t,di(r))},ui=function(t,r,o){return new Promise(function(n,a){var i=function(p){try{d(o.next(p))}catch(f){a(f)}},l=function(p){try{d(o.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};d((o=o.apply(t,r)).next())})};var hi=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?De:De.apply(null,arguments)},al=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function mi(t){if(typeof t!="object"||t===null)return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var yi=function(t){Qo(r,t);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,Ue([void 0],o[0].concat(this)))):new(r.bind.apply(r,Ue([void 0],o.concat(this))))},r}(Array),gi=function(t){Qo(r,t);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,Ue([void 0],o[0].concat(this)))):new(r.bind.apply(r,Ue([void 0],o.concat(this))))},r}(Array);function Or(t){return X(t)?wt(t,function(){}):t}function bi(t){return typeof t=="boolean"}function xi(){return function(r){return vi(r)}}function vi(t){t===void 0&&(t={});var r=t.thunk,o=r===void 0?!0:r,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,l=i===void 0?!0:i,d=new yi;if(o&&(bi(o)?d.push(br):d.push(br.withExtraArgument(o.extraArgument))),0){if(a)var p;if(l)var f}return d}var vr=!0;function en(t){var r=xi(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,l=i===void 0?r():i,d=o.devTools,p=d===void 0?!0:d,f=o.preloadedState,u=f===void 0?void 0:f,h=o.enhancers,m=h===void 0?void 0:h,x;if(typeof a=="function")x=a;else if(mi(a))x=jo(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(r),!vr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!vr&&g.some(function(A){return typeof A!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Zo.apply(void 0,g),N=De;p&&(N=hi(me({trace:!vr},typeof p=="object"&&p)));var w=new gi(v),E=w;Array.isArray(m)?E=Ue([v],m):typeof m=="function"&&(E=m(w));var P=N.apply(void 0,E);return gr(x,u,P)}function ye(t,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var i=r.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return me(me({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function tn(t){var r={},o=[],n,a={addCase:function(i,l){var d=typeof i=="string"?i:i.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=l,a},addMatcher:function(i,l){return o.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[r,o,n]}function Si(t){return typeof t=="function"}function Oi(t,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?tn(r):[r,o,n],i=a[0],l=a[1],d=a[2],p;if(Si(t))p=function(){return Or(t())};else{var f=Or(t);p=function(){return f}}function u(h,m){h===void 0&&(h=p());var x=Ue([i[m.type]],l.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return x.filter(function(g){return!!g}).length===0&&(x=[d]),x.reduce(function(g,v){if(v)if(ne(g)){var N=g,w=v(N,m);return w===void 0?g:w}else{if(X(g))return wt(g,function(E){return v(E,m)});var w=v(g,m);if(w===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return g},h)}return u.getInitialState=p,u}function Ci(t,r){return t+"/"+r}function rn(t){var r=t.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Or(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(u){var h=n[u],m=Ci(r,u),x,g;"reducer"in h?(x=h.reducer,g=h.prepare):x=h,i[u]=x,l[m]=x,d[u]=g?ye(m,g):ye(m)});function p(){var u=typeof t.extraReducers=="function"?tn(t.extraReducers):[t.extraReducers],h=u[0],m=h===void 0?{}:h,x=u[1],g=x===void 0?[]:x,v=u[2],N=v===void 0?void 0:v,w=me(me({},m),l);return Oi(o,function(E){for(var P in w)E.addCase(P,w[P]);for(var A=0,le=g;A<le.length;A++){var re=le[A];E.addMatcher(re.matcher,re.reducer)}N&&E.addDefaultCase(N)})}var f;return{name:r,reducer:function(u,h){return f||(f=p()),f(u,h)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var wi="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ei=function(t){t===void 0&&(t=21);for(var r="",o=t;o--;)r+=wi[Math.random()*64|0];return r},Ni=["name","message","stack","code"],Sr=function(){function t(r,o){this.payload=r,this.meta=o}return t}(),Xo=function(){function t(r,o){this.payload=r,this.meta=o}return t}(),Ai=function(t){if(typeof t=="object"&&t!==null){for(var r={},o=0,n=Ni;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(r[a]=t[a])}return r}return{message:String(t)}},sl=function(){function t(r,o,n){var a=ye(r+"/fulfilled",function(u,h,m,x){return{payload:u,meta:xr(me({},x||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=ye(r+"/pending",function(u,h,m){return{payload:void 0,meta:xr(me({},m||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),l=ye(r+"/rejected",function(u,h,m,x,g){return{payload:x,error:(n&&n.serializeError||Ai)(u||"Rejected"),meta:xr(me({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(h,m,x){var g=n?.idGenerator?n.idGenerator(u):Ei(),v=new p,N,w=!1;function E(A){N=A,v.abort()}var P=function(){return ui(this,null,function(){var A,le,re,Xe,Gr,Je,Kr;return ci(this,function(Ie){switch(Ie.label){case 0:return Ie.trys.push([0,4,,5]),Xe=(A=n?.condition)==null?void 0:A.call(n,u,{getState:m,extra:x}),Ii(Xe)?[4,Xe]:[3,2];case 1:Xe=Ie.sent(),Ie.label=2;case 2:if(Xe===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,Gr=new Promise(function(q,Qe){return v.signal.addEventListener("abort",function(){return Qe({name:"AbortError",message:N||"Aborted"})})}),h(i(g,u,(le=n?.getPendingMeta)==null?void 0:le.call(n,{requestId:g,arg:u},{getState:m,extra:x}))),[4,Promise.race([Gr,Promise.resolve(o(u,{dispatch:h,getState:m,extra:x,requestId:g,signal:v.signal,abort:E,rejectWithValue:function(q,Qe){return new Sr(q,Qe)},fulfillWithValue:function(q,Qe){return new Xo(q,Qe)}})).then(function(q){if(q instanceof Sr)throw q;return q instanceof Xo?a(q.payload,g,u,q.meta):a(q,g,u)})])];case 3:return re=Ie.sent(),[3,5];case 4:return Je=Ie.sent(),re=Je instanceof Sr?l(null,g,u,Je.payload,Je.meta):l(Je,g,u),[3,5];case 5:return Kr=n&&!n.dispatchConditionRejection&&l.match(re)&&re.meta.condition,Kr||h(re),[2,re]}})})}();return Object.assign(P,{abort:E,requestId:g,arg:u,unwrap:function(){return P.then(Ri)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:r})}return t.withTypes=function(){return t},t}();function Ri(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ii(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var on="listener",nn="completed",an="cancelled",dl="task-"+an,pl="task-"+nn,fl=on+"-"+an,ul=on+"-"+nn;var Cr="listenerMiddleware";var hl=ye(Cr+"/add"),ml=ye(Cr+"/removeAll"),yl=ye(Cr+"/remove");var Jo,gl=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Jo||(Jo=Promise.resolve())).then(t).catch(function(r){return setTimeout(function(){throw r},0)})},Li=function(t){return function(r){setTimeout(r,t)}},bl=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Li(10);zo();window.ftReduxStores||(window.ftReduxStores={});var cn=class t{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,i=window.ftReduxStores[n];if(et(i))return i;if(a==null)return;let l=rn({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=en({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 t(l,d)}constructor(r,o){this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new yt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let l=a,d=n[l];return d?(...p)=>{let f=d(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[l]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}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(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Lt=S(R());var At=class extends se{async listMySearches(){let r=C.getState().session;return r?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var Rt=class extends se{async listMyBookmarks(){let r=C.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var _i="ft-user-assets",It=Lt.FtReduxStore.get({name:_i,initialState:{savedSearches:void 0,bookmarks:void 0}}),wr=class{constructor(){this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Rt,this.savedSearchesService=new At,C.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=C.getState();(0,Lt.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),It.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),It.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();It.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;It.actions.bookmarks(o)}}},Fl=new wr;var Er=class{addCommand(r,o=!1){C.commands.add(r,o)}consumeCommand(r){return C.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new Er;var ln=S(R()),Nr=class{highlightHtml(r,o){(0,ln.highlightHtml)(r,o)}};window.FluidTopicsHighlightHtmlService=new Nr;var sn=S(R());var Ar=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=C.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(r,o){var n,a,i;return sn.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:C.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Ar;(0,dn.customElement)("ft-app-context")(k);var fn=S($()),ki=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Rr=Symbol("i18nAttributes"),Pt=Symbol("i18nProperties"),at=Symbol("i18nUnsubs");function Tt(t){var r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?bo:Pe}i18n(a,i,...l){var d;if(typeof a=="string")return this.i18nService.resolveMessage(a,i,...l);let p=(d=a.args)!==null&&d!==void 0?d:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var i,l;(i=this[Rr])===null||i===void 0||i.forEach((d,p)=>{var f;let u=this.getI18nAttributeValue(p);((f=u?.context)===null||f===void 0?void 0:f.toLowerCase())===a.toLowerCase()&&this.updateI18nAttributeMessage(p,u,d)}),(l=this[Pt])===null||l===void 0||l.forEach((d,p)=>{d.context.toLowerCase()===a.toLowerCase()&&(this[p]=this.i18n(d))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(a,i,l){this[a]={...i,message:this.i18n({context:i.context,key:i.key,...l})}}update(a){var i,l;super.update(a),(i=this[Rr])===null||i===void 0||i.forEach((d,p)=>{let f=this.getI18nAttributeValue(p);f?.context&&f.key&&(a.has(p)||d.argsProvider!=null)&&(a.has(p)&&this.addI18nContext(f.context),this.updateI18nAttributeMessage(p,f,d))}),(l=this[Pt])===null||l===void 0||l.forEach((d,p)=>{d.argsProvider!=null&&(this[p]=this.i18n(d))})}getI18nAttributeValue(a){return this[a]}connectedCallback(){var a,i,l,d;super.connectedCallback(),new Set([...(i=(a=this[Pt])===null||a===void 0?void 0:a.values())!==null&&i!==void 0?i:[],...[...(d=(l=this[Rr])===null||l===void 0?void 0:l.keys())!==null&&d!==void 0?d:[]].map(p=>this.getI18nAttributeValue(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(a,i){a=a.toLowerCase(),this[at].has(a)||this[at].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,i??{})}addI18nContext(a,i){this.addI18nMessages(typeof a=="string"?a:a.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[at].forEach(a=>a()),this[at].clear()}}return r=at,ki([(0,fn.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var pn=class extends Tt(kt.FtLitElement){},_t=class extends Tt(kt.FtLitElementRedux){};var it=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},J=class extends _t{constructor(){super(),this.editorMode=!1,this.addStore(C)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Wt.nothing:Wt.html`
233
233
  <span class="ft-i18n">
234
234
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
235
235
  </span>
236
- `}update(o){var n;super.update(o),["context","key","defaultMessage"].some(l=>o.has(l))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(n=this.defaultMessage)!==null&&n!==void 0?n:""})}};P.elementDefinitions={};P.styles=$t;xe([(0,He.redux)()],P.prototype,"editorMode",void 0);xe([(0,$e.property)()],P.prototype,"context",void 0);xe([(0,$e.property)()],P.prototype,"key",void 0);xe([(0,He.jsonProperty)([])],P.prototype,"args",void 0);xe([(0,$e.property)()],P.prototype,"defaultMessage",void 0);var Ge=class t{static build(o){return new t(o)}static fromGwt(o){return new t(o)}constructor(o){this.name=o,this.properties=new Proxy({},{get:(n,l)=>{let a=l;return c=>({context:this.name,key:a,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,l)=>(...a)=>ae.resolveMessage(this.name,l,...a)})}};(0,Xt.customElement)("ft-i18n")(P);var at=Ge.build("designedReaderAttachments"),qt={download:"Download \u201C{0}\u201D"};var ro=y(S());var Se=y(A()),J=y(H()),to=y(S()),oo=y(Qt());var De;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(De||(De={}));var d;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(d||(d={}));var nt=new Map([...["abw"].map(t=>[t,d.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,d.AUDIO]),...["avi"].map(t=>[t,d.AVI]),...["chm","xhs"].map(t=>[t,d.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,d.CODE]),...["csv"].map(t=>[t,d.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,d.DITA]),...["epub"].map(t=>[t,d.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,d.EXCEL]),...["flac"].map(t=>[t,d.FLAC]),...["gif"].map(t=>[t,d.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,d.GZIP]),...["html","htm","xhtml"].map(t=>[t,d.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,d.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,d.JPEG]),...["json"].map(t=>[t,d.JSON]),...["m4a","m4p"].map(t=>[t,d.M4A]),...["mov","qt"].map(t=>[t,d.MOV]),...["mp3"].map(t=>[t,d.MP3]),...["mp4","m4v"].map(t=>[t,d.MP4]),...["ogg","oga"].map(t=>[t,d.OGG]),...["pdf","ps"].map(t=>[t,d.PDF]),...["png"].map(t=>[t,d.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,d.POWERPOINT]),...["rar"].map(t=>[t,d.RAR]),...["stp"].map(t=>[t,d.STP]),...["txt","rtf","md","mdown"].map(t=>[t,d.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,d.VIDEO]),...["wav"].map(t=>[t,d.WAV]),...["wma"].map(t=>[t,d.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,d.WORD]),...["xml","xsl","rdf"].map(t=>[t,d.XML]),...["yaml","yml","x-yaml"].map(t=>[t,d.YAML]),...["zip"].map(t=>[t,d.ZIP])]),Ir=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function eo(t,o){var n,l,a,c;t=(t??"").toLowerCase(),o=(o??"").toLowerCase();let[p,s]=(((n=Ir.get(t))!==null&&n!==void 0?n:t)+"/").split("/");return(c=(a=(l=nt.get(s))!==null&&l!==void 0?l:nt.get(o))!==null&&a!==void 0?a:nt.get(p))!==null&&c!==void 0?c:d.UNKNOWN}var it={[d.ABW]:"#91ABC6",[d.AUDIO]:"#1795E3",[d.AVI]:"#E63324",[d.CHM]:"#71C3EB",[d.CODE]:"#71C3EB",[d.CSV]:"#1F7345",[d.DITA]:"#71C3EB",[d.EPUB]:"#85B926",[d.EXCEL]:"#1F7345",[d.FLAC]:"#1795E3",[d.GIF]:"#59B031",[d.GZIP]:"#F8AB36",[d.HTML]:"#71C3EB",[d.IMAGE]:"#59B031",[d.JPEG]:"#59B031",[d.JSON]:"#71C3EB",[d.M4A]:"#1795E3",[d.MOV]:"#E63324",[d.MP3]:"#1795E3",[d.MP4]:"#E63324",[d.OGG]:"#1795E3",[d.PDF]:"#E44948",[d.PNG]:"#59B031",[d.POWERPOINT]:"#B54A2B",[d.RAR]:"#F8AB36",[d.STP]:"#3764B1",[d.TEXT]:"#3162AB",[d.UNKNOWN]:"#999999",[d.VIDEO]:"#E63324",[d.WAV]:"#1795E3",[d.WMA]:"#1795E3",[d.WORD]:"#3162AB",[d.XML]:"#71C3EB",[d.YAML]:"#71C3EB",[d.ZIP]:"#F8AB36"};var j;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(j||(j={}));var Me=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},U=class extends to.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Se.nothing}render(){let o=this.variant&&Object.values(j).includes(this.variant)?this.variant:j.fluid_topics,n=o!==j.material||!!this.value;return Se.html`
237
- <i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
238
- ${(0,oo.unsafeHTML)(this.resolvedIcon)}
239
- <slot ?hidden=${n}></slot>
236
+ `}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};J.elementDefinitions={};J.styles=uo;it([(0,Ut.redux)()],J.prototype,"editorMode",void 0);it([(0,Dt.property)()],J.prototype,"context",void 0);it([(0,Dt.property)()],J.prototype,"key",void 0);it([(0,Ut.jsonProperty)([])],J.prototype,"args",void 0);it([(0,Dt.property)()],J.prototype,"defaultMessage",void 0);var Mt=class t{static build(r){return new t(r)}static fromGwt(r){return new t(r)}constructor(r){this.name=r,this.properties=new Proxy({},{get:(o,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:(o,n)=>(...a)=>Pe.resolveMessage(this.name,n,...a)})}};(0,un.customElement)("ft-i18n")(J);var Ir=Mt.build("designedReaderAttachments"),hn={download:"Download \u201C{0}\u201D"};var vn=S(R());var ct=S(M()),we=S($()),bn=S(R()),xn=S(yn());var Bt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Bt||(Bt={}));var y;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(y||(y={}));var Lr=new Map([...["abw"].map(t=>[t,y.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,y.AUDIO]),...["avi"].map(t=>[t,y.AVI]),...["chm","xhs"].map(t=>[t,y.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,y.CODE]),...["csv"].map(t=>[t,y.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,y.DITA]),...["epub"].map(t=>[t,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,y.EXCEL]),...["flac"].map(t=>[t,y.FLAC]),...["gif"].map(t=>[t,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,y.GZIP]),...["html","htm","xhtml"].map(t=>[t,y.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,y.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,y.JPEG]),...["json"].map(t=>[t,y.JSON]),...["m4a","m4p"].map(t=>[t,y.M4A]),...["mov","qt"].map(t=>[t,y.MOV]),...["mp3"].map(t=>[t,y.MP3]),...["mp4","m4v"].map(t=>[t,y.MP4]),...["ogg","oga"].map(t=>[t,y.OGG]),...["pdf","ps"].map(t=>[t,y.PDF]),...["png"].map(t=>[t,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,y.POWERPOINT]),...["rar"].map(t=>[t,y.RAR]),...["stp"].map(t=>[t,y.STP]),...["txt","rtf","md","mdown"].map(t=>[t,y.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,y.VIDEO]),...["wav"].map(t=>[t,y.WAV]),...["wma"].map(t=>[t,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,y.WORD]),...["xml","xsl","rdf"].map(t=>[t,y.XML]),...["yaml","yml","x-yaml"].map(t=>[t,y.YAML]),...["zip"].map(t=>[t,y.ZIP])]),Ti=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function gn(t,r){var o,n,a,i;t=(t??"").toLowerCase(),r=(r??"").toLowerCase();let[l,d]=(((o=Ti.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=Lr.get(d))!==null&&n!==void 0?n:Lr.get(r))!==null&&a!==void 0?a:Lr.get(l))!==null&&i!==void 0?i:y.UNKNOWN}var Pr={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var ge;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ge||(ge={}));var zt=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},F=class extends bn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ct.nothing}render(){let r=this.variant&&Object.values(ge).includes(this.variant)?this.variant:ge.fluid_topics,o=r!==ge.material||!!this.value;return ct.html`
237
+ <i class="ft-icon ft-icon--${r}" part="icon icon-${r}">
238
+ ${(0,xn.unsafeHTML)(this.resolvedIcon)}
239
+ <slot ?hidden=${o}></slot>
240
240
  </i>
241
- `}get textContent(){var o,n;return(n=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(l=>l.textContent).join("").trim())!==null&&n!==void 0?n:""}update(o){super.update(o),["value","variant"].some(n=>o.has(n))&&this.resolveIcon()}resolveIcon(){var o,n;let l=this.value||this.textContent;switch(this.variant){case j.file_format:this.resolvedIcon=(o=d[l.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:l;break;case j.material:this.resolvedIcon=this.value||Se.nothing;break;default:this.resolvedIcon=(n=De[l.replace("-","_").toUpperCase()])!==null&&n!==void 0?n:l;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};U.elementDefinitions={};U.styles=It;Me([(0,J.property)()],U.prototype,"variant",void 0);Me([(0,J.property)()],U.prototype,"value",void 0);Me([(0,J.state)()],U.prototype,"resolvedIcon",void 0);Me([(0,J.query)("slot")],U.prototype,"slottedContent",void 0);(0,ro.customElement)("ft-icon")(U);var pr=y(S());var gt=globalThis,Ke=gt.trustedTypes,ao=Ke?Ke.createPolicy("lit-html",{createHTML:t=>t}):void 0,so="$lit$",Y=`lit$${(Math.random()+"").slice(9)}$`,fo="?"+Y,Wr=`<${fo}>`,te=document,Ze=()=>te.createComment(""),Ce=t=>t===null||typeof t!="object"&&typeof t!="function",go=Array.isArray,Br=t=>go(t)||typeof t?.[Symbol.iterator]=="function",lt=`[
242
- \f\r]`,Oe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,no=/-->/g,io=/>/g,Q=RegExp(`>|${lt}(?:([^\\s"'>=/]+)(${lt}*=${lt}*(?:[^
243
- \f\r"'\`<>=]|("|')|))|$)`,"g"),lo=/'/g,co=/"/g,ho=/^(?:script|style|textarea|title)$/i,yo=t=>(o,...n)=>({_$litType$:t,strings:o,values:n}),mo=yo(1),uo=yo(2),ve=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),po=new WeakMap,ee=te.createTreeWalker(te,129);function bo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ao!==void 0?ao.createHTML(o):o}var Ur=(t,o)=>{let n=t.length-1,l=[],a,c=o===2?"<svg>":"",p=Oe;for(let s=0;s<n;s++){let g=t[s],m,x,b=-1,$=0;for(;$<g.length&&(p.lastIndex=$,x=p.exec(g),x!==null);)$=p.lastIndex,p===Oe?x[1]==="!--"?p=no:x[1]!==void 0?p=io:x[2]!==void 0?(ho.test(x[2])&&(a=RegExp("</"+x[2],"g")),p=Q):x[3]!==void 0&&(p=Q):p===Q?x[0]===">"?(p=a??Oe,b=-1):x[1]===void 0?b=-2:(b=p.lastIndex-x[2].length,m=x[1],p=x[3]===void 0?Q:x[3]==='"'?co:lo):p===co||p===lo?p=Q:p===no||p===io?p=Oe:(p=Q,a=void 0);let Z=p===Q&&t[s+1].startsWith("/>")?" ":"";c+=p===Oe?g+Wr:b>=0?(l.push(m),g.slice(0,b)+so+g.slice(b)+Y+Z):g+Y+(b===-2?s:Z)}return[bo(t,c+(t[n]||"<?>")+(o===2?"</svg>":"")),l]},Ne=class t{constructor({strings:o,_$litType$:n},l){let a;this.parts=[];let c=0,p=0,s=o.length-1,g=this.parts,[m,x]=Ur(o,n);if(this.el=t.createElement(m,l),ee.currentNode=this.el.content,n===2){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(a=ee.nextNode())!==null&&g.length<s;){if(a.nodeType===1){if(a.hasAttributes())for(let b of a.getAttributeNames())if(b.endsWith(so)){let $=x[p++],Z=a.getAttribute(b).split(Y),we=/([.?@])?(.*)/.exec($);g.push({type:1,index:c,name:we[2],strings:Z,ctor:we[1]==="."?pt:we[1]==="?"?st:we[1]==="@"?dt:ie}),a.removeAttribute(b)}else b.startsWith(Y)&&(g.push({type:6,index:c}),a.removeAttribute(b));if(ho.test(a.tagName)){let b=a.textContent.split(Y),$=b.length-1;if($>0){a.textContent=Ke?Ke.emptyScript:"";for(let Z=0;Z<$;Z++)a.append(b[Z],Ze()),ee.nextNode(),g.push({type:2,index:++c});a.append(b[$],Ze())}}}else if(a.nodeType===8)if(a.data===fo)g.push({type:2,index:c});else{let b=-1;for(;(b=a.data.indexOf(Y,b+1))!==-1;)g.push({type:7,index:c}),b+=Y.length-1}c++}}static createElement(o,n){let l=te.createElement("template");return l.innerHTML=o,l}};function ne(t,o,n=t,l){if(o===ve)return o;let a=l!==void 0?n._$Co?.[l]:n._$Cl,c=Ce(o)?void 0:o._$litDirective$;return a?.constructor!==c&&(a?._$AO?.(!1),c===void 0?a=void 0:(a=new c(t),a._$AT(t,n,l)),l!==void 0?(n._$Co??=[])[l]=a:n._$Cl=a),a!==void 0&&(o=ne(t,a._$AS(t,o.values),a,l)),o}var ct=class{constructor(o,n){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:n},parts:l}=this._$AD,a=(o?.creationScope??te).importNode(n,!0);ee.currentNode=a;let c=ee.nextNode(),p=0,s=0,g=l[0];for(;g!==void 0;){if(p===g.index){let m;g.type===2?m=new Fe(c,c.nextSibling,this,o):g.type===1?m=new g.ctor(c,g.name,g.strings,this,o):g.type===6&&(m=new ft(c,this,o)),this._$AV.push(m),g=l[++s]}p!==g?.index&&(c=ee.nextNode(),p++)}return ee.currentNode=te,a}p(o){let n=0;for(let l of this._$AV)l!==void 0&&(l.strings!==void 0?(l._$AI(o,l,n),n+=l.strings.length-2):l._$AI(o[n])),n++}},Fe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,n,l,a){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=o,this._$AB=n,this._$AM=l,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,n=this._$AM;return n!==void 0&&o?.nodeType===11&&(o=n.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,n=this){o=ne(this,o,n),Ce(o)?o===E||o==null||o===""?(this._$AH!==E&&this._$AR(),this._$AH=E):o!==this._$AH&&o!==ve&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Br(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==E&&Ce(this._$AH)?this._$AA.nextSibling.data=o:this.$(te.createTextNode(o)),this._$AH=o}g(o){let{values:n,_$litType$:l}=o,a=typeof l=="number"?this._$AC(o):(l.el===void 0&&(l.el=Ne.createElement(bo(l.h,l.h[0]),this.options)),l);if(this._$AH?._$AD===a)this._$AH.p(n);else{let c=new ct(a,this),p=c.u(this.options);c.p(n),this.$(p),this._$AH=c}}_$AC(o){let n=po.get(o.strings);return n===void 0&&po.set(o.strings,n=new Ne(o)),n}T(o){go(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,l,a=0;for(let c of o)a===n.length?n.push(l=new t(this.k(Ze()),this.k(Ze()),this,this.options)):l=n[a],l._$AI(c),a++;a<n.length&&(this._$AR(l&&l._$AB.nextSibling,a),n.length=a)}_$AR(o=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);o&&o!==this._$AB;){let l=o.nextSibling;o.remove(),o=l}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},ie=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,n,l,a,c){this.type=1,this._$AH=E,this._$AN=void 0,this.element=o,this.name=n,this._$AM=a,this.options=c,l.length>2||l[0]!==""||l[1]!==""?(this._$AH=Array(l.length-1).fill(new String),this.strings=l):this._$AH=E}_$AI(o,n=this,l,a){let c=this.strings,p=!1;if(c===void 0)o=ne(this,o,n,0),p=!Ce(o)||o!==this._$AH&&o!==ve,p&&(this._$AH=o);else{let s=o,g,m;for(o=c[0],g=0;g<c.length-1;g++)m=ne(this,s[l+g],n,g),m===ve&&(m=this._$AH[g]),p||=!Ce(m)||m!==this._$AH[g],m===E?o=E:o!==E&&(o+=(m??"")+c[g+1]),this._$AH[g]=m}p&&!a&&this.O(o)}O(o){o===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},pt=class extends ie{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===E?void 0:o}},st=class extends ie{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==E)}},dt=class extends ie{constructor(o,n,l,a,c){super(o,n,l,a,c),this.type=5}_$AI(o,n=this){if((o=ne(this,o,n,0)??E)===ve)return;let l=this._$AH,a=o===E&&l!==E||o.capture!==l.capture||o.once!==l.once||o.passive!==l.passive,c=o!==E&&(l===E||a);a&&this.element.removeEventListener(this.name,this,l),c&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},ft=class{constructor(o,n,l){this.element=o,this.type=6,this._$AN=void 0,this._$AM=n,this.options=l}get _$AU(){return this._$AM._$AU}_$AI(o){ne(this,o)}};var _r=gt.litHtmlPolyfillSupport;_r?.(Ne,Fe),(gt.litHtmlVersions??=[]).push("3.1.0");var So=Symbol.for(""),kr=t=>{if(t?.r===So)return t?._$litStatic$},ht=t=>({_$litStatic$:t,r:So});var xo=new Map,Oo=t=>(o,...n)=>{let l=n.length,a,c,p=[],s=[],g,m=0,x=!1;for(;m<l;){for(g=o[m];m<l&&(c=n[m],(a=kr(c))!==void 0);)g+=a+o[++m],x=!0;m!==l&&s.push(c),p.push(g),m++}if(m===l&&p.push(o[l]),x){let b=p.join("$$lit$$");(o=xo.get(b))===void 0&&(p.raw=p,xo.set(b,o=p)),n=s}return t(o,...n)},yt=Oo(mo),En=Oo(uo);var mt=y(H()),cr=y(S());var Ve;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ve||(Ve={}));var _=y(A()),f=y(S());var D=y(A(),1),X=t=>typeof t=="string"?(0,D.unsafeCSS)(t):t,e=class{static create(o,n,l,a){let c=s=>X(s??a),p=D.css`var(${X(o)}, ${c(a)})`;return p.name=o,p.description=n,p.category=l,p.defaultValue=a,p.defaultCssValue=c,p.get=s=>D.css`var(${X(o)}, ${c(s)})`,p.breadcrumb=()=>[],p.lastResortDefaultValue=()=>a,p}static extend(o,n,l,a){let c=s=>l.get(s??a),p=D.css`var(${X(o)}, ${c(a)})`;return p.name=o,p.description=n,p.category=l.category,p.fallbackVariable=l,p.defaultValue=a,p.defaultCssValue=c,p.get=s=>D.css`var(${X(o)}, ${c(s)})`,p.breadcrumb=()=>[l.name,...l.breadcrumb()],p.lastResortDefaultValue=()=>a??l.lastResortDefaultValue(),p}static external(o,n){let l=c=>o.fallbackVariable?o.fallbackVariable.get(c??o.defaultValue):X(c??o.lastResortDefaultValue()),a=D.css`var(${X(o.name)}, ${l(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=n,a.defaultCssValue=l,a.get=c=>D.css`var(${X(o.name)}, ${l(c)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var r={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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 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"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),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)")},Co={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")},vo={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")},No={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")},Eo={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")},Ro={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")},wo={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")},Ao={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")},Lo={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")},Io={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")},Pr={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")},Wo={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")},Bo={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")},Uo={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")},_o={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")},ko={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")},Po={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")},To={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")},zo={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")},$o={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")},Ho={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")},Go={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")},Do={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")},Mo={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")},Ko={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")},Zo={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")},Fo={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")},je={display:Co,"title-1":vo,"title-2":No,"title-3":Eo,"body-1-regular":Ro,"body-1-medium":wo,"body-1-semibold":Ao,"body-2-regular":Lo,"body-2-medium":Io,"body-2-medium-underline":Pr,"body-2-semibold":Wo,"label-1-medium":Bo,"label-1-semibold":Uo,"label-1-bold":_o,"label-2-medium":ko,"label-2-semibold":Po,"label-2-bold":To,"caption-1-medium":zo,"caption-1-semibold":$o,"caption-1-bold":Ho,"caption-2-medium":Go,"caption-2-semibold":Do,"caption-2-bold":Mo,"caption-3-medium":Ko,"caption-3-semibold":Zo,"caption-3-bold":Fo};var i={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",r.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",r.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",r.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",r.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",r.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",r.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",r.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",r.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",r.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",r.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",r.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",r.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",r.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",r.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",r.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",r.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",r.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",r.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
244
- Also for action icons.`,r.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",r.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",r.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",r.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",r.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",r.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",r.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",r.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",r.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",r.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",r.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",r.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",r.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",r.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",r.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",r.colorGray80)};var $n={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",r.spacing4),largeGap:e.extend("--ft-button-large-gap","",r.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",r.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",r.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"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",r.spacing3),smallGap:e.extend("--ft-button-small-gap","",r.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",r.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",r.iconSize2),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","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",i.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",i.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",i.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",i.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",r.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",r.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",r.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",r.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",i.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",i.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",i.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",i.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",r.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",r.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",r.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",r.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",i.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",i.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",i.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",r.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",r.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",r.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",r.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",i.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",i.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",i.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",i.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",r.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",r.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",r.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",r.opacity40)};var Kn={focusOpacity:e.extend("--ft-link-focus-opacity","",r.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",i.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",i.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",i.contentInfoPrimary)};var Yn={iconSize:e.extend("--ft-banner-icon-size","",r.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",r.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",r.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",r.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",r.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",r.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",r.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",i.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",i.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",i.borderInfoSubtle)};var ei={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",r.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",r.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",r.borderRadiusPill),color:e.extend("--ft-badge-color","",i.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",i.contentActionPrimary)};var ni={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",r.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",r.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",i.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",i.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",i.contentGlobalSubtle)};var si={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",r.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",r.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",r.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",r.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",r.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",r.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",i.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",i.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",i.contentGlobalSecondary)};var yi={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",r.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",r.opacity40),shadow:e.extend("--ft-modal-shadow","",r.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",r.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",i.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",r.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",r.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",r.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",i.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",i.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",i.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",i.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",r.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",r.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",r.spacing6),headerGap:e.extend("--ft-modal-header-gap","",r.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",r.borderRadiusM)};var Si={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",r.opacity40),shadow:e.extend("--ft-drawer-shadow","",r.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",i.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",r.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",r.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",r.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",i.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",i.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",i.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",i.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",r.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",r.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",i.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",i.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",i.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",r.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",r.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",r.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","",r.colorGray700)};var Ei={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",r.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",r.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",r.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",r.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",r.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",r.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",r.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",i.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",i.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",i.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",i.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","",i.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",i.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",i.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","",i.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",r.opacity40)};var Ii={backgroundColor:e.extend("--ft-text-area-background-color","",r.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",i.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",i.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",i.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","",i.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",i.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",i.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",i.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","",r.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",r.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",r.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",r.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",r.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",r.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",r.borderRadiusM)};var ki={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",r.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",i.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",i.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",i.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",i.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",r.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",r.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",r.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",r.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",r.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",i.backgroundGlobalOnSurface)};var Hi={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",r.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",r.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",r.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",r.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",r.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",r.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",r.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",i.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",i.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",i.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",i.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","",i.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",i.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",i.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",r.opacity40)};var Zi={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",r.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",i.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",i.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",i.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",i.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",i.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",i.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",i.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",i.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","",r.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",r.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",r.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",r.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",r.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",r.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",r.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",r.borderRadiusM)};var Xi={backgroundColor:e.extend("--ft-popover-background-color","",i.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",r.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",r.spacing6),iconColor:e.extend("--ft-popover-icon-color","",i.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",r.iconSize2),titleColor:e.extend("--ft-popover-title-color","",i.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",i.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",i.contentActionPrimary),gap:e.extend("--ft-popover-gap","",r.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",r.shadowElevation02)};var tl={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",r.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",r.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",r.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",r.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",r.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",r.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",r.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",r.opacity40),offColor:e.extend("--ft-tabs-off-color","",i.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",r.opacity40),onColor:e.extend("--ft-tabs-on-color","",i.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",i.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",r.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",r.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",r.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",r.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",i.borderActionFocusRing)};var il={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",r.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",r.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",i.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",r.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",r.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",r.spacing3),color:e.extend("--ft-collapsible-color","",i.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",i.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",i.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",i.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",r.iconSize3)};var dl={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",r.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",r.spacing1),groupGap:e.extend("--ft-switch-group-gap","",r.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",i.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",i.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",r.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",r.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",r.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",r.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",r.opacity40),offColor:e.extend("--ft-switch-off-color","",i.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",r.opacity40),onColor:e.extend("--ft-switch-on-color","",i.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",i.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",r.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",r.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",i.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",r.borderRadiusS)};var yl={color1Light:e.extend("--ft-chart-1-light","for area color charts",r.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",r.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",r.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",r.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",r.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",r.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",r.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",r.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",r.colorRed40),color5Base:e.extend("--ft-chart-5-base","",r.colorRed60),color6Light:e.extend("--ft-chart-6-light","",r.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",r.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",r.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",r.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",r.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",r.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",r.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",r.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",r.colorGray50),color10Base:e.extend("--ft-chart-10-base","",r.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",r.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",r.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",r.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",r.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",r.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",r.colorBrand200)};var Sl={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",r.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",r.spacing2),largeGap:e.extend("--ft-chip-large-gap","",r.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.extend("--ft-chip-large-border-radius","",r.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",r.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",r.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",r.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",r.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.extend("--ft-chip-medium-border-radius","",r.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",r.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",r.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",r.spacing05),smallGap:e.extend("--ft-chip-small-gap","",r.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.extend("--ft-chip-small-border-radius","",r.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",r.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",i.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",i.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",i.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",i.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",i.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",i.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",i.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",i.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",i.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",i.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",i.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",i.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",i.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",i.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",i.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",i.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",i.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",i.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",i.borderErrorSubtle)};var El={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",r.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",r.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",r.borderRadiusS),gap:e.extend("--ft-notice-gap","",r.spacing2),iconSize:e.extend("--ft-notice-icon-size","",r.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",i.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",i.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",i.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",i.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",i.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",i.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",i.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",i.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",i.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",i.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",i.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",i.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",i.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",i.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",i.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",i.contentSuccessIconOnly)};var Il={color:e.extend("--ft-checkbox-color","",i.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",i.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",i.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",i.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",r.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",r.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",r.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",r.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",r.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",r.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",r.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",r.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",r.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",r.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",i.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","",r.spacing3)};var kl={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",r.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",r.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",r.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",r.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",i.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",i.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",r.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",r.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",r.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",i.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",i.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",i.contentActionPrimary),color:e.extend("--ft-toggle-color","",i.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",i.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",r.spacing3)};var Hl={color:e.extend("--ft-radio-color","",i.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",i.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",i.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",r.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",r.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",r.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",r.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",i.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",i.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",r.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",r.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",r.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",r.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",i.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","",r.spacing3)};var Zl={iconSize:e.extend("--ft-notification-icon-size","",r.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",r.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",r.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",i.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",i.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",i.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",i.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",i.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",i.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",i.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",i.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",i.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",i.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",i.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",i.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",i.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",i.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",i.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",r.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",r.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",r.spacing8)};var Xl={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",r.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",r.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",r.borderRadiusS),color:e.extend("--ft-tooltip-color","",i.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",i.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",r.opacity80),shadow:e.extend("--ft-tooltip-shadow","",r.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",r.spacing05)};var Ye=y(A());function Vo(t){let o=je[t];return Ye.css`
245
- .ft-typography--${(0,Ye.unsafeCSS)(t)} {
246
- font-family: ${o.fontFamily};
247
- font-size: ${o.fontSize};
248
- font-weight: ${o.fontWeight};
249
- letter-spacing: ${o.letterSpacing};
250
- line-height: ${o.lineHeight};
251
- text-transform: ${o.textCase};
241
+ `}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case ge.file_format:this.resolvedIcon=(r=y[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case ge.material:this.resolvedIcon=this.value||ct.nothing;break;default:this.resolvedIcon=(o=Bt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(r){super.firstUpdated(r),setTimeout(()=>this.resolveIcon())}};F.elementDefinitions={};F.styles=oo;zt([(0,we.property)()],F.prototype,"variant",void 0);zt([(0,we.property)()],F.prototype,"value",void 0);zt([(0,we.state)()],F.prototype,"resolvedIcon",void 0);zt([(0,we.query)("slot")],F.prototype,"slottedContent",void 0);(0,vn.customElement)("ft-icon")(F);var Aa=S(R());var Mr=globalThis,$t=Mr.trustedTypes,Sn=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,An="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,Rn="?"+be,Wi=`<${Rn}>`,Ae=document,Ht=()=>Ae.createComment(""),st=t=>t===null||typeof t!="object"&&typeof t!="function",In=Array.isArray,Di=t=>In(t)||typeof t?.[Symbol.iterator]=="function",_r=`[
242
+ \f\r]`,lt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,On=/-->/g,Cn=/>/g,Ee=RegExp(`>|${_r}(?:([^\\s"'>=/]+)(${_r}*=${_r}*(?:[^
243
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),wn=/'/g,En=/"/g,Ln=/^(?:script|style|textarea|title)$/i,Pn=t=>(r,...o)=>({_$litType$:t,strings:r,values:o}),_n=Pn(1),kn=Pn(2),dt=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Nn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function Tn(t,r){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sn!==void 0?Sn.createHTML(r):r}var Ui=(t,r)=>{let o=t.length-1,n=[],a,i=r===2?"<svg>":"",l=lt;for(let d=0;d<o;d++){let p=t[d],f,u,h=-1,m=0;for(;m<p.length&&(l.lastIndex=m,u=l.exec(p),u!==null);)m=l.lastIndex,l===lt?u[1]==="!--"?l=On:u[1]!==void 0?l=Cn:u[2]!==void 0?(Ln.test(u[2])&&(a=RegExp("</"+u[2],"g")),l=Ee):u[3]!==void 0&&(l=Ee):l===Ee?u[0]===">"?(l=a??lt,h=-1):u[1]===void 0?h=-2:(h=l.lastIndex-u[2].length,f=u[1],l=u[3]===void 0?Ee:u[3]==='"'?En:wn):l===En||l===wn?l=Ee:l===On||l===Cn?l=lt:(l=Ee,a=void 0);let x=l===Ee&&t[d+1].startsWith("/>")?" ":"";i+=l===lt?p+Wi:h>=0?(n.push(f),p.slice(0,h)+An+p.slice(h)+be+x):p+be+(h===-2?d:x)}return[Tn(t,i+(t[o]||"<?>")+(r===2?"</svg>":"")),n]},pt=class t{constructor({strings:r,_$litType$:o},n){let a;this.parts=[];let i=0,l=0,d=r.length-1,p=this.parts,[f,u]=Ui(r,o);if(this.el=t.createElement(f,n),Ne.currentNode=this.el.content,o===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Ne.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(An)){let m=u[l++],x=a.getAttribute(h).split(be),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:x,ctor:g[1]==="."?Tr:g[1]==="?"?Wr:g[1]==="@"?Dr:Be}),a.removeAttribute(h)}else h.startsWith(be)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(Ln.test(a.tagName)){let h=a.textContent.split(be),m=h.length-1;if(m>0){a.textContent=$t?$t.emptyScript:"";for(let x=0;x<m;x++)a.append(h[x],Ht()),Ne.nextNode(),p.push({type:2,index:++i});a.append(h[m],Ht())}}}else if(a.nodeType===8)if(a.data===Rn)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(be,h+1))!==-1;)p.push({type:7,index:i}),h+=be.length-1}i++}}static createElement(r,o){let n=Ae.createElement("template");return n.innerHTML=r,n}};function Me(t,r,o=t,n){if(r===dt)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=st(r)?void 0:r._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(r=Me(t,a._$AS(t,r.values),a,n)),r}var kr=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,a=(r?.creationScope??Ae).importNode(o,!0);Ne.currentNode=a;let i=Ne.nextNode(),l=0,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new Gt(i,i.nextSibling,this,r):p.type===1?f=new p.ctor(i,p.name,p.strings,this,r):p.type===6&&(f=new Ur(i,this,r)),this._$AV.push(f),p=n[++d]}l!==p?.index&&(i=Ne.nextNode(),l++)}return Ne.currentNode=Ae,a}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},Gt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=Me(this,r,o),st(r)?r===W||r==null||r===""?(this._$AH!==W&&this._$AR(),this._$AH=W):r!==this._$AH&&r!==dt&&this._(r):r._$litType$!==void 0?this.g(r):r.nodeType!==void 0?this.$(r):Di(r)?this.T(r):this._(r)}k(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}$(r){this._$AH!==r&&(this._$AR(),this._$AH=this.k(r))}_(r){this._$AH!==W&&st(this._$AH)?this._$AA.nextSibling.data=r:this.$(Ae.createTextNode(r)),this._$AH=r}g(r){let{values:o,_$litType$:n}=r,a=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=pt.createElement(Tn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new kr(a,this),l=i.u(this.options);i.p(o),this.$(l),this._$AH=i}}_$AC(r){let o=Nn.get(r.strings);return o===void 0&&Nn.set(r.strings,o=new pt(r)),o}T(r){In(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of r)a===o.length?o.push(n=new t(this.k(Ht()),this.k(Ht()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=r,this.name=o,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=W}_$AI(r,o=this,n,a){let i=this.strings,l=!1;if(i===void 0)r=Me(this,r,o,0),l=!st(r)||r!==this._$AH&&r!==dt,l&&(this._$AH=r);else{let d=r,p,f;for(r=i[0],p=0;p<i.length-1;p++)f=Me(this,d[n+p],o,p),f===dt&&(f=this._$AH[p]),l||=!st(f)||f!==this._$AH[p],f===W?r=W:r!==W&&(r+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.O(r)}O(r){r===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},Tr=class extends Be{constructor(){super(...arguments),this.type=3}O(r){this.element[this.name]=r===W?void 0:r}},Wr=class extends Be{constructor(){super(...arguments),this.type=4}O(r){this.element.toggleAttribute(this.name,!!r&&r!==W)}},Dr=class extends Be{constructor(r,o,n,a,i){super(r,o,n,a,i),this.type=5}_$AI(r,o=this){if((r=Me(this,r,o,0)??W)===dt)return;let n=this._$AH,a=r===W&&n!==W||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,i=r!==W&&(n===W||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},Ur=class{constructor(r,o,n){this.element=r,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(r){Me(this,r)}};var Mi=Mr.litHtmlPolyfillSupport;Mi?.(pt,Gt),(Mr.litHtmlVersions??=[]).push("3.1.0");var Dn=Symbol.for(""),Bi=t=>{if(t?.r===Dn)return t?._$litStatic$},Br=t=>({_$litStatic$:t,r:Dn});var Wn=new Map,Un=t=>(r,...o)=>{let n=o.length,a,i,l=[],d=[],p,f=0,u=!1;for(;f<n;){for(p=r[f];f<n&&(i=o[f],(a=Bi(i))!==void 0);)p+=a+r[++f],u=!0;f!==n&&d.push(i),l.push(p),f++}if(f===n&&l.push(r[n]),u){let h=l.join("$$lit$$");(r=Wn.get(h))===void 0&&(l.raw=l,Wn.set(h,r=l)),o=d}return t(r,...o)},zr=Un(_n),Qs=Un(kn);var $r=S($()),Na=S(R());var Kt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Kt||(Kt={}));var V=S(M()),b=S(R());var ae=S(M(),1),xe=t=>typeof t=="string"?(0,ae.unsafeCSS)(t):t,e=class{static create(r,o,n,a){let i=d=>xe(d??a),l=ae.css`var(${xe(r)}, ${i(a)})`;return l.name=r,l.description=o,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>ae.css`var(${xe(r)}, ${i(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(r,o,n,a){let i=d=>n.get(d??a),l=ae.css`var(${xe(r)}, ${i(a)})`;return l.name=r,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>ae.css`var(${xe(r)}, ${i(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(r,o){let n=i=>r.fallbackVariable?r.fallbackVariable.get(i??r.defaultValue):xe(i??r.lastResortDefaultValue()),a=ae.css`var(${xe(r.name)}, ${n(r.defaultValue)})`;return a.name=r.name,a.category=r.category,a.fallbackVariable=r.fallbackVariable,a.defaultValue=r.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>ae.css`var(${xe(r.name)}, ${n(i)})`,a.breadcrumb=()=>r.fallbackVariable?[r.fallbackVariable.name,...r.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>r.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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 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"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),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)")},Mn={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")},Bn={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")},zn={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")},$n={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")},Hn={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")},Gn={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")},Kn={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")},jn={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")},Zn={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")},zi={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")},Fn={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")},Vn={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")},qn={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")},Yn={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")},Xn={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")},Jn={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")},Qn={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")},ea={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")},ta={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")},ra={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")},oa={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")},na={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")},aa={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")},ia={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")},ca={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")},la={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")},jt={display:Mn,"title-1":Bn,"title-2":zn,"title-3":$n,"body-1-regular":Hn,"body-1-medium":Gn,"body-1-semibold":Kn,"body-2-regular":jn,"body-2-medium":Zn,"body-2-medium-underline":zi,"body-2-semibold":Fn,"label-1-medium":Vn,"label-1-semibold":qn,"label-1-bold":Yn,"label-2-medium":Xn,"label-2-semibold":Jn,"label-2-bold":Qn,"caption-1-medium":ea,"caption-1-semibold":ta,"caption-1-bold":ra,"caption-2-medium":oa,"caption-2-semibold":na,"caption-2-bold":aa,"caption-3-medium":ia,"caption-3-semibold":ca,"caption-3-bold":la};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.
244
+ 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)};var ud={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),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",s.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",s.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",s.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",s.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",s.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",s.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",s.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",s.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",s.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",s.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",s.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",s.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",s.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",s.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var bd={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.extend("--ft-chip-large-border-radius","",c.borderRadiusPill),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.extend("--ft-chip-medium-border-radius","",c.borderRadiusPill),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.extend("--ft-chip-small-border-radius","",c.borderRadiusPill),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 Cd={focusOpacity:e.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",s.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",s.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",s.contentInfoPrimary)};var Rd={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 kd={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 Md={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",s.contentGlobalSubtle)};var Gd={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",c.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",s.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",s.contentGlobalSecondary)};var Vd={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),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),containerMargin:e.extend("--ft-modal-container-margin","",c.spacing3),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),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",s.contentGlobalSecondary),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),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Qd={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.spacing4),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 np={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 sp={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 hp={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)};var xp={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 wp={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 Ip={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)};var Tp={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),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),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity8),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity0),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity16),onColor:e.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-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 Bp={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 Kp={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 Vp={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)};var Qp={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)};var nf={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"),gap:e.extend("--ft-checkbox-gap","",c.spacing3)};var df={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 mf={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 vf={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 Ef={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.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",c.spacing05)};var sa;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(sa||(sa={}));var da;(function(t){t.large="large",t.medium="medium",t.small="small"})(da||(da={}));var Zt=S(M());function pa(t){let r=jt[t];return Zt.css`
245
+ .ft-typography--${(0,Zt.unsafeCSS)(t)} {
246
+ font-family: ${r.fontFamily};
247
+ font-size: ${r.fontSize};
248
+ font-weight: ${r.fontWeight};
249
+ letter-spacing: ${r.letterSpacing};
250
+ line-height: ${r.lineHeight};
251
+ text-transform: ${r.textCase};
252
252
  }
253
- `}var jo=f.FtCssVariableFactory.extend("--ft-typography-font-family","",f.designSystemVariables.titleFont),M=f.FtCssVariableFactory.extend("--ft-typography-font-family","",f.designSystemVariables.contentFont),h={fontFamily:M,fontSize:f.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:f.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:f.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:f.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:f.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},le={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-title-font-family","",jo),fontSize:f.FtCssVariableFactory.extend("--ft-typography-title-font-size","",h.fontSize,"20px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",h.letterSpacing,"0.15px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-title-line-height","",h.lineHeight,"1.2"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",h.textTransform,"inherit")},ce={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",jo),fontSize:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",h.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",h.letterSpacing,"0.105px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",h.lineHeight,"1.7"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",h.textTransform,"inherit")},pe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",h.fontSize,"16px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",h.fontWeight,"600"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",h.letterSpacing,"0.144px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",h.lineHeight,"1.5"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",h.textTransform,"inherit")},se={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",h.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",h.letterSpacing,"0.098px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",h.lineHeight,"1.7"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",h.textTransform,"inherit")},de={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",h.fontSize,"16px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",h.letterSpacing,"0.496px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",h.lineHeight,"1.5"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",h.textTransform,"inherit")},fe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",h.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",h.letterSpacing,"0.252px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",h.lineHeight,"1.4"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",h.textTransform,"inherit")},ge={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",h.fontSize,"12px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",h.letterSpacing,"0.396px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",h.lineHeight,"1.33"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",h.textTransform,"inherit")},he={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",h.fontSize,"10px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",h.letterSpacing,"0.33px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",h.lineHeight,"1.6"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",h.textTransform,"inherit")},ye={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",h.fontSize,"10px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",h.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",h.letterSpacing,"1.5px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",h.lineHeight,"1.6"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",h.textTransform,"uppercase")},me={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-button-font-family","",M),fontSize:f.FtCssVariableFactory.extend("--ft-typography-button-font-size","",h.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",h.fontWeight,"600"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",h.letterSpacing,"1.246px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-button-line-height","",h.lineHeight,"1.15"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",h.textTransform,"uppercase")},Yo=_.css`
253
+ `}var fa=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),ie=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.contentFont),O={fontFamily:ie,fontSize:b.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:b.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:b.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:b.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:b.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ze={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-font-family","",fa),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},$e={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",fa),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},He={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},Ge={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},Ke={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},je={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},Ze={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},Fe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},Ve={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},qe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:b.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},ua=V.css`
254
254
  .ft-typography--title {
255
- font-family: ${le.fontFamily};
256
- font-size: ${le.fontSize};
257
- font-weight: ${le.fontWeight};
258
- letter-spacing: ${le.letterSpacing};
259
- line-height: ${le.lineHeight};
260
- text-transform: ${le.textTransform};
261
- }
262
- `,Xo=_.css`
255
+ font-family: ${ze.fontFamily};
256
+ font-size: ${ze.fontSize};
257
+ font-weight: ${ze.fontWeight};
258
+ letter-spacing: ${ze.letterSpacing};
259
+ line-height: ${ze.lineHeight};
260
+ text-transform: ${ze.textTransform};
261
+ }
262
+ `,ha=V.css`
263
263
  .ft-typography--title-dense {
264
- font-family: ${ce.fontFamily};
265
- font-size: ${ce.fontSize};
266
- font-weight: ${ce.fontWeight};
267
- letter-spacing: ${ce.letterSpacing};
268
- line-height: ${ce.lineHeight};
269
- text-transform: ${ce.textTransform};
270
- }
271
- `,qo=_.css`
264
+ font-family: ${$e.fontFamily};
265
+ font-size: ${$e.fontSize};
266
+ font-weight: ${$e.fontWeight};
267
+ letter-spacing: ${$e.letterSpacing};
268
+ line-height: ${$e.lineHeight};
269
+ text-transform: ${$e.textTransform};
270
+ }
271
+ `,ma=V.css`
272
272
  .ft-typography--subtitle1 {
273
- font-family: ${pe.fontFamily};
274
- font-size: ${pe.fontSize};
275
- font-weight: ${pe.fontWeight};
276
- letter-spacing: ${pe.letterSpacing};
277
- line-height: ${pe.lineHeight};
278
- text-transform: ${pe.textTransform};
279
- }
280
- `,Jo=_.css`
273
+ font-family: ${He.fontFamily};
274
+ font-size: ${He.fontSize};
275
+ font-weight: ${He.fontWeight};
276
+ letter-spacing: ${He.letterSpacing};
277
+ line-height: ${He.lineHeight};
278
+ text-transform: ${He.textTransform};
279
+ }
280
+ `,ya=V.css`
281
281
  .ft-typography--subtitle2 {
282
- font-family: ${se.fontFamily};
283
- font-size: ${se.fontSize};
284
- font-weight: ${se.fontWeight};
285
- letter-spacing: ${se.letterSpacing};
286
- line-height: ${se.lineHeight};
287
- text-transform: ${se.textTransform};
282
+ font-family: ${Ge.fontFamily};
283
+ font-size: ${Ge.fontSize};
284
+ font-weight: ${Ge.fontWeight};
285
+ letter-spacing: ${Ge.letterSpacing};
286
+ line-height: ${Ge.lineHeight};
287
+ text-transform: ${Ge.textTransform};
288
288
  }
289
289
 
290
- `,Qo=_.css`
290
+ `,ga=V.css`
291
291
  .ft-typography--body1 {
292
- font-family: ${de.fontFamily};
293
- font-size: ${de.fontSize};
294
- font-weight: ${de.fontWeight};
295
- letter-spacing: ${de.letterSpacing};
296
- line-height: ${de.lineHeight};
297
- text-transform: ${de.textTransform};
298
- }
299
- `,er=_.css`
292
+ font-family: ${Ke.fontFamily};
293
+ font-size: ${Ke.fontSize};
294
+ font-weight: ${Ke.fontWeight};
295
+ letter-spacing: ${Ke.letterSpacing};
296
+ line-height: ${Ke.lineHeight};
297
+ text-transform: ${Ke.textTransform};
298
+ }
299
+ `,ba=V.css`
300
300
  .ft-typography--body2 {
301
- font-family: ${fe.fontFamily};
302
- font-size: ${fe.fontSize};
303
- font-weight: ${fe.fontWeight};
304
- letter-spacing: ${fe.letterSpacing};
305
- line-height: ${fe.lineHeight};
306
- text-transform: ${fe.textTransform};
307
- }
308
- `,tr=_.css`
301
+ font-family: ${je.fontFamily};
302
+ font-size: ${je.fontSize};
303
+ font-weight: ${je.fontWeight};
304
+ letter-spacing: ${je.letterSpacing};
305
+ line-height: ${je.lineHeight};
306
+ text-transform: ${je.textTransform};
307
+ }
308
+ `,xa=V.css`
309
309
  .ft-typography--caption {
310
- font-family: ${ge.fontFamily};
311
- font-size: ${ge.fontSize};
312
- font-weight: ${ge.fontWeight};
313
- letter-spacing: ${ge.letterSpacing};
314
- line-height: ${ge.lineHeight};
315
- text-transform: ${ge.textTransform};
316
- }
317
- `,or=_.css`
310
+ font-family: ${Ze.fontFamily};
311
+ font-size: ${Ze.fontSize};
312
+ font-weight: ${Ze.fontWeight};
313
+ letter-spacing: ${Ze.letterSpacing};
314
+ line-height: ${Ze.lineHeight};
315
+ text-transform: ${Ze.textTransform};
316
+ }
317
+ `,va=V.css`
318
318
  .ft-typography--breadcrumb {
319
- font-family: ${he.fontFamily};
320
- font-size: ${he.fontSize};
321
- font-weight: ${he.fontWeight};
322
- letter-spacing: ${he.letterSpacing};
323
- line-height: ${he.lineHeight};
324
- text-transform: ${he.textTransform};
325
- }
326
- `,rr=_.css`
319
+ font-family: ${Fe.fontFamily};
320
+ font-size: ${Fe.fontSize};
321
+ font-weight: ${Fe.fontWeight};
322
+ letter-spacing: ${Fe.letterSpacing};
323
+ line-height: ${Fe.lineHeight};
324
+ text-transform: ${Fe.textTransform};
325
+ }
326
+ `,Sa=V.css`
327
327
  .ft-typography--overline {
328
- font-family: ${ye.fontFamily};
329
- font-size: ${ye.fontSize};
330
- font-weight: ${ye.fontWeight};
331
- letter-spacing: ${ye.letterSpacing};
332
- line-height: ${ye.lineHeight};
333
- text-transform: ${ye.textTransform};
334
- }
335
- `,ar=_.css`
328
+ font-family: ${Ve.fontFamily};
329
+ font-size: ${Ve.fontSize};
330
+ font-weight: ${Ve.fontWeight};
331
+ letter-spacing: ${Ve.letterSpacing};
332
+ line-height: ${Ve.lineHeight};
333
+ text-transform: ${Ve.textTransform};
334
+ }
335
+ `,Oa=V.css`
336
336
  .ft-typography--button {
337
- font-family: ${me.fontFamily};
338
- font-size: ${me.fontSize};
339
- font-weight: ${me.fontWeight};
340
- letter-spacing: ${me.letterSpacing};
341
- line-height: ${me.lineHeight};
342
- text-transform: ${me.textTransform};
343
- }
344
- `,nr=_.css`
337
+ font-family: ${qe.fontFamily};
338
+ font-size: ${qe.fontSize};
339
+ font-weight: ${qe.fontWeight};
340
+ letter-spacing: ${qe.letterSpacing};
341
+ line-height: ${qe.lineHeight};
342
+ text-transform: ${qe.textTransform};
343
+ }
344
+ `,Ca=V.css`
345
345
  .ft-typography {
346
346
  vertical-align: inherit;
347
347
  }
348
- `,ir=[Object.keys(je).map(t=>Vo(t))];var lr=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},K=class extends cr.FtLitElement{constructor(){super(...arguments),this.variant=Ve.body1}render(){return this.element?yt`
349
- <${ht(this.element)}
348
+ `,wa=[Object.keys(jt).map(t=>pa(t))];var Ea=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},ce=class extends Na.FtLitElement{constructor(){super(...arguments),this.variant=Kt.body1}render(){return this.element?zr`
349
+ <${Br(this.element)}
350
350
  part="text"
351
351
  class="ft-typography ft-typography--${this.variant}">
352
352
  <slot></slot>
353
- </${ht(this.element)}>
354
- `:yt`
353
+ </${Br(this.element)}>
354
+ `:zr`
355
355
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
356
- `}};K.styles=[Yo,Xo,qo,Jo,Qo,er,tr,or,rr,ar,nr,...ir];lr([(0,mt.property)()],K.prototype,"element",void 0);lr([(0,mt.property)()],K.prototype,"variant",void 0);(0,pr.customElement)("ft-typography")(K);var yr=y(ut());var gr=y(S());var dr=y(A()),R=y(H()),fr=y(ut()),Ee=y(S());var L=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},C=class extends Ee.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 Ee.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ee.Debouncer(10),this.moveRipple=o=>{var n,l;let{x:a,y:c}=this.getCoordinates(o),p=(l=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&l!==void 0?l:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-p.x:p.width/2),this.originY=Math.round(c!=null?c-p.y:p.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return dr.html`
356
+ `}};ce.styles=[ua,ha,ma,ya,ga,ba,xa,va,Sa,Oa,Ca,...wa];Ea([(0,$r.property)()],ce.prototype,"element",void 0);Ea([(0,$r.property)()],ce.prototype,"variant",void 0);(0,Aa.customElement)("ft-typography")(ce);var ka=S(Hr());var Pa=S(R());var Ia=S(M()),D=S($()),La=S(Hr()),ft=S(R());var z=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},_=class extends ft.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 ft.Debouncer(1e3),this.onTransitionStart=r=>{r.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=r=>{r.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ft.Debouncer(10),this.moveRipple=r=>{var o,n;let{x:a,y:i}=this.getCoordinates(r),l=(n=(o=this.ripple)===null||o===void 0?void 0:o.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=r=>{this.moveRipple(r),this.pressed=!this.isIgnored(r)},this.endPress=()=>{this.pressed=!1},this.startHover=r=>{this.hovered=!this.isIgnored(r)},this.endHover=()=>{this.hovered=!1},this.startFocus=r=>{this.focused=this.isFocusVisible(r?.target)&&!this.isIgnored(r)},this.endFocus=()=>{this.focused=!1}}render(){let r={"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 Ia.html`
357
357
  <style>
358
358
  .ft-ripple .ft-ripple--effect {
359
359
  left: ${this.originX}px;
360
360
  top: ${this.originY}px;
361
361
  }
362
362
  </style>
363
- <div class="${(0,fr.classMap)(o)}">
363
+ <div class="${(0,La.classMap)(r)}">
364
364
  <div class="ft-ripple--background"></div>
365
365
  <div class="ft-ripple--effect"></div>
366
366
  </div>
367
- `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var n,l;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(l=this.target)===null||l===void 0||l.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,n;let l=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;l&&this.setupFor((n=this.target)!==null&&n!==void 0?n:l)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let n=(...s)=>g=>{s.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(g)},l=n("mouseup","contextmenu"),a=n("touchend","touchcancel"),c=s=>{["Enter"," "].includes(s.key)&&n("keyup")(s)},p={passive:!0};o.addEventListener("mouseover",this.startHover,p),o.addEventListener("mousemove",this.moveRipple,p),o.addEventListener("mouseleave",this.endHover,p),o.addEventListener("mousedown",l,p),o.addEventListener("touchstart",a,p),o.addEventListener("touchmove",this.moveRipple,p),o.addEventListener("keydown",c,p),o.addEventListener("focus",this.startFocus,p),o.addEventListener("blur",this.endFocus,p),o.addEventListener("focusin",this.startFocus,p),o.addEventListener("focusout",this.endFocus,p),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,p),o.removeEventListener("mousemove",this.moveRipple,p),o.removeEventListener("mouseleave",this.endHover,p),o.removeEventListener("mousedown",l,p),o.removeEventListener("touchstart",a,p),o.removeEventListener("touchmove",this.moveRipple,p),o.removeEventListener("keydown",c,p),o.removeEventListener("focus",this.startFocus,p),o.removeEventListener("blur",this.endFocus,p),o.removeEventListener("focusin",this.startFocus,p),o.removeEventListener("focusout",this.endFocus,p),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let n=o,l=o,a,c;return n.x!=null?{x:a,y:c}=n:l.touches!=null&&(a=l.touches[0].clientX,c=l.touches[0].clientY),{x:a,y:c}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let n of o.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};C.elementDefinitions={};C.styles=At;L([(0,R.property)({type:Boolean})],C.prototype,"primary",void 0);L([(0,R.property)({type:Boolean})],C.prototype,"secondary",void 0);L([(0,R.property)({type:Boolean})],C.prototype,"unbounded",void 0);L([(0,R.property)({type:Boolean})],C.prototype,"activated",void 0);L([(0,R.property)({type:Boolean})],C.prototype,"selected",void 0);L([(0,R.property)({type:Boolean})],C.prototype,"disabled",void 0);L([(0,R.state)()],C.prototype,"hovered",void 0);L([(0,R.state)()],C.prototype,"focused",void 0);L([(0,R.state)()],C.prototype,"pressed",void 0);L([(0,R.state)()],C.prototype,"rippling",void 0);L([(0,R.state)()],C.prototype,"originX",void 0);L([(0,R.state)()],C.prototype,"originY",void 0);L([(0,R.query)(".ft-ripple")],C.prototype,"ripple",void 0);L([(0,R.query)(".ft-ripple--effect")],C.prototype,"rippleEffect",void 0);(0,gr.customElement)("ft-ripple")(C);var Re=function(t,o,n,l){var a=arguments.length,c=a<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,n):l,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,o,n,l);else for(var s=t.length-1;s>=0;s--)(p=t[s])&&(c=(a<3?p(c):a>3?p(o,n,c):p(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},T=class extends Te(Ae){constructor(){super(),this.hideFileFormatIcon=!1,this.hideFilename=!1,this.hideDownloadIcon=!1,this.addI18nContext(at,qt)}render(){var o,n;if(((n=(o=this.attachments)===null||o===void 0?void 0:o.length)!==null&&n!==void 0?n:0)>0){let l={"hide-file-format-icon":this.hideFileFormatIcon,"hide-filename":this.hideFilename,"hide-download-icon":this.hideDownloadIcon};return oe.html`
368
- <div part="container" class="${(0,yr.classMap)(l)}">
369
- ${(0,hr.repeat)(this.attachments,a=>a.id,a=>{var c,p,s,g;let m=eo(a.mimeType,(0,Xe.last)(a.file.split("."))),x=a.externalLink?a.viewerUrl:(c=this.service)===null||c===void 0?void 0:c.makeAbsolute((p=a.viewerUrl)!==null&&p!==void 0?p:"");return oe.html`
367
+ `}contentAvailableCallback(r){super.contentAvailableCallback(r),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(r){var o,n;super.update(r),r.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 r,o;let n=(r=this.shadowRoot)===null||r===void 0?void 0:r.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(r){if(this.setupDebouncer.cancel(),this.target===r)return;this.onDisconnect&&this.onDisconnect(),this.target=r,r.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>p=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},l={passive:!0};r.addEventListener("mouseover",this.startHover,l),r.addEventListener("mousemove",this.moveRipple,l),r.addEventListener("mouseleave",this.endHover,l),r.addEventListener("mousedown",n,l),r.addEventListener("touchstart",a,l),r.addEventListener("touchmove",this.moveRipple,l),r.addEventListener("keydown",i,l),r.addEventListener("focus",this.startFocus,l),r.addEventListener("blur",this.endFocus,l),r.addEventListener("focusin",this.startFocus,l),r.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{r.removeAttribute("data-is-ft-ripple-target"),r.removeEventListener("mouseover",this.startHover,l),r.removeEventListener("mousemove",this.moveRipple,l),r.removeEventListener("mouseleave",this.endHover,l),r.removeEventListener("mousedown",n,l),r.removeEventListener("touchstart",a,l),r.removeEventListener("touchmove",this.moveRipple,l),r.removeEventListener("keydown",i,l),r.removeEventListener("focus",this.startFocus,l),r.removeEventListener("blur",this.endFocus,l),r.removeEventListener("focusin",this.startFocus,l),r.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(r){let o=r,n=r,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(r){return r instanceof HTMLElement?r.matches(":focus-visible"):!0}isIgnored(r){if(this.disabled)return!0;if(r!=null)for(let o of r.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};_.elementDefinitions={};_.styles=to;z([(0,D.property)({type:Boolean})],_.prototype,"primary",void 0);z([(0,D.property)({type:Boolean})],_.prototype,"secondary",void 0);z([(0,D.property)({type:Boolean})],_.prototype,"unbounded",void 0);z([(0,D.property)({type:Boolean})],_.prototype,"activated",void 0);z([(0,D.property)({type:Boolean})],_.prototype,"selected",void 0);z([(0,D.property)({type:Boolean})],_.prototype,"disabled",void 0);z([(0,D.state)()],_.prototype,"hovered",void 0);z([(0,D.state)()],_.prototype,"focused",void 0);z([(0,D.state)()],_.prototype,"pressed",void 0);z([(0,D.state)()],_.prototype,"rippling",void 0);z([(0,D.state)()],_.prototype,"originX",void 0);z([(0,D.state)()],_.prototype,"originY",void 0);z([(0,D.query)(".ft-ripple")],_.prototype,"ripple",void 0);z([(0,D.query)(".ft-ripple--effect")],_.prototype,"rippleEffect",void 0);(0,Pa.customElement)("ft-ripple")(_);var ut=function(t,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Q=class extends Tt(ht){constructor(){super(),this.hideFileFormatIcon=!1,this.hideFilename=!1,this.hideDownloadIcon=!1,this.addI18nContext(Ir,hn)}render(){var r,o;if(((o=(r=this.attachments)===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0){let n={"hide-file-format-icon":this.hideFileFormatIcon,"hide-filename":this.hideFilename,"hide-download-icon":this.hideDownloadIcon};return Re.html`
368
+ <div part="container" class="${(0,ka.classMap)(n)}">
369
+ ${(0,_a.repeat)(this.attachments,a=>a.id,a=>{var i,l,d,p;let f=gn(a.mimeType,(0,Ft.last)(a.file.split("."))),u=a.externalLink?a.viewerUrl:(i=this.service)===null||i===void 0?void 0:i.makeAbsolute((l=a.viewerUrl)!==null&&l!==void 0?l:"");return Re.html`
370
370
  <div part="attachment">
371
- <a part="viewer-link" href="${x}">
371
+ <a part="viewer-link" href="${u}">
372
372
  <ft-ripple part="ripple viewer-link-ripple"></ft-ripple>
373
373
  <ft-icon part="file-format-icon"
374
374
  variant="file-format"
375
- value="${m}"
376
- style="color: ${(s=it[m])!==null&&s!==void 0?s:it[d.UNKNOWN]}"></ft-icon>
375
+ value="${f}"
376
+ style="color: ${(d=Pr[f])!==null&&d!==void 0?d:Pr[y.UNKNOWN]}"></ft-icon>
377
377
  <ft-typography part="name" variant="body2">${a.name}</ft-typography>
378
378
  </a>
379
- ${a.externalLink?oe.nothing:oe.html`
379
+ ${a.externalLink?Re.nothing:Re.html`
380
380
  <a part="download-link"
381
- href="${(g=this.service)===null||g===void 0?void 0:g.getAttachmentDownloadLink(a.id)}"
382
- title="${at.messages.download(a.file)}">
381
+ href="${(p=this.service)===null||p===void 0?void 0:p.getAttachmentDownloadLink(a.id)}"
382
+ title="${Ir.messages.download(a.file)}">
383
383
  <ft-ripple part="ripple download-link-ripple"></ft-ripple>
384
384
  <ft-icon part="download-icon">DOWNLOAD</ft-icon>
385
385
  </a>
@@ -387,9 +387,16 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
387
387
  </div>
388
388
  `})}
389
389
  </div>
390
- `}return oe.nothing}update(o){var n;super.update(o),o.has("map")&&(this.map?(n=this.service)===null||n===void 0||n.getAttachments().then(l=>this.attachments=l):this.attachments=void 0)}};T.elementDefinitions={"ft-icon":U,"ft-ripple":C,"ft-typography":K};T.styles=Bt;Re([(0,ue.property)({type:Boolean})],T.prototype,"hideFileFormatIcon",void 0);Re([(0,ue.property)({type:Boolean})],T.prototype,"hideFilename",void 0);Re([(0,ue.property)({type:Boolean})],T.prototype,"hideDownloadIcon",void 0);Re([(0,Xe.redux)({store:"reader"})],T.prototype,"map",void 0);Re([(0,ue.state)()],T.prototype,"attachments",void 0);(0,mr.customElement)("ft-reader-attachments")(T);})();
390
+ `}return Re.nothing}update(r){var o;super.update(r),r.has("map")&&(this.map?(o=this.service)===null||o===void 0||o.getAttachments().then(n=>this.attachments=n):this.attachments=void 0)}};Q.elementDefinitions={"ft-icon":F,"ft-ripple":_,"ft-typography":ce};Q.styles=ao;ut([(0,Ye.property)({type:Boolean})],Q.prototype,"hideFileFormatIcon",void 0);ut([(0,Ye.property)({type:Boolean})],Q.prototype,"hideFilename",void 0);ut([(0,Ye.property)({type:Boolean})],Q.prototype,"hideDownloadIcon",void 0);ut([(0,Ft.redux)({store:"reader"})],Q.prototype,"map",void 0);ut([(0,Ye.state)()],Q.prototype,"attachments",void 0);(0,Ta.customElement)("ft-reader-attachments")(Q);})();
391
391
  /*! Bundled license information:
392
392
 
393
+ @lit/reactive-element/css-tag.js:
394
+ (**
395
+ * @license
396
+ * Copyright 2019 Google LLC
397
+ * SPDX-License-Identifier: BSD-3-Clause
398
+ *)
399
+
393
400
  lit-html/lit-html.js:
394
401
  (**
395
402
  * @license