@fluid-topics/ft-copy-block 1.1.21 → 1.1.23

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.
@@ -81,16 +81,17 @@ const Zt=globalThis,Mt=Zt.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createH
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const xe=globalThis.litElementPolyfillSupport;xe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oe=t=>"string"==typeof t?Ot(t):t;class we{static create(t,e,o,r){const i=t=>Oe(null!=t?t:r),n=wt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=wt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Oe(null!=e?e:t.lastResortDefaultValue()),r=wt`var(${Oe(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>wt`var(${Oe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Se(t,e){return Oe(`${t.name}: ${e}`)}const Ne={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},$e={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},Ee={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:we.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:we.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",$e.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",$e.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",$e.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",$e.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",$e.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",$e.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",$e.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",$e.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",$e.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",$e.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",$e.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",$e.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",$e.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",$e.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",$e.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),we.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),we.extend("--ft-tabs-label-gap","",Ne.spacing1),we.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-group-gap","",Ne.spacing1),we.extend("--ft-switch-group-background-color","",$e.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",$e.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),we.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",$e.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-off-color","",$e.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",$e.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),we.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),we.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),we.extend("--ft-chart-3-light","",Ne.colorUltramarine40),we.extend("--ft-chart-3-base","",Ne.colorUltramarine70),we.extend("--ft-chart-4-light","",Ne.colorCyan50),we.extend("--ft-chart-4-base","",Ne.colorCyan100),we.extend("--ft-chart-5-light","",Ne.colorRed40),we.extend("--ft-chart-5-base","",Ne.colorRed60),we.extend("--ft-chart-6-light","",Ne.colorGreen40),we.extend("--ft-chart-6-base","",Ne.colorGreen70),we.extend("--ft-chart-7-light","",Ne.colorOrange70),we.extend("--ft-chart-7-base","",Ne.colorOrange100),we.extend("--ft-chart-8-light","",Ne.colorAvocado70),we.extend("--ft-chart-8-base","",Ne.colorAvocado200),we.extend("--ft-chart-9-light","",Ne.colorBrown50),we.extend("--ft-chart-9-base","",Ne.colorBrown200),we.extend("--ft-chart-10-light","",Ne.colorGray50),we.extend("--ft-chart-10-base","",Ne.colorGray80),we.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),we.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),we.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),we.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),we.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),we.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),we.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),we.extend("--ft-chip-large-gap","",Ne.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",Ne.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),we.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),we.extend("--ft-chip-medium-gap","",Ne.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),we.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),we.extend("--ft-chip-small-gap","",Ne.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",Ne.iconSize1),we.extend("--ft-chip-neutral-background-color","",$e.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",$e.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",$e.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",$e.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",$e.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",$e.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",$e.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",$e.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",$e.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",$e.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",$e.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",$e.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",$e.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",$e.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",$e.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",Ne.spacing2),we.extend("--ft-notice-vertical-padding","",Ne.spacing1),we.extend("--ft-notice-border-radius","",Ne.borderRadiusS),we.extend("--ft-notice-gap","",Ne.spacing2),we.extend("--ft-notice-icon-size","",Ne.iconSize3),we.extend("--ft-notice-info-background-color","",$e.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",$e.borderInfoPrimary),we.extend("--ft-notice-info-color","",$e.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",$e.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",$e.borderWarningPrimary),we.extend("--ft-notice-warning-color","",$e.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",$e.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",$e.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",$e.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",$e.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",$e.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",Ne.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-off-background-color","",$e.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",$e.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",$e.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-on-background-color","",$e.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",$e.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",$e.contentActionPrimary),we.extend("--ft-toggle-label-color","",$e.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",$e.borderActionFocusRing),we.extend("--ft-toggle-gap","",Ne.spacing3),we.extend("--ft-radio-label-color","",$e.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",$e.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",$e.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",$e.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",Ne.spacing3),we.extend("--ft-notification-icon-size","",Ne.iconSize4),we.extend("--ft-notification-horizontal-padding","",Ne.spacing4),we.extend("--ft-notification-vertical-padding","",Ne.spacing4),we.extend("--ft-notification-info-background-color","",$e.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",$e.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",$e.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",$e.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",$e.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",$e.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",$e.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",$e.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",$e.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",$e.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",$e.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",$e.borderErrorPrimary),we.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",Ne.spacing2),we.extend("--ft-notification-gap-trailing","",Ne.spacing8);const Re={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:we.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:we.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:we.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:we.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:we.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:we.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:we.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:we.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:we.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},ke=window,Ue=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
84
+ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const xe=globalThis.litElementPolyfillSupport;xe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oe=t=>"string"==typeof t?Ot(t):t;class we{static create(t,e,o,r){const i=t=>Oe(null!=t?t:r),n=wt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=wt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Oe(null!=e?e:t.lastResortDefaultValue()),r=wt`var(${Oe(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>wt`var(${Oe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Se(t,e){return Oe(`${t.name}: ${e}`)}const Ne={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},$e={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},Ee={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:we.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:we.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",$e.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",$e.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",$e.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",$e.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",$e.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",$e.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",$e.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",$e.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",$e.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",$e.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",$e.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",$e.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",$e.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",$e.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",$e.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),we.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),we.extend("--ft-tabs-label-gap","",Ne.spacing1),we.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-group-gap","",Ne.spacing1),we.extend("--ft-switch-group-background-color","",$e.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",$e.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),we.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",$e.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-off-color","",$e.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",$e.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),we.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),we.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),we.extend("--ft-chart-3-light","",Ne.colorUltramarine40),we.extend("--ft-chart-3-base","",Ne.colorUltramarine70),we.extend("--ft-chart-4-light","",Ne.colorCyan50),we.extend("--ft-chart-4-base","",Ne.colorCyan100),we.extend("--ft-chart-5-light","",Ne.colorRed40),we.extend("--ft-chart-5-base","",Ne.colorRed60),we.extend("--ft-chart-6-light","",Ne.colorGreen40),we.extend("--ft-chart-6-base","",Ne.colorGreen70),we.extend("--ft-chart-7-light","",Ne.colorOrange70),we.extend("--ft-chart-7-base","",Ne.colorOrange100),we.extend("--ft-chart-8-light","",Ne.colorAvocado70),we.extend("--ft-chart-8-base","",Ne.colorAvocado200),we.extend("--ft-chart-9-light","",Ne.colorBrown50),we.extend("--ft-chart-9-base","",Ne.colorBrown200),we.extend("--ft-chart-10-light","",Ne.colorGray50),we.extend("--ft-chart-10-base","",Ne.colorGray80),we.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),we.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),we.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),we.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),we.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),we.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),we.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),we.extend("--ft-chip-large-gap","",Ne.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",Ne.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),we.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),we.extend("--ft-chip-medium-gap","",Ne.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),we.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),we.extend("--ft-chip-small-gap","",Ne.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",Ne.iconSize1),we.extend("--ft-chip-neutral-background-color","",$e.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",$e.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",$e.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",$e.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",$e.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",$e.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",$e.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",$e.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",$e.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",$e.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",$e.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",$e.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",$e.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",$e.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",$e.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",Ne.spacing2),we.extend("--ft-notice-vertical-padding","",Ne.spacing1),we.extend("--ft-notice-border-radius","",Ne.borderRadiusS),we.extend("--ft-notice-gap","",Ne.spacing2),we.extend("--ft-notice-icon-size","",Ne.iconSize3),we.extend("--ft-notice-info-background-color","",$e.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",$e.borderInfoPrimary),we.extend("--ft-notice-info-color","",$e.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",$e.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",$e.borderWarningPrimary),we.extend("--ft-notice-warning-color","",$e.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",$e.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",$e.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",$e.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",$e.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",$e.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",Ne.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-off-background-color","",$e.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",$e.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",$e.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-on-background-color","",$e.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",$e.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",$e.contentActionPrimary),we.extend("--ft-toggle-label-color","",$e.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",$e.borderActionFocusRing),we.extend("--ft-toggle-gap","",Ne.spacing3),we.extend("--ft-radio-label-color","",$e.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",$e.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",$e.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",$e.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",Ne.spacing3),we.extend("--ft-notification-icon-size","",Ne.iconSize4),we.extend("--ft-notification-horizontal-padding","",Ne.spacing4),we.extend("--ft-notification-vertical-padding","",Ne.spacing4),we.extend("--ft-notification-info-background-color","",$e.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",$e.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",$e.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",$e.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",$e.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",$e.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",$e.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",$e.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",$e.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",$e.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",$e.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",$e.borderErrorPrimary),we.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",Ne.spacing2),we.extend("--ft-notification-gap-trailing","",Ne.spacing8);const Re={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:we.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:we.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:we.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:we.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:we.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:we.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:we.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:we.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:we.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},ke=["start","end"],Ue=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ke[0],e+"-"+ke[1])),[]),Ie=Math.min,Le=Math.max,We=Math.round,je=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Fe={start:"end",end:"start"};function Ke(t,e,o){return Le(t,Ie(e,o))}function ze(t,e){return"function"==typeof t?t(e):t}function Ze(t){return t.split("-")[0]}function Me(t){return t.split("-")[1]}function Pe(t){return"x"===t?"y":"x"}function Be(t){return"y"===t?"height":"width"}function De(t){return["top","bottom"].includes(Ze(t))?"y":"x"}function Te(t){return Pe(De(t))}function _e(t){return t.replace(/left|right|bottom|top/g,(t=>Ae[t]))}function He(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ge(t,e,o){let{reference:r,floating:i}=t;const n=De(e),a=Te(e),s=Be(a),c=Ze(e),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(c){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Me(e)){case"start":u[a]-=h*(o&&l?-1:1);break;case"end":u[a]+=h*(o&&l?-1:1)}return u}async function Ve(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=ze(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=He(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=He(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function Ye(t,e,o){return(t?[...o.filter((e=>Me(e)===t)),...o.filter((e=>Me(e)!==t))]:o.filter((t=>Ze(t)===t))).filter((o=>!t||(Me(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Fe[t]))}(o)!==o)))}const qe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Ue,autoAlignment:u=!0,...d}=ze(t,e),y=void 0!==p||h===Ue?Ye(p||null,u,h):h,g=await Ve(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Me(t),i=Te(t),n=Be(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=_e(a)),[a,_e(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Ze(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Me(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Me(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Je(t){return to(t)?(t.nodeName||"").toLowerCase():"#document"}function Xe(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Qe(t){var e;return null==(e=(to(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function to(t){return t instanceof Node||t instanceof Xe(t).Node}function eo(t){return t instanceof Element||t instanceof Xe(t).Element}function oo(t){return t instanceof HTMLElement||t instanceof Xe(t).HTMLElement}function ro(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Xe(t).ShadowRoot)}function io(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=lo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function no(t){return["table","td","th"].includes(Je(t))}function ao(t){const e=so(),o=lo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function so(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function co(t){return["html","body","#document"].includes(Je(t))}function lo(t){return Xe(t).getComputedStyle(t)}function fo(t){return eo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function po(t){if("html"===Je(t))return t;const e=t.assignedSlot||t.parentNode||ro(t)&&t.host||Qe(t);return ro(e)?e.host:e}function ho(t){const e=po(t);return co(e)?t.ownerDocument?t.ownerDocument.body:t.body:oo(e)&&io(e)?e:ho(e)}function uo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=ho(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Xe(i);return n?e.concat(a,a.visualViewport||[],io(i)?i:[],a.frameElement&&o?uo(a.frameElement):[]):e.concat(i,uo(i,[],o))}function yo(t){const e=lo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=oo(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=We(o)!==n||We(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function go(t){return eo(t)?t:t.contextElement}function bo(t){const e=go(t);if(!oo(e))return je(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=yo(e);let a=(n?We(o.width):o.width)/r,s=(n?We(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const mo=je(0);function vo(t){const e=Xe(t);return so()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mo}function xo(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=go(t);let a=je(1);e&&(r?eo(r)&&(a=bo(r)):a=bo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Xe(t))&&e}(n,o,r)?vo(n):je(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Xe(n),e=r&&eo(r)?Xe(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=bo(o),e=o.getBoundingClientRect(),r=lo(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,o=Xe(o).frameElement}}return He({width:f,height:p,x:c,y:l})}function Oo(t){return xo(Qe(t)).left+fo(t).scrollLeft}function wo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Xe(t),r=Qe(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=so();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=Qe(t),o=fo(t),r=t.ownerDocument.body,i=Le(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Le(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Oo(t);const s=-o.scrollTop;return"rtl"===lo(r).direction&&(a+=Le(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Qe(t));else if(eo(e))r=function(t,e){const o=xo(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=oo(t)?bo(t):je(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=vo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return He(r)}function So(t,e){const o=po(t);return!(o===e||!eo(o)||co(o))&&("fixed"===lo(o).position||So(o,e))}function No(t,e,o){const r=oo(e),i=Qe(e),n="fixed"===o,a=xo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=je(0);if(r||!r&&!n)if(("body"!==Je(e)||io(i))&&(s=fo(e)),r){const t=xo(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=Oo(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Co(t,e){return oo(t)&&"fixed"!==lo(t).position?e?e(t):t.offsetParent:null}function $o(t,e){const o=Xe(t);if(!oo(t))return o;let r=Co(t,e);for(;r&&no(r)&&"static"===lo(r).position;)r=Co(r,e);return r&&("html"===Je(r)||"body"===Je(r)&&"static"===lo(r).position&&!ao(r))?o:r||function(t){let e=po(t);for(;oo(e)&&!co(e);){if(ao(e))return e;e=po(e)}return null}(t)||o}const Eo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=oo(o),n=Qe(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=je(1);const c=je(0);if((i||!i&&"fixed"!==r)&&(("body"!==Je(o)||io(n))&&(a=fo(o)),oo(o))){const t=xo(o);s=bo(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Qe,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=uo(t,[],!1).filter((t=>eo(t)&&"body"!==Je(t))),i=null;const n="fixed"===lo(t).position;let a=n?po(t):t;for(;eo(a)&&!co(a);){const e=lo(a),o=ao(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||io(a)&&!o&&So(t,a))?r=r.filter((t=>t!==a)):i=e,a=po(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],c=a.reduce(((t,o)=>{const r=wo(e,o,i);return t.top=Le(r.top,t.top),t.right=Ie(r.right,t.right),t.bottom=Ie(r.bottom,t.bottom),t.left=Le(r.left,t.left),t}),wo(e,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:$o,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||$o,n=this.getDimensions;return{reference:No(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return yo(t)},getScale:bo,isElement:eo,isRTL:function(t){return"rtl"===lo(t).direction}},Ro=(t,e,o)=>{const r=new Map,i={platform:Eo,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Ge(l,r,c),h=r,u={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Ge(l,h,c))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,e,{...i,platform:n})};function ko(t){return function(t){for(let e=t;e;e=Uo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Uo(t);e;e=Uo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Uo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
- */class Ie extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ue?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=ke.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Le,We=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const je=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),Fe=Symbol("exportpartsDebouncer");class Ke extends Ie{constructor(){super(),this[Le]=new i(5),this[Ae]=this.constructor.name,this[je]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[je])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Fe].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Le=Fe,We([R()],Ke.prototype,"exportpartsPrefix",void 0),We([A([])],Ke.prototype,"exportpartsPrefixes",void 0),We([R()],Ke.prototype,"customStylesheet",void 0);const ze=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
89
+ */
90
+ const Io=window,Lo=Io.ShadowRoot&&(void 0===Io.ShadyCSS||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Wo extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Lo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Io.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var jo,Ao=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fo=Symbol("constructorPrototype"),Ko=Symbol("constructorName"),zo=Symbol("exportpartsDebouncer");class Zo extends Wo{constructor(){super(),this[jo]=new i(5),this[Ko]=this.constructor.name,this[Fo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ko]&&Object.setPrototypeOf(this,this[Fo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[zo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}jo=zo,Ao([R()],Zo.prototype,"exportpartsPrefix",void 0),Ao([A([])],Zo.prototype,"exportpartsPrefixes",void 0),Ao([R()],Zo.prototype,"customStylesheet",void 0);const Mo=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
90
91
  .highlight-html-match {
91
- background: ${ze};
92
+ background: ${Mo};
92
93
  }
93
- `;const Ze=wt`
94
+ `;const Po=wt`
94
95
  .ft-no-text-select {
95
96
  -webkit-touch-callout: none;
96
97
  -webkit-user-select: none;
@@ -111,7 +112,7 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
111
112
  -webkit-hyphens: auto;
112
113
  hyphens: auto
113
114
  }
114
- `;const Me=wt`
115
+ `;const Bo=wt`
115
116
  .ft-safari-ellipsis-fix {
116
117
  margin-right: 0;
117
118
 
@@ -122,7 +123,7 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
122
123
  display: inline-block;
123
124
  width: 0;
124
125
  }
125
- `;class Pe{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}class Be{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Te,_e,He;const Ge=Symbol("internalReduxEventsUnsubscribers"),Ve=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores");class qe extends Ke{constructor(){super(...arguments),this[Te]=new Map,this[_e]=new Map,this[He]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ye].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ye].delete(e)}setupStore(t,e){this[Ye].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ye].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Ve].has(t.store):this[Ve].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Ve].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ge].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ve].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ge].forEach((t=>t())),this[Ge]=[]}unsubscribeFromStore(t){this[Ve].has(t)&&this[Ve].get(t)(),this[Ve].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Xe(t){return!!t&&!!t[Zo]}function Qe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Mo}(t)||Array.isArray(t)||!!t[zo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[zo])||no(t)||ao(t))}function to(t,e,o){void 0===o&&(o=!1),0===eo(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function eo(t){var e=t[Zo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:no(t)?2:ao(t)?3:0}function oo(t,e){return 2===eo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ro(t,e,o){var r=eo(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function io(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function no(t){return jo&&t instanceof Map}function ao(t){return Ao&&t instanceof Set}function so(t){return t.o||t.t}function co(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Bo(t);delete e[Zo];for(var o=Po(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function lo(t,e){return void 0===e&&(e=!1),po(t)||Xe(t)||!Qe(t)||(eo(t)>1&&(t.set=t.add=t.clear=t.delete=fo),Object.freeze(t),e&&to(t,(function(t,e){return lo(e,!0)}),!0)),t}function fo(){Je(2)}function po(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ho(t){var e=Do[t];return e||Je(18,t),e}function uo(){return Lo}function yo(t,e){e&&(ho("Patches"),t.u=[],t.s=[],t.v=e)}function go(t){bo(t),t.p.forEach(vo),t.p=null}function bo(t){t===Lo&&(Lo=t.l)}function mo(t){return Lo={p:[],l:Lo,h:t,m:!0,_:0}}function vo(t){var e=t[Zo];0===e.i||1===e.i?e.j():e.g=!0}function xo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||ho("ES5").S(e,t,r),r?(o[Zo].P&&(go(e),Je(4)),Qe(t)&&(t=Oo(e,t),e.l||So(e,t)),e.u&&ho("Patches").M(o[Zo].t,t,e.u,e.s)):t=Oo(e,o,[]),go(e),e.u&&e.v(e.u,e.s),t!==Ko?t:void 0}function Oo(t,e,o){if(po(e))return e;var r=e[Zo];if(!r)return to(e,(function(i,n){return wo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return So(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=co(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),to(n,(function(e,n){return wo(t,r,i,e,n,o,a)})),So(t,i,!1),o&&t.u&&ho("Patches").N(r,o,t.u,t.s)}return r.o}function wo(t,e,o,r,i,n,a){if(Xe(i)){var s=Oo(t,i,n&&e&&3!==e.i&&!oo(e.R,r)?n.concat(r):void 0);if(ro(o,r,s),!Xe(s))return;t.m=!1}else a&&o.add(i);if(Qe(i)&&!po(i)){if(!t.h.D&&t._<1)return;Oo(t,i),e&&e.A.l||So(t,i)}}function So(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&lo(e,o)}function No(t,e){var o=t[Zo];return(o?so(o):t)[e]}function Co(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function $o(t){t.P||(t.P=!0,t.l&&$o(t.l))}function Eo(t){t.o||(t.o=co(t.t))}function Ro(t,e,o){var r=no(e)?ho("MapSet").F(e,o):ao(e)?ho("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:uo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=To;o&&(i=[r],n=_o);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):ho("ES5").J(e,o);return(o?o.A:uo()).p.push(r),r}function ko(t){return Xe(t)||Je(22,t),function t(e){if(!Qe(e))return e;var o,r=e[Zo],i=eo(e);if(r){if(!r.P&&(r.i<4||!ho("ES5").K(r)))return r.t;r.I=!0,o=Uo(e,i),r.I=!1}else o=Uo(e,i);return to(o,(function(e,i){r&&function(t,e){return 2===eo(t)?t.get(e):t[e]}(r.t,e)===i||ro(o,e,t(i))})),3===i?new Set(o):o}(t)}function Uo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return co(t)}Te=Ve,_e=Ye,He=Ge,qe.reduxProperties=new Map,qe.reduxReactiveProperties=new Set,qe.reduxEventListeners=new Map;var Io,Lo,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),jo="undefined"!=typeof Map,Ao="undefined"!=typeof Set,Fo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Wo?Symbol.for("immer-nothing"):((Io={})["immer-nothing"]=!0,Io),zo=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Zo=Wo?Symbol.for("immer-state"):"__$immer_state",Mo=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Do={},To={get:function(t,e){if(e===Zo)return t;var o=so(t);if(!oo(o,e))return function(t,e,o){var r,i=Co(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Qe(r)?r:r===No(t.t,e)?(Eo(t),t.o[e]=Ro(t.A.h,r,t)):r},has:function(t,e){return e in so(t)},ownKeys:function(t){return Reflect.ownKeys(so(t))},set:function(t,e,o){var r=Co(so(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=No(so(t),e),n=null==i?void 0:i[Zo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(io(o,i)&&(void 0!==o||oo(t.t,e)))return!0;Eo(t),$o(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==No(t.t,e)||e in t.t?(t.R[e]=!1,Eo(t),$o(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=so(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},_o={};to(To,(function(t,e){_o[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_o.deleteProperty=function(t,e){return _o.set.call(this,t,e,void 0)},_o.set=function(t,e,o){return To.set.call(this,t[0],e,o,t[0])};var Ho=function(){function t(t){var e=this;this.O=Fo,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Je(6),void 0!==r&&"function"!=typeof r&&Je(7),Qe(t)){var s=mo(e),c=Ro(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?go(s):bo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return yo(s,r),xo(t,s)}),(function(t){throw go(s),t})):(yo(s,r),xo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ko&&(a=void 0),e.D&&lo(a,!0),r){var f=[],p=[];ho("Patches").M(t,a,f,p),r(f,p)}return a}Je(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Qe(t)||Je(8),Xe(t)&&(t=ko(t));var e=mo(this),o=Ro(this,t,void 0);return o[Zo].C=!0,bo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Zo]).A;return yo(o,e),xo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Fo&&Je(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=ho("Patches").$;return Xe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Go=new Ho,Vo=Go.produce;function Yo(t){return Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yo(t)}function qo(t){var e=function(t,e){if("object"!==Yo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Yo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Yo(e)?e:String(e)}function Jo(t,e,o){return(e=qo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Xo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Qo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Xo(Object(o),!0).forEach((function(e){Jo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Xo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function tr(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. "}Go.produceWithPatches.bind(Go),Go.setAutoFreeze.bind(Go),Go.setUseProxies.bind(Go),Go.applyPatches.bind(Go),Go.createDraft.bind(Go),Go.finishDraft.bind(Go);var er="function"==typeof Symbol&&Symbol.observable||"@@observable",or=function(){return Math.random().toString(36).substring(7).split("").join(".")},rr={INIT:"@@redux/INIT"+or(),REPLACE:"@@redux/REPLACE"+or(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+or()}};function ir(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(tr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(tr(1));return o(ir)(t,e)}if("function"!=typeof t)throw new Error(tr(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(tr(3));return n}function p(t){if("function"!=typeof t)throw new Error(tr(4));if(c)throw new Error(tr(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(tr(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(tr(7));if(void 0===t.type)throw new Error(tr(8));if(c)throw new Error(tr(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:rr.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(tr(10));i=t,h({type:rr.REPLACE})}})[er]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(tr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[er]=function(){return this},t},r}function nr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:rr.INIT}))throw new Error(tr(12));if(void 0===o(void 0,{type:rr.PROBE_UNKNOWN_ACTION()}))throw new Error(tr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],p=l(f,e);if(void 0===p)throw e&&e.type,new Error(tr(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ar(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function sr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(tr(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ar.apply(void 0,n)(o.dispatch),Qo(Qo({},o),{},{dispatch:r})}}}function cr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var lr=cr();lr.withExtraArgument=cr;var fr,pr=lr,hr=(fr=function(t,e){return fr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},fr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}fr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ur=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},dr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},yr=Object.defineProperty,gr=Object.defineProperties,br=Object.getOwnPropertyDescriptors,mr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,Or=function(t,e,o){return e in t?yr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},wr=function(t,e){for(var o in e||(e={}))vr.call(e,o)&&Or(t,o,e[o]);if(mr)for(var r=0,i=mr(e);r<i.length;r++){o=i[r];xr.call(e,o)&&Or(t,o,e[o])}return t},Sr=function(t,e){return gr(t,br(e))},Nr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ar:ar.apply(null,arguments)};var Cr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return hr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dr([void 0],t[0].concat(this)))):new(e.bind.apply(e,dr([void 0],t.concat(this))))},e}(Array),$r=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return hr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dr([void 0],t[0].concat(this)))):new(e.bind.apply(e,dr([void 0],t.concat(this))))},e}(Array);function Er(t){return Qe(t)?Vo(t,(function(){})):t}function Rr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Cr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(pr.withExtraArgument(o.extraArgument)):r.push(pr));return r}(t)}}function kr(t){var e,o=Rr(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=nr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=sr.apply(void 0,d),g=ar;l&&(g=Nr(wr({trace:!1},"object"==typeof l&&l)));var b=new $r(y),m=b;return Array.isArray(u)?m=dr([y],u):"function"==typeof u&&(m=u(b)),ir(e,p,g.apply(void 0,m))}function Ur(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return wr(wr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ir(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Lr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Er(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ir(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=wr(wr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ir(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Er(t())};else{var l=Er(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=dr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Xe(t))return void 0===(r=o(t,e))?t:r;if(Qe(t))return Vo(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Ur(l,r):Ur(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],jr=function(t,e){this.payload=t,this.meta=e},Ar=function(t,e){this.payload=t,this.meta=e},Fr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Kr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ur(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Sr(wr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ur(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Sr(wr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ur(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Fr)(t||"Rejected"),meta:Sr(wr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return ur(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new jr(t,e)},fulfillWithValue:function(t,e){return new Ar(t,e)}})).then((function(e){if(e instanceof jr)throw e;return e instanceof Ar?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof jr?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(Kr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var zr="listenerMiddleware";Ur(zr+"/add"),Ur(zr+"/removeAll"),Ur(zr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Zo];return To.get(e,t)},set:function(e){var o=this[Zo];To.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Zo];if(!i.P)switch(i.i){case 5:r(i)&&$o(i);break;case 4:o(i)&&$o(i)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Zo){var a=e[n];if(void 0===a&&!oo(e,n))return!0;var s=o[n],c=s&&s[Zo];if(c?c.t!==a:!io(s,a))return!0}}var l=!!e[Zo];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Do[t]||(Do[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Bo(o);delete n[Zo];for(var a=Po(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:uo(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Zo,{value:n,writable:!0}),i},S:function(t,o,i){i?Xe(o)&&o[Zo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Zo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)to(n,(function(e){e!==Zo&&(void 0!==i[e]||oo(i,e)?a[e]||t(n[e]):(a[e]=!0,$o(o)))})),to(i,(function(t){void 0!==n[t]||oo(n,t)||(a[t]=!1,$o(o))}));else if(5===s){if(r(o)&&($o(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Zr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(De(i))return i;if(null==r)return;const n=Lr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=kr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Zr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Be,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Mr=Symbol("elementInternals");var Pr,Br,Dr;const Tr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Dr=null===(Br=null===(Pr=window.safari)||void 0===Pr?void 0:Pr.pushNotification)||void 0===Br?void 0:Br.toString())&&void 0!==Dr?Dr:""),_r=we.extend("--ft-ripple-color","",Re.colorContent),Hr={color:_r,backgroundColor:we.extend("--ft-ripple-background-color","",_r),opacityContentOnSurfacePressed:we.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},Gr=we.extend("--ft-ripple-color","",Re.colorPrimary),Vr=Gr,Yr=we.extend("--ft-ripple-background-color","",Gr),qr=we.extend("--ft-ripple-color","",Re.colorSecondary),Jr=qr,Xr=we.extend("--ft-ripple-background-color","",qr),Qr=wt`
126
+ `;class Do{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}class To{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function _o(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Ho,Go,Vo;const Yo=Symbol("internalReduxEventsUnsubscribers"),qo=Symbol("internalStoresUnsubscribers"),Jo=Symbol("internalStores");class Xo extends Zo{constructor(){super(...arguments),this[Ho]=new Map,this[Go]=new Map,this[Vo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Jo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Jo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Jo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:_o(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Jo].delete(e)}setupStore(t,e){this[Jo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Jo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qo].has(t.store):this[qo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qo].set(t,e.subscribe((()=>this.updateFromStores()))),_o(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Yo].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Yo].forEach((t=>t())),this[Yo]=[]}unsubscribeFromStore(t){this[qo].has(t)&&this[qo].get(t)(),this[qo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qo(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tr(t){return!!t&&!!t[Mr]}function er(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Pr}(t)||Array.isArray(t)||!!t[Zr]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Zr])||sr(t)||cr(t))}function or(t,e,o){void 0===o&&(o=!1),0===rr(t)?(o?Object.keys:Br)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function rr(t){var e=t[Mr];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:sr(t)?2:cr(t)?3:0}function ir(t,e){return 2===rr(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function nr(t,e,o){var r=rr(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function ar(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function sr(t){return Ar&&t instanceof Map}function cr(t){return Fr&&t instanceof Set}function lr(t){return t.o||t.t}function fr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Dr(t);delete e[Mr];for(var o=Br(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function pr(t,e){return void 0===e&&(e=!1),ur(t)||tr(t)||!er(t)||(rr(t)>1&&(t.set=t.add=t.clear=t.delete=hr),Object.freeze(t),e&&or(t,(function(t,e){return pr(e,!0)}),!0)),t}function hr(){Qo(2)}function ur(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function dr(t){var e=Tr[t];return e||Qo(18,t),e}function yr(){return Wr}function gr(t,e){e&&(dr("Patches"),t.u=[],t.s=[],t.v=e)}function br(t){mr(t),t.p.forEach(xr),t.p=null}function mr(t){t===Wr&&(Wr=t.l)}function vr(t){return Wr={p:[],l:Wr,h:t,m:!0,_:0}}function xr(t){var e=t[Mr];0===e.i||1===e.i?e.j():e.g=!0}function Or(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||dr("ES5").S(e,t,r),r?(o[Mr].P&&(br(e),Qo(4)),er(t)&&(t=wr(e,t),e.l||Nr(e,t)),e.u&&dr("Patches").M(o[Mr].t,t,e.u,e.s)):t=wr(e,o,[]),br(e),e.u&&e.v(e.u,e.s),t!==zr?t:void 0}function wr(t,e,o){if(ur(e))return e;var r=e[Mr];if(!r)return or(e,(function(i,n){return Sr(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Nr(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=fr(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),or(n,(function(e,n){return Sr(t,r,i,e,n,o,a)})),Nr(t,i,!1),o&&t.u&&dr("Patches").N(r,o,t.u,t.s)}return r.o}function Sr(t,e,o,r,i,n,a){if(tr(i)){var s=wr(t,i,n&&e&&3!==e.i&&!ir(e.R,r)?n.concat(r):void 0);if(nr(o,r,s),!tr(s))return;t.m=!1}else a&&o.add(i);if(er(i)&&!ur(i)){if(!t.h.D&&t._<1)return;wr(t,i),e&&e.A.l||Nr(t,i)}}function Nr(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&pr(e,o)}function Cr(t,e){var o=t[Mr];return(o?lr(o):t)[e]}function $r(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Er(t){t.P||(t.P=!0,t.l&&Er(t.l))}function Rr(t){t.o||(t.o=fr(t.t))}function kr(t,e,o){var r=sr(e)?dr("MapSet").F(e,o):cr(e)?dr("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:yr(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=_r;o&&(i=[r],n=Hr);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):dr("ES5").J(e,o);return(o?o.A:yr()).p.push(r),r}function Ur(t){return tr(t)||Qo(22,t),function t(e){if(!er(e))return e;var o,r=e[Mr],i=rr(e);if(r){if(!r.P&&(r.i<4||!dr("ES5").K(r)))return r.t;r.I=!0,o=Ir(e,i),r.I=!1}else o=Ir(e,i);return or(o,(function(e,i){r&&function(t,e){return 2===rr(t)?t.get(e):t[e]}(r.t,e)===i||nr(o,e,t(i))})),3===i?new Set(o):o}(t)}function Ir(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return fr(t)}Ho=qo,Go=Jo,Vo=Yo,Xo.reduxProperties=new Map,Xo.reduxReactiveProperties=new Set,Xo.reduxEventListeners=new Map;var Lr,Wr,jr="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ar="undefined"!=typeof Map,Fr="undefined"!=typeof Set,Kr="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,zr=jr?Symbol.for("immer-nothing"):((Lr={})["immer-nothing"]=!0,Lr),Zr=jr?Symbol.for("immer-draftable"):"__$immer_draftable",Mr=jr?Symbol.for("immer-state"):"__$immer_state",Pr=""+Object.prototype.constructor,Br="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Dr=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Tr={},_r={get:function(t,e){if(e===Mr)return t;var o=lr(t);if(!ir(o,e))return function(t,e,o){var r,i=$r(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!er(r)?r:r===Cr(t.t,e)?(Rr(t),t.o[e]=kr(t.A.h,r,t)):r},has:function(t,e){return e in lr(t)},ownKeys:function(t){return Reflect.ownKeys(lr(t))},set:function(t,e,o){var r=$r(lr(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Cr(lr(t),e),n=null==i?void 0:i[Mr];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ar(o,i)&&(void 0!==o||ir(t.t,e)))return!0;Rr(t),Er(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Cr(t.t,e)||e in t.t?(t.R[e]=!1,Rr(t),Er(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=lr(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Qo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qo(12)}},Hr={};or(_r,(function(t,e){Hr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Hr.deleteProperty=function(t,e){return Hr.set.call(this,t,e,void 0)},Hr.set=function(t,e,o){return _r.set.call(this,t[0],e,o,t[0])};var Gr=function(){function t(t){var e=this;this.O=Kr,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Qo(6),void 0!==r&&"function"!=typeof r&&Qo(7),er(t)){var s=vr(e),c=kr(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?br(s):mr(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return gr(s,r),Or(t,s)}),(function(t){throw br(s),t})):(gr(s,r),Or(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===zr&&(a=void 0),e.D&&pr(a,!0),r){var f=[],p=[];dr("Patches").M(t,a,f,p),r(f,p)}return a}Qo(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){er(t)||Qo(8),tr(t)&&(t=Ur(t));var e=vr(this),o=kr(this,t,void 0);return o[Mr].C=!0,mr(e),o},e.finishDraft=function(t,e){var o=(t&&t[Mr]).A;return gr(o,e),Or(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Kr&&Qo(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=dr("Patches").$;return tr(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Vr=new Gr,Yr=Vr.produce;function qr(t){return qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(t)}function Jr(t){var e=function(t,e){if("object"!==qr(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==qr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qr(e)?e:String(e)}function Xr(t,e,o){return(e=Jr(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Qr(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ti(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Qr(Object(o),!0).forEach((function(e){Xr(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Qr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ei(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. "}Vr.produceWithPatches.bind(Vr),Vr.setAutoFreeze.bind(Vr),Vr.setUseProxies.bind(Vr),Vr.applyPatches.bind(Vr),Vr.createDraft.bind(Vr),Vr.finishDraft.bind(Vr);var oi="function"==typeof Symbol&&Symbol.observable||"@@observable",ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},ii={INIT:"@@redux/INIT"+ri(),REPLACE:"@@redux/REPLACE"+ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ri()}};function ni(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ei(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ei(1));return o(ni)(t,e)}if("function"!=typeof t)throw new Error(ei(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(ei(3));return n}function p(t){if("function"!=typeof t)throw new Error(ei(4));if(c)throw new Error(ei(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(ei(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ei(7));if(void 0===t.type)throw new Error(ei(8));if(c)throw new Error(ei(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:ii.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ei(10));i=t,h({type:ii.REPLACE})}})[oi]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ei(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[oi]=function(){return this},t},r}function ai(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ii.INIT}))throw new Error(ei(12));if(void 0===o(void 0,{type:ii.PROBE_UNKNOWN_ACTION()}))throw new Error(ei(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],p=l(f,e);if(void 0===p)throw e&&e.type,new Error(ei(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function si(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ci(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(ei(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=si.apply(void 0,n)(o.dispatch),ti(ti({},o),{},{dispatch:r})}}}function li(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var fi=li();fi.withExtraArgument=li;var pi,hi=fi,ui=(pi=function(t,e){return pi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},pi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}pi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),di=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yi=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},gi=Object.defineProperty,bi=Object.defineProperties,mi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,wi=function(t,e,o){return e in t?gi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Si=function(t,e){for(var o in e||(e={}))xi.call(e,o)&&wi(t,o,e[o]);if(vi)for(var r=0,i=vi(e);r<i.length;r++){o=i[r];Oi.call(e,o)&&wi(t,o,e[o])}return t},Ni=function(t,e){return bi(t,mi(e))},Ci="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?si:si.apply(null,arguments)};var $i=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ui(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yi([void 0],t[0].concat(this)))):new(e.bind.apply(e,yi([void 0],t.concat(this))))},e}(Array),Ei=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ui(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yi([void 0],t[0].concat(this)))):new(e.bind.apply(e,yi([void 0],t.concat(this))))},e}(Array);function Ri(t){return er(t)?Yr(t,(function(){})):t}function ki(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new $i;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(hi.withExtraArgument(o.extraArgument)):r.push(hi));return r}(t)}}function Ui(t){var e,o=ki(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ai(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ci.apply(void 0,d),g=si;l&&(g=Ci(Si({trace:!1},"object"==typeof l&&l)));var b=new Ei(y),m=b;return Array.isArray(u)?m=yi([y],u):"function"==typeof u&&(m=u(b)),ni(e,p,g.apply(void 0,m))}function Ii(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Si(Si({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Li(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Wi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Ri(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Li(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Si(Si({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Li(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ri(t())};else{var l=Ri(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=yi([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(tr(t))return void 0===(r=o(t,e))?t:r;if(er(t))return Yr(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Ii(l,r):Ii(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var ji=["name","message","stack","code"],Ai=function(t,e){this.payload=t,this.meta=e},Fi=function(t,e){this.payload=t,this.meta=e},Ki=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=ji;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function zi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ii(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ni(Si({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ii(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ni(Si({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ii(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ki)(t||"Rejected"),meta:Ni(Si({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return di(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new Ai(t,e)},fulfillWithValue:function(t,e){return new Fi(t,e)}})).then((function(e){if(e instanceof Ai)throw e;return e instanceof Fi?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ai?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(zi)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Zi="listenerMiddleware";Ii(Zi+"/add"),Ii(Zi+"/removeAll"),Ii(Zi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Mr];return _r.get(e,t)},set:function(e){var o=this[Mr];_r.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Mr];if(!i.P)switch(i.i){case 5:r(i)&&Er(i);break;case 4:o(i)&&Er(i)}}}function o(t){for(var e=t.t,o=t.k,r=Br(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mr){var a=e[n];if(void 0===a&&!ir(e,n))return!0;var s=o[n],c=s&&s[Mr];if(c?c.t!==a:!ar(s,a))return!0}}var l=!!e[Mr];return r.length!==Br(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Tr[t]||(Tr[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Dr(o);delete n[Mr];for(var a=Br(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:yr(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mr,{value:n,writable:!0}),i},S:function(t,o,i){i?tr(o)&&o[Mr].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Mr];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)or(n,(function(e){e!==Mr&&(void 0!==i[e]||ir(i,e)?a[e]||t(n[e]):(a[e]=!0,Er(o)))})),or(i,(function(t){void 0!==n[t]||ir(n,t)||(a[t]=!1,Er(o))}));else if(5===s){if(r(o)&&(Er(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Mi{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(_o(i))return i;if(null==r)return;const n=Wi({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ui({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Mi(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new To,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Pi=Symbol("elementInternals");var Bi,Di,Ti;const _i=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ti=null===(Di=null===(Bi=window.safari)||void 0===Bi?void 0:Bi.pushNotification)||void 0===Di?void 0:Di.toString())&&void 0!==Ti?Ti:""),Hi=we.extend("--ft-ripple-color","",Re.colorContent),Gi={color:Hi,backgroundColor:we.extend("--ft-ripple-background-color","",Hi),opacityContentOnSurfacePressed:we.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},Vi=we.extend("--ft-ripple-color","",Re.colorPrimary),Yi=Vi,qi=we.extend("--ft-ripple-background-color","",Vi),Ji=we.extend("--ft-ripple-color","",Re.colorSecondary),Xi=Ji,Qi=we.extend("--ft-ripple-background-color","",Ji),tn=wt`
126
127
  :host {
127
128
  display: contents;
128
129
  }
@@ -135,7 +136,7 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
135
136
 
136
137
  .ft-ripple:not(.ft-ripple--unbounded) {
137
138
  overflow: hidden;
138
- border-radius: ${Hr.borderRadius};
139
+ border-radius: ${Gi.borderRadius};
139
140
  }
140
141
 
141
142
  .ft-ripple .ft-ripple--background,
@@ -169,27 +170,27 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
169
170
  }
170
171
 
171
172
  .ft-ripple .ft-ripple--background {
172
- background-color: ${Hr.backgroundColor};
173
+ background-color: ${Gi.backgroundColor};
173
174
  }
174
175
 
175
176
  .ft-ripple .ft-ripple--effect {
176
- background-color: ${Hr.color};
177
+ background-color: ${Gi.color};
177
178
  }
178
179
 
179
180
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
180
- background-color: ${Xr};
181
+ background-color: ${Qi};
181
182
  }
182
183
 
183
184
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
184
- background-color: ${Jr};
185
+ background-color: ${Xi};
185
186
  }
186
187
 
187
188
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
188
- background-color: ${Yr};
189
+ background-color: ${qi};
189
190
  }
190
191
 
191
192
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
192
- background-color: ${Vr};
193
+ background-color: ${Yi};
193
194
  }
