@fluid-topics/ft-reader-content 1.0.63 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-content.min.js +117 -102
- package/package.json +8 -8
|
@@ -1,69 +1,84 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
var pt,ht;let ut=class extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new rt(o.insertBefore($(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return V}};ut.finalized=!0,ut._$litElement$=!0,null===(pt=globalThis.litElementHydrateSupport)||void 0===pt||pt.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.3.2");const gt=t=>"string"==typeof t?u(t):t;class bt{static create(t,o,e,r){const i=t=>gt(null!=t?t:r),n=y`var(${gt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>y`var(${gt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=y`var(${gt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>y`var(${gt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):gt(null!=o?o:t.lastResortDefaultValue()),r=y`var(${gt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>y`var(${gt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const mt={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")};bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-display-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const Ot={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",mt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",mt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",mt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",mt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",mt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",mt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",mt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",mt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",mt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",mt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",mt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",mt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",mt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",mt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",mt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",mt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",mt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",mt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",mt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",mt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",mt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",mt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",mt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",mt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",mt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",mt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",mt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",mt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",mt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",mt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",mt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",mt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",mt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",mt.colorGray80)};bt.create("--ft-button-large-height","","SIZE","40px"),bt.extend("--ft-button-large-horizontal-padding","",mt.spacing4),bt.extend("--ft-button-large-gap","",mt.spacing2),bt.extend("--ft-button-large-border-radius","",mt.borderRadiusS),bt.extend("--ft-button-large-icon-size","",mt.iconSize3),bt.create("--ft-button-large-border-width","","SIZE","1px"),bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),bt.create("--ft-button-small-height","","SIZE","30px"),bt.extend("--ft-button-small-horizontal-padding","",mt.spacing3),bt.extend("--ft-button-small-gap","",mt.spacing2),bt.extend("--ft-button-small-border-radius","",mt.borderRadiusS),bt.extend("--ft-button-small-icon-size","",mt.iconSize2),bt.create("--ft-button-small-border-width","","SIZE","1px"),bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),bt.extend("--ft-button-primary-background-color","",Ot.backgroundActionPrimary),bt.extend("--ft-button-primary-color","",Ot.contentGlobalOnColor),bt.extend("--ft-button-primary-icon-color","",Ot.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-color","",Ot.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-button-primary-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-button-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-tertiary-color","",Ot.contentActionPrimary),bt.extend("--ft-button-tertiary-icon-color","",Ot.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",mt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",mt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-active","",mt.opacity16),bt.extend("--ft-button-tertiary-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-button-secondary-background-color","",mt.colorWhite),bt.extend("--ft-button-secondary-color","",Ot.contentActionPrimary),bt.extend("--ft-button-secondary-icon-color","",Ot.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-opacity-hover","",mt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-focus","",mt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-active","",mt.opacity16),bt.extend("--ft-button-secondary-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-button-secondary-border-color","",Ot.borderActionPrimary),bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-neutral-icon-color","",Ot.contentGlobalSecondary),bt.extend("--ft-button-neutral-color","",Ot.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-color","",Ot.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-opacity-hover","",mt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-focus","",mt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-active","",mt.opacity16),bt.extend("--ft-button-neutral-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-tabs-top-left-border-radius","",mt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",mt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",mt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",mt.spacing3),bt.extend("--ft-tabs-label-gap","",mt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",mt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",mt.spacing1),bt.extend("--ft-switch-group-gap","",mt.spacing1),bt.extend("--ft-switch-group-background-color","",Ot.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",Ot.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",mt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",mt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",mt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",mt.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",mt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",mt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",mt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",mt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-switch-off-color","",Ot.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",Ot.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",mt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",mt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",mt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",mt.colorYellow100),bt.extend("--ft-chart-3-light","",mt.colorUltramarine40),bt.extend("--ft-chart-3-base","",mt.colorUltramarine70),bt.extend("--ft-chart-4-light","",mt.colorCyan50),bt.extend("--ft-chart-4-base","",mt.colorCyan100),bt.extend("--ft-chart-5-light","",mt.colorRed40),bt.extend("--ft-chart-5-base","",mt.colorRed60),bt.extend("--ft-chart-6-light","",mt.colorGreen40),bt.extend("--ft-chart-6-base","",mt.colorGreen70),bt.extend("--ft-chart-7-light","",mt.colorOrange70),bt.extend("--ft-chart-7-base","",mt.colorOrange100),bt.extend("--ft-chart-8-light","",mt.colorAvocado70),bt.extend("--ft-chart-8-base","",mt.colorAvocado200),bt.extend("--ft-chart-9-light","",mt.colorBrown50),bt.extend("--ft-chart-9-base","",mt.colorBrown200),bt.extend("--ft-chart-10-light","",mt.colorGray50),bt.extend("--ft-chart-10-base","",mt.colorGray80),bt.extend("--ft-chart-monochrome-10","",mt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",mt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",mt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",mt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",mt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",mt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",mt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",mt.spacing2),bt.extend("--ft-chip-large-gap","",mt.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",mt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",mt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",mt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",mt.spacing1),bt.extend("--ft-chip-medium-gap","",mt.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",mt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",mt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",mt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",mt.spacing05),bt.extend("--ft-chip-small-gap","",mt.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",mt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",mt.iconSize1),bt.extend("--ft-chip-neutral-background-color","",Ot.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",Ot.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",Ot.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",Ot.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",Ot.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",Ot.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",Ot.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",Ot.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",Ot.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",mt.spacing2),bt.extend("--ft-notice-vertical-padding","",mt.spacing1),bt.extend("--ft-notice-border-radius","",mt.borderRadiusS),bt.extend("--ft-notice-gap","",mt.spacing2),bt.extend("--ft-notice-icon-size","",mt.iconSize3),bt.extend("--ft-notice-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-notice-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",Ot.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",Ot.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",mt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",mt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",mt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-toggle-off-background-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-toggle-on-background-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.extend("--ft-toggle-gap","",mt.spacing3),bt.extend("--ft-radio-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",Ot.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",mt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",mt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",mt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",mt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",mt.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",mt.spacing3),bt.extend("--ft-notification-icon-size","",mt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",mt.spacing4),bt.extend("--ft-notification-vertical-padding","",mt.spacing4),bt.extend("--ft-notification-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",Ot.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",Ot.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",Ot.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",Ot.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",Ot.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",Ot.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",mt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",mt.spacing2),bt.extend("--ft-notification-gap-trailing","",mt.spacing8),bt.create("--ft-color-primary","","COLOR","#2196F3"),bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),bt.create("--ft-color-secondary","","COLOR","#FFCC80"),bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),bt.create("--ft-color-surface","","COLOR","#FFFFFF"),bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),bt.create("--ft-color-error","","COLOR","#B00020"),bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),bt.create("--ft-color-opacity-high","","NUMBER","1"),bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.create("--ft-border-radius-S","","SIZE","4px"),bt.create("--ft-border-radius-M","","SIZE","8px"),bt.create("--ft-border-radius-L","","SIZE","12px"),bt.create("--ft-border-radius-XL","","SIZE","16px"),bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),bt.create("--ft-transition-duration","","UNKNOWN","250ms"),bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class vt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return g(e,t.elementStyles),e}}var Nt,wt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ct=Symbol("constructorPrototype"),St=Symbol("constructorName"),xt=Symbol("exportpartsDebouncer");class Rt extends vt{constructor(){super(),this[Nt]=new o(5),this[St]=this.constructor.name,this[Ct]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[Ct])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[xt].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 o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=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(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}function Ut(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Et,It,Lt;Nt=xt,wt([r()],Rt.prototype,"exportpartsPrefix",void 0),wt([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!l(t,o),...null!=o?o:{}})}([])],Rt.prototype,"exportpartsPrefixes",void 0),wt([r()],Rt.prototype,"customStylesheet",void 0),y`
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
14
|
+
*/
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);p(i,c,a);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let h=e.call(r,t);h||(h=f(t),o.call(r,t,h)),this===window.customElements&&(s.set(i,l),l.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,h=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=a.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=h(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(ae){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
|
+
/**
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2019 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const e=globalThis,r=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;const s=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(r&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return s(o)})(t):t
|
|
21
|
+
/**
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2017 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/,{is:c,defineProperty:l,getOwnPropertyDescriptor:h,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,O={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},N=(t,o)=>!c(t,o),v={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=h(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(r)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),i=e.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:O).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:O;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??N)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
|
+
/**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const w={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:N},C=(t=w,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function x(t){return(o,e)=>"object"==typeof e?C(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
|
+
/**
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function R(t){return x({...t,state:!0,attribute:!1})}
|
|
37
|
+
/**
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const U=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
42
|
+
/**
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function E(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return U(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return U(0,0,{get(){return n(this)}})}}function I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!I(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!I(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!I(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const L=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
47
|
+
/**
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/
|
|
52
|
+
const W=globalThis,k=W.trustedTypes,K=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,A="?"+$,M=`<${A}>`,F=document,B=()=>F.createComment(""),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,T=t=>D(t)||"function"==typeof t?.[Symbol.iterator],P="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,G=/>/g,H=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,V=/^(?:script|style|textarea|title)$/i,q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=F.createTreeWalker(F,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}const et=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=_;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===_?"!--"===c[1]?s=j:void 0!==c[1]?s=G:void 0!==c[2]?(V.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=H):void 0!==c[3]&&(s=H):s===H?">"===c[0]?(s=i??_,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?H:'"'===c[3]?J:Y):s===J||s===Y?s=H:s===j||s===G?s=_:(s=H,i=void 0);const f=s===H&&t[o+1].startsWith("/>")?" ":"";n+=s===_?e+M:l>=0?(r.push(a),e.slice(0,l)+Z+e.slice(l)+$+f):e+$+(-2===l?o:f)}return[ot(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let rt=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,s=0;const a=o.length-1,c=this.parts,[l,h]=et(o,e);if(this.el=t.createElement(l,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=tt.nextNode())&&c.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const o=h[s++],e=i.getAttribute(t).split($),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?ct:"?"===r[1]?lt:"@"===r[1]?ht:at}),i.removeAttribute(t)}else t.startsWith($)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(V.test(i.tagName)){const t=i.textContent.split($),o=t.length-1;if(o>0){i.textContent=k?k.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],B()),tt.nextNode(),c.push({type:2,index:++n});i.append(t[o],B())}}}else if(8===i.nodeType)if(i.data===A)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf($,t+1));)c.push({type:7,index:n}),t+=$.length-1}n++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}};function it(t,o,e=t,r){if(o===q)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=z(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=it(t,i._$AS(t,o.values),i,r)),o}let nt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??F).importNode(o,!0);tt.currentNode=r;let i=tt.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new st(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new ft(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=tt.nextNode(),n++)}return tt.currentNode=F,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},st=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),z(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=rt.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new nt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new rt(t)),o}T(o){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(B()),this.k(B()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=it(this,t,o,0),n=!z(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=it(this,r[e+s],o,s),a===q&&(a=this._$AH[s]),n||=!z(a)||a!==this._$AH[s],a===X?t=X:t!==X&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ct=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},ht=class extends at{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=it(this,t,o,0)??X)===q)return;const e=this._$AH,r=t===X&&e!==X||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==X&&(e===X||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ft=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}};const pt={j:Z,P:$,A,C:1,M:et,L:nt,R:T,V:it,D:st,I:at,H:lt,N:ht,U:ct,B:ft},dt=W.litHtmlPolyfillSupport;dt?.(rt,st),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
53
|
+
/**
|
|
54
|
+
* @license
|
|
55
|
+
* Copyright 2019 Google LLC
|
|
56
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
+
*/
|
|
58
|
+
const ut=globalThis,yt=ut.ShadowRoot&&(void 0===ut.ShadyCSS||ut.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),bt=new WeakMap;let mt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(yt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=bt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&bt.set(o,t))}return t}toString(){return this.cssText}};const Ot=t=>new mt("string"==typeof t?t:t+"",void 0,gt),Nt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new mt(e,t,gt)},vt=yt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Ot(o)})(t):t
|
|
59
|
+
/**
|
|
60
|
+
* @license
|
|
61
|
+
* Copyright 2017 Google LLC
|
|
62
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
+
*/,{is:St,defineProperty:wt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:xt,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,Et=globalThis,It=Et.trustedTypes,Lt=It?It.emptyScript:"",Wt=Et.reactiveElementPolyfillSupport,kt=(t,o)=>t,Kt={toAttribute(t,o){switch(o){case Boolean:t=t?Lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Zt=(t,o)=>!St(t,o),$t={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Et.litPropertyMetadata??=new WeakMap;class At extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=$t){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&wt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Ct(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...xt(t),...Rt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(vt(t))}else void 0!==t&&o.push(vt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(yt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ut.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Kt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Kt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Zt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[kt("elementProperties")]=new Map,At[kt("finalized")]=new Map,Wt?.({ReactiveElement:At}),(Et.reactiveElementVersions??=[]).push("2.0.2");
|
|
64
|
+
/**
|
|
65
|
+
* @license
|
|
66
|
+
* Copyright 2017 Google LLC
|
|
67
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
+
*/
|
|
69
|
+
const Mt=globalThis,Ft=Mt.trustedTypes,Bt=Ft?Ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+Dt,Pt=`<${Tt}>`,_t=document,jt=()=>_t.createComment(""),Gt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,Yt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,qt=/>/g,Xt=RegExp(`>|${Yt}(?:([^\\s"'>=/]+)(${Yt}*=${Yt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,to=/"/g,oo=/^(?:script|style|textarea|title)$/i,eo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ro=Symbol.for("lit-noChange"),io=Symbol.for("lit-nothing"),no=new WeakMap,so=_t.createTreeWalker(_t,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bt?Bt.createHTML(o):o}const co=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=Jt;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===Jt?"!--"===c[1]?s=Vt:void 0!==c[1]?s=qt:void 0!==c[2]?(oo.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=Xt):void 0!==c[3]&&(s=Xt):s===Xt?">"===c[0]?(s=i??Jt,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?Xt:'"'===c[3]?to:Qt):s===to||s===Qt?s=Xt:s===Vt||s===qt?s=Jt:(s=Xt,i=void 0);const f=s===Xt&&t[o+1].startsWith("/>")?" ":"";n+=s===Jt?e+Pt:l>=0?(r.push(a),e.slice(0,l)+zt+e.slice(l)+Dt+f):e+Dt+(-2===l?o:f)}return[ao(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class lo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const s=t.length-1,a=this.parts,[c,l]=co(t,o);if(this.el=lo.createElement(c,e),so.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=so.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const o=l[n++],e=r.getAttribute(t).split(Dt),s=/([.?@])?(.*)/.exec(o);a.push({type:1,index:i,name:s[2],strings:e,ctor:"."===s[1]?uo:"?"===s[1]?yo:"@"===s[1]?go:po}),r.removeAttribute(t)}else t.startsWith(Dt)&&(a.push({type:6,index:i}),r.removeAttribute(t));if(oo.test(r.tagName)){const t=r.textContent.split(Dt),o=t.length-1;if(o>0){r.textContent=Ft?Ft.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),so.nextNode(),a.push({type:2,index:++i});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Tt)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)a.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,o){const e=_t.createElement("template");return e.innerHTML=t,e}}function ho(t,o,e=t,r){if(o===ro)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Gt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ho(t,i._$AS(t,o.values),i,r)),o}class fo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=io,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ho(this,t,o),Gt(t)?t===io||null==t||""===t?(this._$AH!==io&&this._$AR(),this._$AH=io):t!==this._$AH&&t!==ro&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Ht(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==io&&Gt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=lo.createElement(ao(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??_t).importNode(o,!0);so.currentNode=r;let i=so.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new fo(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new bo(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=so.nextNode(),n++)}return so.currentNode=_t,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=no.get(t.strings);return void 0===o&&no.set(t.strings,o=new lo(t)),o}T(t){Ht(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new fo(this.k(jt()),this.k(jt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=io,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=io}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ho(this,t,o,0),n=!Gt(t)||t!==this._$AH&&t!==ro,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=ho(this,r[e+s],o,s),a===ro&&(a=this._$AH[s]),n||=!Gt(a)||a!==this._$AH[s],a===io?t=io:t!==io&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===io?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class uo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===io?void 0:t}}class yo extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==io)}}class go extends po{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ho(this,t,o,0)??io)===ro)return;const e=this._$AH,r=t===io&&e!==io||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==io&&(e===io||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class bo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ho(this,t)}}const mo=Mt.litHtmlPolyfillSupport;mo?.(lo,fo),(Mt.litHtmlVersions??=[]).push("3.1.0");
|
|
70
|
+
/**
|
|
71
|
+
* @license
|
|
72
|
+
* Copyright 2017 Google LLC
|
|
73
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
|
+
*/
|
|
75
|
+
let Oo=class extends At{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new fo(o.insertBefore(jt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ro}};Oo._$litElement$=!0,Oo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oo});const No=globalThis.litElementPolyfillSupport;No?.({LitElement:Oo}),(globalThis.litElementVersions??=[]).push("4.0.2");const vo=t=>"string"==typeof t?Ot(t):t;class So{static create(t,o,e,r){const i=t=>vo(null!=t?t:r),n=Nt`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>Nt`var(${vo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=Nt`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>Nt`var(${vo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vo(null!=o?o:t.lastResortDefaultValue()),r=Nt`var(${vo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>Nt`var(${vo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const wo={colorWhite:So.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:So.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:So.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:So.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:So.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:So.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:So.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:So.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:So.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:So.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:So.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:So.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:So.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:So.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:So.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:So.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:So.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:So.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:So.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:So.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:So.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:So.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:So.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:So.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:So.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:So.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:So.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:So.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:So.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:So.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:So.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:So.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:So.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:So.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:So.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:So.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:So.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:So.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:So.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:So.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:So.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:So.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:So.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:So.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:So.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:So.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:So.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:So.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:So.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:So.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:So.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:So.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:So.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:So.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:So.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:So.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:So.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:So.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:So.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:So.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:So.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:So.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:So.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:So.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:So.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:So.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:So.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:So.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:So.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:So.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:So.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:So.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:So.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:So.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:So.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:So.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:So.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:So.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:So.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:So.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:So.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:So.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:So.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:So.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:So.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:So.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:So.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:So.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:So.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:So.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:So.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:So.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:So.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:So.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:So.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:So.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:So.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:So.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:So.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:So.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:So.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:So.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:So.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:So.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:So.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:So.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:So.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:So.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:So.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:So.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:So.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:So.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:So.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:So.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:So.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:So.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:So.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:So.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:So.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:So.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:So.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:So.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:So.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:So.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:So.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:So.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:So.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:So.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:So.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:So.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:So.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:So.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:So.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:So.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:So.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:So.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:So.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:So.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:So.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:So.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:So.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:So.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:So.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:So.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:So.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:So.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:So.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:So.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:So.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:So.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:So.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:So.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:So.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:So.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:So.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:So.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:So.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:So.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:So.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:So.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:So.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:So.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:So.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:So.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:So.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:So.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:So.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:So.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:So.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:So.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:So.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:So.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:So.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:So.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:So.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:So.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:So.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:So.create("--ft-icon-size-6","","SIZE","48px"),opacity0:So.create("--ft-opacity-0","","NUMBER","0"),opacity8:So.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:So.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:So.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:So.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:So.create("--ft-opacity-80","","NUMBER","0.8")};So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-display-lineHeight","","SIZE","120%"),So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-display-textCase","","UNKNOWN","none"),So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),So.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),So.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),So.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const Co={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",wo.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",wo.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",wo.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",wo.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",wo.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",wo.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",wo.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",wo.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",wo.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",wo.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",wo.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",wo.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",wo.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",wo.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",wo.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",wo.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",wo.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",wo.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",wo.colorCyan0),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",wo.colorGreen0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",wo.colorGreen200),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",wo.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",wo.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",wo.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",wo.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",wo.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",wo.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for warning components.",wo.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success components.",wo.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for error components.",wo.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for information components.",wo.colorCyan30),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",wo.colorGray30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",wo.colorGray50),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",wo.colorGray80)};So.create("--ft-button-large-height","","SIZE","40px"),So.extend("--ft-button-large-horizontal-padding","",wo.spacing4),So.extend("--ft-button-large-gap","",wo.spacing2),So.extend("--ft-button-large-border-radius","",wo.borderRadiusS),So.extend("--ft-button-large-icon-size","",wo.iconSize3),So.create("--ft-button-large-border-width","","SIZE","1px"),So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),So.create("--ft-button-large-icon-only-width","","SIZE","40px"),So.create("--ft-button-small-height","","SIZE","30px"),So.extend("--ft-button-small-horizontal-padding","",wo.spacing3),So.extend("--ft-button-small-gap","",wo.spacing2),So.extend("--ft-button-small-border-radius","",wo.borderRadiusS),So.extend("--ft-button-small-icon-size","",wo.iconSize2),So.create("--ft-button-small-border-width","","SIZE","1px"),So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),So.create("--ft-button-small-icon-only-width","","SIZE","30px"),So.extend("--ft-button-primary-background-color","",Co.backgroundActionPrimary),So.extend("--ft-button-primary-color","",Co.contentGlobalOnColor),So.extend("--ft-button-primary-icon-color","",Co.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-color","",Co.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-button-primary-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-button-primary-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-button-primary-component-opacity-disabled","",wo.opacity40),So.extend("--ft-button-focus-focus-ring-color","",Co.borderActionFocusRing),So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-tertiary-color","",Co.contentActionPrimary),So.extend("--ft-button-tertiary-icon-color","",Co.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-opacity-hover","",wo.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-focus","",wo.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-active","",wo.opacity16),So.extend("--ft-button-tertiary-component-opacity-disabled","",wo.opacity40),So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-secondary-color","",Co.contentActionPrimary),So.extend("--ft-button-secondary-icon-color","",Co.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-opacity-hover","",wo.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-focus","",wo.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-active","",wo.opacity16),So.extend("--ft-button-secondary-component-opacity-disabled","",wo.opacity40),So.extend("--ft-button-secondary-border-color","",Co.borderActionPrimary),So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-neutral-icon-color","",Co.contentGlobalSecondary),So.extend("--ft-button-neutral-color","",Co.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-color","",Co.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-opacity-hover","",wo.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-focus","",wo.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-active","",wo.opacity16),So.extend("--ft-button-neutral-component-opacity-disabled","",wo.opacity40),So.extend("--ft-tabs-top-left-border-radius","",wo.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",wo.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",wo.spacing4),So.extend("--ft-tabs-label-vertical-padding","",wo.spacing3),So.extend("--ft-tabs-label-gap","",wo.spacing1),So.extend("--ft-switch-group-horizontal-padding","",wo.spacing1),So.extend("--ft-switch-group-vertical-padding","",wo.spacing1),So.extend("--ft-switch-group-gap","",wo.spacing1),So.extend("--ft-switch-group-background-color","",Co.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",Co.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",wo.spacing2),So.extend("--ft-switch-label-vertical-padding","",wo.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",wo.spacing1),So.extend("--ft-switch-icon-vertical-padding","",wo.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",Co.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",wo.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",wo.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",wo.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",wo.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",wo.opacity40),So.extend("--ft-switch-off-color","",Co.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",Co.contentGlobalSubtle),So.extend("--ft-chart-1-light","for area color charts",wo.colorBrand40),So.extend("--ft-chart-1-base","for line charts",wo.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",wo.colorYellow60),So.extend("--ft-chart-2-base","for line charts",wo.colorYellow100),So.extend("--ft-chart-3-light","",wo.colorUltramarine40),So.extend("--ft-chart-3-base","",wo.colorUltramarine70),So.extend("--ft-chart-4-light","",wo.colorCyan50),So.extend("--ft-chart-4-base","",wo.colorCyan100),So.extend("--ft-chart-5-light","",wo.colorRed40),So.extend("--ft-chart-5-base","",wo.colorRed60),So.extend("--ft-chart-6-light","",wo.colorGreen40),So.extend("--ft-chart-6-base","",wo.colorGreen70),So.extend("--ft-chart-7-light","",wo.colorOrange70),So.extend("--ft-chart-7-base","",wo.colorOrange100),So.extend("--ft-chart-8-light","",wo.colorAvocado70),So.extend("--ft-chart-8-base","",wo.colorAvocado200),So.extend("--ft-chart-9-light","",wo.colorBrown50),So.extend("--ft-chart-9-base","",wo.colorBrown200),So.extend("--ft-chart-10-light","",wo.colorGray50),So.extend("--ft-chart-10-base","",wo.colorGray80),So.extend("--ft-chart-monochrome-10","",wo.colorBrand10),So.extend("--ft-chart-monochrome-20","",wo.colorBrand20),So.extend("--ft-chart-monochrome-30","",wo.colorBrand40),So.extend("--ft-chart-monochrome-40","",wo.colorBrand60),So.extend("--ft-chart-monochrome-50","",wo.colorBrand0),So.extend("--ft-chart-monochrome-60","",wo.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",wo.spacing4),So.extend("--ft-chip-large-vertical-padding","",wo.spacing2),So.extend("--ft-chip-large-gap","",wo.spacing1),So.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-large-border-radius","",wo.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",wo.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",wo.spacing3),So.extend("--ft-chip-medium-vertical-padding","",wo.spacing1),So.extend("--ft-chip-medium-gap","",wo.spacing1),So.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-medium-border-radius","",wo.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",wo.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",wo.spacing2),So.extend("--ft-chip-small-vertical-padding","",wo.spacing05),So.extend("--ft-chip-small-gap","",wo.spacing1),So.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-small-border-radius","",wo.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",wo.iconSize1),So.extend("--ft-chip-neutral-background-color","",Co.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",Co.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",Co.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",Co.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",Co.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",Co.borderInfoPrimary),So.extend("--ft-chip-success-background-color","",Co.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",Co.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",Co.borderSuccessPrimary),So.extend("--ft-chip-warning-background-color","",Co.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",Co.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",Co.borderWarningPrimary),So.extend("--ft-chip-error-background-color","",Co.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",Co.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",Co.borderErrorPrimary),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",wo.spacing2),So.extend("--ft-notice-vertical-padding","",wo.spacing1),So.extend("--ft-notice-border-radius","",wo.borderRadiusS),So.extend("--ft-notice-gap","",wo.spacing2),So.extend("--ft-notice-icon-size","",wo.iconSize3),So.extend("--ft-notice-info-background-color","",Co.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",Co.borderInfoPrimary),So.extend("--ft-notice-info-color","",Co.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",Co.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",Co.borderWarningPrimary),So.extend("--ft-notice-warning-color","",Co.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",Co.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",Co.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",Co.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",wo.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",wo.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",wo.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",wo.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",Co.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",wo.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",wo.opacity40),So.extend("--ft-toggle-off-background-color","",Co.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",Co.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",Co.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",wo.opacity40),So.extend("--ft-toggle-on-background-color","",Co.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",Co.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-toggle-label-color","",Co.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",Co.borderActionFocusRing),So.extend("--ft-toggle-gap","",wo.spacing3),So.extend("--ft-radio-label-color","",Co.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",Co.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",wo.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",wo.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",wo.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",wo.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",wo.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",wo.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",Co.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",wo.spacing3),So.extend("--ft-notification-icon-size","",wo.iconSize4),So.extend("--ft-notification-horizontal-padding","",wo.spacing4),So.extend("--ft-notification-vertical-padding","",wo.spacing4),So.extend("--ft-notification-info-background-color","",Co.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",Co.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",Co.borderInfoPrimary),So.extend("--ft-notification-success-background-color","",Co.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",Co.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",Co.borderSuccessPrimary),So.extend("--ft-notification-warning-background-color","",Co.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",Co.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",Co.borderWarningPrimary),So.extend("--ft-notification-error-background-color","",Co.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",Co.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",Co.borderErrorPrimary),So.extend("--ft-notification-border-radius","",wo.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",wo.spacing2),So.extend("--ft-notification-gap-trailing","",wo.spacing8),So.create("--ft-color-primary","","COLOR","#2196F3"),So.create("--ft-color-primary-variant","","COLOR","#1976D2"),So.create("--ft-color-secondary","","COLOR","#FFCC80"),So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),So.create("--ft-color-surface","","COLOR","#FFFFFF"),So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),So.create("--ft-color-error","","COLOR","#B00020"),So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),So.create("--ft-color-opacity-high","","NUMBER","1"),So.create("--ft-color-opacity-medium","","NUMBER","0.74"),So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.create("--ft-border-radius-S","","SIZE","4px"),So.create("--ft-border-radius-M","","SIZE","8px"),So.create("--ft-border-radius-L","","SIZE","12px"),So.create("--ft-border-radius-XL","","SIZE","16px"),So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),So.create("--ft-transition-duration","","UNKNOWN","250ms"),So.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
|
|
76
|
+
/**
|
|
77
|
+
* @license
|
|
78
|
+
* Copyright 2019 Google LLC
|
|
79
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
80
|
+
*/
|
|
81
|
+
const xo=window,Ro=xo.ShadowRoot&&(void 0===xo.ShadyCSS||xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Uo extends Oo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ro?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=xo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Eo,Io=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};const Lo=Symbol("constructorPrototype"),Wo=Symbol("constructorName"),ko=Symbol("exportpartsDebouncer");class Ko extends Uo{constructor(){super(),this[Eo]=new o(5),this[Wo]=this.constructor.name,this[Lo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wo]&&Object.setPrototypeOf(this,this[Lo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[ko].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 o,e,r,i,n,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...o,...e).filter(a).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}function Zo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var $o,Ao,Mo;Eo=ko,Io([x()],Ko.prototype,"exportpartsPrefix",void 0),Io([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return x({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!I(t,o),...null!=o?o:{}})}([])],Ko.prototype,"exportpartsPrefixes",void 0),Io([x()],Ko.prototype,"customStylesheet",void 0),Nt`
|
|
67
82
|
.ft-no-text-select {
|
|
68
83
|
-webkit-touch-callout: none;
|
|
69
84
|
-webkit-user-select: none;
|
|
@@ -72,7 +87,7 @@ var pt,ht;let ut=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
72
87
|
-ms-user-select: none;
|
|
73
88
|
user-select: none;
|
|
74
89
|
}
|
|
75
|
-
`,
|
|
90
|
+
`,Nt`
|
|
76
91
|
.ft-word-wrap {
|
|
77
92
|
white-space: normal;
|
|
78
93
|
word-wrap: break-word;
|
|
@@ -84,7 +99,7 @@ var pt,ht;let ut=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
84
99
|
-webkit-hyphens: auto;
|
|
85
100
|
hyphens: auto
|
|
86
101
|
}
|
|
87
|
-
`,
|
|
102
|
+
`,Nt`
|
|
88
103
|
.ft-safari-ellipsis-fix {
|
|
89
104
|
margin-right: 0;
|
|
90
105
|
|
|
@@ -95,31 +110,31 @@ var pt,ht;let ut=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
95
110
|
display: inline-block;
|
|
96
111
|
width: 0;
|
|
97
112
|
}
|
|
98
|
-
`;const
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
class
|
|
113
|
+
`;const Fo=Symbol("internalReduxEventsUnsubscribers"),Bo=Symbol("internalStoresUnsubscribers"),zo=Symbol("internalStores");class Do extends Ko{constructor(){super(...arguments),this[$o]=new Map,this[Ao]=new Map,this[Mo]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[zo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[zo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[zo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Zo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[zo].delete(o)}setupStore(t,o){this[zo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[zo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Bo].has(t.store):this[Bo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Bo].set(t,o.subscribe((()=>this.updateFromStores()))),Zo(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Fo].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Bo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Fo].forEach((t=>t())),this[Fo]=[]}unsubscribeFromStore(t){this[Bo].has(t)&&this[Bo].get(t)(),this[Bo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}$o=Bo,Ao=zo,Mo=Fo,window.ftReduxStores||(window.ftReduxStores={});const To=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!I(t,o),attribute:!1,...o};x(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};var Po,_o,jo;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(_o=null===(Po=window.safari)||void 0===Po?void 0:Po.pushNotification)||void 0===_o||_o.toString()),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(jo||(jo={}));var Go=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class Ho extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Yo=Symbol("registerInterval");class Jo extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Yo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Yo]):this.dispatchEvent(new Ho)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Yo,Go([R()],e.prototype,"stateManager",void 0),e}(Do)){}
|
|
114
|
+
/**
|
|
115
|
+
* @license
|
|
116
|
+
* Copyright 2017 Google LLC
|
|
117
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
118
|
+
*/const Vo=2,qo=t=>(...o)=>({_$litDirective$:t,values:o});class Xo{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
119
|
+
/**
|
|
120
|
+
* @license
|
|
121
|
+
* Copyright 2020 Google LLC
|
|
122
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
123
|
+
*/const{D:Qo}=pt,te=()=>document.createComment(""),oe=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(te(),i),n=r.insertBefore(te(),i);e=new Qo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,s=n!==t;if(s){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||s){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},ee=(t,o,e=t)=>(t._$AI(o,e),t),re={},ie=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},ne=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},se=qo(class extends Xo{constructor(t){if(super(t),t.type!==Vo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let s=0;for(const o of t)i[s]=r?r(o,s):s,n[s]=e(o,s),s++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:s}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=s,n;const a=this.dt??=[],c=[];let l,h,f=0,p=i.length-1,d=0,u=n.length-1;for(;f<=p&&d<=u;)if(null===i[f])f++;else if(null===i[p])p--;else if(a[f]===s[d])c[d]=ee(i[f],n[d]),f++,d++;else if(a[p]===s[u])c[u]=ee(i[p],n[u]),p--,u--;else if(a[f]===s[u])c[u]=ee(i[f],n[u]),oe(t,c[u+1],i[f]),f++,u--;else if(a[p]===s[d])c[d]=ee(i[p],n[d]),oe(t,i[f],i[p]),p--,d++;else if(void 0===l&&(l=ne(s,d,u),h=ne(a,f,p)),l.has(a[f]))if(l.has(a[p])){const o=h.get(s[d]),e=void 0!==o?i[o]:null;if(null===e){const o=oe(t,i[f]);ee(o,n[d]),c[d]=o}else c[d]=ee(e,n[d]),oe(t,i[f],e),i[o]=null;d++}else ie(i[p]),p--;else ie(i[f]),f++;for(;d<=u;){const o=oe(t,c[u+1]);ee(o,n[d]),c[d++]=o}for(;f<=p;){const t=i[f++];null!==t&&ie(t)}return this.dt=s,((t,o=re)=>{t._$AH=o})(t,c),q}});
|
|
124
|
+
/**
|
|
125
|
+
* @license
|
|
126
|
+
* Copyright 2017 Google LLC
|
|
127
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
128
|
+
*/
|
|
129
|
+
/**
|
|
130
|
+
* @license
|
|
131
|
+
* Copyright 2017 Google LLC
|
|
132
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
133
|
+
*/
|
|
134
|
+
class ae extends Xo{constructor(t){if(super(t),this.et=X,t.type!==Vo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}ae.directiveName="unsafeHTML",ae.resultType=1;const ce=qo(ae),le=So.create("--ft-infinite-scroll-padding","","SIZE","0"),he=So.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),fe=So.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px"),pe=Nt`
|
|
120
135
|
.items-container {
|
|
121
136
|
position: relative;
|
|
122
|
-
padding: ${
|
|
137
|
+
padding: ${le};
|
|
123
138
|
outline: none;
|
|
124
139
|
}
|
|
125
140
|
|
|
@@ -141,7 +156,7 @@ class to extends Pt{constructor(t){if(super(t),this.et=J,t.type!==jt)throw Error
|
|
|
141
156
|
By adding this gap we ensure that the previous item will be fully hidden
|
|
142
157
|
and even if its size changes, it will not impact the scroll offset
|
|
143
158
|
*/
|
|
144
|
-
margin-top: ${
|
|
159
|
+
margin-top: ${he};
|
|
145
160
|
}
|
|
146
161
|
|
|
147
162
|
.resizable:not(.rendered) {
|
|
@@ -149,36 +164,36 @@ class to extends Pt{constructor(t){if(super(t),this.et=J,t.type!==jt)throw Error
|
|
|
149
164
|
}
|
|
150
165
|
|
|
151
166
|
.item-container, .resizable.rendered {
|
|
152
|
-
min-height: ${
|
|
167
|
+
min-height: ${fe}
|
|
153
168
|
}
|
|
154
169
|
|
|
155
170
|
.rendered {
|
|
156
171
|
display: flow-root;
|
|
157
172
|
}
|
|
158
|
-
`;var
|
|
173
|
+
`;var de=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class ue extends CustomEvent{constructor(t,o){super("visible-items-change",{detail:{visibleIndexes:t,visibleItems:o}})}}class ye extends Event{constructor(){super("scrolled-to-target")}}class ge extends Ko{constructor(){super(...arguments),this.items=[],this.renderItem=()=>eo``,this.getItemKey=(t,o)=>`${o} - ${JSON.stringify(t)}`,this.internalScroll=!1,this.renderBeforeFirst=1,this.renderAfterLast=1,this.visibleItems=[],this.scrolledToTarget=!1,this.scrolling=!1,this.alreadyRenderedIndexes=new Set,this.scrollDebouncer=new o(5),this.scrollDoneDebouncer=new o(10),this.onVisibilityChange=t=>{let o=new Set(this.visibleItems),e=new Set;for(let r of t){let t=+r.target.attributes.getNamedItem("data-item-index").value;r.intersectionRect.height>0?(o.add(t),e.add(t)):e.has(t)||o.delete(t)}this.visibleItems=[...o].sort(((t,o)=>t-o))},this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange),this.scrollingDebouncer=new o(100),this.scrollListener=()=>{this.scrolling=!0,this.scrollingDebouncer.run((()=>{this.scrolling=!1}))},this.onResize=t=>{this.triggerFindScrollableParent();let o=this.searchFirstVisibleItem([...this.itemsContainer.children]),e=this.scrollable.scrollTop-this.getOffset(o);for(const o of t){const t=+o.target.parentElement.getAttribute("data-item-index");(this.alreadyRenderedIndexes.has(t)||o.target.classList.contains("rendered"))&&(o.target.parentElement.style.height=o.target.clientHeight+"px")}null!=o&&null!=e&&this.scrolledToTarget&&(this.scrollable.scrollTop=this.getOffset(o)+Math.min(e,o.clientHeight))},this.resizeObserver=new ResizeObserver(this.onResize),this.onMutation=()=>{[...this.itemsContainer.children].forEach((t=>{this.resizeObserver.observe(t.children.item(0)),this.intersectionObserver.observe(t)}))},this.mutationObserver=new MutationObserver(this.onMutation),this.resetVisibleItemsDebouncer=new o(10)}get scrollable(){var t;return null!==(t=this.internalScroll?this.internalScrollable:this.firstScrollableParent)&&void 0!==t?t:document.body}render(){return eo`
|
|
159
174
|
<div class="items-container ${this.internalScroll?"scrollable":""}"
|
|
160
175
|
tabindex="-1"
|
|
161
176
|
@find-scrollable-parent=${this.findScrollableParent}>
|
|
162
|
-
${
|
|
177
|
+
${se(this.items,((t,o)=>this.getItemKey(t,o)),((t,o)=>this.renderItemContainer(t,o)))}
|
|
163
178
|
</div>
|
|
164
|
-
`}renderItemContainer(t,o){const e=!this.scrolling&&this.scrolledToTarget&&this.visibleItems.includes(o),r=this.alreadyRenderedIndexes.has(o)||this.scrolledToTarget&&o>=this.visibleItems[0]-this.renderBeforeFirst&&o<=(null!=(i=this.visibleItems)?i:[])[(null!=i?i:[]).length-1]+this.renderAfterLast;var i;r&&this.alreadyRenderedIndexes.add(o);return
|
|
179
|
+
`}renderItemContainer(t,o){const e=!this.scrolling&&this.scrolledToTarget&&this.visibleItems.includes(o),r=this.alreadyRenderedIndexes.has(o)||this.scrolledToTarget&&o>=this.visibleItems[0]-this.renderBeforeFirst&&o<=(null!=(i=this.visibleItems)?i:[])[(null!=i?i:[]).length-1]+this.renderAfterLast;var i;r&&this.alreadyRenderedIndexes.add(o);return eo`
|
|
165
180
|
<div id="item-${o}"
|
|
166
181
|
class="item-container ${e?"visible":""}"
|
|
167
182
|
data-item-index="${o}">
|
|
168
183
|
<div class="resizable ${e?"visible":""} ${r?"rendered":""}">
|
|
169
|
-
${r?(()=>{const e=this.renderItem(t,o);return"string"==typeof e?
|
|
184
|
+
${r?(()=>{const e=this.renderItem(t,o);return"string"==typeof e?eo`${ce(e)}`:e})():null}
|
|
170
185
|
</div>
|
|
171
186
|
</div>
|
|
172
|
-
`}resetScroll(){this.triggerFindScrollableParent(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.scrollDebouncer.run((()=>{var t;let o=null!==(t=this.scrollToIndex)&&void 0!==t?t:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;o>=this.items.length&&(o=-1);let e=this.getItem(o);this.scrollToTarget(e),this.scrollDoneDebouncer.run((()=>{this.onMutation(),this.scrolledToTarget=!0}))}))}getItem(t){var o;return null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`#item-${t}`)}scrollToTarget(t){var o;if(t){let e=+(null!==(o=t.getAttribute("data-item-index"))&&void 0!==o?o:"0");this.scrollable&&0===e?this.scrollable.scrollTop=0:this.scrollable.scrollTop=this.getOffset(t)}}getOffset(t){var o;let e=0,r=t;for(;r&&r.offsetParent!==this.scrollable.offsetParent;)e+=r.offsetTop,r=r.offsetParent;return e+(null!==(o=null==r?void 0:r.offsetTop)&&void 0!==o?o:0)-this.scrollable.offsetTop}getBottomOffset(t){var o;return this.getOffset(t)+(null!==(o=null==t?void 0:t.clientHeight)&&void 0!==o?o:0)}appendItems(...t){this.items=[...this.items,...t]}prependItems(...t){this.items=[...t,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout((()=>{this.triggerFindScrollableParent(),this.initIntersectionObserver(),this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0})}),0)}initIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]})}triggerFindScrollableParent(){var t;null===(t=this.itemsContainer)||void 0===t||t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0}))}findScrollableParent(t){var o;let e,r;t.stopPropagation();for(let o of t.composedPath()){const t=o,i=this.elementCanScroll(t);if(t.clientHeight&&t.clientHeight<t.scrollHeight&&i){e=t;break}i&&(r=t)}let i=e||r;i!==this.firstScrollableParent&&(null===(o=this.firstScrollableParent)||void 0===o||o.removeEventListener("scroll",this.scrollListener),null==i||i.addEventListener("scroll",this.scrollListener),this.firstScrollableParent=i,this.initIntersectionObserver(),this.resetScroll())}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch(t){return!1}}searchFirstVisibleItem(t,o,e){if(o=null!=o?o:0,(e=null!=e?e:t.length-1)-o<=0)return t[o];const r=Math.floor((e-o)/2)+o;return this.getOffset(t[r])>this.scrollable.scrollTop?this.searchFirstVisibleItem(t,o,r-1):this.getBottomOffset(t[r])<this.scrollable.scrollTop?this.searchFirstVisibleItem(t,r+1,e):t[r]}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(t){super.firstUpdated(t),this.resetScroll()}update(t){super.update(t),t.has("items")&&(this.alreadyRenderedIndexes=new Set),!t.has("scrollToItem")&&!t.has("scrollToIndex")||null==this.scrollToItem&&null==this.scrollToIndex||this.resetScroll()}updated(t){super.updated(t),(t.has("visibleItems")||t.has("items"))&&this.onVisibleItemsChange(),t.has("scrolledToTarget")&&this.scrolledToTarget&&(null!=this.scrollToItem||null!=this.scrollToIndex)&&this.dispatchEvent(new
|
|
173
|
-
`,
|
|
174
|
-
`;var
|
|
187
|
+
`}resetScroll(){this.triggerFindScrollableParent(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.scrollDebouncer.run((()=>{var t;let o=null!==(t=this.scrollToIndex)&&void 0!==t?t:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;o>=this.items.length&&(o=-1);let e=this.getItem(o);this.scrollToTarget(e),this.scrollDoneDebouncer.run((()=>{this.onMutation(),this.scrolledToTarget=!0}))}))}getItem(t){var o;return null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`#item-${t}`)}scrollToTarget(t){var o;if(t){let e=+(null!==(o=t.getAttribute("data-item-index"))&&void 0!==o?o:"0");this.scrollable&&0===e?this.scrollable.scrollTop=0:this.scrollable.scrollTop=this.getOffset(t)}}getOffset(t){var o;let e=0,r=t;for(;r&&r.offsetParent!==this.scrollable.offsetParent;)e+=r.offsetTop,r=r.offsetParent;return e+(null!==(o=null==r?void 0:r.offsetTop)&&void 0!==o?o:0)-this.scrollable.offsetTop}getBottomOffset(t){var o;return this.getOffset(t)+(null!==(o=null==t?void 0:t.clientHeight)&&void 0!==o?o:0)}appendItems(...t){this.items=[...this.items,...t]}prependItems(...t){this.items=[...t,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout((()=>{this.triggerFindScrollableParent(),this.initIntersectionObserver(),this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0})}),0)}initIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]})}triggerFindScrollableParent(){var t;null===(t=this.itemsContainer)||void 0===t||t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0}))}findScrollableParent(t){var o;let e,r;t.stopPropagation();for(let o of t.composedPath()){const t=o,i=this.elementCanScroll(t);if(t.clientHeight&&t.clientHeight<t.scrollHeight&&i){e=t;break}i&&(r=t)}let i=e||r;i!==this.firstScrollableParent&&(null===(o=this.firstScrollableParent)||void 0===o||o.removeEventListener("scroll",this.scrollListener),null==i||i.addEventListener("scroll",this.scrollListener),this.firstScrollableParent=i,this.initIntersectionObserver(),this.resetScroll())}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch(t){return!1}}searchFirstVisibleItem(t,o,e){if(o=null!=o?o:0,(e=null!=e?e:t.length-1)-o<=0)return t[o];const r=Math.floor((e-o)/2)+o;return this.getOffset(t[r])>this.scrollable.scrollTop?this.searchFirstVisibleItem(t,o,r-1):this.getBottomOffset(t[r])<this.scrollable.scrollTop?this.searchFirstVisibleItem(t,r+1,e):t[r]}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(t){super.firstUpdated(t),this.resetScroll()}update(t){super.update(t),t.has("items")&&(this.alreadyRenderedIndexes=new Set),!t.has("scrollToItem")&&!t.has("scrollToIndex")||null==this.scrollToItem&&null==this.scrollToIndex||this.resetScroll()}updated(t){super.updated(t),(t.has("visibleItems")||t.has("items"))&&this.onVisibleItemsChange(),t.has("scrolledToTarget")&&this.scrolledToTarget&&(null!=this.scrollToItem||null!=this.scrollToIndex)&&this.dispatchEvent(new ye)}onVisibleItemsChange(){const t=this.visibleItems.every(((t,o)=>null==this.visibleItems[o+1]||t+1===this.visibleItems[o+1]));t||I(this.visibleItems,this.lastNotOkVisibleItems)?(this.resetVisibleItemsDebouncer.cancel(),this.dispatchEvent(new ue(this.visibleItems,this.visibleItems.map((t=>this.items[t]))))):this.resetVisibleItemsDebouncer.run((()=>{this.lastNotOkVisibleItems=[...this.visibleItems],this.visibleItems=[],this.initIntersectionObserver(),this.onMutation()}))}}ge.styles=pe,de([x({type:Array})],ge.prototype,"items",void 0),de([x({attribute:!1})],ge.prototype,"renderItem",void 0),de([x({attribute:!1})],ge.prototype,"getItemKey",void 0),de([x({type:Object})],ge.prototype,"scrollToItem",void 0),de([x({type:Number})],ge.prototype,"scrollToIndex",void 0),de([x({type:Boolean})],ge.prototype,"internalScroll",void 0),de([x({type:Number})],ge.prototype,"renderBeforeFirst",void 0),de([x({type:Number})],ge.prototype,"renderAfterLast",void 0),de([R({hasChanged:(t,o)=>null!=t&&null==o||t.length!==o.length||t[0]!==o[0]})],ge.prototype,"visibleItems",void 0),de([E(".scrollable")],ge.prototype,"internalScrollable",void 0),de([E(".items-container")],ge.prototype,"itemsContainer",void 0),de([R()],ge.prototype,"scrolledToTarget",void 0),de([R()],ge.prototype,"scrolling",void 0),L("ft-infinite-scroll")(ge);const be=Nt`
|
|
188
|
+
`,me=Nt`
|
|
189
|
+
`;var Oe=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class Ne extends Jo{constructor(){super(...arguments),this.disableContextInteractions=!1,this.registeredComponents=[]}render(){return eo`
|
|
175
190
|
<article id=${this.tocId}>
|
|
176
191
|
<slot @register-ft-reader-topic-component=${this.registerComponent}></slot>
|
|
177
192
|
</article>
|
|
178
|
-
`}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.tocNode=this.tocNode,t.disableContextInteractions=this.disableContextInteractions}update(t){super.update(t),["mapId","tocId","stateManager"].some((o=>t.has(o)))&&this.setTocNode(),t.has("tocNode")&&this.registeredComponents.forEach((t=>t.tocNode=this.tocNode))}async setTocNode(){var t;this.tocNode=void 0,this.tocNode=this.mapId&&this.tocId?await(null===(t=this.service)||void 0===t?void 0:t.getTocNode(this.tocId)):void 0}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}
|
|
193
|
+
`}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.tocNode=this.tocNode,t.disableContextInteractions=this.disableContextInteractions}update(t){super.update(t),["mapId","tocId","stateManager"].some((o=>t.has(o)))&&this.setTocNode(),t.has("tocNode")&&this.registeredComponents.forEach((t=>t.tocNode=this.tocNode))}async setTocNode(){var t;this.tocNode=void 0,this.tocNode=this.mapId&&this.tocId?await(null===(t=this.service)||void 0===t?void 0:t.getTocNode(this.tocId)):void 0}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}Ne.styles=me,Oe([To({selector:t=>{var o;return null===(o=t.map)||void 0===o?void 0:o.id}})],Ne.prototype,"mapId",void 0),Oe([x()],Ne.prototype,"tocId",void 0),Oe([x({type:Boolean})],Ne.prototype,"disableContextInteractions",void 0),Oe([R()],Ne.prototype,"tocNode",void 0),L("ft-reader-topic-context")(Ne);var ve=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class Se extends Jo{constructor(){super(...arguments),this.renderTopic=()=>eo`
|
|
179
194
|
<ft-reader-topic-title></ft-reader-topic-title>
|
|
180
195
|
<ft-reader-topic-content></ft-reader-topic-content>
|
|
181
|
-
`,this.disableContextInteractions=!1,this.renderBeforeFirst=5,this.renderAfterLast=10,this.visibleTopicsDebouncer=new o(50)}render(){var t;const o=(null===(t=this.currentPage)||void 0===t?void 0:t.topics)||[];return 0===o.length?
|
|
196
|
+
`,this.disableContextInteractions=!1,this.renderBeforeFirst=5,this.renderAfterLast=10,this.visibleTopicsDebouncer=new o(50)}render(){var t;const o=(null===(t=this.currentPage)||void 0===t?void 0:t.topics)||[];return 0===o.length?io:eo`
|
|
182
197
|
<ft-infinite-scroll class="ft-reader-content"
|
|
183
198
|
.items=${o}
|
|
184
199
|
.renderItem=${(t,o)=>this.renderTopicInContext(t,o)}
|
|
@@ -191,8 +206,8 @@ class to extends Pt{constructor(t){if(super(t),this.et=J,t.type!==jt)throw Error
|
|
|
191
206
|
@scrolled-to-target=${this.onScrollDone}
|
|
192
207
|
>
|
|
193
208
|
</ft-infinite-scroll>
|
|
194
|
-
`}renderTopicInContext(t,o){return
|
|
209
|
+
`}renderTopicInContext(t,o){return eo`
|
|
195
210
|
<ft-reader-topic-context tocId="${t}" ?disableContextInteractions=${this.disableContextInteractions}>
|
|
196
211
|
${this.renderTopic(t,o)}
|
|
197
212
|
</ft-reader-topic-context>
|
|
198
|
-
`}getScrollTarget(){var t,o,e,r,i;if(this.disableContextInteractions)return null;const n=null!==(r=null===(t=this.visibleTopics)||void 0===t?void 0:t.includes(null!==(e=null===(o=this.scrollTarget)||void 0===o?void 0:o.tocId)&&void 0!==e?e:""))&&void 0!==r&&r;return!(null===(i=this.scrollTarget)||void 0===i?void 0:i.tocId)||n&&null!=this.scrollTarget.section?null:this.scrollTarget.tocId}visibleTopicChange(t){this.disableContextInteractions||this.visibleTopicsDebouncer.run((()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setVisibleTopics(t.detail.visibleItems)}))}onScrollDone(){var t,o;this.disableContextInteractions||(null===(t=this.scrollTarget)||void 0===t?void 0:t.section)||null===(o=this.stateManager)||void 0===o||o.scrollDone()}}
|
|
213
|
+
`}getScrollTarget(){var t,o,e,r,i;if(this.disableContextInteractions)return null;const n=null!==(r=null===(t=this.visibleTopics)||void 0===t?void 0:t.includes(null!==(e=null===(o=this.scrollTarget)||void 0===o?void 0:o.tocId)&&void 0!==e?e:""))&&void 0!==r&&r;return!(null===(i=this.scrollTarget)||void 0===i?void 0:i.tocId)||n&&null!=this.scrollTarget.section?null:this.scrollTarget.tocId}visibleTopicChange(t){this.disableContextInteractions||this.visibleTopicsDebouncer.run((()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setVisibleTopics(t.detail.visibleItems)}))}onScrollDone(){var t,o;this.disableContextInteractions||(null===(t=this.scrollTarget)||void 0===t?void 0:t.section)||null===(o=this.stateManager)||void 0===o||o.scrollDone()}}Se.elementDefinitions={"ft-infinite-scroll":ge},Se.styles=be,ve([x()],Se.prototype,"renderTopic",void 0),ve([x({type:Boolean})],Se.prototype,"disableContextInteractions",void 0),ve([To()],Se.prototype,"currentPage",void 0),ve([To()],Se.prototype,"scrollTarget",void 0),ve([To()],Se.prototype,"visibleTopics",void 0),ve([To({selector:t=>{var o,e;return null!==(e=null===(o=t.configuration)||void 0===o?void 0:o.loadBeforeFirstVisibleTopic)&&void 0!==e?e:5}})],Se.prototype,"renderBeforeFirst",void 0),ve([To({selector:t=>{var o,e;return null!==(e=null===(o=t.configuration)||void 0===o?void 0:o.loadAfterLastVisibleTopic)&&void 0!==e?e:5}})],Se.prototype,"renderAfterLast",void 0),ve([E(".ft-reader-content")],Se.prototype,"container",void 0),L("ft-reader-content")(Se),t.FtReaderContent=Se,t.FtReaderContentCssVariables={},t.styles=be}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-content",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Main content for integrated reader",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-infinite-scroll": "1.0
|
|
23
|
-
"@fluid-topics/ft-reader-topic-content": "1.0
|
|
24
|
-
"@fluid-topics/ft-reader-topic-context": "1.0
|
|
25
|
-
"@fluid-topics/ft-reader-topic-title": "1.0
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.0
|
|
27
|
-
"lit": "
|
|
22
|
+
"@fluid-topics/ft-infinite-scroll": "1.1.0",
|
|
23
|
+
"@fluid-topics/ft-reader-topic-content": "1.1.0",
|
|
24
|
+
"@fluid-topics/ft-reader-topic-context": "1.1.0",
|
|
25
|
+
"@fluid-topics/ft-reader-topic-title": "1.1.0",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.0",
|
|
27
|
+
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "3f2a051fc84a0e27b942f311efee39954f6d2883"
|
|
30
30
|
}
|