194
195
 
195
196
  .ft-ripple .ft-ripple--background {
@@ -219,117 +220,117 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
219
220
  }
220
221
 
221
222
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
222
- opacity: ${Hr.opacityContentOnSurfaceHover};
223
+ opacity: ${Gi.opacityContentOnSurfaceHover};
223
224
  }
224
225
 
225
226
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
226
- opacity: ${Hr.opacityContentOnSurfaceSelected};
227
+ opacity: ${Gi.opacityContentOnSurfaceSelected};
227
228
  }
228
229
 
229
230
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
230
- opacity: ${Hr.opacityContentOnSurfaceFocused};
231
+ opacity: ${Gi.opacityContentOnSurfaceFocused};
231
232
  }
232
233
 
233
234
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
234
- opacity: ${Hr.opacityContentOnSurfacePressed};
235
+ opacity: ${Gi.opacityContentOnSurfacePressed};
235
236
  transform: translate(-50%, -50%) scale(1);
236
237
  }
237
- `;const ti=we.extend("--ft-typography-font-family","",Re.titleFont),ei=we.extend("--ft-typography-font-family","",Re.contentFont),oi={fontFamily:ei,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ri=we.extend("--ft-typography-title-font-family","",ti),ii=we.extend("--ft-typography-title-font-size","",oi.fontSize,"20px"),ni=we.extend("--ft-typography-title-font-weight","",oi.fontWeight,"normal"),ai=we.extend("--ft-typography-title-letter-spacing","",oi.letterSpacing,"0.15px"),si=we.extend("--ft-typography-title-line-height","",oi.lineHeight,"1.2"),ci=we.extend("--ft-typography-title-text-transform","",oi.textTransform,"inherit"),li=we.extend("--ft-typography-title-dense-font-family","",ti),fi=we.extend("--ft-typography-title-dense-font-size","",oi.fontSize,"14px"),pi=we.extend("--ft-typography-title-dense-font-weight","",oi.fontWeight,"normal"),hi=we.extend("--ft-typography-title-dense-letter-spacing","",oi.letterSpacing,"0.105px"),ui=we.extend("--ft-typography-title-dense-line-height","",oi.lineHeight,"1.7"),di=we.extend("--ft-typography-title-dense-text-transform","",oi.textTransform,"inherit"),yi=we.extend("--ft-typography-subtitle1-font-family","",ei),gi=we.extend("--ft-typography-subtitle1-font-size","",oi.fontSize,"16px"),bi=we.extend("--ft-typography-subtitle1-font-weight","",oi.fontWeight,"600"),mi=we.extend("--ft-typography-subtitle1-letter-spacing","",oi.letterSpacing,"0.144px"),vi=we.extend("--ft-typography-subtitle1-line-height","",oi.lineHeight,"1.5"),xi=we.extend("--ft-typography-subtitle1-text-transform","",oi.textTransform,"inherit"),Oi=we.extend("--ft-typography-subtitle2-font-family","",ei),wi=we.extend("--ft-typography-subtitle2-font-size","",oi.fontSize,"14px"),Si=we.extend("--ft-typography-subtitle2-font-weight","",oi.fontWeight,"normal"),Ni=we.extend("--ft-typography-subtitle2-letter-spacing","",oi.letterSpacing,"0.098px"),Ci=we.extend("--ft-typography-subtitle2-line-height","",oi.lineHeight,"1.7"),$i=we.extend("--ft-typography-subtitle2-text-transform","",oi.textTransform,"inherit"),Ei=we.extend("--ft-typography-body1-font-family","",ei),Ri=we.extend("--ft-typography-body1-font-size","",oi.fontSize,"16px"),ki=we.extend("--ft-typography-body1-font-weight","",oi.fontWeight,"normal"),Ui=we.extend("--ft-typography-body1-letter-spacing","",oi.letterSpacing,"0.496px"),Ii=we.extend("--ft-typography-body1-line-height","",oi.lineHeight,"1.5"),Li=we.extend("--ft-typography-body1-text-transform","",oi.textTransform,"inherit"),Wi=we.extend("--ft-typography-body2-font-family","",ei),ji=we.extend("--ft-typography-body2-font-size","",oi.fontSize,"14px"),Ai=we.extend("--ft-typography-body2-font-weight","",oi.fontWeight,"normal"),Fi=we.extend("--ft-typography-body2-letter-spacing","",oi.letterSpacing,"0.252px"),Ki=we.extend("--ft-typography-body2-line-height","",oi.lineHeight,"1.4"),zi=we.extend("--ft-typography-body2-text-transform","",oi.textTransform,"inherit"),Zi=we.extend("--ft-typography-caption-font-family","",ei),Mi=we.extend("--ft-typography-caption-font-size","",oi.fontSize,"12px"),Pi=we.extend("--ft-typography-caption-font-weight","",oi.fontWeight,"normal"),Bi=we.extend("--ft-typography-caption-letter-spacing","",oi.letterSpacing,"0.396px"),Di=we.extend("--ft-typography-caption-line-height","",oi.lineHeight,"1.33"),Ti=we.extend("--ft-typography-caption-text-transform","",oi.textTransform,"inherit"),_i=we.extend("--ft-typography-breadcrumb-font-family","",ei),Hi=we.extend("--ft-typography-breadcrumb-font-size","",oi.fontSize,"10px"),Gi=we.extend("--ft-typography-breadcrumb-font-weight","",oi.fontWeight,"normal"),Vi=we.extend("--ft-typography-breadcrumb-letter-spacing","",oi.letterSpacing,"0.33px"),Yi=we.extend("--ft-typography-breadcrumb-line-height","",oi.lineHeight,"1.6"),qi=we.extend("--ft-typography-breadcrumb-text-transform","",oi.textTransform,"inherit"),Ji=we.extend("--ft-typography-overline-font-family","",ei),Xi=we.extend("--ft-typography-overline-font-size","",oi.fontSize,"10px"),Qi=we.extend("--ft-typography-overline-font-weight","",oi.fontWeight,"normal"),tn=we.extend("--ft-typography-overline-letter-spacing","",oi.letterSpacing,"1.5px"),en=we.extend("--ft-typography-overline-line-height","",oi.lineHeight,"1.6"),on=we.extend("--ft-typography-overline-text-transform","",oi.textTransform,"uppercase"),rn={fontFamily:we.extend("--ft-typography-button-font-family","",ei),fontSize:we.extend("--ft-typography-button-font-size","",oi.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",oi.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",oi.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",oi.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",oi.textTransform,"uppercase")},nn=wt`
238
+ `;const en=we.extend("--ft-typography-font-family","",Re.titleFont),on=we.extend("--ft-typography-font-family","",Re.contentFont),rn={fontFamily:on,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nn=we.extend("--ft-typography-title-font-family","",en),an=we.extend("--ft-typography-title-font-size","",rn.fontSize,"20px"),sn=we.extend("--ft-typography-title-font-weight","",rn.fontWeight,"normal"),cn=we.extend("--ft-typography-title-letter-spacing","",rn.letterSpacing,"0.15px"),ln=we.extend("--ft-typography-title-line-height","",rn.lineHeight,"1.2"),fn=we.extend("--ft-typography-title-text-transform","",rn.textTransform,"inherit"),pn=we.extend("--ft-typography-title-dense-font-family","",en),hn=we.extend("--ft-typography-title-dense-font-size","",rn.fontSize,"14px"),un=we.extend("--ft-typography-title-dense-font-weight","",rn.fontWeight,"normal"),dn=we.extend("--ft-typography-title-dense-letter-spacing","",rn.letterSpacing,"0.105px"),yn=we.extend("--ft-typography-title-dense-line-height","",rn.lineHeight,"1.7"),gn=we.extend("--ft-typography-title-dense-text-transform","",rn.textTransform,"inherit"),bn=we.extend("--ft-typography-subtitle1-font-family","",on),mn=we.extend("--ft-typography-subtitle1-font-size","",rn.fontSize,"16px"),vn=we.extend("--ft-typography-subtitle1-font-weight","",rn.fontWeight,"600"),xn=we.extend("--ft-typography-subtitle1-letter-spacing","",rn.letterSpacing,"0.144px"),On=we.extend("--ft-typography-subtitle1-line-height","",rn.lineHeight,"1.5"),wn=we.extend("--ft-typography-subtitle1-text-transform","",rn.textTransform,"inherit"),Sn=we.extend("--ft-typography-subtitle2-font-family","",on),Nn=we.extend("--ft-typography-subtitle2-font-size","",rn.fontSize,"14px"),Cn=we.extend("--ft-typography-subtitle2-font-weight","",rn.fontWeight,"normal"),$n=we.extend("--ft-typography-subtitle2-letter-spacing","",rn.letterSpacing,"0.098px"),En=we.extend("--ft-typography-subtitle2-line-height","",rn.lineHeight,"1.7"),Rn=we.extend("--ft-typography-subtitle2-text-transform","",rn.textTransform,"inherit"),kn=we.extend("--ft-typography-body1-font-family","",on),Un=we.extend("--ft-typography-body1-font-size","",rn.fontSize,"16px"),In=we.extend("--ft-typography-body1-font-weight","",rn.fontWeight,"normal"),Ln=we.extend("--ft-typography-body1-letter-spacing","",rn.letterSpacing,"0.496px"),Wn=we.extend("--ft-typography-body1-line-height","",rn.lineHeight,"1.5"),jn=we.extend("--ft-typography-body1-text-transform","",rn.textTransform,"inherit"),An=we.extend("--ft-typography-body2-font-family","",on),Fn=we.extend("--ft-typography-body2-font-size","",rn.fontSize,"14px"),Kn=we.extend("--ft-typography-body2-font-weight","",rn.fontWeight,"normal"),zn=we.extend("--ft-typography-body2-letter-spacing","",rn.letterSpacing,"0.252px"),Zn=we.extend("--ft-typography-body2-line-height","",rn.lineHeight,"1.4"),Mn=we.extend("--ft-typography-body2-text-transform","",rn.textTransform,"inherit"),Pn=we.extend("--ft-typography-caption-font-family","",on),Bn=we.extend("--ft-typography-caption-font-size","",rn.fontSize,"12px"),Dn=we.extend("--ft-typography-caption-font-weight","",rn.fontWeight,"normal"),Tn=we.extend("--ft-typography-caption-letter-spacing","",rn.letterSpacing,"0.396px"),_n=we.extend("--ft-typography-caption-line-height","",rn.lineHeight,"1.33"),Hn=we.extend("--ft-typography-caption-text-transform","",rn.textTransform,"inherit"),Gn=we.extend("--ft-typography-breadcrumb-font-family","",on),Vn=we.extend("--ft-typography-breadcrumb-font-size","",rn.fontSize,"10px"),Yn=we.extend("--ft-typography-breadcrumb-font-weight","",rn.fontWeight,"normal"),qn=we.extend("--ft-typography-breadcrumb-letter-spacing","",rn.letterSpacing,"0.33px"),Jn=we.extend("--ft-typography-breadcrumb-line-height","",rn.lineHeight,"1.6"),Xn=we.extend("--ft-typography-breadcrumb-text-transform","",rn.textTransform,"inherit"),Qn=we.extend("--ft-typography-overline-font-family","",on),ta=we.extend("--ft-typography-overline-font-size","",rn.fontSize,"10px"),ea=we.extend("--ft-typography-overline-font-weight","",rn.fontWeight,"normal"),oa=we.extend("--ft-typography-overline-letter-spacing","",rn.letterSpacing,"1.5px"),ra=we.extend("--ft-typography-overline-line-height","",rn.lineHeight,"1.6"),ia=we.extend("--ft-typography-overline-text-transform","",rn.textTransform,"uppercase"),na={fontFamily:we.extend("--ft-typography-button-font-family","",on),fontSize:we.extend("--ft-typography-button-font-size","",rn.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",rn.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",rn.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",rn.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",rn.textTransform,"uppercase")},aa=wt`
238
239
  .ft-typography--title {
239
- font-family: ${ri};
240
- font-size: ${ii};
241
- font-weight: ${ni};
242
- letter-spacing: ${ai};
243
- line-height: ${si};
244
- text-transform: ${ci};
245
- }
246
- `,an=wt`
240
+ font-family: ${nn};
241
+ font-size: ${an};
242
+ font-weight: ${sn};
243
+ letter-spacing: ${cn};
244
+ line-height: ${ln};
245
+ text-transform: ${fn};
246
+ }
247
+ `,sa=wt`
247
248
  .ft-typography--title-dense {
248
- font-family: ${li};
249
- font-size: ${fi};
250
- font-weight: ${pi};
251
- letter-spacing: ${hi};
252
- line-height: ${ui};
253
- text-transform: ${di};
254
- }
255
- `,sn=wt`
249
+ font-family: ${pn};
250
+ font-size: ${hn};
251
+ font-weight: ${un};
252
+ letter-spacing: ${dn};
253
+ line-height: ${yn};
254
+ text-transform: ${gn};
255
+ }
256
+ `,ca=wt`
256
257
  .ft-typography--subtitle1 {
257
- font-family: ${yi};
258
- font-size: ${gi};
259
- font-weight: ${bi};
260
- letter-spacing: ${mi};
261
- line-height: ${vi};
262
- text-transform: ${xi};
263
- }
264
- `,cn=wt`
258
+ font-family: ${bn};
259
+ font-size: ${mn};
260
+ font-weight: ${vn};
261
+ letter-spacing: ${xn};
262
+ line-height: ${On};
263
+ text-transform: ${wn};
264
+ }
265
+ `,la=wt`
265
266
  .ft-typography--subtitle2 {
266
- font-family: ${Oi};
267
- font-size: ${wi};
268
- font-weight: ${Si};
269
- letter-spacing: ${Ni};
270
- line-height: ${Ci};
271
- text-transform: ${$i};
267
+ font-family: ${Sn};
268
+ font-size: ${Nn};
269
+ font-weight: ${Cn};
270
+ letter-spacing: ${$n};
271
+ line-height: ${En};
272
+ text-transform: ${Rn};
272
273
  }
273
274
 
274
- `,ln=wt`
275
+ `,fa=wt`
275
276
  .ft-typography--body1 {
276
- font-family: ${Ei};
277
- font-size: ${Ri};
278
- font-weight: ${ki};
279
- letter-spacing: ${Ui};
280
- line-height: ${Ii};
281
- text-transform: ${Li};
282
- }
283
- `,fn=wt`
277
+ font-family: ${kn};
278
+ font-size: ${Un};
279
+ font-weight: ${In};
280
+ letter-spacing: ${Ln};
281
+ line-height: ${Wn};
282
+ text-transform: ${jn};
283
+ }
284
+ `,pa=wt`
284
285
  .ft-typography--body2 {
285
- font-family: ${Wi};
286
- font-size: ${ji};
287
- font-weight: ${Ai};
288
- letter-spacing: ${Fi};
289
- line-height: ${Ki};
290
- text-transform: ${zi};
291
- }
292
- `,pn=wt`
286
+ font-family: ${An};
287
+ font-size: ${Fn};
288
+ font-weight: ${Kn};
289
+ letter-spacing: ${zn};
290
+ line-height: ${Zn};
291
+ text-transform: ${Mn};
292
+ }
293
+ `,ha=wt`
293
294
  .ft-typography--caption {
294
- font-family: ${Zi};
295
- font-size: ${Mi};
296
- font-weight: ${Pi};
297
- letter-spacing: ${Bi};
298
- line-height: ${Di};
299
- text-transform: ${Ti};
300
- }
301
- `,hn=wt`
295
+ font-family: ${Pn};
296
+ font-size: ${Bn};
297
+ font-weight: ${Dn};
298
+ letter-spacing: ${Tn};
299
+ line-height: ${_n};
300
+ text-transform: ${Hn};
301
+ }
302
+ `,ua=wt`
302
303
  .ft-typography--breadcrumb {
303
- font-family: ${_i};
304
- font-size: ${Hi};
305
- font-weight: ${Gi};
306
- letter-spacing: ${Vi};
307
- line-height: ${Yi};
308
- text-transform: ${qi};
309
- }
310
- `,un=wt`
304
+ font-family: ${Gn};
305
+ font-size: ${Vn};
306
+ font-weight: ${Yn};
307
+ letter-spacing: ${qn};
308
+ line-height: ${Jn};
309
+ text-transform: ${Xn};
310
+ }
311
+ `,da=wt`
311
312
  .ft-typography--overline {
312
- font-family: ${Ji};
313
- font-size: ${Xi};
314
- font-weight: ${Qi};
315
- letter-spacing: ${tn};
316
- line-height: ${en};
317
- text-transform: ${on};
318
- }
319
- `,dn=wt`
313
+ font-family: ${Qn};
314
+ font-size: ${ta};
315
+ font-weight: ${ea};
316
+ letter-spacing: ${oa};
317
+ line-height: ${ra};
318
+ text-transform: ${ia};
319
+ }
320
+ `,ya=wt`
320
321
  .ft-typography--button {
321
- font-family: ${rn.fontFamily};
322
- font-size: ${rn.fontSize};
323
- font-weight: ${rn.fontWeight};
324
- letter-spacing: ${rn.letterSpacing};
325
- line-height: ${rn.lineHeight};
326
- text-transform: ${rn.textTransform};
327
- }
328
- `,yn=wt`
322
+ font-family: ${na.fontFamily};
323
+ font-size: ${na.fontSize};
324
+ font-weight: ${na.fontWeight};
325
+ letter-spacing: ${na.letterSpacing};
326
+ line-height: ${na.lineHeight};
327
+ text-transform: ${na.textTransform};
328
+ }
329
+ `,ga=wt`
329
330
  .ft-typography {
330
331
  vertical-align: inherit;
331
332
  }
332
- `,gn=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return wt`
333
+ `,ba=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return wt`
333
334
  .ft-typography--${Ot(t)} {
334
335
  font-family: ${e.fontFamily};
335
336
  font-size: ${e.fontSize};
@@ -338,7 +339,7 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
338
339
  line-height: ${e.lineHeight};
339
340
  text-transform: ${e.textCase};
340
341
  }
341
- `}(t)))],bn={color:we.extend("--ft-loader-color","",Re.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},mn=wt`
342
+ `}(t)))],ma={color:we.extend("--ft-loader-color","",Re.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},va=wt`
342
343
  :host {
343
344
  line-height: 0;
344
345
  }
@@ -347,8 +348,8 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
347
348
  display: inline-block;
348
349
  position: relative;
349
350
 
350
- width: ${bn.size};
351
- height: ${bn.size};
351
+ width: ${ma.size};
352
+ height: ${ma.size};
352
353
  }
353
354
 
354
355
  .ft-loader div {
@@ -357,7 +358,7 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
357
358
  width: 25%;
358
359
  height: 25%;
359
360
  border-radius: 50%;
360
- background: ${bn.color};
361
+ background: ${ma.color};
361
362
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
362
363
  }
363
364
 
@@ -404,10 +405,10 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
404
405
  transform: translate(0, 0);
405
406
  }
406
407
  100% {
407
- transform: translate(calc(0.35 * ${bn.size}), 0);
408
+ transform: translate(calc(0.35 * ${ma.size}), 0);
408
409
  }
409
410
  }
410
- `,vn={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xn=wt`
411
+ `,xa={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Oa=wt`
411
412
  :host, i.ft-icon {
412
413
  display: inline-flex;
413
414
  align-items: center;
@@ -416,14 +417,14 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
416
417
  }
417
418
 
418
419
  :host {
419
- width: ${vn.size};
420
- height: ${vn.size};
420
+ width: ${xa.size};
421
+ height: ${xa.size};
421
422
  }
422
423
 
423
424
  i.ft-icon {
424
425
  width: 100%;
425
426
  height: 100%;
426
- font-size: ${vn.size};
427
+ font-size: ${xa.size};
427
428
  line-height: 1;
428
429
  font-weight: normal;
429
430
  text-transform: none;
@@ -434,28 +435,28 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
434
435
  text-rendering: auto;
435
436
  -webkit-font-smoothing: antialiased;
436
437
  -moz-osx-font-smoothing: grayscale;
437
- vertical-align: ${vn.verticalAlign};
438
+ vertical-align: ${xa.verticalAlign};
438
439
  }
439
440
 
440
441
  i.ft-icon.ft-icon--fluid-topics {
441
- font-family: ${vn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
442
+ font-family: ${xa.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
442
443
 
443
444
  /* Ugly fix because font is broken */
444
- font-size: calc(0.75 * ${vn.size});
445
- line-height: ${vn.size};
445
+ font-size: calc(0.75 * ${xa.size});
446
+ line-height: ${xa.size};
446
447
  position: relative;
447
448
  top: -4%;
448
449
  justify-content: center;
449
450
  }
450
451
 
451
452
  .ft-icon--file-format {
452
- font-family: ${vn.fileFormatFontFamily}, ft-mime, sans-serif;
453
+ font-family: ${xa.fileFormatFontFamily}, ft-mime, sans-serif;
453
454
  }
454
455
 
455
456
  .ft-icon--material {
456
- font-family: ${vn.materialFontFamily}, "Material Icons", sans-serif;
457
+ font-family: ${xa.materialFontFamily}, "Material Icons", sans-serif;
457
458
  }
458
- `,On=we.extend("--ft-button-color","",Re.colorPrimary),wn={backgroundColor:we.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",Re.borderRadiusL),color:On,fontSize:we.extend("--ft-button-font-size","",rn.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",On),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external(Re.colorOpacityDisabled,"Design system")},Sn=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",Re.colorOnPrimary)),Nn={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",Re.colorPrimary)),color:Sn,rippleColor:we.extend("--ft-button-primary-ripple-color","",Sn)},Cn=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",Re.borderRadiusM)),$n=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),En=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Rn=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),kn=[wt`
459
+ `,wa=we.extend("--ft-button-color","",Re.colorPrimary),Sa={backgroundColor:we.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",Re.borderRadiusL),color:wa,fontSize:we.extend("--ft-button-font-size","",na.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",wa),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external(Re.colorOpacityDisabled,"Design system")},Na=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",Re.colorOnPrimary)),Ca={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",Re.colorPrimary)),color:Na,rippleColor:we.extend("--ft-button-primary-ripple-color","",Na)},$a=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",Re.borderRadiusM)),Ea=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ra=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ka=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ua=[wt`
459
460
  :host {
460
461
  display: inline-block;
461
462
  max-width: 100%;
@@ -466,7 +467,7 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
466
467
  box-shadow: 0px 0px 0px transparent;
467
468
  border: 0px solid transparent;
468
469
  text-shadow: 0px 0px 0px transparent;
469
- font-size: ${wn.fontSize};
470
+ font-size: ${Sa.fontSize};
470
471
  }
471
472
 
472
473
  button:hover {
@@ -495,31 +496,31 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
495
496
  border: none;
496
497
  pointer-events: auto;
497
498
 
498
- --ft-button-internal-line-height: max(calc(${wn.fontSize} + 2px), ${wn.iconSize});
499
- --ft-button-internal-color: ${wn.color};
500
- ${Se(vn.size,wn.iconSize)};
501
- ${Se(Hr.color,wn.rippleColor)};
499
+ --ft-button-internal-line-height: max(calc(${Sa.fontSize} + 2px), ${Sa.iconSize});
500
+ --ft-button-internal-color: ${Sa.color};
501
+ ${Se(xa.size,Sa.iconSize)};
502
+ ${Se(Gi.color,Sa.rippleColor)};
502
503
 
503
- border-radius: ${wn.borderRadius};
504
- padding: ${wn.verticalPadding} ${wn.horizontalPadding};
505
- background-color: ${wn.backgroundColor};
504
+ border-radius: ${Sa.borderRadius};
505
+ padding: ${Sa.verticalPadding} ${Sa.horizontalPadding};
506
+ background-color: ${Sa.backgroundColor};
506
507
  color: var(--ft-button-internal-color);
507
508
  -webkit-mask-image: radial-gradient(white, black);
508
509
  }
509
510
 
510
511
  .ft-button.ft-button--outlined {
511
512
  border: 1px solid var(--ft-button-internal-color);
512
- padding: calc(${wn.verticalPadding} - 1px) calc(${wn.horizontalPadding} - 1px);
513
+ padding: calc(${Sa.verticalPadding} - 1px) calc(${Sa.horizontalPadding} - 1px);
513
514
  }
514
515
 
515
516
  .ft-button.ft-button--dense {
516
- padding: ${$n} ${En};
517
- border-radius: ${Cn};
518
- gap: ${Rn};
517
+ padding: ${Ea} ${Ra};
518
+ border-radius: ${$a};
519
+ gap: ${ka};
519
520
  }
520
521
 
521
522
  .ft-button.ft-button--dense.ft-button--outlined {
522
- padding: calc(${$n} - 1px) calc(${En} - 1px);
523
+ padding: calc(${Ea} - 1px) calc(${Ra} - 1px);
523
524
  }
524
525
 
525
526
  .ft-button:not([disabled]):hover {
@@ -527,22 +528,22 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
527
528
  }
528
529
 
529
530
  .ft-button--round {
530
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wn.verticalPadding});
531
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sa.verticalPadding});
531
532
  }
532
533
 
533
534
  .ft-button--round.ft-button--dense {
534
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$n});
535
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ea});
535
536
  }
536
537
 
537
538
  .ft-button[disabled] {
538
539
  filter: grayscale(1);
539
- opacity: ${wn.opacityDisabled};
540
+ opacity: ${Sa.opacityDisabled};
540
541
  }
541
542
 
542
543
  .ft-button.ft-button--primary {
543
- background-color: ${Nn.backgroundColor};
544
- --ft-button-internal-color: ${Nn.color};
545
- ${Se(Hr.color,Nn.rippleColor)};
544
+ background-color: ${Ca.backgroundColor};
545
+ --ft-button-internal-color: ${Ca.color};
546
+ ${Se(Gi.color,Ca.rippleColor)};
546
547
  }
547
548
 
548
549
  .ft-button:focus {
@@ -555,13 +556,13 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
555
556
  white-space: nowrap;
556
557
  text-overflow: ellipsis;
557
558
  display: block;
558
- margin: 0 ${wn.iconPadding};
559
- ${Se(rn.fontSize,"1em")};
560
- ${Se(rn.lineHeight,"var(--ft-button-internal-line-height)")};
559
+ margin: 0 ${Sa.iconPadding};
560
+ ${Se(na.fontSize,"1em")};
561
+ ${Se(na.lineHeight,"var(--ft-button-internal-line-height)")};
561
562
  }
562
563
 
563
564
  .ft-button--dense .ft-button--label {
564
- margin: 0 ${Rn};
565
+ margin: 0 ${ka};
565
566
  }
566
567
 
567
568
  .ft-button--label[hidden] {
@@ -574,13 +575,13 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
574
575
  }
575
576
 
576
577
  .ft-button--label[hidden] + ft-icon {
577
- margin: 0 calc(${wn.horizontalPadding} * -1);
578
- padding: 0 ${wn.verticalPadding};
578
+ margin: 0 calc(${Sa.horizontalPadding} * -1);
579
+ padding: 0 ${Sa.verticalPadding};
579
580
  }
580
581
 
581
582
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
582
- margin: 0 calc(${En} * -1);
583
- padding: 0 ${$n};
583
+ margin: 0 calc(${Ra} * -1);
584
+ padding: 0 ${Ea};
584
585
  }
585
586
 
586
587
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -589,39 +590,39 @@ let ve=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
589
590
  }
590
591
 
591
592
  ft-loader {
592
- ${Se(bn.size,wn.iconSize)};
593
- ${Se(bn.color,"var(--ft-button-internal-color)")};
593
+ ${Se(ma.size,Sa.iconSize)};
594
+ ${Se(ma.color,"var(--ft-button-internal-color)")};
594
595
  }
595
- `,Ze],Un=1,In=2,Ln=t=>(...e)=>({_$litDirective$:t,values:e});let Wn=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
596
+ `,Po],Ia=1,La=2,Wa=t=>(...e)=>({_$litDirective$:t,values:e});let ja=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
596
597
  /**
597
598
  * @license
598
599
  * Copyright 2018 Google LLC
599
600
  * SPDX-License-Identifier: BSD-3-Clause
600
- */const jn=Ln(class extends Wn{constructor(t){if(super(t),t.type!==Un||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return ot}});var An=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fn extends Ke{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 i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ie`
601
+ */const Aa=Wa(class extends ja{constructor(t){if(super(t),t.type!==Ia||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return ot}});var Fa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ka extends Zo{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 i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ie`
601
602
  <style>
602
603
  .ft-ripple .ft-ripple--effect {
603
604
  left: ${this.originX}px;
604
605
  top: ${this.originY}px;
605
606
  }
606
607
  </style>
607
- <div class="${jn(t)}">
608
+ <div class="${Aa(t)}">
608
609
  <div class="ft-ripple--background"></div>
609
610
  <div class="ft-ripple--effect"></div>
610
611
  </div>
611
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Fn.elementDefinitions={},Fn.styles=Qr,An([R({type:Boolean})],Fn.prototype,"primary",void 0),An([R({type:Boolean})],Fn.prototype,"secondary",void 0),An([R({type:Boolean})],Fn.prototype,"unbounded",void 0),An([R({type:Boolean})],Fn.prototype,"activated",void 0),An([R({type:Boolean})],Fn.prototype,"selected",void 0),An([R({type:Boolean})],Fn.prototype,"disabled",void 0),An([k()],Fn.prototype,"hovered",void 0),An([k()],Fn.prototype,"focused",void 0),An([k()],Fn.prototype,"pressed",void 0),An([k()],Fn.prototype,"rippling",void 0),An([k()],Fn.prototype,"originX",void 0),An([k()],Fn.prototype,"originY",void 0),An([L(".ft-ripple")],Fn.prototype,"ripple",void 0),An([L(".ft-ripple--effect")],Fn.prototype,"rippleEffect",void 0),j("ft-ripple")(Fn);
612
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ka.elementDefinitions={},Ka.styles=tn,Fa([R({type:Boolean})],Ka.prototype,"primary",void 0),Fa([R({type:Boolean})],Ka.prototype,"secondary",void 0),Fa([R({type:Boolean})],Ka.prototype,"unbounded",void 0),Fa([R({type:Boolean})],Ka.prototype,"activated",void 0),Fa([R({type:Boolean})],Ka.prototype,"selected",void 0),Fa([R({type:Boolean})],Ka.prototype,"disabled",void 0),Fa([k()],Ka.prototype,"hovered",void 0),Fa([k()],Ka.prototype,"focused",void 0),Fa([k()],Ka.prototype,"pressed",void 0),Fa([k()],Ka.prototype,"rippling",void 0),Fa([k()],Ka.prototype,"originX",void 0),Fa([k()],Ka.prototype,"originY",void 0),Fa([L(".ft-ripple")],Ka.prototype,"ripple",void 0),Fa([L(".ft-ripple--effect")],Ka.prototype,"rippleEffect",void 0),j("ft-ripple")(Ka);
612
613
  /**
613
614
  * @license
614
615
  * Copyright 2020 Google LLC
615
616
  * SPDX-License-Identifier: BSD-3-Clause
616
617
  */
617
- const Kn=Symbol.for(""),zn=t=>{if(t?.r===Kn)return t?._$litStatic$},Zn=t=>({_$litStatic$:t,r:Kn}),Mn=new Map,Pn=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=zn(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Mn.get(t))&&(a.raw=a,Mn.set(t,e=a)),o=s}return t(e,...o)})(et);var Bn;!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"}(Bn||(Bn={}));var Dn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tn extends Ke{constructor(){super(...arguments),this.variant=Bn.body1}render(){return this.element?Pn`
618
- <${Zn(this.element)}
618
+ const za=Symbol.for(""),Za=t=>{if(t?.r===za)return t?._$litStatic$},Ma=t=>({_$litStatic$:t,r:za}),Pa=new Map,Ba=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=Za(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Pa.get(t))&&(a.raw=a,Pa.set(t,e=a)),o=s}return t(e,...o)})(et);var Da;!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"}(Da||(Da={}));var Ta=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _a extends Zo{constructor(){super(...arguments),this.variant=Da.body1}render(){return this.element?Ba`
619
+ <${Ma(this.element)}
619
620
  class="ft-typography ft-typography--${this.variant}">
620
621
  <slot></slot>
621
- </${Zn(this.element)}>
622
- `:Pn`
622
+ </${Ma(this.element)}>
623
+ `:Ba`
623
624
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
624
- `}}Tn.styles=[nn,an,sn,cn,ln,fn,pn,hn,un,dn,yn,...gn],Dn([R()],Tn.prototype,"element",void 0),Dn([R()],Tn.prototype,"variant",void 0),j("ft-typography")(Tn);const _n=we.create("--ft-tooltip-distance","","SIZE","4px"),Hn=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Gn=we.create("--ft-tooltip-background-color","","COLOR","#666666"),Vn=we.create("--ft-tooltip-z-index","","NUMBER","100"),Yn=we.external(Re.borderRadiusS,"Design system"),qn=we.create("--ft-tooltip-max-width","","SIZE","150px"),Jn=wt`
625
+ `}}_a.styles=[aa,sa,ca,la,fa,pa,ha,ua,da,ya,ga,...ba],Ta([R()],_a.prototype,"element",void 0),Ta([R()],_a.prototype,"variant",void 0),j("ft-typography")(_a);const Ha=we.create("--ft-tooltip-distance","","SIZE","4px"),Ga=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Va=we.create("--ft-tooltip-background-color","","COLOR","#666666"),Ya=we.create("--ft-tooltip-z-index","","NUMBER","100"),qa=we.external(Re.borderRadiusS,"Design system"),Ja=we.create("--ft-tooltip-max-width","","SIZE","150px"),Xa=wt`
625
626
  .ft-tooltip--container {
626
627
  display: block;
627
628
  }
@@ -636,21 +637,21 @@ const Kn=Symbol.for(""),zn=t=>{if(t?.r===Kn)return t?._$litStatic$},Zn=t=>({_$li
636
637
  box-sizing: border-box;
637
638
  overflow: hidden;
638
639
  width: max-content;
639
- max-width: ${qn};
640
+ max-width: ${Ja};
640
641
  text-align: center;
641
- padding: ${_n};
642
- z-index: ${Vn};
642
+ padding: ${Ha};
643
+ z-index: ${Ya};
643
644
  }
644
645
 
645
646
  .ft-tooltip--content {
646
647
  padding: 4px 8px;
647
- border-radius: ${Yn};
648
- background-color: ${Gn};
649
- color: ${Hn};
648
+ border-radius: ${qa};
649
+ background-color: ${Va};
650
+ color: ${Ga};
650
651
  position: relative;
651
652
  word-break: break-word;
652
653
  }
653
- `,Xn=["start","end"],Qn=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Xn[0],e+"-"+Xn[1])),[]),ta=Math.min,ea=Math.max,oa=Math.round,ra=t=>({x:t,y:t}),ia={left:"right",right:"left",bottom:"top",top:"bottom"},na={start:"end",end:"start"};function aa(t,e,o){return ea(t,ta(e,o))}function sa(t,e){return"function"==typeof t?t(e):t}function ca(t){return t.split("-")[0]}function la(t){return t.split("-")[1]}function fa(t){return"x"===t?"y":"x"}function pa(t){return"y"===t?"height":"width"}function ha(t){return["top","bottom"].includes(ca(t))?"y":"x"}function ua(t){return fa(ha(t))}function da(t){return t.replace(/left|right|bottom|top/g,(t=>ia[t]))}function ya(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ga(t,e,o){let{reference:r,floating:i}=t;const n=ha(e),a=ua(e),s=pa(a),c=ca(e),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(c){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(la(e)){case"start":u[a]-=h*(o&&l?-1:1);break;case"end":u[a]+=h*(o&&l?-1:1)}return u}async function ba(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=sa(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=ya(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ya(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function ma(t,e,o){return(t?[...o.filter((e=>la(e)===t)),...o.filter((e=>la(e)!==t))]:o.filter((t=>ca(t)===t))).filter((o=>!t||(la(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>na[t]))}(o)!==o)))}const va=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Qn,autoAlignment:u=!0,...d}=sa(t,e),y=void 0!==p||h===Qn?ma(p||null,u,h):h,g=await ba(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=la(t),i=ua(t),n=pa(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=da(a)),[a,da(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[ca(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=la(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,la(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function xa(t){return Sa(t)?(t.nodeName||"").toLowerCase():"#document"}function Oa(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function wa(t){var e;return null==(e=(Sa(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Sa(t){return t instanceof Node||t instanceof Oa(t).Node}function Na(t){return t instanceof Element||t instanceof Oa(t).Element}function Ca(t){return t instanceof HTMLElement||t instanceof Oa(t).HTMLElement}function $a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Oa(t).ShadowRoot)}function Ea(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=La(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Ra(t){return["table","td","th"].includes(xa(t))}function ka(t){const e=Ua(),o=La(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Ua(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ia(t){return["html","body","#document"].includes(xa(t))}function La(t){return Oa(t).getComputedStyle(t)}function Wa(t){return Na(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ja(t){if("html"===xa(t))return t;const e=t.assignedSlot||t.parentNode||$a(t)&&t.host||wa(t);return $a(e)?e.host:e}function Aa(t){const e=ja(t);return Ia(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ca(e)&&Ea(e)?e:Aa(e)}function Fa(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Aa(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Oa(i);return n?e.concat(a,a.visualViewport||[],Ea(i)?i:[],a.frameElement&&o?Fa(a.frameElement):[]):e.concat(i,Fa(i,[],o))}function Ka(t){const e=La(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Ca(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=oa(o)!==n||oa(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function za(t){return Na(t)?t:t.contextElement}function Za(t){const e=za(t);if(!Ca(e))return ra(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Ka(e);let a=(n?oa(o.width):o.width)/r,s=(n?oa(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ma=ra(0);function Pa(t){const e=Oa(t);return Ua()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ma}function Ba(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=za(t);let a=ra(1);e&&(r?Na(r)&&(a=Za(r)):a=Za(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Oa(t))&&e}(n,o,r)?Pa(n):ra(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Oa(n),e=r&&Na(r)?Oa(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Za(o),e=o.getBoundingClientRect(),r=La(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,o=Oa(o).frameElement}}return ya({width:f,height:p,x:c,y:l})}function Da(t){return Ba(wa(t)).left+Wa(t).scrollLeft}function Ta(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Oa(t),r=wa(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=Ua();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=wa(t),o=Wa(t),r=t.ownerDocument.body,i=ea(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=ea(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Da(t);const s=-o.scrollTop;return"rtl"===La(r).direction&&(a+=ea(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(wa(t));else if(Na(e))r=function(t,e){const o=Ba(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Ca(t)?Za(t):ra(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=Pa(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return ya(r)}function _a(t,e){const o=ja(t);return!(o===e||!Na(o)||Ia(o))&&("fixed"===La(o).position||_a(o,e))}function Ha(t,e,o){const r=Ca(e),i=wa(e),n="fixed"===o,a=Ba(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=ra(0);if(r||!r&&!n)if(("body"!==xa(e)||Ea(i))&&(s=Wa(e)),r){const t=Ba(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=Da(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Ga(t,e){return Ca(t)&&"fixed"!==La(t).position?e?e(t):t.offsetParent:null}function Va(t,e){const o=Oa(t);if(!Ca(t))return o;let r=Ga(t,e);for(;r&&Ra(r)&&"static"===La(r).position;)r=Ga(r,e);return r&&("html"===xa(r)||"body"===xa(r)&&"static"===La(r).position&&!ka(r))?o:r||function(t){let e=ja(t);for(;Ca(e)&&!Ia(e);){if(ka(e))return e;e=ja(e)}return null}(t)||o}const Ya={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Ca(o),n=wa(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=ra(1);const c=ra(0);if((i||!i&&"fixed"!==r)&&(("body"!==xa(o)||Ea(n))&&(a=Wa(o)),Ca(o))){const t=Ba(o);s=Za(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:wa,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Fa(t,[],!1).filter((t=>Na(t)&&"body"!==xa(t))),i=null;const n="fixed"===La(t).position;let a=n?ja(t):t;for(;Na(a)&&!Ia(a);){const e=La(a),o=ka(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Ea(a)&&!o&&_a(t,a))?r=r.filter((t=>t!==a)):i=e,a=ja(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],c=a.reduce(((t,o)=>{const r=Ta(e,o,i);return t.top=ea(r.top,t.top),t.right=ta(r.right,t.right),t.bottom=ta(r.bottom,t.bottom),t.left=ea(r.left,t.left),t}),Ta(e,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Va,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Va,n=this.getDimensions;return{reference:Ha(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ka(t)},getScale:Za,isElement:Na,isRTL:function(t){return"rtl"===La(t).direction}},qa=(t,e,o)=>{const r=new Map,i={platform:Ya,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=ga(l,r,c),h=r,u={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=ga(l,h,c))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,e,{...i,platform:n})};function Ja(t){return function(t){for(let e=t;e;e=Xa(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Xa(t);e;e=Xa(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Xa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Qa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ts extends Ke{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ie`
654
+ `;var Qa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ts extends Zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ie`
654
655
  <div part="container"
655
656
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
656
657
  @mouseenter=${this.onHover}
@@ -668,34 +669,34 @@ const Kn=Symbol.for(""),zn=t=>{if(t?.r===Kn)return t?._$litStatic$},Zn=t=>({_$li
668
669
  </div>
669
670
  </div>
670
671
  </div>
671
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",qa(this.slottedElement,this.tooltip,{platform:{...Ya,getOffsetParent:t=>Ya.getOffsetParent(t,Ja)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:i}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=sa(t,e),l={x:o,y:r},f=await ba(e,c),p=ha(ca(i)),h=fa(p);let u=l[h],d=l[p];if(n){const t="y"===h?"bottom":"right";u=aa(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=aa(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...e,[h]:u,[p]:d});return{...y,data:{x:y.x-o,y:y.y-r}}}}),va({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ts.elementDefinitions={"ft-typography":Tn},ts.styles=Jn,Qa([R()],ts.prototype,"text",void 0),Qa([R({type:Boolean})],ts.prototype,"manual",void 0),Qa([R({type:Boolean})],ts.prototype,"inline",void 0),Qa([R({type:Number})],ts.prototype,"delay",void 0),Qa([R()],ts.prototype,"position",void 0),Qa([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],ts.prototype,"slotNodes",void 0),Qa([L(".ft-tooltip--container")],ts.prototype,"container",void 0),Qa([L(".ft-tooltip")],ts.prototype,"tooltip",void 0),Qa([L(".ft-tooltip--content")],ts.prototype,"tooltipContent",void 0),Qa([k()],ts.prototype,"visible",void 0),Qa([U({passive:!0})],ts.prototype,"onTouch",null),Qa([U({passive:!0})],ts.prototype,"onHover",null),Qa([U({passive:!0})],ts.prototype,"onOut",null),Qa([U({passive:!0})],ts.prototype,"onClick",null),j("ft-tooltip")(ts);
672
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Ro(t,e,{platform:{...Eo,getOffsetParent:t=>Eo.getOffsetParent(t,ko)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=ze(r,t),l={x:e,y:o},f=await Ve(t,c),p=De(Ze(i)),h=Pe(p);let u=l[h],d=l[p];if(n){const t="y"===h?"bottom":"right";u=Ke(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=Ke(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),qe({allowedPlacements:[o]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ts.elementDefinitions={"ft-typography":_a},ts.styles=Xa,Qa([R()],ts.prototype,"text",void 0),Qa([R({type:Boolean})],ts.prototype,"manual",void 0),Qa([R({type:Boolean})],ts.prototype,"inline",void 0),Qa([R({type:Number})],ts.prototype,"delay",void 0),Qa([R()],ts.prototype,"position",void 0),Qa([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],ts.prototype,"slotNodes",void 0),Qa([L(".ft-tooltip--container")],ts.prototype,"container",void 0),Qa([L(".ft-tooltip")],ts.prototype,"tooltip",void 0),Qa([L(".ft-tooltip--content")],ts.prototype,"tooltipContent",void 0),Qa([k()],ts.prototype,"visible",void 0),Qa([U({passive:!0})],ts.prototype,"onTouch",null),Qa([U({passive:!0})],ts.prototype,"onHover",null),Qa([U({passive:!0})],ts.prototype,"onOut",null),Qa([U({passive:!0})],ts.prototype,"onClick",null),j("ft-tooltip")(ts);
672
673
  /**
673
674
  * @license
674
675
  * Copyright 2017 Google LLC
675
676
  * SPDX-License-Identifier: BSD-3-Clause
676
677
  */
677
- class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}es.directiveName="unsafeHTML",es.resultType=1;const os=Ln(es);var rs,is,ns;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",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_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(rs||(rs={})),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;"}(is||(is={})),new Map([...["abw"].map((t=>[t,is.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,is.AUDIO])),...["avi"].map((t=>[t,is.AVI])),...["chm","xhs"].map((t=>[t,is.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,is.CODE])),...["csv"].map((t=>[t,is.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,is.DITA])),...["epub"].map((t=>[t,is.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,is.EXCEL])),...["flac"].map((t=>[t,is.FLAC])),...["gif"].map((t=>[t,is.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,is.GZIP])),...["html","htm","xhtml"].map((t=>[t,is.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,is.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,is.JPEG])),...["json"].map((t=>[t,is.JSON])),...["m4a","m4p"].map((t=>[t,is.M4A])),...["mov","qt"].map((t=>[t,is.MOV])),...["mp3"].map((t=>[t,is.MP3])),...["mp4","m4v"].map((t=>[t,is.MP4])),...["ogg","oga"].map((t=>[t,is.OGG])),...["pdf","ps"].map((t=>[t,is.PDF])),...["png"].map((t=>[t,is.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,is.POWERPOINT])),...["rar"].map((t=>[t,is.RAR])),...["stp"].map((t=>[t,is.STP])),...["txt","rtf","md","mdown"].map((t=>[t,is.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,is.VIDEO])),...["wav"].map((t=>[t,is.WAV])),...["wma"].map((t=>[t,is.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,is.WORD])),...["xml","xsl","rdf"].map((t=>[t,is.XML])),...["yaml","yml","x-yaml"].map((t=>[t,is.YAML])),...["zip"].map((t=>[t,is.ZIP]))]),is.ABW,is.AUDIO,is.AVI,is.CHM,is.CODE,is.CSV,is.DITA,is.EPUB,is.EXCEL,is.FLAC,is.GIF,is.GZIP,is.HTML,is.IMAGE,is.JPEG,is.JSON,is.M4A,is.MOV,is.MP3,is.MP4,is.OGG,is.PDF,is.PNG,is.POWERPOINT,is.RAR,is.STP,is.TEXT,is.UNKNOWN,is.VIDEO,is.WAV,is.WMA,is.WORD,is.XML,is.YAML,is.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ns||(ns={}));var as=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ss extends Ke{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(ns).includes(this.variant)?this.variant:ns.fluid_topics,e=t!==ns.material||!!this.value;return ie`
678
+ class es extends ja{constructor(t){if(super(t),this.et=rt,t.type!==La)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}es.directiveName="unsafeHTML",es.resultType=1;const os=Wa(es);var rs,is,ns;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",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_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(rs||(rs={})),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;"}(is||(is={})),new Map([...["abw"].map((t=>[t,is.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,is.AUDIO])),...["avi"].map((t=>[t,is.AVI])),...["chm","xhs"].map((t=>[t,is.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,is.CODE])),...["csv"].map((t=>[t,is.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,is.DITA])),...["epub"].map((t=>[t,is.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,is.EXCEL])),...["flac"].map((t=>[t,is.FLAC])),...["gif"].map((t=>[t,is.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,is.GZIP])),...["html","htm","xhtml"].map((t=>[t,is.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,is.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,is.JPEG])),...["json"].map((t=>[t,is.JSON])),...["m4a","m4p"].map((t=>[t,is.M4A])),...["mov","qt"].map((t=>[t,is.MOV])),...["mp3"].map((t=>[t,is.MP3])),...["mp4","m4v"].map((t=>[t,is.MP4])),...["ogg","oga"].map((t=>[t,is.OGG])),...["pdf","ps"].map((t=>[t,is.PDF])),...["png"].map((t=>[t,is.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,is.POWERPOINT])),...["rar"].map((t=>[t,is.RAR])),...["stp"].map((t=>[t,is.STP])),...["txt","rtf","md","mdown"].map((t=>[t,is.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,is.VIDEO])),...["wav"].map((t=>[t,is.WAV])),...["wma"].map((t=>[t,is.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,is.WORD])),...["xml","xsl","rdf"].map((t=>[t,is.XML])),...["yaml","yml","x-yaml"].map((t=>[t,is.YAML])),...["zip"].map((t=>[t,is.ZIP]))]),is.ABW,is.AUDIO,is.AVI,is.CHM,is.CODE,is.CSV,is.DITA,is.EPUB,is.EXCEL,is.FLAC,is.GIF,is.GZIP,is.HTML,is.IMAGE,is.JPEG,is.JSON,is.M4A,is.MOV,is.MP3,is.MP4,is.OGG,is.PDF,is.PNG,is.POWERPOINT,is.RAR,is.STP,is.TEXT,is.UNKNOWN,is.VIDEO,is.WAV,is.WMA,is.WORD,is.XML,is.YAML,is.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ns||(ns={}));var as=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ss extends Zo{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(ns).includes(this.variant)?this.variant:ns.fluid_topics,e=t!==ns.material||!!this.value;return ie`
678
679
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
679
680
  ${os(this.resolvedIcon)}
680
681
  <slot ?hidden=${e}></slot>
681
682
  </i>
682
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ns.file_format:this.resolvedIcon=null!==(t=is[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ns.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=rs[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ss.elementDefinitions={},ss.styles=xn,as([R()],ss.prototype,"variant",void 0),as([R()],ss.prototype,"value",void 0),as([k()],ss.prototype,"resolvedIcon",void 0),as([L("slot")],ss.prototype,"slottedContent",void 0),j("ft-icon")(ss);class cs extends Ke{render(){return ie`
683
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ns.file_format:this.resolvedIcon=null!==(t=is[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ns.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=rs[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ss.elementDefinitions={},ss.styles=Oa,as([R()],ss.prototype,"variant",void 0),as([R()],ss.prototype,"value",void 0),as([k()],ss.prototype,"resolvedIcon",void 0),as([L("slot")],ss.prototype,"slottedContent",void 0),j("ft-icon")(ss);class cs extends Zo{render(){return ie`
683
684
  <div class="ft-loader">
684
685
  <div></div>
685
686
  <div></div>
686
687
  <div></div>
687
688
  <div></div>
688
689
  </div>
689
- `}}cs.styles=mn,j("ft-loader")(cs);var ls=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fs extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Mr].form}constructor(...t){super(t),this[Mr]=this.attachInternals(),this[Mr].role=e}setFormValue(t){this[Mr].setFormValue(t)}}}(Ke,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ie`
690
+ `}}cs.styles=va,j("ft-loader")(cs);var ls=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fs extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Pi].form}constructor(...t){super(t),this[Pi]=this.attachInternals(),this[Pi].role=e}setFormValue(t){this[Pi].setFormValue(t)}}}(Zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ie`
690
691
  <button part="button"
691
- class="${jn(this.buttonClasses)}"
692
+ class="${Aa(this.buttonClasses)}"
692
693
  aria-label="${this.getLabel()}"
693
694
  ?disabled=${this.isDisabled()}>
694
695
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
695
696
  <ft-typography part="label"
696
697
  variant=${this.typographyVariant}
697
698
  element="span"
698
- class="ft-button--label ${Tr?"ft-safari-ellipsis-fix":""}"
699
+ class="ft-button--label ${_i?"ft-safari-ellipsis-fix":""}"
699
700
  ?hidden=${!this.hasTextContent()}>
700
701
  <slot @slotchange=${this.onSlotchange}></slot>
701
702
  </ft-typography>
@@ -709,7 +710,7 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
709
710
  </ft-tooltip>
710
711
  `:t}resolveIcon(){return this.loading?ie`
711
712
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ie`
712
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fs.elementDefinitions={"ft-ripple":Fn,"ft-tooltip":ts,"ft-typography":Tn,"ft-icon":ss,"ft-loader":cs},ls([R({type:String,reflect:!0})],fs.prototype,"role",void 0),ls([R()],fs.prototype,"type",void 0),ls([R({type:Boolean})],fs.prototype,"disabled",void 0),ls([R()],fs.prototype,"label",void 0),ls([R()],fs.prototype,"icon",void 0),ls([R()],fs.prototype,"iconVariant",void 0),ls([R({type:Boolean})],fs.prototype,"trailingIcon",void 0),ls([R({type:Boolean})],fs.prototype,"loading",void 0),ls([R()],fs.prototype,"tooltipPosition",void 0),ls([R({type:Boolean})],fs.prototype,"hideTooltip",void 0),ls([R({type:Boolean})],fs.prototype,"forceTooltip",void 0),ls([L(".ft-button")],fs.prototype,"button",void 0),ls([L(".ft-button--label slot")],fs.prototype,"slottedContent",void 0);var ps=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hs extends fs{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hs.styles=[Me,kn],ps([R({type:Boolean})],hs.prototype,"primary",void 0),ps([R({type:Boolean})],hs.prototype,"outlined",void 0),ps([R({type:Boolean})],hs.prototype,"dense",void 0),ps([R({type:Boolean})],hs.prototype,"round",void 0);const us=[wt`
713
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fs.elementDefinitions={"ft-ripple":Ka,"ft-tooltip":ts,"ft-typography":_a,"ft-icon":ss,"ft-loader":cs},ls([R({type:String,reflect:!0})],fs.prototype,"role",void 0),ls([R()],fs.prototype,"type",void 0),ls([R({type:Boolean})],fs.prototype,"disabled",void 0),ls([R()],fs.prototype,"label",void 0),ls([R()],fs.prototype,"icon",void 0),ls([R()],fs.prototype,"iconVariant",void 0),ls([R({type:Boolean})],fs.prototype,"trailingIcon",void 0),ls([R({type:Boolean})],fs.prototype,"loading",void 0),ls([R()],fs.prototype,"tooltipPosition",void 0),ls([R({type:Boolean})],fs.prototype,"hideTooltip",void 0),ls([R({type:Boolean})],fs.prototype,"forceTooltip",void 0),ls([L(".ft-button")],fs.prototype,"button",void 0),ls([L(".ft-button--label slot")],fs.prototype,"slottedContent",void 0);var ps=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hs extends fs{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hs.styles=[Bo,Ua],ps([R({type:Boolean})],hs.prototype,"primary",void 0),ps([R({type:Boolean})],hs.prototype,"outlined",void 0),ps([R({type:Boolean})],hs.prototype,"dense",void 0),ps([R({type:Boolean})],hs.prototype,"round",void 0);const us=[wt`
713
714
  :host {
714
715
  display: inline-block;
715
716
  max-width: 100%;
@@ -788,13 +789,13 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
788
789
  /** Primary styles **/
789
790
 
790
791
  .ft-button--primary {
791
- ${Se(bn.color,Ee.primaryIconColor)};
792
+ ${Se(ma.color,Ee.primaryIconColor)};
792
793
 
793
- ${Se(Hr.color,Ee.primaryStateLayerColor)};
794
- ${Se(Hr.opacityContentOnSurfaceHover,Ee.primaryStateLayerOpacityHover)};
795
- ${Se(Hr.opacityContentOnSurfaceFocused,Ee.primaryStateLayerOpacityFocus)};
796
- ${Se(Hr.opacityContentOnSurfaceSelected,Ee.primaryStateLayerOpacityActive)};
797
- ${Se(Hr.opacityContentOnSurfacePressed,Ee.primaryStateLayerOpacityActive)};
794
+ ${Se(Gi.color,Ee.primaryStateLayerColor)};
795
+ ${Se(Gi.opacityContentOnSurfaceHover,Ee.primaryStateLayerOpacityHover)};
796
+ ${Se(Gi.opacityContentOnSurfaceFocused,Ee.primaryStateLayerOpacityFocus)};
797
+ ${Se(Gi.opacityContentOnSurfaceSelected,Ee.primaryStateLayerOpacityActive)};
798
+ ${Se(Gi.opacityContentOnSurfacePressed,Ee.primaryStateLayerOpacityActive)};
798
799
 
799
800
  background-color: ${Ee.primaryBackgroundColor};
800
801
  color: ${Ee.primaryColor};
@@ -812,13 +813,13 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
812
813
  /** Secondary styles **/
813
814
 
814
815
  .ft-button--secondary {
815
- ${Se(bn.color,Ee.secondaryIconColor)};
816
+ ${Se(ma.color,Ee.secondaryIconColor)};
816
817
 
817
- ${Se(Hr.color,Ee.secondaryStateLayerColor)};
818
- ${Se(Hr.opacityContentOnSurfaceHover,Ee.secondaryStateLayerOpacityHover)};
819
- ${Se(Hr.opacityContentOnSurfaceFocused,Ee.secondaryStateLayerOpacityFocus)};
820
- ${Se(Hr.opacityContentOnSurfaceSelected,Ee.secondaryStateLayerOpacityActive)};
821
- ${Se(Hr.opacityContentOnSurfacePressed,Ee.secondaryStateLayerOpacityActive)};
818
+ ${Se(Gi.color,Ee.secondaryStateLayerColor)};
819
+ ${Se(Gi.opacityContentOnSurfaceHover,Ee.secondaryStateLayerOpacityHover)};
820
+ ${Se(Gi.opacityContentOnSurfaceFocused,Ee.secondaryStateLayerOpacityFocus)};
821
+ ${Se(Gi.opacityContentOnSurfaceSelected,Ee.secondaryStateLayerOpacityActive)};
822
+ ${Se(Gi.opacityContentOnSurfacePressed,Ee.secondaryStateLayerOpacityActive)};
822
823
 
823
824
  background-color: ${Ee.secondaryBackgroundColor};
824
825
  color: ${Ee.secondaryColor};
@@ -837,13 +838,13 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
837
838
  /** Tertiary styles **/
838
839
 
839
840
  .ft-button--tertiary {
840
- ${Se(bn.color,Ee.tertiaryIconColor)};
841
+ ${Se(ma.color,Ee.tertiaryIconColor)};
841
842
 
842
- ${Se(Hr.color,Ee.tertiaryStateLayerColor)};
843
- ${Se(Hr.opacityContentOnSurfaceHover,Ee.tertiaryStateLayerOpacityHover)};
844
- ${Se(Hr.opacityContentOnSurfaceFocused,Ee.tertiaryStateLayerOpacityFocus)};
845
- ${Se(Hr.opacityContentOnSurfaceSelected,Ee.tertiaryStateLayerOpacityActive)};
846
- ${Se(Hr.opacityContentOnSurfacePressed,Ee.tertiaryStateLayerOpacityActive)};
843
+ ${Se(Gi.color,Ee.tertiaryStateLayerColor)};
844
+ ${Se(Gi.opacityContentOnSurfaceHover,Ee.tertiaryStateLayerOpacityHover)};
845
+ ${Se(Gi.opacityContentOnSurfaceFocused,Ee.tertiaryStateLayerOpacityFocus)};
846
+ ${Se(Gi.opacityContentOnSurfaceSelected,Ee.tertiaryStateLayerOpacityActive)};
847
+ ${Se(Gi.opacityContentOnSurfacePressed,Ee.tertiaryStateLayerOpacityActive)};
847
848
 
848
849
  background-color: ${Ee.tertiaryBackgroundColor};
849
850
  color: ${Ee.tertiaryColor};
@@ -861,13 +862,13 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
861
862
  /** Neutral styles **/
862
863
 
863
864
  .ft-button--neutral {
864
- ${Se(bn.color,Ee.neutralIconColor)};
865
+ ${Se(ma.color,Ee.neutralIconColor)};
865
866
 
866
- ${Se(Hr.backgroundColor,Ee.neutralStateLayerColor)};
867
- ${Se(Hr.opacityContentOnSurfaceHover,Ee.neutralStateLayerOpacityHover)};
868
- ${Se(Hr.opacityContentOnSurfaceFocused,Ee.neutralStateLayerOpacityFocus)};
869
- ${Se(Hr.opacityContentOnSurfaceSelected,Ee.neutralStateLayerOpacityActive)};
870
- ${Se(Hr.opacityContentOnSurfacePressed,Ee.neutralStateLayerOpacityActive)};
867
+ ${Se(Gi.backgroundColor,Ee.neutralStateLayerColor)};
868
+ ${Se(Gi.opacityContentOnSurfaceHover,Ee.neutralStateLayerOpacityHover)};
869
+ ${Se(Gi.opacityContentOnSurfaceFocused,Ee.neutralStateLayerOpacityFocus)};
870
+ ${Se(Gi.opacityContentOnSurfaceSelected,Ee.neutralStateLayerOpacityActive)};
871
+ ${Se(Gi.opacityContentOnSurfacePressed,Ee.neutralStateLayerOpacityActive)};
871
872
 
872
873
  background-color: ${Ee.neutralBackgroundColor};
873
874
  color: ${Ee.neutralColor};
@@ -885,8 +886,8 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
885
886
  /** Large styles **/
886
887
 
887
888
  .ft-button--large {
888
- ${Se(vn.size,Ee.largeIconSize)};
889
- ${Se(bn.size,Ee.largeIconSize)};
889
+ ${Se(xa.size,Ee.largeIconSize)};
890
+ ${Se(ma.size,Ee.largeIconSize)};
890
891
 
891
892
  height: ${Ee.largeHeight};
892
893
  padding: 0 ${Ee.largeHorizontalPadding};
@@ -908,8 +909,8 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
908
909
  /** Small styles **/
909
910
 
910
911
  .ft-button--small {
911
- ${Se(vn.size,Ee.smallIconSize)};
912
- ${Se(bn.size,Ee.smallIconSize)};
912
+ ${Se(xa.size,Ee.smallIconSize)};
913
+ ${Se(ma.size,Ee.smallIconSize)};
913
914
 
914
915
  height: ${Ee.smallHeight};
915
916
  padding: 0 ${Ee.smallHorizontalPadding};
@@ -927,7 +928,7 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
927
928
  width: ${Ee.smallIconOnlyWidth};
928
929
  padding: unset;
929
930
  }
930
- `,Ze];var ds=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ys extends fs{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Bn.caption1medium:Bn.body2medium}}ys.styles=[Me,us],ds([R({type:Boolean})],ys.prototype,"primary",void 0),ds([R({type:Boolean})],ys.prototype,"secondary",void 0),ds([R({type:Boolean})],ys.prototype,"tertiary",void 0),ds([R({type:Boolean})],ys.prototype,"neutral",void 0),ds([R({type:Boolean})],ys.prototype,"small",void 0),j("ft-button")(hs),j("ftds-button")(ys);const gs={spacing:we.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:we.extend("--ft-copy-block-border-radius","",Re.borderRadiusS),borderStyle:we.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:we.extend("--ft-copy-block-border-color","",Re.colorOutline),borderWidth:we.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:we.extend("--ft-copy-block-background-color","",Re.colorSurface),buttonHeight:we.create("--ft-copy-block-button-height","","SIZE","unset")},bs=wt`
931
+ `,Po];var ds=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ys extends fs{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Da.caption1medium:Da.body2medium}}ys.styles=[Bo,us],ds([R({type:Boolean})],ys.prototype,"primary",void 0),ds([R({type:Boolean})],ys.prototype,"secondary",void 0),ds([R({type:Boolean})],ys.prototype,"tertiary",void 0),ds([R({type:Boolean})],ys.prototype,"neutral",void 0),ds([R({type:Boolean})],ys.prototype,"small",void 0),j("ft-button")(hs),j("ftds-button")(ys);const gs={spacing:we.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:we.extend("--ft-copy-block-border-radius","",Re.borderRadiusS),borderStyle:we.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:we.extend("--ft-copy-block-border-color","",Re.colorOutline),borderWidth:we.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:we.extend("--ft-copy-block-background-color","",Re.colorSurface),buttonHeight:we.create("--ft-copy-block-button-height","","SIZE","unset")},bs=wt`
931
932
  :host {
932
933
  display: block;
933
934
  }
@@ -972,9 +973,9 @@ class es extends Wn{constructor(t){if(super(t),this.et=rt,t.type!==In)throw Erro
972
973
 
973
974
  `,ms=wt`
974
975
  `,vs=wt`
975
- `,xs=Zr.get({name:"ft-app-info",reducers:{},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}});class Os{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=xs.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Os.build(t):null!==(e=Os.API)&&void 0!==e?e:Os.API=Os.build()}static await(t){return new Promise((e=>{let o=Os.get(t);if(o)e(o);else{const r=xs.subscribe((()=>{o=Os.get(t),o&&(r(),e(o))}))}}))}}var ws;const Ss=Symbol("clearAfterUnitTest");class Ns{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[ws]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=xs.getState().uiLocale,xs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};W(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Pe(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}ws=Ss,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ns((async(t,e)=>(await Os.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ns((async(t,e)=>(await Os.await()).getCustomMessageContext(t,e))));const Cs=window.FluidTopicsI18nService,$s=window.FluidTopicsCustomI18nService;var Es=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rs extends Ke{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Os.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return ie`
976
+ `,xs=Mi.get({name:"ft-app-info",reducers:{},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}});class Os{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=xs.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Os.build(t):null!==(e=Os.API)&&void 0!==e?e:Os.API=Os.build()}static await(t){return new Promise((e=>{let o=Os.get(t);if(o)e(o);else{const r=xs.subscribe((()=>{o=Os.get(t),o&&(r(),e(o))}))}}))}}var ws;const Ss=Symbol("clearAfterUnitTest");class Ns{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[ws]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=xs.getState().uiLocale,xs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};W(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Do(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}ws=Ss,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ns((async(t,e)=>(await Os.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ns((async(t,e)=>(await Os.await()).getCustomMessageContext(t,e))));const Cs=window.FluidTopicsI18nService,$s=window.FluidTopicsCustomI18nService;var Es=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rs extends Zo{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Os.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return ie`
976
977
  <slot></slot>
977
- `}update(t){super.update(t),t.has("baseUrl")&&xs.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&xs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xs.actions.noCustom(this.noCustom),t.has("editorMode")&&xs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xs.actions.session(this.session),t.has("availableUiLocales")&&xs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Cs.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Rs.elementDefinitions={},Rs.styles=vs,Es([R()],Rs.prototype,"baseUrl",void 0),Es([R()],Rs.prototype,"apiIntegrationIdentifier",void 0),Es([R()],Rs.prototype,"uiLocale",void 0),Es([A(null)],Rs.prototype,"availableUiLocales",void 0),Es([A(null)],Rs.prototype,"metadataConfiguration",void 0),Es([R({type:Boolean})],Rs.prototype,"editorMode",void 0),Es([R({type:Boolean})],Rs.prototype,"noCustom",void 0),Es([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Rs.prototype,"noCustomComponent",void 0),Es([R({type:Boolean})],Rs.prototype,"withManualResources",void 0),Es([A([])],Rs.prototype,"messageContexts",void 0),Es([A(void 0)],Rs.prototype,"session",void 0),Es([R({type:Object})],Rs.prototype,"apiProvider",void 0);class ks{async listMySearches(){var t;return(null===(t=xs.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Os.await()).listMySearches(xs.getState().session.profile.userId):[]}}const Us=new r;class Is{async listMyBookmarks(){return Us.get("bookmarks",(async()=>(await Os.await()).listMyBookmarks(xs.getState().session.profile.userId)))}clearCache(){Us.clear("bookmarks")}}const Ls=Zr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Is,xs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xs.getState();W(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ls.actions.savedSearches(void 0)}clearMyBookmarks(){Ls.actions.bookmarks(void 0)}async reloadMySearches(){const t=new ks,e=await t.listMySearches();Ls.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ls.actions.bookmarks(e)}}},j("ft-app-context")(Rs);var Ws=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const js=Symbol("i18nProperties"),As=Symbol("i18nUnsubs");function Fs(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?$s:Cs}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e;null===(e=this[js])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[js])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[js]&&new Set([...this[js].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[As].has(t)||this[As].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[As].forEach((t=>t())),this[As].clear()}}return e=As,Ws([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Ks extends(Fs(Ke)){}class zs extends(Fs(qe)){}var Zs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ms extends zs{constructor(){super(),this.editorMode=!1,this.addStore(xs)}render(){return this.key&&this.context?ie`
978
+ `}update(t){super.update(t),t.has("baseUrl")&&xs.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&xs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xs.actions.noCustom(this.noCustom),t.has("editorMode")&&xs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xs.actions.session(this.session),t.has("availableUiLocales")&&xs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Cs.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Rs.elementDefinitions={},Rs.styles=vs,Es([R()],Rs.prototype,"baseUrl",void 0),Es([R()],Rs.prototype,"apiIntegrationIdentifier",void 0),Es([R()],Rs.prototype,"uiLocale",void 0),Es([A(null)],Rs.prototype,"availableUiLocales",void 0),Es([A(null)],Rs.prototype,"metadataConfiguration",void 0),Es([R({type:Boolean})],Rs.prototype,"editorMode",void 0),Es([R({type:Boolean})],Rs.prototype,"noCustom",void 0),Es([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Rs.prototype,"noCustomComponent",void 0),Es([R({type:Boolean})],Rs.prototype,"withManualResources",void 0),Es([A([])],Rs.prototype,"messageContexts",void 0),Es([A(void 0)],Rs.prototype,"session",void 0),Es([R({type:Object})],Rs.prototype,"apiProvider",void 0);class ks{async listMySearches(){var t;return(null===(t=xs.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Os.await()).listMySearches(xs.getState().session.profile.userId):[]}}const Us=new r;class Is{async listMyBookmarks(){return Us.get("bookmarks",(async()=>(await Os.await()).listMyBookmarks(xs.getState().session.profile.userId)))}clearCache(){Us.clear("bookmarks")}}const Ls=Mi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Is,xs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xs.getState();W(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ls.actions.savedSearches(void 0)}clearMyBookmarks(){Ls.actions.bookmarks(void 0)}async reloadMySearches(){const t=new ks,e=await t.listMySearches();Ls.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ls.actions.bookmarks(e)}}},j("ft-app-context")(Rs);var Ws=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const js=Symbol("i18nProperties"),As=Symbol("i18nUnsubs");function Fs(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?$s:Cs}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e;null===(e=this[js])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[js])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[js]&&new Set([...this[js].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[As].has(t)||this[As].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[As].forEach((t=>t())),this[As].clear()}}return e=As,Ws([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Ks extends(Fs(Zo)){}class zs extends(Fs(Xo)){}var Zs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ms extends zs{constructor(){super(),this.editorMode=!1,this.addStore(xs)}render(){return this.key&&this.context?ie`
978
979
  <span class="ft-i18n">
979
980
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
980
981
  </span>