@fluid-topics/ft-reader-search-in-document 1.3.53 → 1.3.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var qv=Object.create;var il=Object.defineProperty;var Zv=Object.getOwnPropertyDescriptor;var Qv=Object.getOwnPropertyNames;var Yv=Object.getPrototypeOf,Xv=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var zo=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Uo=(t,e)=>{for(var r in e)il(t,r,{get:e[r],enumerable:!0})},Jv=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Qv(e))!Xv.call(t,n)&&n!==r&&il(t,n,{get:()=>e[n],enumerable:!(i=Zv(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?qv(Yv(t)):{},Jv(e||!t||!t.__esModule?il(r,"default",{value:t,enumerable:!0}):r,t));var v=zo((DS,su)=>{su.exports=ftGlobals.wcUtils});var R=zo((FS,lu)=>{lu.exports=ftGlobals.lit});var hu,Me,cu,S,du,pu,uu,fu,mu,Gr=p(()=>{"use strict";hu=u(R()),Me=u(v()),cu=Me.FtCssVariableFactory.extend("--ft-ripple-color","",Me.designSystemVariables.colorContent),S={color:cu,backgroundColor:Me.FtCssVariableFactory.extend("--ft-ripple-background-color","",cu),opacityContentOnSurfacePressed:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Me.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},du=Me.FtCssVariableFactory.extend("--ft-ripple-color","",Me.designSystemVariables.colorPrimary),pu={color:du,backgroundColor:Me.FtCssVariableFactory.extend("--ft-ripple-background-color","",du)},uu=Me.FtCssVariableFactory.extend("--ft-ripple-color","",Me.designSystemVariables.colorSecondary),fu={color:uu,backgroundColor:Me.FtCssVariableFactory.extend("--ft-ripple-background-color","",uu)},mu=hu.css`
1
+ "use strict";(()=>{var Yv=Object.create;var al=Object.defineProperty;var Xv=Object.getOwnPropertyDescriptor;var Jv=Object.getOwnPropertyNames;var eS=Object.getPrototypeOf,tS=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var zo=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ho=(t,e)=>{for(var r in e)al(t,r,{get:e[r],enumerable:!0})},rS=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Jv(e))!tS.call(t,n)&&n!==r&&al(t,n,{get:()=>e[n],enumerable:!(i=Xv(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?Yv(eS(t)):{},rS(e||!t||!t.__esModule?al(r,"default",{value:t,enumerable:!0}):r,t));var v=zo((M0,du)=>{du.exports=ftGlobals.wcUtils});var R=zo((U0,pu)=>{pu.exports=ftGlobals.lit});var yu,Me,uu,S,fu,hu,mu,gu,bu,jr=p(()=>{"use strict";yu=u(R()),Me=u(v()),uu=Me.FtCssVariableFactory.extend("--ft-ripple-color","",Me.designSystemVariables.colorContent),S={color:uu,backgroundColor:Me.FtCssVariableFactory.extend("--ft-ripple-background-color","",uu),opacityContentOnSurfacePressed:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Me.FtCssVariableFactory.external(Me.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Me.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},fu=Me.FtCssVariableFactory.extend("--ft-ripple-color","",Me.designSystemVariables.colorPrimary),hu={color:fu,backgroundColor:Me.FtCssVariableFactory.extend("--ft-ripple-background-color","",fu)},mu=Me.FtCssVariableFactory.extend("--ft-ripple-color","",Me.designSystemVariables.colorSecondary),gu={color:mu,backgroundColor:Me.FtCssVariableFactory.extend("--ft-ripple-background-color","",mu)},bu=yu.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -53,19 +53,19 @@
53
53
  }
54
54
 
55
55
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
- background-color: ${fu.backgroundColor};
56
+ background-color: ${gu.backgroundColor};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
- background-color: ${fu.color};
60
+ background-color: ${gu.color};
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${pu.backgroundColor};
64
+ background-color: ${hu.backgroundColor};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
- background-color: ${pu.color};
68
+ background-color: ${hu.color};
69
69
  }
70
70
 
71
71
  .ft-ripple .ft-ripple--background {
@@ -110,9 +110,9 @@
110
110
  opacity: ${S.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `});var H=zo((HS,bu)=>{bu.exports=ftGlobals.litDecorators});function xu(t,e){return so(`${t.name}: ${e}`)}var jr,so,o,ee=p(()=>{jr=u(R(),1),so=t=>typeof t=="string"?(0,jr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=l=>so(l??n),s=jr.css`var(${so(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>xu(s,l??a(n)),s.get=l=>jr.css`var(${so(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=jr.css`var(${so(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>xu(s,l??a(n)),s.get=l=>jr.css`var(${so(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=jr.css`var(${so(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>jr.css`var(${so(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,nl,al,sl,ll,cl,dl,pl,ul,Ho,e0,fl,hl,ml,gl,yl,bl,xl,vl,Sl,Cl,lo,Ol,wl,El,Al,Rl,Wo,oe=p(()=>{ee();c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},nl={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},al={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},sl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ll={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},cl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},dl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},pl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ul={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ho={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},e0={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},fl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},hl={fontFamily:o.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},ml={fontFamily:o.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},gl={fontFamily:o.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},yl={fontFamily:o.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},bl={fontFamily:o.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},xl={fontFamily:o.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},vl={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Sl={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Cl={fontFamily:o.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},lo={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ol={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},wl={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},El={fontFamily:o.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Al={fontFamily:o.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Rl={fontFamily:o.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Wo={display:nl,"title-1":al,"title-2":sl,"title-3":ll,"body-1-regular":cl,"body-1-medium":dl,"body-1-semibold":pl,"body-2-regular":ul,"body-2-medium":Ho,"body-2-medium-underline":e0,"body-2-semibold":fl,"label-1-medium":hl,"label-1-semibold":ml,"label-1-bold":gl,"label-2-medium":yl,"label-2-semibold":bl,"label-2-bold":xl,"caption-1-medium":vl,"caption-1-semibold":Sl,"caption-1-bold":Cl,"caption-2-medium":lo,"caption-2-semibold":Ol,"caption-2-bold":wl,"caption-3-medium":El,"caption-3-semibold":Al,"caption-3-bold":Rl}});var d,le=p(()=>{ee();oe();d={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
114
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var m,vu=p(()=>{ee();oe();le();m={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var rC,Su=p(()=>{ee();oe();le();rC={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)}});var sC,Cu=p(()=>{ee();oe();le();sC={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ftds-checkbox-left-padding","",c.spacing2)}});var uC,Ou=p(()=>{ee();oe();le();uC={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var yC,wu=p(()=>{ee();oe();le();yC={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var CC,Eu=p(()=>{ee();oe();le();CC={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var M,Au=p(()=>{ee();oe();le();M={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)}});var TC,Ru=p(()=>{ee();oe();le();TC={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)}});var BC,Lu=p(()=>{ee();oe();le();BC={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)}});var UC,Iu=p(()=>{ee();oe();le();UC={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)}});var jC,ku=p(()=>{ee();oe();le();jC={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var YC,Tu=p(()=>{ee();oe();le();YC={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var rO,$u=p(()=>{ee();oe();le();rO={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var aO,Pu=p(()=>{ee();oe();aO={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var pO,_u=p(()=>{ee();oe();le();pO={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var gO,Nu=p(()=>{ee();oe();le();gO={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var SO,Bu=p(()=>{ee();oe();le();SO={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var AO,Du=p(()=>{ee();oe();le();AO={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var TO,Fu=p(()=>{ee();oe();le();TO={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)}});var BO,Mu=p(()=>{ee();oe();le();BO={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)}});var UO,zu=p(()=>{ee();oe();le();UO={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var jO,Uu=p(()=>{ee();oe();le();jO={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)}});var YO,Hu=p(()=>{ee();oe();le();YO={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)}});var rw,Wu=p(()=>{ee();oe();le();rw={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var sw,Vu=p(()=>{ee();oe();le();sw={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var pw,Gu=p(()=>{ee();oe();pw={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var mw,ju=p(()=>{ee();oe();mw={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var vw,Ku=p(()=>{ee();oe();le();vw={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")}});var Ew,qu=p(()=>{ee();oe();le();Ew={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)}});var kw,Zu=p(()=>{ee();oe();le();kw={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var Nw,Qu=p(()=>{ee();oe();le();Nw={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)}});var zw,Yu=p(()=>{ee();oe();le();zw={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var Vw,Xu=p(()=>{ee();oe();Vw={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var Ju=p(()=>{oe();le();vu();Su();Cu();Ou();wu();Eu();Au();Ru();Lu();Iu();ku();Tu();$u();Pu();_u();Nu();Bu();Du();Fu();Mu();zu();Uu();Hu();Wu();Vu();Gu();ju();Ku();qu();Zu();Qu();Yu();Xu()});var co,cr,ef=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(co||(co={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(cr||(cr={}))});var $=p(()=>{ee();Ju();ef()});function tf(t,e){let r=Wo[t];return vi.css`
115
- ${e?(0,vi.unsafeCSS)(e):vi.css`.ft-typography--${(0,vi.unsafeCSS)(t)}`} {
113
+ `});var H=zo((V0,Su)=>{Su.exports=ftGlobals.litDecorators});function Cu(t,e){return lo(`${t.name}: ${e}`)}var Kr,lo,o,ee=p(()=>{Kr=u(R(),1),lo=t=>typeof t=="string"?(0,Kr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=l=>lo(l??n),s=Kr.css`var(${lo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>Cu(s,l??a(n)),s.get=l=>Kr.css`var(${lo(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=Kr.css`var(${lo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>Cu(s,l??a(n)),s.get=l=>Kr.css`var(${lo(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=Kr.css`var(${lo(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>Kr.css`var(${lo(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,sl,ll,cl,dl,pl,ul,fl,hl,Wo,oS,ml,gl,yl,bl,xl,vl,Sl,Cl,Ol,wl,co,El,Al,Rl,Ll,Il,Vo,oe=p(()=>{ee();c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},sl={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},ll={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},cl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},dl={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},pl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},ul={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},fl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},hl={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Wo={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},oS={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ml={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},gl={fontFamily:o.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},yl={fontFamily:o.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},bl={fontFamily:o.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},xl={fontFamily:o.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},vl={fontFamily:o.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Sl={fontFamily:o.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Cl={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ol={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},wl={fontFamily:o.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},co={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},El={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Al={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Rl={fontFamily:o.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Ll={fontFamily:o.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Il={fontFamily:o.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Vo={display:sl,"title-1":ll,"title-2":cl,"title-3":dl,"body-1-regular":pl,"body-1-medium":ul,"body-1-semibold":fl,"body-2-regular":hl,"body-2-medium":Wo,"body-2-medium-underline":oS,"body-2-semibold":ml,"label-1-medium":gl,"label-1-semibold":yl,"label-1-bold":bl,"label-2-medium":xl,"label-2-semibold":vl,"label-2-bold":Sl,"caption-1-medium":Cl,"caption-1-semibold":Ol,"caption-1-bold":wl,"caption-2-medium":co,"caption-2-semibold":El,"caption-2-bold":Al,"caption-3-medium":Rl,"caption-3-semibold":Ll,"caption-3-bold":Il}});var d,le=p(()=>{ee();oe();d={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var m,Ou=p(()=>{ee();oe();le();m={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var iC,wu=p(()=>{ee();oe();le();iC={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)}});var cC,Eu=p(()=>{ee();oe();le();cC={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ftds-checkbox-left-padding","",c.spacing2)}});var hC,Au=p(()=>{ee();oe();le();hC={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var xC,Ru=p(()=>{ee();oe();le();xC={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var wC,Lu=p(()=>{ee();oe();le();wC={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var M,Iu=p(()=>{ee();oe();le();M={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)}});var PC,ku=p(()=>{ee();oe();le();PC={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)}});var FC,Tu=p(()=>{ee();oe();le();FC={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)}});var WC,$u=p(()=>{ee();oe();le();WC={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)}});var qC,Pu=p(()=>{ee();oe();le();qC={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var JC,_u=p(()=>{ee();oe();le();JC={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var iO,Nu=p(()=>{ee();oe();le();iO={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var lO,Bu=p(()=>{ee();oe();lO={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var fO,Du=p(()=>{ee();oe();le();fO={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var bO,Fu=p(()=>{ee();oe();le();bO={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var OO,Mu=p(()=>{ee();oe();le();OO={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var LO,Uu=p(()=>{ee();oe();le();LO={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var PO,zu=p(()=>{ee();oe();le();PO={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)}});var FO,Hu=p(()=>{ee();oe();le();FO={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)}});var WO,Wu=p(()=>{ee();oe();le();WO={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var qO,Vu=p(()=>{ee();oe();le();qO={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)}});var JO,Gu=p(()=>{ee();oe();le();JO={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)}});var iw,ju=p(()=>{ee();oe();le();iw={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var cw,Ku=p(()=>{ee();oe();le();cw={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var fw,qu=p(()=>{ee();oe();fw={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var yw,Zu=p(()=>{ee();oe();yw={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Cw,Qu=p(()=>{ee();oe();le();Cw={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")}});var Rw,Yu=p(()=>{ee();oe();le();Rw={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)}});var $w,Xu=p(()=>{ee();oe();le();$w={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var Dw,Ju=p(()=>{ee();oe();le();Dw={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)}});var Hw,ef=p(()=>{ee();oe();le();Hw={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var jw,tf=p(()=>{ee();oe();jw={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var rf=p(()=>{oe();le();Ou();wu();Eu();Au();Ru();Lu();Iu();ku();Tu();$u();Pu();_u();Nu();Bu();Du();Fu();Mu();Uu();zu();Hu();Wu();Vu();Gu();ju();Ku();qu();Zu();Qu();Yu();Xu();Ju();ef();tf()});var po,cr,of=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(po||(po={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(cr||(cr={}))});var $=p(()=>{ee();rf();of()});function nf(t,e){let r=Vo[t];return Si.css`
115
+ ${e?(0,Si.unsafeCSS)(e):Si.css`.ft-typography--${(0,Si.unsafeCSS)(t)}`} {
116
116
  font-family: ${r.fontFamily};
117
117
  font-size: ${r.fontSize};
118
118
  font-weight: ${r.fontWeight};
@@ -121,17 +121,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
121
121
  text-decoration: ${r.textDecoration};
122
122
  text-transform: ${r.textCase};
123
123
  }
124
- `}var vi,rf=p(()=>{"use strict";vi=u(R());$()});var Gt,I,of,qr,T,Si,Ci,Oi,wi,Kr,Ve,Qe,Ei,Ai,wr,nf,af,sf,lf,cf,po,Er,df,pf,uf,ff,hf,jt=p(()=>{"use strict";Gt=u(R()),I=u(v());$();rf();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();of=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.titleFont),qr=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.contentFont),T={fontFamily:qr,fontSize:I.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:I.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:I.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:I.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:I.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Si={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-font-family","",of),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Ci={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",of),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Oi={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},wi={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},Kr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Ve={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},Qe={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Ei={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Ai={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},wr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-button-font-family","",qr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},nf=Gt.css`
124
+ `}var Si,af=p(()=>{"use strict";Si=u(R());$()});var Gt,I,sf,Zr,T,Ci,Oi,wi,Ei,qr,Ve,Qe,Ai,Ri,wr,lf,cf,df,pf,uf,uo,Er,ff,hf,mf,gf,yf,jt=p(()=>{"use strict";Gt=u(R()),I=u(v());$();af();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();sf=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.titleFont),Zr=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.contentFont),T={fontFamily:Zr,fontSize:I.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:I.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:I.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:I.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:I.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ci={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-font-family","",sf),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Oi={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",sf),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},wi={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Ei={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},qr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Ve={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},Qe={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Ai={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Ri={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},wr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Zr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},lf=Gt.css`
125
125
  .ft-typography--title {
126
- font-family: ${Si.fontFamily};
127
- font-size: ${Si.fontSize};
128
- font-weight: ${Si.fontWeight};
129
- letter-spacing: ${Si.letterSpacing};
130
- line-height: ${Si.lineHeight};
131
- text-transform: ${Si.textTransform};
132
- }
133
- `,af=Gt.css`
134
- .ft-typography--title-dense {
135
126
  font-family: ${Ci.fontFamily};
136
127
  font-size: ${Ci.fontSize};
137
128
  font-weight: ${Ci.fontWeight};
@@ -139,8 +130,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
139
130
  line-height: ${Ci.lineHeight};
140
131
  text-transform: ${Ci.textTransform};
141
132
  }
142
- `,sf=Gt.css`
143
- .ft-typography--subtitle1 {
133
+ `,cf=Gt.css`
134
+ .ft-typography--title-dense {
144
135
  font-family: ${Oi.fontFamily};
145
136
  font-size: ${Oi.fontSize};
146
137
  font-weight: ${Oi.fontWeight};
@@ -148,8 +139,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
148
139
  line-height: ${Oi.lineHeight};
149
140
  text-transform: ${Oi.textTransform};
150
141
  }
151
- `,lf=Gt.css`
152
- .ft-typography--subtitle2 {
142
+ `,df=Gt.css`
143
+ .ft-typography--subtitle1 {
153
144
  font-family: ${wi.fontFamily};
154
145
  font-size: ${wi.fontSize};
155
146
  font-weight: ${wi.fontWeight};
@@ -157,17 +148,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
157
148
  line-height: ${wi.lineHeight};
158
149
  text-transform: ${wi.textTransform};
159
150
  }
151
+ `,pf=Gt.css`
152
+ .ft-typography--subtitle2 {
153
+ font-family: ${Ei.fontFamily};
154
+ font-size: ${Ei.fontSize};
155
+ font-weight: ${Ei.fontWeight};
156
+ letter-spacing: ${Ei.letterSpacing};
157
+ line-height: ${Ei.lineHeight};
158
+ text-transform: ${Ei.textTransform};
159
+ }
160
160
 
161
- `,cf=Gt.css`
161
+ `,uf=Gt.css`
162
162
  .ft-typography--body1 {
163
- font-family: ${Kr.fontFamily};
164
- font-size: ${Kr.fontSize};
165
- font-weight: ${Kr.fontWeight};
166
- letter-spacing: ${Kr.letterSpacing};
167
- line-height: ${Kr.lineHeight};
168
- text-transform: ${Kr.textTransform};
169
- }
170
- `,po=Gt.css`
163
+ font-family: ${qr.fontFamily};
164
+ font-size: ${qr.fontSize};
165
+ font-weight: ${qr.fontWeight};
166
+ letter-spacing: ${qr.letterSpacing};
167
+ line-height: ${qr.lineHeight};
168
+ text-transform: ${qr.textTransform};
169
+ }
170
+ `,uo=Gt.css`
171
171
  .ft-typography--body2 {
172
172
  font-family: ${Ve.fontFamily};
173
173
  font-size: ${Ve.fontSize};
@@ -185,17 +185,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
185
185
  line-height: ${Qe.lineHeight};
186
186
  text-transform: ${Qe.textTransform};
187
187
  }
188
- `,df=Gt.css`
188
+ `,ff=Gt.css`
189
189
  .ft-typography--breadcrumb {
190
- font-family: ${Ei.fontFamily};
191
- font-size: ${Ei.fontSize};
192
- font-weight: ${Ei.fontWeight};
193
- letter-spacing: ${Ei.letterSpacing};
194
- line-height: ${Ei.lineHeight};
195
- text-transform: ${Ei.textTransform};
196
- }
197
- `,pf=Gt.css`
198
- .ft-typography--overline {
199
190
  font-family: ${Ai.fontFamily};
200
191
  font-size: ${Ai.fontSize};
201
192
  font-weight: ${Ai.fontWeight};
@@ -203,7 +194,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
203
194
  line-height: ${Ai.lineHeight};
204
195
  text-transform: ${Ai.textTransform};
205
196
  }
206
- `,uf=Gt.css`
197
+ `,hf=Gt.css`
198
+ .ft-typography--overline {
199
+ font-family: ${Ri.fontFamily};
200
+ font-size: ${Ri.fontSize};
201
+ font-weight: ${Ri.fontWeight};
202
+ letter-spacing: ${Ri.letterSpacing};
203
+ line-height: ${Ri.lineHeight};
204
+ text-transform: ${Ri.textTransform};
205
+ }
206
+ `,mf=Gt.css`
207
207
  .ft-typography--button {
208
208
  font-family: ${wr.fontFamily};
209
209
  font-size: ${wr.fontSize};
@@ -212,11 +212,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
212
212
  line-height: ${wr.lineHeight};
213
213
  text-transform: ${wr.textTransform};
214
214
  }
215
- `,ff=Gt.css`
215
+ `,gf=Gt.css`
216
216
  .ft-typography {
217
217
  vertical-align: inherit;
218
218
  }
219
- `,hf=[Object.keys(Wo).map(t=>tf(t))]});var mf,fn,Ae,gf,hn=p(()=>{"use strict";mf=u(R()),fn=u(v()),Ae={color:fn.FtCssVariableFactory.extend("--ft-loader-color","",fn.designSystemVariables.colorPrimary),size:fn.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},gf=mf.css`
219
+ `,yf=[Object.keys(Vo).map(t=>nf(t))]});var bf,gn,Ae,xf,yn=p(()=>{"use strict";bf=u(R()),gn=u(v()),Ae={color:gn.FtCssVariableFactory.extend("--ft-loader-color","",gn.designSystemVariables.colorPrimary),size:gn.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},xf=bf.css`
220
220
  :host {
221
221
  line-height: 0;
222
222
  }
@@ -285,7 +285,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
285
285
  transform: translate(calc(0.35 * ${Ae.size}), 0);
286
286
  }
287
287
  }
288
- `});var yf,dr,$e,bf,Vo=p(()=>{"use strict";yf=u(R()),dr=u(v()),$e={size:dr.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:dr.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",dr.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:dr.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",dr.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:dr.FtCssVariableFactory.extend("--ft-icon-material-font-family","",dr.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:dr.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},bf=[yf.css`
288
+ `});var vf,dr,$e,Sf,Go=p(()=>{"use strict";vf=u(R()),dr=u(v()),$e={size:dr.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:dr.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",dr.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:dr.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",dr.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:dr.FtCssVariableFactory.extend("--ft-icon-material-font-family","",dr.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:dr.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Sf=[vf.css`
289
289
  :host, i.ft-icon {
290
290
  display: inline-flex;
291
291
  align-items: center;
@@ -333,7 +333,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
333
333
  .ft-icon--material {
334
334
  font-family: ${$e.materialFontFamily}, "Material Icons", sans-serif;
335
335
  }
336
- `,dr.noTextSelect]});var Sf,Z,xf,j,vf,Ll,Ar,Cf,Go=p(()=>{"use strict";Sf=u(R()),Z=u(v());Gr();jt();hn();Vo();xf=Z.FtCssVariableFactory.extend("--ft-button-color","",Z.designSystemVariables.colorPrimary),j={backgroundColor:Z.FtCssVariableFactory.extend("--ft-button-background-color","",Z.designSystemVariables.colorSurface),borderRadius:Z.FtCssVariableFactory.extend("--ft-button-border-radius","",Z.designSystemVariables.borderRadiusL),color:xf,fontSize:Z.FtCssVariableFactory.extend("--ft-button-font-size","",wr.fontSize),iconSize:Z.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Z.FtCssVariableFactory.extend("--ft-button-ripple-color","",xf),verticalPadding:Z.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Z.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Z.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOpacityDisabled,"Design system")},vf=Z.FtCssVariableFactory.extend("--ft-button-primary-color","",Z.FtCssVariableFactory.extend("--ft-button-color","",Z.designSystemVariables.colorOnPrimary)),Ll={backgroundColor:Z.FtCssVariableFactory.extend("--ft-button-primary-background-color","",Z.FtCssVariableFactory.extend("--ft-button-background-color","",Z.designSystemVariables.colorPrimary)),color:vf,rippleColor:Z.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",vf)},Ar={borderRadius:Z.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",Z.FtCssVariableFactory.extend("--ft-button-border-radius","",Z.designSystemVariables.borderRadiusM)),verticalPadding:Z.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:Z.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:Z.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Cf=[Sf.css`
336
+ `,dr.noTextSelect]});var wf,Z,Cf,j,Of,kl,Ar,Ef,jo=p(()=>{"use strict";wf=u(R()),Z=u(v());jr();jt();yn();Go();Cf=Z.FtCssVariableFactory.extend("--ft-button-color","",Z.designSystemVariables.colorPrimary),j={backgroundColor:Z.FtCssVariableFactory.extend("--ft-button-background-color","",Z.designSystemVariables.colorSurface),borderRadius:Z.FtCssVariableFactory.extend("--ft-button-border-radius","",Z.designSystemVariables.borderRadiusL),color:Cf,fontSize:Z.FtCssVariableFactory.extend("--ft-button-font-size","",wr.fontSize),iconSize:Z.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Z.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cf),verticalPadding:Z.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Z.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Z.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOpacityDisabled,"Design system")},Of=Z.FtCssVariableFactory.extend("--ft-button-primary-color","",Z.FtCssVariableFactory.extend("--ft-button-color","",Z.designSystemVariables.colorOnPrimary)),kl={backgroundColor:Z.FtCssVariableFactory.extend("--ft-button-primary-background-color","",Z.FtCssVariableFactory.extend("--ft-button-background-color","",Z.designSystemVariables.colorPrimary)),color:Of,rippleColor:Z.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Of)},Ar={borderRadius:Z.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",Z.FtCssVariableFactory.extend("--ft-button-border-radius","",Z.designSystemVariables.borderRadiusM)),verticalPadding:Z.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:Z.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:Z.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ef=[wf.css`
337
337
  :host {
338
338
  display: inline-block;
339
339
  max-width: 100%;
@@ -419,9 +419,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
419
419
  }
420
420
 
421
421
  .ft-button.ft-button--primary {
422
- background-color: ${Ll.backgroundColor};
423
- --button-internal-color: ${Ll.color};
424
- ${(0,Z.setVariable)(S.color,Ll.rippleColor)};
422
+ background-color: ${kl.backgroundColor};
423
+ --button-internal-color: ${kl.color};
424
+ ${(0,Z.setVariable)(S.color,kl.rippleColor)};
425
425
  }
426
426
 
427
427
  .ft-button:focus {
@@ -470,29 +470,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
470
470
  ${(0,Z.setVariable)(Ae.size,j.iconSize)};
471
471
  ${(0,Z.setVariable)(Ae.color,"var(--button-internal-color)")};
472
472
  }
473
- `,Z.noTextSelect]});var Ct=zo((gA,Of)=>{Of.exports=ftGlobals.litClassMap});var wf,tt,Ef,mn,Ot,K,Il=p(()=>{"use strict";wf=u(R()),tt=u(H()),Ef=u(Ct()),mn=u(v());Gr();Ot=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},K=class extends mn.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new mn.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new mn.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return wf.html`
473
+ `,Z.noTextSelect]});var Ot=zo((bA,Af)=>{Af.exports=ftGlobals.litClassMap});var Rf,tt,Lf,bn,wt,K,Tl=p(()=>{"use strict";Rf=u(R()),tt=u(H()),Lf=u(Ot()),bn=u(v());jr();wt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},K=class extends bn.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new bn.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new bn.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Rf.html`
474
474
  <style>
475
475
  .ft-ripple .ft-ripple--effect {
476
476
  left: ${this.originX}px;
477
477
  top: ${this.originY}px;
478
478
  }
479
479
  </style>
480
- <div class="${(0,Ef.classMap)(e)}">
480
+ <div class="${(0,Lf.classMap)(e)}">
481
481
  <div class="ft-ripple--background"></div>
482
482
  <div class="ft-ripple--effect"></div>
483
483
  </div>
484
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>f=>{l.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=mu;Ot([(0,tt.property)({type:Boolean})],K.prototype,"primary",void 0);Ot([(0,tt.property)({type:Boolean})],K.prototype,"secondary",void 0);Ot([(0,tt.property)({type:Boolean})],K.prototype,"unbounded",void 0);Ot([(0,tt.property)({type:Boolean})],K.prototype,"activated",void 0);Ot([(0,tt.property)({type:Boolean})],K.prototype,"selected",void 0);Ot([(0,tt.property)({type:Boolean})],K.prototype,"disabled",void 0);Ot([(0,tt.state)()],K.prototype,"hovered",void 0);Ot([(0,tt.state)()],K.prototype,"focused",void 0);Ot([(0,tt.state)()],K.prototype,"pressed",void 0);Ot([(0,tt.state)()],K.prototype,"rippling",void 0);Ot([(0,tt.state)()],K.prototype,"originX",void 0);Ot([(0,tt.state)()],K.prototype,"originY",void 0);Ot([(0,tt.query)(".ft-ripple")],K.prototype,"ripple",void 0);Ot([(0,tt.query)(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0)});var Af=p(()=>{"use strict"});var Rf,gt=p(()=>{"use strict";Rf=u(v());Il();Il();Gr();Af();(0,Rf.customElement)("ft-ripple")(K)});function zf(t,e){if(!Dl(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lf!==void 0?Lf.createHTML(e):e}function Ri(t,e,r=t,i){if(e===bn)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=yn(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Ri(t,n._$AS(t,e.values),n,i)),e}var Bl,oa,Lf,_f,uo,Nf,t0,qo,ia,yn,Dl,r0,kl,gn,If,kf,jo,Tf,$f,Bf,Fl,Df,Ff,Mf,bn,ze,Pf,Ko,o0,xn,Tl,na,Li,$l,Pl,_l,Nl,i0,Ml=p(()=>{Bl=globalThis,oa=Bl.trustedTypes,Lf=oa?oa.createPolicy("lit-html",{createHTML:t=>t}):void 0,_f="$lit$",uo=`lit$${Math.random().toFixed(9).slice(2)}$`,Nf="?"+uo,t0=`<${Nf}>`,qo=document,ia=()=>qo.createComment(""),yn=t=>t===null||typeof t!="object"&&typeof t!="function",Dl=Array.isArray,r0=t=>Dl(t)||typeof t?.[Symbol.iterator]=="function",kl=`[
485
- \f\r]`,gn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,If=/-->/g,kf=/>/g,jo=RegExp(`>|${kl}(?:([^\\s"'>=/]+)(${kl}*=${kl}*(?:[^
486
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Tf=/'/g,$f=/"/g,Bf=/^(?:script|style|textarea|title)$/i,Fl=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Df=Fl(1),Ff=Fl(2),Mf=Fl(3),bn=Symbol.for("lit-noChange"),ze=Symbol.for("lit-nothing"),Pf=new WeakMap,Ko=qo.createTreeWalker(qo,129);o0=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=gn;for(let l=0;l<r;l++){let f=t[l],h,y,g=-1,x=0;for(;x<f.length&&(s.lastIndex=x,y=s.exec(f),y!==null);)x=s.lastIndex,s===gn?y[1]==="!--"?s=If:y[1]!==void 0?s=kf:y[2]!==void 0?(Bf.test(y[2])&&(n=RegExp("</"+y[2],"g")),s=jo):y[3]!==void 0&&(s=jo):s===jo?y[0]===">"?(s=n??gn,g=-1):y[1]===void 0?g=-2:(g=s.lastIndex-y[2].length,h=y[1],s=y[3]===void 0?jo:y[3]==='"'?$f:Tf):s===$f||s===Tf?s=jo:s===If||s===kf?s=gn:(s=jo,n=void 0);let w=s===jo&&t[l+1].startsWith("/>")?" ":"";a+=s===gn?f+t0:g>=0?(i.push(h),f.slice(0,g)+_f+f.slice(g)+uo+w):f+uo+(g===-2?l:w)}return[zf(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},xn=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,f=this.parts,[h,y]=o0(e,r);if(this.el=t.createElement(h,i),Ko.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=Ko.nextNode())!==null&&f.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let g of n.getAttributeNames())if(g.endsWith(_f)){let x=y[s++],w=n.getAttribute(g).split(uo),O=/([.?@])?(.*)/.exec(x);f.push({type:1,index:a,name:O[2],strings:w,ctor:O[1]==="."?$l:O[1]==="?"?Pl:O[1]==="@"?_l:Li}),n.removeAttribute(g)}else g.startsWith(uo)&&(f.push({type:6,index:a}),n.removeAttribute(g));if(Bf.test(n.tagName)){let g=n.textContent.split(uo),x=g.length-1;if(x>0){n.textContent=oa?oa.emptyScript:"";for(let w=0;w<x;w++)n.append(g[w],ia()),Ko.nextNode(),f.push({type:2,index:++a});n.append(g[x],ia())}}}else if(n.nodeType===8)if(n.data===Nf)f.push({type:2,index:a});else{let g=-1;for(;(g=n.data.indexOf(uo,g+1))!==-1;)f.push({type:7,index:a}),g+=uo.length-1}a++}}static createElement(e,r){let i=qo.createElement("template");return i.innerHTML=e,i}};Tl=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??qo).importNode(r,!0);Ko.currentNode=n;let a=Ko.nextNode(),s=0,l=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new na(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new Nl(a,this,e)),this._$AV.push(h),f=i[++l]}s!==f?.index&&(a=Ko.nextNode(),s++)}return Ko.currentNode=qo,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},na=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=ze,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Ri(this,e,r),yn(e)?e===ze||e==null||e===""?(this._$AH!==ze&&this._$AR(),this._$AH=ze):e!==this._$AH&&e!==bn&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):r0(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==ze&&yn(this._$AH)?this._$AA.nextSibling.data=e:this.T(qo.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=xn.createElement(zf(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Tl(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Pf.get(e.strings);return r===void 0&&Pf.set(e.strings,r=new xn(e)),r}k(e){Dl(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(ia()),this.O(ia()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Li=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=ze,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ze}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Ri(this,e,r,0),s=!yn(e)||e!==this._$AH&&e!==bn,s&&(this._$AH=e);else{let l=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=Ri(this,l[i+f],r,f),h===bn&&(h=this._$AH[f]),s||=!yn(h)||h!==this._$AH[f],h===ze?e=ze:e!==ze&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.j(e)}j(e){e===ze?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},$l=class extends Li{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===ze?void 0:e}},Pl=class extends Li{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==ze)}},_l=class extends Li{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Ri(this,e,r,0)??ze)===bn)return;let i=this._$AH,n=e===ze&&i!==ze||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==ze&&(i===ze||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Nl=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Ri(this,e)}},i0=Bl.litHtmlPolyfillSupport;i0?.(xn,na),(Bl.litHtmlVersions??=[]).push("3.3.0")});var Hf,n0,Ii,Uf,zl,ki,AA,RA,Wf=p(()=>{Ml();Hf=Symbol.for(""),n0=t=>{if(t?.r===Hf)return t?._$litStatic$},Ii=t=>({_$litStatic$:t,r:Hf}),Uf=new Map,zl=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],f,h=0,y=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=n0(a))!==void 0);)f+=n+e[++h],y=!0;h!==i&&l.push(a),s.push(f),h++}if(h===i&&s.push(e[i]),y){let g=s.join("$$lit$$");(e=Uf.get(g))===void 0&&(s.raw=s,Uf.set(g,e=s)),r=l}return t(e,...r)},ki=zl(Df),AA=zl(Ff),RA=zl(Mf)});var Ul=p(()=>{Wf()});var Re,aa=p(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Re||(Re={}))});var Hl,Gf,Vf,Q,Wl=p(()=>{"use strict";Ul();Hl=u(H()),Gf=u(v());aa();jt();Vf=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Q=class extends Gf.FtLitElement{constructor(){super(...arguments),this.variant=Re.body1}render(){return this.element?ki`
487
- <${Ii(this.element)}
484
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>f=>{l.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=bu;wt([(0,tt.property)({type:Boolean})],K.prototype,"primary",void 0);wt([(0,tt.property)({type:Boolean})],K.prototype,"secondary",void 0);wt([(0,tt.property)({type:Boolean})],K.prototype,"unbounded",void 0);wt([(0,tt.property)({type:Boolean})],K.prototype,"activated",void 0);wt([(0,tt.property)({type:Boolean})],K.prototype,"selected",void 0);wt([(0,tt.property)({type:Boolean})],K.prototype,"disabled",void 0);wt([(0,tt.state)()],K.prototype,"hovered",void 0);wt([(0,tt.state)()],K.prototype,"focused",void 0);wt([(0,tt.state)()],K.prototype,"pressed",void 0);wt([(0,tt.state)()],K.prototype,"rippling",void 0);wt([(0,tt.state)()],K.prototype,"originX",void 0);wt([(0,tt.state)()],K.prototype,"originY",void 0);wt([(0,tt.query)(".ft-ripple")],K.prototype,"ripple",void 0);wt([(0,tt.query)(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0)});var If=p(()=>{"use strict"});var kf,gt=p(()=>{"use strict";kf=u(v());Tl();Tl();jr();If();(0,kf.customElement)("ft-ripple")(K)});function Wf(t,e){if(!Ml(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tf!==void 0?Tf.createHTML(e):e}function Li(t,e,r=t,i){if(e===Sn)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=vn(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Li(t,n._$AS(t,e.values),n,i)),e}var Fl,aa,Tf,Df,fo,Ff,iS,Zo,sa,vn,Ml,nS,$l,xn,$f,Pf,Ko,_f,Nf,Mf,Ul,Uf,zf,Hf,Sn,Ue,Bf,qo,aS,Cn,Pl,la,Ii,_l,Nl,Bl,Dl,sS,zl=p(()=>{Fl=globalThis,aa=Fl.trustedTypes,Tf=aa?aa.createPolicy("lit-html",{createHTML:t=>t}):void 0,Df="$lit$",fo=`lit$${Math.random().toFixed(9).slice(2)}$`,Ff="?"+fo,iS=`<${Ff}>`,Zo=document,sa=()=>Zo.createComment(""),vn=t=>t===null||typeof t!="object"&&typeof t!="function",Ml=Array.isArray,nS=t=>Ml(t)||typeof t?.[Symbol.iterator]=="function",$l=`[
485
+ \f\r]`,xn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$f=/-->/g,Pf=/>/g,Ko=RegExp(`>|${$l}(?:([^\\s"'>=/]+)(${$l}*=${$l}*(?:[^
486
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),_f=/'/g,Nf=/"/g,Mf=/^(?:script|style|textarea|title)$/i,Ul=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Uf=Ul(1),zf=Ul(2),Hf=Ul(3),Sn=Symbol.for("lit-noChange"),Ue=Symbol.for("lit-nothing"),Bf=new WeakMap,qo=Zo.createTreeWalker(Zo,129);aS=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=xn;for(let l=0;l<r;l++){let f=t[l],h,y,g=-1,x=0;for(;x<f.length&&(s.lastIndex=x,y=s.exec(f),y!==null);)x=s.lastIndex,s===xn?y[1]==="!--"?s=$f:y[1]!==void 0?s=Pf:y[2]!==void 0?(Mf.test(y[2])&&(n=RegExp("</"+y[2],"g")),s=Ko):y[3]!==void 0&&(s=Ko):s===Ko?y[0]===">"?(s=n??xn,g=-1):y[1]===void 0?g=-2:(g=s.lastIndex-y[2].length,h=y[1],s=y[3]===void 0?Ko:y[3]==='"'?Nf:_f):s===Nf||s===_f?s=Ko:s===$f||s===Pf?s=xn:(s=Ko,n=void 0);let w=s===Ko&&t[l+1].startsWith("/>")?" ":"";a+=s===xn?f+iS:g>=0?(i.push(h),f.slice(0,g)+Df+f.slice(g)+fo+w):f+fo+(g===-2?l:w)}return[Wf(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Cn=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,f=this.parts,[h,y]=aS(e,r);if(this.el=t.createElement(h,i),qo.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=qo.nextNode())!==null&&f.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let g of n.getAttributeNames())if(g.endsWith(Df)){let x=y[s++],w=n.getAttribute(g).split(fo),O=/([.?@])?(.*)/.exec(x);f.push({type:1,index:a,name:O[2],strings:w,ctor:O[1]==="."?_l:O[1]==="?"?Nl:O[1]==="@"?Bl:Ii}),n.removeAttribute(g)}else g.startsWith(fo)&&(f.push({type:6,index:a}),n.removeAttribute(g));if(Mf.test(n.tagName)){let g=n.textContent.split(fo),x=g.length-1;if(x>0){n.textContent=aa?aa.emptyScript:"";for(let w=0;w<x;w++)n.append(g[w],sa()),qo.nextNode(),f.push({type:2,index:++a});n.append(g[x],sa())}}}else if(n.nodeType===8)if(n.data===Ff)f.push({type:2,index:a});else{let g=-1;for(;(g=n.data.indexOf(fo,g+1))!==-1;)f.push({type:7,index:a}),g+=fo.length-1}a++}}static createElement(e,r){let i=Zo.createElement("template");return i.innerHTML=e,i}};Pl=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Zo).importNode(r,!0);qo.currentNode=n;let a=qo.nextNode(),s=0,l=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new la(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new Dl(a,this,e)),this._$AV.push(h),f=i[++l]}s!==f?.index&&(a=qo.nextNode(),s++)}return qo.currentNode=Zo,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},la=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Ue,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Li(this,e,r),vn(e)?e===Ue||e==null||e===""?(this._$AH!==Ue&&this._$AR(),this._$AH=Ue):e!==this._$AH&&e!==Sn&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):nS(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Ue&&vn(this._$AH)?this._$AA.nextSibling.data=e:this.T(Zo.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Cn.createElement(Wf(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Pl(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Bf.get(e.strings);return r===void 0&&Bf.set(e.strings,r=new Cn(e)),r}k(e){Ml(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(sa()),this.O(sa()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ii=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Ue,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Ue}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Li(this,e,r,0),s=!vn(e)||e!==this._$AH&&e!==Sn,s&&(this._$AH=e);else{let l=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=Li(this,l[i+f],r,f),h===Sn&&(h=this._$AH[f]),s||=!vn(h)||h!==this._$AH[f],h===Ue?e=Ue:e!==Ue&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.j(e)}j(e){e===Ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_l=class extends Ii{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Ue?void 0:e}},Nl=class extends Ii{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Ue)}},Bl=class extends Ii{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Li(this,e,r,0)??Ue)===Sn)return;let i=this._$AH,n=e===Ue&&i!==Ue||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Ue&&(i===Ue||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Dl=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Li(this,e)}},sS=Fl.litHtmlPolyfillSupport;sS?.(Cn,la),(Fl.litHtmlVersions??=[]).push("3.3.0")});var Gf,lS,ki,Vf,Hl,Ti,LA,IA,jf=p(()=>{zl();Gf=Symbol.for(""),lS=t=>{if(t?.r===Gf)return t?._$litStatic$},ki=t=>({_$litStatic$:t,r:Gf}),Vf=new Map,Hl=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],f,h=0,y=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=lS(a))!==void 0);)f+=n+e[++h],y=!0;h!==i&&l.push(a),s.push(f),h++}if(h===i&&s.push(e[i]),y){let g=s.join("$$lit$$");(e=Vf.get(g))===void 0&&(s.raw=s,Vf.set(g,e=s)),r=l}return t(e,...r)},Ti=Hl(Uf),LA=Hl(zf),IA=Hl(Hf)});var Wl=p(()=>{jf()});var Re,ca=p(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Re||(Re={}))});var Vl,qf,Kf,Q,Gl=p(()=>{"use strict";Wl();Vl=u(H()),qf=u(v());ca();jt();Kf=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Q=class extends qf.FtLitElement{constructor(){super(...arguments),this.variant=Re.body1}render(){return this.element?Ti`
487
+ <${ki(this.element)}
488
488
  part="text"
489
489
  class="ft-typography ft-typography--${this.variant}">
490
490
  <slot></slot>
491
- </${Ii(this.element)}>
492
- `:ki`
491
+ </${ki(this.element)}>
492
+ `:Ti`
493
493
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
494
- `}};Q.styles=[nf,af,sf,lf,cf,po,Er,df,pf,uf,ff,...hf];Vf([(0,Hl.property)()],Q.prototype,"element",void 0);Vf([(0,Hl.property)()],Q.prototype,"variant",void 0)});var Tt,Vl=p(()=>{"use strict";(function(t){t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Tt||(Tt={}))});function a0(t,e){let r=Wo[t];return Ti.css`
495
- ${e?(0,Ti.unsafeCSS)(e):Ti.css`.ftds-typography--${(0,Ti.unsafeCSS)(t)}`} {
494
+ `}};Q.styles=[lf,cf,df,pf,uf,uo,Er,ff,hf,mf,gf,...yf];Kf([(0,Vl.property)()],Q.prototype,"element",void 0);Kf([(0,Vl.property)()],Q.prototype,"variant",void 0)});var $t,jl=p(()=>{"use strict";(function(t){t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})($t||($t={}))});function cS(t,e){let r=Vo[t];return $i.css`
495
+ ${e?(0,$i.unsafeCSS)(e):$i.css`.ftds-typography--${(0,$i.unsafeCSS)(t)}`} {
496
496
  font-family: ${r.fontFamily};
497
497
  font-size: ${r.fontSize};
498
498
  font-weight: ${r.fontWeight};
@@ -501,15 +501,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
501
501
  text-decoration: ${r.textDecoration};
502
502
  text-transform: ${r.textCase};
503
503
  }
504
- `}var Ti,jf,Gl=p(()=>{"use strict";$();Ti=u(R());$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();jf=[Object.keys(Wo).map(t=>a0(t))]});var jl,qf,Kf,pr,Kl=p(()=>{"use strict";Ul();jl=u(H()),qf=u(v());Vl();Gl();Kf=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pr=class extends qf.FtLitElement{constructor(){super(...arguments),this.variant=Tt.body2medium}render(){return this.element?ki`
505
- <${Ii(this.element)}
504
+ `}var $i,Zf,Kl=p(()=>{"use strict";$();$i=u(R());$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();$();Zf=[Object.keys(Vo).map(t=>cS(t))]});var ql,Yf,Qf,pr,Zl=p(()=>{"use strict";Wl();ql=u(H()),Yf=u(v());jl();Kl();Qf=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pr=class extends Yf.FtLitElement{constructor(){super(...arguments),this.variant=$t.body2medium}render(){return this.element?Ti`
505
+ <${ki(this.element)}
506
506
  part="text"
507
507
  class="ftds-typography ftds-typography--${this.variant}">
508
508
  <slot></slot>
509
- </${Ii(this.element)}>
510
- `:ki`
509
+ </${ki(this.element)}>
510
+ `:Ti`
511
511
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
512
- `}};pr.styles=[...jf];Kf([(0,jl.property)()],pr.prototype,"element",void 0);Kf([(0,jl.property)()],pr.prototype,"variant",void 0)});var ql,Pe=p(()=>{"use strict";ql=u(v());Wl();Kl();Wl();jt();aa();Kl();Gl();Vl();(0,ql.customElement)("ft-typography")(Q);(0,ql.customElement)("ftds-typography")(pr)});var Zf,Zr,Rr,Qf,sa=p(()=>{"use strict";Zf=u(R()),Zr=u(v()),Rr={distance:Zr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Zr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Zr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Zr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Zr.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Zr.designSystemVariables.borderRadiusS),maxWidth:Zr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Qf=Zf.css`
512
+ `}};pr.styles=[...Zf];Qf([(0,ql.property)()],pr.prototype,"element",void 0);Qf([(0,ql.property)()],pr.prototype,"variant",void 0)});var Ql,Pe=p(()=>{"use strict";Ql=u(v());Gl();Zl();Gl();jt();ca();Zl();Kl();jl();(0,Ql.customElement)("ft-typography")(Q);(0,Ql.customElement)("ftds-typography")(pr)});var Xf,Qr,Rr,Jf,da=p(()=>{"use strict";Xf=u(R()),Qr=u(v()),Rr={distance:Qr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qr.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Qr.designSystemVariables.borderRadiusS),maxWidth:Qr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Jf=Xf.css`
513
513
  .ft-tooltip--container {
514
514
  display: block;
515
515
  }
@@ -538,16 +538,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
538
538
  position: relative;
539
539
  word-break: break-word;
540
540
  }
541
- `});function Yl(t,e,r){return eh(t,Jf(e,r))}function la(t,e){return typeof t=="function"?t(e):t}function $i(t){return t.split("-")[0]}function fo(t){return t.split("-")[1]}function Xl(t){return t==="x"?"y":"x"}function Jl(t){return t==="y"?"height":"width"}function ca(t){return["top","bottom"].includes($i(t))?"y":"x"}function ec(t){return Xl(ca(t))}function th(t,e,r){r===void 0&&(r=!1);let i=fo(t),n=ec(t),a=Jl(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Zl(s)),[s,Zl(s)]}function rh(t){return t.replace(/start|end/g,e=>l0[e])}function Zl(t){return t.replace(/left|right|bottom|top/g,e=>s0[e])}function c0(t){return{top:0,right:0,bottom:0,left:0,...t}}function oh(t){return typeof t!="number"?c0(t):{top:t,right:t,bottom:t,left:t}}function Zo(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}var Xf,Yf,Ql,Jf,eh,s0,l0,tc=p(()=>{Xf=["top","right","bottom","left"],Yf=["start","end"],Ql=Xf.reduce((t,e)=>t.concat(e,e+"-"+Yf[0],e+"-"+Yf[1]),[]),Jf=Math.min,eh=Math.max,s0={left:"right",right:"left",bottom:"top",top:"bottom"},l0={start:"end",end:"start"}});function ih(t,e,r){let{reference:i,floating:n}=t,a=ca(e),s=ec(e),l=Jl(s),f=$i(e),h=a==="y",y=i.x+i.width/2-n.width/2,g=i.y+i.height/2-n.height/2,x=i[l]/2-n[l]/2,w;switch(f){case"top":w={x:y,y:i.y-n.height};break;case"bottom":w={x:y,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:g};break;case"left":w={x:i.x-n.width,y:g};break;default:w={x:i.x,y:i.y}}switch(fo(e)){case"start":w[s]-=x*(r&&h?-1:1);break;case"end":w[s]+=x*(r&&h?-1:1);break}return w}async function rc(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:f}=t,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:x=!1,padding:w=0}=la(e,t),O=oh(w),_=l[x?g==="floating"?"reference":"floating":g],P=Zo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:h,rootBoundary:y,strategy:f})),N=g==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,V=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),re=await(a.isElement==null?void 0:a.isElement(V))?await(a.getScale==null?void 0:a.getScale(V))||{x:1,y:1}:{x:1,y:1},ie=Zo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:V,strategy:f}):N);return{top:(P.top-ie.top+O.top)/re.y,bottom:(ie.bottom-P.bottom+O.bottom)/re.y,left:(P.left-ie.left+O.left)/re.x,right:(ie.right-P.right+O.right)/re.x}}function d0(t,e,r){return(t?[...r.filter(n=>fo(n)===t),...r.filter(n=>fo(n)!==t)]:r.filter(n=>$i(n)===n)).filter(n=>t?fo(n)===t||(e?rh(n)!==n:!1):!0)}var nh,oc,ic,nc=p(()=>{tc();tc();nh=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:y,y:g}=ih(h,i,f),x=i,w={},O=0;for(let A=0;A<l.length;A++){let{name:_,fn:P}=l[A],{x:N,y:V,data:re,reset:ie}=await P({x:y,y:g,initialPlacement:i,placement:x,strategy:n,middlewareData:w,rects:h,platform:s,elements:{reference:t,floating:e}});y=N??y,g=V??g,w={...w,[_]:{...w[_],...re}},ie&&O<=50&&(O++,typeof ie=="object"&&(ie.placement&&(x=ie.placement),ie.rects&&(h=ie.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):ie.rects),{x:y,y:g}=ih(h,x,f)),A=-1)}return{x:y,y:g,placement:x,strategy:n,middlewareData:w}};oc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:f,elements:h}=e,{crossAxis:y=!1,alignment:g,allowedPlacements:x=Ql,autoAlignment:w=!0,...O}=la(t,e),A=g!==void 0||x===Ql?d0(g||null,w,x):x,_=await rc(e,O),P=((r=s.autoPlacement)==null?void 0:r.index)||0,N=A[P];if(N==null)return{};let V=th(N,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(l!==N)return{reset:{placement:A[0]}};let re=[_[$i(N)],_[V[0]],_[V[1]]],ie=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:N,overflows:re}],St=A[P+1];if(St)return{data:{index:P+1,overflows:ie},reset:{placement:St}};let Cr=ie.map(Je=>{let b=fo(Je.placement);return[Je.placement,b&&y?Je.overflows.slice(0,2).reduce((C,F)=>C+F,0):Je.overflows[0],Je.overflows]}).sort((Je,b)=>Je[1]-b[1]),Or=((n=Cr.filter(Je=>Je[2].slice(0,fo(Je[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||Cr[0][0];return Or!==l?{data:{index:P+1,overflows:ie},reset:{placement:Or}}:{}}}},ic=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:P,y:N}=_;return{x:P,y:N}}},...f}=la(t,e),h={x:r,y:i},y=await rc(e,f),g=ca($i(n)),x=Xl(g),w=h[x],O=h[g];if(a){let _=x==="y"?"top":"left",P=x==="y"?"bottom":"right",N=w+y[_],V=w-y[P];w=Yl(N,w,V)}if(s){let _=g==="y"?"top":"left",P=g==="y"?"bottom":"right",N=O+y[_],V=O-y[P];O=Yl(N,O,V)}let A=l.fn({...e,[x]:w,[g]:O});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[x]:a,[g]:s}}}}}}});var ac,Pi,vn,Qr,ah=p(()=>{ac=Math.min,Pi=Math.max,vn=Math.round,Qr=t=>({x:t,y:t})});function Yr(t){return lh(t)?(t.nodeName||"").toLowerCase():"#document"}function wt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Xr(t){var e;return(e=(lh(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function lh(t){return t instanceof Node||t instanceof wt(t).Node}function Lr(t){return t instanceof Element||t instanceof wt(t).Element}function ur(t){return t instanceof HTMLElement||t instanceof wt(t).HTMLElement}function sh(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof wt(t).ShadowRoot}function _i(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=$t(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function ch(t){return["table","td","th"].includes(Yr(t))}function pa(t){let e=ua(),r=$t(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function dh(t){let e=Qo(t);for(;ur(e)&&!Sn(e);){if(pa(e))return e;e=Qo(e)}return null}function ua(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Sn(t){return["html","body","#document"].includes(Yr(t))}function $t(t){return wt(t).getComputedStyle(t)}function Cn(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qo(t){if(Yr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||sh(t)&&t.host||Xr(t);return sh(e)?e.host:e}function ph(t){let e=Qo(t);return Sn(e)?t.ownerDocument?t.ownerDocument.body:t.body:ur(e)&&_i(e)?e:ph(e)}function da(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=ph(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=wt(n);return a?e.concat(s,s.visualViewport||[],_i(n)?n:[],s.frameElement&&r?da(s.frameElement):[]):e.concat(n,da(n,[],r))}var uh=p(()=>{});function mh(t){let e=$t(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ur(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=vn(r)!==a||vn(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function gh(t){return Lr(t)?t:t.contextElement}function Ni(t){let e=gh(t);if(!ur(e))return Qr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=mh(e),s=(a?vn(r.width):r.width)/i,l=(a?vn(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function yh(t){let e=wt(t);return!ua()||!e.visualViewport?f0:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function h0(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==wt(t)?!1:e}function On(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=gh(t),s=Qr(1);e&&(i?Lr(i)&&(s=Ni(i)):s=Ni(t));let l=h0(a,r,i)?yh(a):Qr(0),f=(n.left+l.x)/s.x,h=(n.top+l.y)/s.y,y=n.width/s.x,g=n.height/s.y;if(a){let x=wt(a),w=i&&Lr(i)?wt(i):i,O=x.frameElement;for(;O&&i&&w!==x;){let A=Ni(O),_=O.getBoundingClientRect(),P=$t(O),N=_.left+(O.clientLeft+parseFloat(P.paddingLeft))*A.x,V=_.top+(O.clientTop+parseFloat(P.paddingTop))*A.y;f*=A.x,h*=A.y,y*=A.x,g*=A.y,f+=N,h+=V,O=wt(O).frameElement}}return Zo({width:y,height:g,x:f,y:h})}function m0(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ur(r),a=Xr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Qr(1),f=Qr(0);if((n||!n&&i!=="fixed")&&((Yr(r)!=="body"||_i(a))&&(s=Cn(r)),ur(r))){let h=On(r);l=Ni(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+f.x,y:e.y*l.y-s.scrollTop*l.y+f.y}}function g0(t){return Array.from(t.getClientRects())}function bh(t){return On(Xr(t)).left+Cn(t).scrollLeft}function y0(t){let e=Xr(t),r=Cn(t),i=t.ownerDocument.body,n=Pi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Pi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+bh(t),l=-r.scrollTop;return $t(i).direction==="rtl"&&(s+=Pi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function b0(t,e){let r=wt(t),i=Xr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,f=0;if(n){a=n.width,s=n.height;let h=ua();(!h||h&&e==="fixed")&&(l=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:l,y:f}}function x0(t,e){let r=On(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ur(t)?Ni(t):Qr(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:l,x:f,y:h}}function fh(t,e,r){let i;if(e==="viewport")i=b0(t,r);else if(e==="document")i=y0(Xr(t));else if(Lr(e))i=x0(e,r);else{let n=yh(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Zo(i)}function xh(t,e){let r=Qo(t);return r===e||!Lr(r)||Sn(r)?!1:$t(r).position==="fixed"||xh(r,e)}function v0(t,e){let r=e.get(t);if(r)return r;let i=da(t,[],!1).filter(l=>Lr(l)&&Yr(l)!=="body"),n=null,a=$t(t).position==="fixed",s=a?Qo(t):t;for(;Lr(s)&&!Sn(s);){let l=$t(s),f=pa(s);!f&&l.position==="fixed"&&(n=null),(a?!f&&!n:!f&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||_i(s)&&!f&&xh(t,s))?i=i.filter(y=>y!==s):n=l,s=Qo(s)}return e.set(t,i),i}function S0(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?v0(e,this._c):[].concat(r),i],l=s[0],f=s.reduce((h,y)=>{let g=fh(e,y,n);return h.top=Pi(g.top,h.top),h.right=ac(g.right,h.right),h.bottom=ac(g.bottom,h.bottom),h.left=Pi(g.left,h.left),h},fh(e,l,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function C0(t){return mh(t)}function O0(t,e,r){let i=ur(e),n=Xr(e),a=r==="fixed",s=On(t,!0,a,e),l={scrollLeft:0,scrollTop:0},f=Qr(0);if(i||!i&&!a)if((Yr(e)!=="body"||_i(n))&&(l=Cn(e)),i){let h=On(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=bh(n));return{x:s.left+l.scrollLeft-f.x,y:s.top+l.scrollTop-f.y,width:s.width,height:s.height}}function hh(t,e){return!ur(t)||$t(t).position==="fixed"?null:e?e(t):t.offsetParent}function vh(t,e){let r=wt(t);if(!ur(t))return r;let i=hh(t,e);for(;i&&ch(i)&&$t(i).position==="static";)i=hh(i,e);return i&&(Yr(i)==="html"||Yr(i)==="body"&&$t(i).position==="static"&&!pa(i))?r:i||dh(t)||r}function E0(t){return $t(t).direction==="rtl"}var f0,w0,fa,Sh,Ch=p(()=>{nc();nc();ah();uh();f0=Qr(0);w0=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||vh,a=this.getDimensions;return{reference:O0(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};fa={convertOffsetParentRelativeRectToViewportRelativeRect:m0,getDocumentElement:Xr,getClippingRect:S0,getOffsetParent:vh,getElementRects:w0,getClientRects:g0,getDimensions:C0,getScale:Ni,isElement:Lr,isRTL:E0},Sh=(t,e,r)=>{let i=new Map,n={platform:fa,...r},a={...n.platform,_c:i};return nh(t,e,{...n,platform:a})}});function Oh(t){return A0(t)}function sc(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function A0(t){for(let e=t;e;e=sc(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=sc(t);e;e=sc(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var wh=p(()=>{});async function Eh(t,e,r){return Sh(t,e,{platform:{...fa,getOffsetParent:i=>fa.getOffsetParent(i,Oh)},middleware:[ic({crossAxis:!0}),oc({allowedPlacements:[r]})]})}var Ah=p(()=>{"use strict";Ch();wh()});var Rh,Lh,lc=p(()=>{"use strict";Rh=u(R()),Lh=Rh.css`
542
- `});var ha,R0,Yo,L0,k,lt=p(()=>{"use strict";ha=u(v()),R0="ft-app-info",Yo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Yo.eventName="authentication-change";L0={session:(t,e)=>{(0,ha.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>k.dispatchEvent(new Yo(e.payload)),0))}},k=ha.FtReduxStore.get({name:R0,reducers:L0,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Xo,cc=p(()=>{"use strict";lt();Xo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=k.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=k.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var ma,Ih=p(()=>{"use strict";cc();ma=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Xo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Xo.await()}}});var dc,ct,ho=p(()=>{"use strict";dc=u(v());Ih();ct=class extends ma{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[f])=>l.localeCompare(f)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new dc.CacheRegistry,this.cache=e?n.commonCache:new dc.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var ga,pc=p(()=>{"use strict";lt();ho();ga=class extends ct{async listMyBookmarks(){let e=k.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var uc,kh=p(()=>{"use strict";lt();uc=class{addCommand(e,r=!1){k.commands.add(e,r)}consumeCommand(e){return k.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new uc});var Kt,Th,Bi,I0,ya,Di,ba,$h=p(()=>{"use strict";lt();Kt=u(v());ho();Bi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},I0=Symbol("clearAfterUnitTest"),ya=class extends(0,Kt.withEventBus)(ct){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Th]=()=>{this.defaultMessages={},this.cache=new Kt.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=k.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};(0,Kt.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Kt.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Kt.CanceledPromiseError)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Bi({loadedContexts:e})),this.dispatchEvent(new Bi({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Bi({loadedContexts:[e]})),this.dispatchEvent(new Bi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>(0,Kt.delay)(0).then(()=>i()).catch(()=>null)))}};Th=I0;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ya{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ya{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Di=window.FluidTopicsI18nService,ba=window.FluidTopicsCustomI18nService});var Ph,fc,_h=p(()=>{"use strict";Ph=u(v()),fc=class{highlightHtml(e,r,i){(0,Ph.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new fc});var Bh=zo((mo,Nh)=>{var xa=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,va=function(){function t(){this.fetch=!1,this.DOMException=xa.DOMException}return t.prototype=xa,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function f(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function h(b){return typeof b!="string"&&(b=String(b)),b}function y(b){var C={next:function(){var F=b.shift();return{done:F===void 0,value:F}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function g(b){this.map={},b instanceof g?b.forEach(function(C,F){this.append(F,C)},this):Array.isArray(b)?b.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(C){this.append(C,b[C])},this)}g.prototype.append=function(b,C){b=f(b),C=h(C);var F=this.map[b];this.map[b]=F?F+", "+C:C},g.prototype.delete=function(b){delete this.map[f(b)]},g.prototype.get=function(b){return b=f(b),this.has(b)?this.map[b]:null},g.prototype.has=function(b){return this.map.hasOwnProperty(f(b))},g.prototype.set=function(b,C){this.map[f(b)]=h(C)},g.prototype.forEach=function(b,C){for(var F in this.map)this.map.hasOwnProperty(F)&&b.call(C,this.map[F],F,this)},g.prototype.keys=function(){var b=[];return this.forEach(function(C,F){b.push(F)}),y(b)},g.prototype.values=function(){var b=[];return this.forEach(function(C){b.push(C)}),y(b)},g.prototype.entries=function(){var b=[];return this.forEach(function(C,F){b.push([F,C])}),y(b)},n.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function x(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function w(b){return new Promise(function(C,F){b.onload=function(){C(b.result)},b.onerror=function(){F(b.error)}})}function O(b){var C=new FileReader,F=w(C);return C.readAsArrayBuffer(b),F}function A(b){var C=new FileReader,F=w(C),he=/charset=([A-Za-z0-9_-]+)/.exec(b.type),Te=he?he[1]:"utf-8";return C.readAsText(b,Te),F}function _(b){for(var C=new Uint8Array(b),F=new Array(C.length),he=0;he<C.length;he++)F[he]=String.fromCharCode(C[he]);return F.join("")}function P(b){if(b.slice)return b.slice(0);var C=new Uint8Array(b.byteLength);return C.set(new Uint8Array(b)),C.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=P(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=P(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var b=x(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(St)}),this.json=function(){return this.text().then(JSON.parse)},this}var V=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function re(b){var C=b.toUpperCase();return V.indexOf(C)>-1?C:b}function ie(b,C){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var F=C.body;if(b instanceof ie){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,C.headers||(this.headers=new g(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!F&&b._bodyInit!=null&&(F=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new g(C.headers)),this.method=re(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in i){var ne=new AbortController;return ne.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var he=/([?&])_=[^&]*/;if(he.test(this.url))this.url=this.url.replace(he,"$1_="+new Date().getTime());else{var Te=/\?/;this.url+=(Te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ie.prototype.clone=function(){return new ie(this,{body:this._bodyInit})};function St(b){var C=new FormData;return b.trim().split("&").forEach(function(F){if(F){var he=F.split("="),Te=he.shift().replace(/\+/g," "),ne=he.join("=").replace(/\+/g," ");C.append(decodeURIComponent(Te),decodeURIComponent(ne))}}),C}function Cr(b){var C=new g,F=b.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(he){return he.indexOf(`
543
- `)===0?he.substr(1,he.length):he}).forEach(function(he){var Te=he.split(":"),ne=Te.shift().trim();if(ne){var ra=Te.join(":").trim();try{C.append(ne,ra)}catch(ol){console.warn("Response "+ol.message)}}}),C}N.call(ie.prototype);function mt(b,C){if(!(this instanceof mt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new g(C.headers),this.url=C.url||"",this._initBody(b)}N.call(mt.prototype),mt.prototype.clone=function(){return new mt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},mt.error=function(){var b=new mt(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var Or=[301,302,303,307,308];mt.redirect=function(b,C){if(Or.indexOf(C)===-1)throw new RangeError("Invalid status code");return new mt(null,{status:C,headers:{location:b}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,F){this.message=C,this.name=F;var he=Error(C);this.stack=he.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Je(b,C){return new Promise(function(F,he){var Te=new ie(b,C);if(Te.signal&&Te.signal.aborted)return he(new r.DOMException("Aborted","AbortError"));var ne=new XMLHttpRequest;function ra(){ne.abort()}ne.onload=function(){var et={statusText:ne.statusText,headers:Cr(ne.getAllResponseHeaders()||"")};Te.url.indexOf("file://")===0&&(ne.status<200||ne.status>599)?et.status=200:et.status=ne.status,et.url="responseURL"in ne?ne.responseURL:et.headers.get("X-Request-URL");var Mo="response"in ne?ne.response:ne.responseText;setTimeout(function(){F(new mt(Mo,et))},0)},ne.onerror=function(){setTimeout(function(){he(new TypeError("Network request failed"))},0)},ne.ontimeout=function(){setTimeout(function(){he(new TypeError("Network request timed out"))},0)},ne.onabort=function(){setTimeout(function(){he(new r.DOMException("Aborted","AbortError"))},0)};function ol(et){try{return et===""&&i.location.href?i.location.href:et}catch{return et}}if(ne.open(Te.method,ol(Te.url),!0),Te.credentials==="include"?ne.withCredentials=!0:Te.credentials==="omit"&&(ne.withCredentials=!1),"responseType"in ne&&(n.blob?ne.responseType="blob":n.arrayBuffer&&(ne.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof g||i.Headers&&C.headers instanceof i.Headers)){var au=[];Object.getOwnPropertyNames(C.headers).forEach(function(et){au.push(f(et)),ne.setRequestHeader(et,h(C.headers[et]))}),Te.headers.forEach(function(et,Mo){au.indexOf(Mo)===-1&&ne.setRequestHeader(Mo,et)})}else Te.headers.forEach(function(et,Mo){ne.setRequestHeader(Mo,et)});Te.signal&&(Te.signal.addEventListener("abort",ra),ne.onreadystatechange=function(){ne.readyState===4&&Te.signal.removeEventListener("abort",ra)}),ne.send(typeof Te._bodyInit>"u"?null:Te._bodyInit)})}return Je.polyfill=!0,i.fetch||(i.fetch=Je,i.Headers=g,i.Request=ie,i.Response=mt),r.Headers=g,r.Request=ie,r.Response=mt,r.fetch=Je,r}({})})(va);va.fetch.ponyfill=!0;delete va.fetch.polyfill;var Fi=xa.fetch?xa:va;mo=Fi.fetch;mo.default=Fi.fetch;mo.fetch=Fi.fetch;mo.Headers=Fi.Headers;mo.Request=Fi.Request;mo.Response=Fi.Response;Nh.exports=mo});var hc=p(()=>{});var Dh,Fh,Mh,go,zh,Uh,Jo,Hh,Wh,Vh,Gh,jh,Kh,qh,Sa,Zh,Qh,Mi,Yh,Ca,Xh,Jh,Ir,zi,em,Ge,qt,mc=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Dh||(Dh={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Fh||(Fh={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Mh||(Mh={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(go||(go={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(zh||(zh={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Uh||(Uh={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Jo||(Jo={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Hh||(Hh={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW"})(Wh||(Wh={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Vh||(Vh={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Gh||(Gh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(jh||(jh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Kh||(Kh={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(qh||(qh={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Sa||(Sa={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Zh||(Zh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Qh||(Qh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Mi||(Mi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Yh||(Yh={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ca||(Ca={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Xh||(Xh={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Jh||(Jh={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ir||(Ir={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(zi||(zi={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(em||(em={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Ge||(Ge={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(qt||(qt={}))});var tm,rm,om,im,nm,am=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(tm||(tm={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(rm||(rm={}));(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(om||(om={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(im||(im={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(nm||(nm={}))});function sm(t,e){return t===e||(k0[t]??[]).some(r=>sm(r,e))}function lm(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>sm(i,e))}var k0,cm=p(()=>{mc();k0={[Ge.PERSONAL_BOOK_SHARE_USER]:[Ge.PERSONAL_BOOK_USER],[Ge.HTML_EXPORT_USER]:[Ge.PERSONAL_BOOK_USER],[Ge.PDF_EXPORT_USER]:[Ge.PERSONAL_BOOK_USER],[Ge.KHUB_ADMIN]:[Ge.CONTENT_PUBLISHER],[Ge.ADMIN]:[Ge.KHUB_ADMIN,Ge.USERS_ADMIN,Ge.PORTAL_ADMIN],[Ge.GENERATIVE_AI_EXPORT_USER]:[Ge.GENERATIVE_AI_USER]}});var dm=p(()=>{});var T0,ei=p(()=>{T0=u(Bh(),1);hc();mc();am();cm();dm();hc()});var Oa,gc=p(()=>{"use strict";lt();ei();ho();Oa=class extends ct{async listMySearches(){let{session:e}=k.getState();return lm(e,Ge.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var pm,yc,um=p(()=>{"use strict";pm=u(v());lt();yc=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=k.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return pm.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:k.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new yc});var fm,Jr,bc=p(()=>{"use strict";fm=u(v());lt();Jr=class{static get(e,r){var i,n;let a=k.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new fm.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}}});var wa,hm=p(()=>{"use strict";ho();wa=class extends ct{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let r=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(r)}sendEvents(e,r){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(r),console.debug(n),i)),1e3)}}});var xc,mm=p(()=>{"use strict";bc();xc=class{urlToSearchRequest(e){return Jr.get().parse(e)}searchRequestToUrl(e){return Jr.get().serialize(e)}};window.FluidTopicsUrlService=new xc});var ti,gm=p(()=>{"use strict";ti=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ti.eventName="change"});var vc,ym,bm=p(()=>{"use strict";vc=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},ym=new vc});var yo,Ea,xm=p(()=>{"use strict";yo=u(v());gm();bm();Ea=class t extends yo.WithEventBus{static build(){return new t(window.history,ym,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,yo.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ti(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let f=r(),h={...f===this.currentIndex?this.currentState:void 0,...a,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[h,s,l]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(ti.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ti.eventName,e)}currentItem(){return(0,yo.deepCopy)(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,yo.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return(0,yo.deepCopy)(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let i=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var i;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}}});var vm=p(()=>{"use strict";xm();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ea.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var Sm=p(()=>{"use strict";lt()});var Sc=p(()=>{"use strict";pc();cc();kh();$h();ho();_h();gc();um();bc();hm();mm();vm();Sm()});function Om(t,e){var r;return Cm.getState().authenticationRequired&&!(!((r=Cm.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var Cm,wm=p(()=>{"use strict";lt();Cm=k});var Em,rt,fr,je,Se,Cc=p(()=>{"use strict";Em=u(R()),rt=u(H()),fr=u(v());lc();lt();Sc();wm();je=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Se=class extends fr.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Xo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new fr.CacheRegistry,this.cleanSessionDebouncer=new fr.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Em.html`
541
+ `});function Jl(t,e,r){return oh(t,rh(e,r))}function pa(t,e){return typeof t=="function"?t(e):t}function Pi(t){return t.split("-")[0]}function ho(t){return t.split("-")[1]}function ec(t){return t==="x"?"y":"x"}function tc(t){return t==="y"?"height":"width"}function ua(t){return["top","bottom"].includes(Pi(t))?"y":"x"}function rc(t){return ec(ua(t))}function ih(t,e,r){r===void 0&&(r=!1);let i=ho(t),n=rc(t),a=tc(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Yl(s)),[s,Yl(s)]}function nh(t){return t.replace(/start|end/g,e=>pS[e])}function Yl(t){return t.replace(/left|right|bottom|top/g,e=>dS[e])}function uS(t){return{top:0,right:0,bottom:0,left:0,...t}}function ah(t){return typeof t!="number"?uS(t):{top:t,right:t,bottom:t,left:t}}function Qo(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}var th,eh,Xl,rh,oh,dS,pS,oc=p(()=>{th=["top","right","bottom","left"],eh=["start","end"],Xl=th.reduce((t,e)=>t.concat(e,e+"-"+eh[0],e+"-"+eh[1]),[]),rh=Math.min,oh=Math.max,dS={left:"right",right:"left",bottom:"top",top:"bottom"},pS={start:"end",end:"start"}});function sh(t,e,r){let{reference:i,floating:n}=t,a=ua(e),s=rc(e),l=tc(s),f=Pi(e),h=a==="y",y=i.x+i.width/2-n.width/2,g=i.y+i.height/2-n.height/2,x=i[l]/2-n[l]/2,w;switch(f){case"top":w={x:y,y:i.y-n.height};break;case"bottom":w={x:y,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:g};break;case"left":w={x:i.x-n.width,y:g};break;default:w={x:i.x,y:i.y}}switch(ho(e)){case"start":w[s]-=x*(r&&h?-1:1);break;case"end":w[s]+=x*(r&&h?-1:1);break}return w}async function ic(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:f}=t,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:x=!1,padding:w=0}=pa(e,t),O=ah(w),_=l[x?g==="floating"?"reference":"floating":g],P=Qo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:h,rootBoundary:y,strategy:f})),N=g==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,V=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),re=await(a.isElement==null?void 0:a.isElement(V))?await(a.getScale==null?void 0:a.getScale(V))||{x:1,y:1}:{x:1,y:1},ie=Qo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:V,strategy:f}):N);return{top:(P.top-ie.top+O.top)/re.y,bottom:(ie.bottom-P.bottom+O.bottom)/re.y,left:(P.left-ie.left+O.left)/re.x,right:(ie.right-P.right+O.right)/re.x}}function fS(t,e,r){return(t?[...r.filter(n=>ho(n)===t),...r.filter(n=>ho(n)!==t)]:r.filter(n=>Pi(n)===n)).filter(n=>t?ho(n)===t||(e?nh(n)!==n:!1):!0)}var lh,nc,ac,sc=p(()=>{oc();oc();lh=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:y,y:g}=sh(h,i,f),x=i,w={},O=0;for(let A=0;A<l.length;A++){let{name:_,fn:P}=l[A],{x:N,y:V,data:re,reset:ie}=await P({x:y,y:g,initialPlacement:i,placement:x,strategy:n,middlewareData:w,rects:h,platform:s,elements:{reference:t,floating:e}});y=N??y,g=V??g,w={...w,[_]:{...w[_],...re}},ie&&O<=50&&(O++,typeof ie=="object"&&(ie.placement&&(x=ie.placement),ie.rects&&(h=ie.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):ie.rects),{x:y,y:g}=sh(h,x,f)),A=-1)}return{x:y,y:g,placement:x,strategy:n,middlewareData:w}};nc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:f,elements:h}=e,{crossAxis:y=!1,alignment:g,allowedPlacements:x=Xl,autoAlignment:w=!0,...O}=pa(t,e),A=g!==void 0||x===Xl?fS(g||null,w,x):x,_=await ic(e,O),P=((r=s.autoPlacement)==null?void 0:r.index)||0,N=A[P];if(N==null)return{};let V=ih(N,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(l!==N)return{reset:{placement:A[0]}};let re=[_[Pi(N)],_[V[0]],_[V[1]]],ie=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:N,overflows:re}],Ct=A[P+1];if(Ct)return{data:{index:P+1,overflows:ie},reset:{placement:Ct}};let Cr=ie.map(Je=>{let b=ho(Je.placement);return[Je.placement,b&&y?Je.overflows.slice(0,2).reduce((C,F)=>C+F,0):Je.overflows[0],Je.overflows]}).sort((Je,b)=>Je[1]-b[1]),Or=((n=Cr.filter(Je=>Je[2].slice(0,ho(Je[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||Cr[0][0];return Or!==l?{data:{index:P+1,overflows:ie},reset:{placement:Or}}:{}}}},ac=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:P,y:N}=_;return{x:P,y:N}}},...f}=pa(t,e),h={x:r,y:i},y=await ic(e,f),g=ua(Pi(n)),x=ec(g),w=h[x],O=h[g];if(a){let _=x==="y"?"top":"left",P=x==="y"?"bottom":"right",N=w+y[_],V=w-y[P];w=Jl(N,w,V)}if(s){let _=g==="y"?"top":"left",P=g==="y"?"bottom":"right",N=O+y[_],V=O-y[P];O=Jl(N,O,V)}let A=l.fn({...e,[x]:w,[g]:O});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[x]:a,[g]:s}}}}}}});var lc,_i,On,Yr,ch=p(()=>{lc=Math.min,_i=Math.max,On=Math.round,Yr=t=>({x:t,y:t})});function Xr(t){return ph(t)?(t.nodeName||"").toLowerCase():"#document"}function Et(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Jr(t){var e;return(e=(ph(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ph(t){return t instanceof Node||t instanceof Et(t).Node}function Lr(t){return t instanceof Element||t instanceof Et(t).Element}function ur(t){return t instanceof HTMLElement||t instanceof Et(t).HTMLElement}function dh(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Et(t).ShadowRoot}function Ni(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Pt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function uh(t){return["table","td","th"].includes(Xr(t))}function ha(t){let e=ma(),r=Pt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function fh(t){let e=Yo(t);for(;ur(e)&&!wn(e);){if(ha(e))return e;e=Yo(e)}return null}function ma(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wn(t){return["html","body","#document"].includes(Xr(t))}function Pt(t){return Et(t).getComputedStyle(t)}function En(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yo(t){if(Xr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||dh(t)&&t.host||Jr(t);return dh(e)?e.host:e}function hh(t){let e=Yo(t);return wn(e)?t.ownerDocument?t.ownerDocument.body:t.body:ur(e)&&Ni(e)?e:hh(e)}function fa(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=hh(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Et(n);return a?e.concat(s,s.visualViewport||[],Ni(n)?n:[],s.frameElement&&r?fa(s.frameElement):[]):e.concat(n,fa(n,[],r))}var mh=p(()=>{});function bh(t){let e=Pt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ur(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=On(r)!==a||On(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function xh(t){return Lr(t)?t:t.contextElement}function Bi(t){let e=xh(t);if(!ur(e))return Yr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=bh(e),s=(a?On(r.width):r.width)/i,l=(a?On(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function vh(t){let e=Et(t);return!ma()||!e.visualViewport?gS:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function yS(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Et(t)?!1:e}function An(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=xh(t),s=Yr(1);e&&(i?Lr(i)&&(s=Bi(i)):s=Bi(t));let l=yS(a,r,i)?vh(a):Yr(0),f=(n.left+l.x)/s.x,h=(n.top+l.y)/s.y,y=n.width/s.x,g=n.height/s.y;if(a){let x=Et(a),w=i&&Lr(i)?Et(i):i,O=x.frameElement;for(;O&&i&&w!==x;){let A=Bi(O),_=O.getBoundingClientRect(),P=Pt(O),N=_.left+(O.clientLeft+parseFloat(P.paddingLeft))*A.x,V=_.top+(O.clientTop+parseFloat(P.paddingTop))*A.y;f*=A.x,h*=A.y,y*=A.x,g*=A.y,f+=N,h+=V,O=Et(O).frameElement}}return Qo({width:y,height:g,x:f,y:h})}function bS(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ur(r),a=Jr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Yr(1),f=Yr(0);if((n||!n&&i!=="fixed")&&((Xr(r)!=="body"||Ni(a))&&(s=En(r)),ur(r))){let h=An(r);l=Bi(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+f.x,y:e.y*l.y-s.scrollTop*l.y+f.y}}function xS(t){return Array.from(t.getClientRects())}function Sh(t){return An(Jr(t)).left+En(t).scrollLeft}function vS(t){let e=Jr(t),r=En(t),i=t.ownerDocument.body,n=_i(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=_i(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Sh(t),l=-r.scrollTop;return Pt(i).direction==="rtl"&&(s+=_i(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function SS(t,e){let r=Et(t),i=Jr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,f=0;if(n){a=n.width,s=n.height;let h=ma();(!h||h&&e==="fixed")&&(l=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:l,y:f}}function CS(t,e){let r=An(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ur(t)?Bi(t):Yr(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:l,x:f,y:h}}function gh(t,e,r){let i;if(e==="viewport")i=SS(t,r);else if(e==="document")i=vS(Jr(t));else if(Lr(e))i=CS(e,r);else{let n=vh(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Qo(i)}function Ch(t,e){let r=Yo(t);return r===e||!Lr(r)||wn(r)?!1:Pt(r).position==="fixed"||Ch(r,e)}function OS(t,e){let r=e.get(t);if(r)return r;let i=fa(t,[],!1).filter(l=>Lr(l)&&Xr(l)!=="body"),n=null,a=Pt(t).position==="fixed",s=a?Yo(t):t;for(;Lr(s)&&!wn(s);){let l=Pt(s),f=ha(s);!f&&l.position==="fixed"&&(n=null),(a?!f&&!n:!f&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ni(s)&&!f&&Ch(t,s))?i=i.filter(y=>y!==s):n=l,s=Yo(s)}return e.set(t,i),i}function wS(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?OS(e,this._c):[].concat(r),i],l=s[0],f=s.reduce((h,y)=>{let g=gh(e,y,n);return h.top=_i(g.top,h.top),h.right=lc(g.right,h.right),h.bottom=lc(g.bottom,h.bottom),h.left=_i(g.left,h.left),h},gh(e,l,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function ES(t){return bh(t)}function AS(t,e,r){let i=ur(e),n=Jr(e),a=r==="fixed",s=An(t,!0,a,e),l={scrollLeft:0,scrollTop:0},f=Yr(0);if(i||!i&&!a)if((Xr(e)!=="body"||Ni(n))&&(l=En(e)),i){let h=An(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=Sh(n));return{x:s.left+l.scrollLeft-f.x,y:s.top+l.scrollTop-f.y,width:s.width,height:s.height}}function yh(t,e){return!ur(t)||Pt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Oh(t,e){let r=Et(t);if(!ur(t))return r;let i=yh(t,e);for(;i&&uh(i)&&Pt(i).position==="static";)i=yh(i,e);return i&&(Xr(i)==="html"||Xr(i)==="body"&&Pt(i).position==="static"&&!ha(i))?r:i||fh(t)||r}function LS(t){return Pt(t).direction==="rtl"}var gS,RS,ga,wh,Eh=p(()=>{sc();sc();ch();mh();gS=Yr(0);RS=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Oh,a=this.getDimensions;return{reference:AS(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};ga={convertOffsetParentRelativeRectToViewportRelativeRect:bS,getDocumentElement:Jr,getClippingRect:wS,getOffsetParent:Oh,getElementRects:RS,getClientRects:xS,getDimensions:ES,getScale:Bi,isElement:Lr,isRTL:LS},wh=(t,e,r)=>{let i=new Map,n={platform:ga,...r},a={...n.platform,_c:i};return lh(t,e,{...n,platform:a})}});function Ah(t){return IS(t)}function cc(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function IS(t){for(let e=t;e;e=cc(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=cc(t);e;e=cc(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Rh=p(()=>{});async function Lh(t,e,r){return wh(t,e,{platform:{...ga,getOffsetParent:i=>ga.getOffsetParent(i,Ah)},middleware:[ac({crossAxis:!0}),nc({allowedPlacements:[r]})]})}var Ih=p(()=>{"use strict";Eh();Rh()});var kh,Th,dc=p(()=>{"use strict";kh=u(R()),Th=kh.css`
542
+ `});var ya,kS,Xo,TS,k,lt=p(()=>{"use strict";ya=u(v()),kS="ft-app-info",Xo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Xo.eventName="authentication-change";TS={session:(t,e)=>{(0,ya.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>k.dispatchEvent(new Xo(e.payload)),0))}},k=ya.FtReduxStore.get({name:kS,reducers:TS,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Jo,pc=p(()=>{"use strict";lt();Jo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=k.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=k.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var ba,$h=p(()=>{"use strict";pc();ba=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Jo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Jo.await()}}});var uc,ct,mo=p(()=>{"use strict";uc=u(v());$h();ct=class extends ba{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[f])=>l.localeCompare(f)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new uc.CacheRegistry,this.cache=e?n.commonCache:new uc.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var xa,fc=p(()=>{"use strict";lt();mo();xa=class extends ct{async listMyBookmarks(){let e=k.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var hc,Ph=p(()=>{"use strict";lt();hc=class{addCommand(e,r=!1){k.commands.add(e,r)}consumeCommand(e){return k.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new hc});var Kt,_h,Di,$S,va,Fi,Sa,Nh=p(()=>{"use strict";lt();Kt=u(v());mo();Di=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},$S=Symbol("clearAfterUnitTest"),va=class extends(0,Kt.withEventBus)(ct){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[_h]=()=>{this.defaultMessages={},this.cache=new Kt.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=k.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};(0,Kt.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Kt.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Kt.CanceledPromiseError)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Di({loadedContexts:e})),this.dispatchEvent(new Di({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Di({loadedContexts:[e]})),this.dispatchEvent(new Di({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>(0,Kt.delay)(0).then(()=>i()).catch(()=>null)))}};_h=$S;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends va{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends va{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Fi=window.FluidTopicsI18nService,Sa=window.FluidTopicsCustomI18nService});var Bh,mc,Dh=p(()=>{"use strict";Bh=u(v()),mc=class{highlightHtml(e,r,i){(0,Bh.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new mc});var Mh=zo((go,Fh)=>{var Ca=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Oa=function(){function t(){this.fetch=!1,this.DOMException=Ca.DOMException}return t.prototype=Ca,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function f(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function h(b){return typeof b!="string"&&(b=String(b)),b}function y(b){var C={next:function(){var F=b.shift();return{done:F===void 0,value:F}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function g(b){this.map={},b instanceof g?b.forEach(function(C,F){this.append(F,C)},this):Array.isArray(b)?b.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(C){this.append(C,b[C])},this)}g.prototype.append=function(b,C){b=f(b),C=h(C);var F=this.map[b];this.map[b]=F?F+", "+C:C},g.prototype.delete=function(b){delete this.map[f(b)]},g.prototype.get=function(b){return b=f(b),this.has(b)?this.map[b]:null},g.prototype.has=function(b){return this.map.hasOwnProperty(f(b))},g.prototype.set=function(b,C){this.map[f(b)]=h(C)},g.prototype.forEach=function(b,C){for(var F in this.map)this.map.hasOwnProperty(F)&&b.call(C,this.map[F],F,this)},g.prototype.keys=function(){var b=[];return this.forEach(function(C,F){b.push(F)}),y(b)},g.prototype.values=function(){var b=[];return this.forEach(function(C){b.push(C)}),y(b)},g.prototype.entries=function(){var b=[];return this.forEach(function(C,F){b.push([F,C])}),y(b)},n.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function x(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function w(b){return new Promise(function(C,F){b.onload=function(){C(b.result)},b.onerror=function(){F(b.error)}})}function O(b){var C=new FileReader,F=w(C);return C.readAsArrayBuffer(b),F}function A(b){var C=new FileReader,F=w(C),he=/charset=([A-Za-z0-9_-]+)/.exec(b.type),Te=he?he[1]:"utf-8";return C.readAsText(b,Te),F}function _(b){for(var C=new Uint8Array(b),F=new Array(C.length),he=0;he<C.length;he++)F[he]=String.fromCharCode(C[he]);return F.join("")}function P(b){if(b.slice)return b.slice(0);var C=new Uint8Array(b.byteLength);return C.set(new Uint8Array(b)),C.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=P(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=P(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var b=x(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(Ct)}),this.json=function(){return this.text().then(JSON.parse)},this}var V=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function re(b){var C=b.toUpperCase();return V.indexOf(C)>-1?C:b}function ie(b,C){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var F=C.body;if(b instanceof ie){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,C.headers||(this.headers=new g(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!F&&b._bodyInit!=null&&(F=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new g(C.headers)),this.method=re(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in i){var ne=new AbortController;return ne.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var he=/([?&])_=[^&]*/;if(he.test(this.url))this.url=this.url.replace(he,"$1_="+new Date().getTime());else{var Te=/\?/;this.url+=(Te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ie.prototype.clone=function(){return new ie(this,{body:this._bodyInit})};function Ct(b){var C=new FormData;return b.trim().split("&").forEach(function(F){if(F){var he=F.split("="),Te=he.shift().replace(/\+/g," "),ne=he.join("=").replace(/\+/g," ");C.append(decodeURIComponent(Te),decodeURIComponent(ne))}}),C}function Cr(b){var C=new g,F=b.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(he){return he.indexOf(`
543
+ `)===0?he.substr(1,he.length):he}).forEach(function(he){var Te=he.split(":"),ne=Te.shift().trim();if(ne){var na=Te.join(":").trim();try{C.append(ne,na)}catch(nl){console.warn("Response "+nl.message)}}}),C}N.call(ie.prototype);function mt(b,C){if(!(this instanceof mt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new g(C.headers),this.url=C.url||"",this._initBody(b)}N.call(mt.prototype),mt.prototype.clone=function(){return new mt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},mt.error=function(){var b=new mt(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var Or=[301,302,303,307,308];mt.redirect=function(b,C){if(Or.indexOf(C)===-1)throw new RangeError("Invalid status code");return new mt(null,{status:C,headers:{location:b}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,F){this.message=C,this.name=F;var he=Error(C);this.stack=he.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Je(b,C){return new Promise(function(F,he){var Te=new ie(b,C);if(Te.signal&&Te.signal.aborted)return he(new r.DOMException("Aborted","AbortError"));var ne=new XMLHttpRequest;function na(){ne.abort()}ne.onload=function(){var et={statusText:ne.statusText,headers:Cr(ne.getAllResponseHeaders()||"")};Te.url.indexOf("file://")===0&&(ne.status<200||ne.status>599)?et.status=200:et.status=ne.status,et.url="responseURL"in ne?ne.responseURL:et.headers.get("X-Request-URL");var Uo="response"in ne?ne.response:ne.responseText;setTimeout(function(){F(new mt(Uo,et))},0)},ne.onerror=function(){setTimeout(function(){he(new TypeError("Network request failed"))},0)},ne.ontimeout=function(){setTimeout(function(){he(new TypeError("Network request timed out"))},0)},ne.onabort=function(){setTimeout(function(){he(new r.DOMException("Aborted","AbortError"))},0)};function nl(et){try{return et===""&&i.location.href?i.location.href:et}catch{return et}}if(ne.open(Te.method,nl(Te.url),!0),Te.credentials==="include"?ne.withCredentials=!0:Te.credentials==="omit"&&(ne.withCredentials=!1),"responseType"in ne&&(n.blob?ne.responseType="blob":n.arrayBuffer&&(ne.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof g||i.Headers&&C.headers instanceof i.Headers)){var cu=[];Object.getOwnPropertyNames(C.headers).forEach(function(et){cu.push(f(et)),ne.setRequestHeader(et,h(C.headers[et]))}),Te.headers.forEach(function(et,Uo){cu.indexOf(Uo)===-1&&ne.setRequestHeader(Uo,et)})}else Te.headers.forEach(function(et,Uo){ne.setRequestHeader(Uo,et)});Te.signal&&(Te.signal.addEventListener("abort",na),ne.onreadystatechange=function(){ne.readyState===4&&Te.signal.removeEventListener("abort",na)}),ne.send(typeof Te._bodyInit>"u"?null:Te._bodyInit)})}return Je.polyfill=!0,i.fetch||(i.fetch=Je,i.Headers=g,i.Request=ie,i.Response=mt),r.Headers=g,r.Request=ie,r.Response=mt,r.fetch=Je,r}({})})(Oa);Oa.fetch.ponyfill=!0;delete Oa.fetch.polyfill;var Mi=Ca.fetch?Ca:Oa;go=Mi.fetch;go.default=Mi.fetch;go.fetch=Mi.fetch;go.Headers=Mi.Headers;go.Request=Mi.Request;go.Response=Mi.Response;Fh.exports=go});var gc=p(()=>{});var Uh,zh,Hh,yo,Wh,Vh,ei,Gh,jh,Kh,qh,Zh,Qh,Yh,wa,Xh,Jh,Ui,em,Ea,tm,rm,Ir,zi,om,Ge,qt,im,yc=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Uh||(Uh={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(zh||(zh={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Hh||(Hh={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(yo||(yo={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Wh||(Wh={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Vh||(Vh={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(ei||(ei={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Gh||(Gh={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW"})(jh||(jh={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Kh||(Kh={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(qh||(qh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Zh||(Zh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Qh||(Qh={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Yh||(Yh={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(wa||(wa={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Xh||(Xh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Jh||(Jh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ui||(Ui={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(em||(em={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ea||(Ea={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(tm||(tm={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(rm||(rm={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ir||(Ir={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(zi||(zi={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(om||(om={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Ge||(Ge={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(qt||(qt={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(im||(im={}))});var nm,am,sm,lm,cm,dm=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(nm||(nm={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(am||(am={}));(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(sm||(sm={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(lm||(lm={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(cm||(cm={}))});function pm(t,e){return t===e||(PS[t]??[]).some(r=>pm(r,e))}function um(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>pm(i,e))}var PS,fm=p(()=>{yc();PS={[Ge.PERSONAL_BOOK_SHARE_USER]:[Ge.PERSONAL_BOOK_USER],[Ge.HTML_EXPORT_USER]:[Ge.PERSONAL_BOOK_USER],[Ge.PDF_EXPORT_USER]:[Ge.PERSONAL_BOOK_USER],[Ge.KHUB_ADMIN]:[Ge.CONTENT_PUBLISHER],[Ge.ADMIN]:[Ge.KHUB_ADMIN,Ge.USERS_ADMIN,Ge.PORTAL_ADMIN],[Ge.GENERATIVE_AI_EXPORT_USER]:[Ge.GENERATIVE_AI_USER]}});var hm=p(()=>{});var _S,ti=p(()=>{_S=u(Mh(),1);gc();yc();dm();fm();hm();gc()});var Aa,bc=p(()=>{"use strict";lt();ti();mo();Aa=class extends ct{async listMySearches(){let{session:e}=k.getState();return um(e,Ge.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var mm,xc,gm=p(()=>{"use strict";mm=u(v());lt();xc=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=k.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return mm.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:k.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new xc});var ym,eo,vc=p(()=>{"use strict";ym=u(v());lt();eo=class{static get(e,r){var i,n;let a=k.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new ym.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}}});var Ra,bm=p(()=>{"use strict";mo();Ra=class extends ct{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let r=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(r)}sendEvents(e,r){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(r),console.debug(n),i)),1e3)}}});var Sc,xm=p(()=>{"use strict";vc();Sc=class{urlToSearchRequest(e){return eo.get().parse(e)}searchRequestToUrl(e){return eo.get().serialize(e)}};window.FluidTopicsUrlService=new Sc});var ri,vm=p(()=>{"use strict";ri=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ri.eventName="change"});var Cc,Sm,Cm=p(()=>{"use strict";Cc=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Sm=new Cc});var bo,La,Om=p(()=>{"use strict";bo=u(v());vm();Cm();La=class t extends bo.WithEventBus{static build(){return new t(window.history,Sm,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,bo.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ri(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let f=r(),h={...f===this.currentIndex?this.currentState:void 0,...a,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[h,s,l]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(ri.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ri.eventName,e)}currentItem(){return(0,bo.deepCopy)(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,bo.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return(0,bo.deepCopy)(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let i=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var i;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}}});var wm=p(()=>{"use strict";Om();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=La.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var Em=p(()=>{"use strict";lt()});var Oc=p(()=>{"use strict";fc();pc();Ph();Nh();mo();Dh();bc();gm();vc();bm();xm();wm();Em()});function Am(t,e){let{authenticationRequired:r,session:i}=k.getState();return r&&!i?.sessionAuthenticated?Promise.resolve(e):t()}var Rm=p(()=>{"use strict";lt()});var Lm,rt,fr,je,Se,wc=p(()=>{"use strict";Lm=u(R()),rt=u(H()),fr=u(v());dc();lt();Oc();Rm();je=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Se=class extends fr.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Jo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new fr.CacheRegistry,this.cleanSessionDebouncer=new fr.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Lm.html`
544
544
  <slot></slot>
545
- `}connectedCallback(){super.connectedCallback(),k.addEventListener(Yo.eventName,this.reloadConfiguration)}disconnectedCallback(){k.addEventListener(Yo.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,f;super.update(e),e.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&k.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&k.actions.noCustom(this.noCustom),e.has("editorMode")&&k.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&k.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(h=>Di.addContext(h)),e.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(k.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),k.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),k.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&k.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&k.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&f!==void 0?f:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Om(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Se.elementDefinitions={};Se.styles=Lh;je([(0,rt.property)()],Se.prototype,"baseUrl",void 0);je([(0,rt.property)()],Se.prototype,"apiIntegrationIdentifier",void 0);je([(0,rt.property)()],Se.prototype,"apiIntegrationAppVersion",void 0);je([(0,rt.property)()],Se.prototype,"uiLocale",void 0);je([(0,fr.jsonProperty)(null)],Se.prototype,"availableUiLocales",void 0);je([(0,fr.jsonProperty)(null)],Se.prototype,"metadataConfiguration",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"editorMode",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"noCustom",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"openExternalDocumentInNewTab",void 0);je([(0,rt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Se.prototype,"noCustomComponent",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"withManualResources",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"navigatorOnline",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"forcedOffline",void 0);je([(0,rt.property)({type:Object})],Se.prototype,"apiProvider",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"authenticationRequired",void 0);je([(0,fr.jsonProperty)([])],Se.prototype,"messageContexts",void 0);je([(0,fr.jsonProperty)(void 0)],Se.prototype,"session",void 0);je([(0,rt.state)()],Se.prototype,"localesConfiguration",void 0);je([(0,rt.state)()],Se.prototype,"availableContentLocales",void 0)});function $0(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Aa(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Aa(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Aa(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Aa(t,e){try{return $0(t,e)}catch{return!1}}function wn(t,e){return!Aa(t,e)}function Ra(t,e){let r=i=>i[t]===!0;return i=>{if(r(i))return i;let n=e(i);return n[t]=!0,n}}var Ui=p(()=>{"use strict"});var Am,Oc,Rm=p(()=>{"use strict";Ui();Am=u(H(),1),Oc=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:wn,attribute:!1,...e};(0,Am.property)(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}}});var La,wc=p(()=>{"use strict";La=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function Im(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Lm.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:wn,...e??{}})}var Lm,km=p(()=>{"use strict";Lm=u(H(),1);Ui()});var Ia,Tm=p(()=>{"use strict";Ia=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var ka,P0,vI,$m,Pm=p(()=>{ka=globalThis,P0=ka.ShadowRoot&&(ka.ShadyCSS===void 0||ka.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vI=Symbol(),$m=(t,e)=>{if(P0)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=ka.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var _m,Ta,Nm=p(()=>{"use strict";_m=u(R(),1);Pm();Ta=class extends _m.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return $m(i,e.elementStyles),i}}});function Bm(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}var Dm=p(()=>{"use strict"});var ri,Wi,Um,Fm,Mm,Hm,zm,Hi,kr,Wm=p(()=>{"use strict";ri=u(H(),1);km();Tm();Nm();Dm();Wi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Fm=Symbol("constructorPrototype"),Mm=Symbol("constructorName"),Hm=Symbol("exportpartsDebouncer"),zm=Symbol("dynamicDependenciesLoaded"),Hi=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Hi.eventName="exportparts-updated";kr=class extends Ta{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Um]=new Ia(5),this.scheduleExportpartsUpdate=()=>{var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[Hm].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Mm]=this.constructor.name,this[Fm]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mm]&&Object.setPrototypeOf(this,this[Fm])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(i){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",i)}let r=this.constructor;r[zm]||(r[zm]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Hi.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Hi.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Hi)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=Bm(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,i,n,a,s,l;let f=x=>x!=null&&x.trim().length>0,h=e.filter(f).map(x=>x.trim());if(h.length===0){this.exportparts=void 0;return}let y=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let w=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],A=[...w,...O].filter(f).map(_=>_.trim());for(let _ of A)y.add(_)}if(y.size===0){this.exportparts=void 0;return}let g=[...y.values()].flatMap(x=>h.map(w=>`${x}:${w}--${x}`));this.exportparts=[...this.part,...g].join(", ")}};Um=Hm;Wi([(0,ri.property)()],kr.prototype,"exportpartsPrefix",void 0);Wi([Im([])],kr.prototype,"exportpartsPrefixes",void 0);Wi([(0,ri.property)({reflect:!0})],kr.prototype,"exportparts",void 0);Wi([(0,ri.property)()],kr.prototype,"customStylesheet",void 0);Wi([(0,ri.property)()],kr.prototype,"elementToFocus",void 0);Wi([(0,ri.state)()],kr.prototype,"useAdoptedStyleSheets",void 0)});function $a(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Pa=p(()=>{"use strict"});var En,bo,oi,_0,Vm,Gm=p(()=>{"use strict";Wm();Pa();Ui();En=Symbol("internalReduxEventsUnsubscribers"),bo=Symbol("internalStoresUnsubscribers"),oi=Symbol("internalStores"),_0=Ra(Symbol("withRedux"),function(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[oi].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[oi].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[oi].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[oi].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[oi].delete(l)}setupStores(){this.unsubscribeFromStores(),this[oi].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let h=this.getStore(s.store);h&&(s.store?this[bo].has(s.store):this[bo].size>0)&&(this[l]=s.selector(h.getState(),this))}})}subscribeToStore(s,l){var f;this[bo].set(s,l.subscribe(()=>this.updateFromStores())),this[En].set(s,[]),$a(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((h,y)=>{if(typeof this[y]=="function"&&(!h.store||l.name===h.store)){let g=x=>this[y](x);l.addEventListener(h.eventName,g),this[En].get(s).push(()=>l.removeEventListener(h.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[bo].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[bo].has(s)&&this[bo].get(s)(),this[bo].delete(s),(l=this[En].get(s))===null||l===void 0||l.forEach(f=>f()),this[En].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=bo,r=oi,i=En,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Vm=class extends _0(kr){}});function Zt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function eo(t){return!!t&&!!t[Le]}function hr(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===H0}(t)||Array.isArray(t)||!!t[Xm]||!!(!((e=t.constructor)===null||e===void 0)&&e[Xm])||Pc(t)||_c(t))}function ii(t,e,r){r===void 0&&(r=!1),ji(t)===0?(r?Object.keys:Gi)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function ji(t){var e=t[Le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Pc(t)?2:_c(t)?3:0}function Vi(t,e){return ji(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function N0(t,e){return ji(t)===2?t.get(e):t[e]}function Jm(t,e,r){var i=ji(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function eg(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Pc(t){return z0&&t instanceof Map}function _c(t){return U0&&t instanceof Set}function xo(t){return t.o||t.t}function Nc(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=og(t);delete e[Le];for(var r=Gi(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Bc(t,e){return e===void 0&&(e=!1),Dc(t)||eo(t)||!hr(t)||(ji(t)>1&&(t.set=t.add=t.clear=t.delete=B0),Object.freeze(t),e&&ii(t,function(r,i){return Bc(i,!0)},!0)),t}function B0(){Zt(2)}function Dc(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Tr(t){var e=$c[t];return e||Zt(18,t),e}function D0(t,e){$c[t]||($c[t]=e)}function Ic(){return Rn}function Ec(t,e){e&&(Tr("Patches"),t.u=[],t.s=[],t.v=e)}function _a(t){kc(t),t.p.forEach(F0),t.p=null}function kc(t){t===Rn&&(Rn=t.l)}function jm(t){return Rn={p:[],l:Rn,h:t,m:!0,_:0}}function F0(t){var e=t[Le];e.i===0||e.i===1?e.j():e.g=!0}function Ac(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Tr("ES5").S(e,t,i),i?(r[Le].P&&(_a(e),Zt(4)),hr(t)&&(t=Na(e,t),e.l||Ba(e,t)),e.u&&Tr("Patches").M(r[Le].t,t,e.u,e.s)):t=Na(e,r,[]),_a(e),e.u&&e.v(e.u,e.s),t!==rg?t:void 0}function Na(t,e,r){if(Dc(e))return e;var i=e[Le];if(!i)return ii(e,function(l,f){return Km(t,i,e,l,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Ba(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Nc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),ii(a,function(l,f){return Km(t,i,n,l,f,r,s)}),Ba(t,n,!1),r&&t.u&&Tr("Patches").N(i,r,t.u,t.s)}return i.o}function Km(t,e,r,i,n,a,s){if(eo(n)){var l=Na(t,n,a&&e&&e.i!==3&&!Vi(e.R,i)?a.concat(i):void 0);if(Jm(r,i,l),!eo(l))return;t.m=!1}else s&&r.add(n);if(hr(n)&&!Dc(n)){if(!t.h.D&&t._<1)return;Na(t,n),e&&e.A.l||Ba(t,n)}}function Ba(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Bc(e,r)}function Rc(t,e){var r=t[Le];return(r?xo(r):t)[e]}function qm(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function vo(t){t.P||(t.P=!0,t.l&&vo(t.l))}function Lc(t){t.o||(t.o=Nc(t.t))}function Tc(t,e,r){var i=Pc(e)?Tr("MapSet").F(e,r):_c(e)?Tr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ic(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=l,h=Ln;s&&(f=[l],h=An);var y=Proxy.revocable(f,h),g=y.revoke,x=y.proxy;return l.k=x,l.j=g,x}(e,r):Tr("ES5").J(e,r);return(r?r.A:Ic()).p.push(i),i}function M0(t){return eo(t)||Zt(22,t),function e(r){if(!hr(r))return r;var i,n=r[Le],a=ji(r);if(n){if(!n.P&&(n.i<4||!Tr("ES5").K(n)))return n.t;n.I=!0,i=Zm(r,a),n.I=!1}else i=Zm(r,a);return ii(i,function(s,l){n&&N0(n.t,s)===l||Jm(i,s,e(l))}),a===3?new Set(i):i}(t)}function Zm(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Nc(t)}function tg(){function t(s,l){var f=a[s];return f?f.enumerable=l:a[s]=f={configurable:!0,enumerable:l,get:function(){var h=this[Le];return Ln.get(h,s)},set:function(h){var y=this[Le];Ln.set(y,s,h)}},f}function e(s){for(var l=s.length-1;l>=0;l--){var f=s[l][Le];if(!f.P)switch(f.i){case 5:i(f)&&vo(f);break;case 4:r(f)&&vo(f)}}}function r(s){for(var l=s.t,f=s.k,h=Gi(f),y=h.length-1;y>=0;y--){var g=h[y];if(g!==Le){var x=l[g];if(x===void 0&&!Vi(l,g))return!0;var w=f[g],O=w&&w[Le];if(O?O.t!==x:!eg(w,x))return!0}}var A=!!l[Le];return h.length!==Gi(l).length+(A?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var h=0;h<l.length;h++)if(!l.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&Zt(3,JSON.stringify(xo(s)))}var a={};D0("ES5",{J:function(s,l){var f=Array.isArray(s),h=function(g,x){if(g){for(var w=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(w,""+O,t(O,!0));return w}var A=og(x);delete A[Le];for(var _=Gi(A),P=0;P<_.length;P++){var N=_[P];A[N]=t(N,g||!!A[N].enumerable)}return Object.create(Object.getPrototypeOf(x),A)}(f,s),y={i:f?5:4,A:l?l.A:Ic(),P:!1,I:!1,R:{},l,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,Le,{value:y,writable:!0}),h},S:function(s,l,f){f?eo(l)&&l[Le].A===s&&e(s.p):(s.u&&function h(y){if(y&&typeof y=="object"){var g=y[Le];if(g){var x=g.t,w=g.k,O=g.R,A=g.i;if(A===4)ii(w,function(re){re!==Le&&(x[re]!==void 0||Vi(x,re)?O[re]||h(w[re]):(O[re]=!0,vo(g)))}),ii(x,function(re){w[re]!==void 0||Vi(w,re)||(O[re]=!1,vo(g))});else if(A===5){if(i(g)&&(vo(g),O.length=!0),w.length<x.length)for(var _=w.length;_<x.length;_++)O[_]=!1;else for(var P=x.length;P<w.length;P++)O[P]=!0;for(var N=Math.min(w.length,x.length),V=0;V<N;V++)w.hasOwnProperty(V)||(O[V]=!0),O[V]===void 0&&h(w[V])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Qm,Rn,Fc,z0,U0,Ym,rg,Xm,Le,H0,Gi,og,$c,Ln,An,W0,Pt,V0,NI,BI,DI,FI,MI,zI,Da,Fa=p(()=>{Fc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",z0=typeof Map<"u",U0=typeof Set<"u",Ym=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",rg=Fc?Symbol.for("immer-nothing"):((Qm={})["immer-nothing"]=!0,Qm),Xm=Fc?Symbol.for("immer-draftable"):"__$immer_draftable",Le=Fc?Symbol.for("immer-state"):"__$immer_state",H0=""+Object.prototype.constructor,Gi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,og=Object.getOwnPropertyDescriptors||function(t){var e={};return Gi(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},$c={},Ln={get:function(t,e){if(e===Le)return t;var r=xo(t);if(!Vi(r,e))return function(n,a,s){var l,f=qm(a,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!hr(i)?i:i===Rc(t.t,e)?(Lc(t),t.o[e]=Tc(t.A.h,i,t)):i},has:function(t,e){return e in xo(t)},ownKeys:function(t){return Reflect.ownKeys(xo(t))},set:function(t,e,r){var i=qm(xo(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Rc(xo(t),e),a=n?.[Le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(eg(r,n)&&(r!==void 0||Vi(t.t,e)))return!0;Lc(t),vo(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Rc(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Lc(t),vo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=xo(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},An={};ii(Ln,function(t,e){An[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),An.deleteProperty=function(t,e){return An.set.call(this,t,e,void 0)},An.set=function(t,e,r){return Ln.set.call(this,t[0],e,r,t[0])};W0=function(){function t(r){var i=this;this.O=Ym,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var f=i;return function(A){var _=this;A===void 0&&(A=l);for(var P=arguments.length,N=Array(P>1?P-1:0),V=1;V<P;V++)N[V-1]=arguments[V];return f.produce(A,function(re){var ie;return(ie=a).call.apply(ie,[_,re].concat(N))})}}var h;if(typeof a!="function"&&Zt(6),s!==void 0&&typeof s!="function"&&Zt(7),hr(n)){var y=jm(i),g=Tc(i,n,void 0),x=!0;try{h=a(g),x=!1}finally{x?_a(y):kc(y)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(A){return Ec(y,s),Ac(A,y)},function(A){throw _a(y),A}):(Ec(y,s),Ac(h,y))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===rg&&(h=void 0),i.D&&Bc(h,!0),s){var w=[],O=[];Tr("Patches").M(n,h,w,O),s(w,O)}return h}Zt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var y=arguments.length,g=Array(y>1?y-1:0),x=1;x<y;x++)g[x-1]=arguments[x];return i.produceWithPatches(h,function(w){return n.apply(void 0,[w].concat(g))})};var s,l,f=i.produce(n,a,function(h,y){s=h,l=y});return typeof Promise<"u"&&f instanceof Promise?f.then(function(h){return[h,s,l]}):[f,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){hr(r)||Zt(8),eo(r)&&(r=M0(r));var i=jm(this),n=Tc(this,r,void 0);return n[Le].C=!0,kc(i),n},e.finishDraft=function(r,i){var n=r&&r[Le],a=n.A;return Ec(a,i),Ac(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ym&&Zt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Tr("Patches").$;return eo(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),Pt=new W0,V0=Pt.produce,NI=Pt.produceWithPatches.bind(Pt),BI=Pt.setAutoFreeze.bind(Pt),DI=Pt.setUseProxies.bind(Pt),FI=Pt.applyPatches.bind(Pt),MI=Pt.createDraft.bind(Pt),zI=Pt.finishDraft.bind(Pt),Da=V0});function ni(t){"@babel/helpers - typeof";return ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ni(t)}var Mc=p(()=>{});function ig(t,e){if(ni(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(ni(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var ng=p(()=>{Mc()});function ag(t){var e=ig(t,"string");return ni(e)=="symbol"?e:e+""}var sg=p(()=>{Mc();ng()});function lg(t,e,r){return(e=ag(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cg=p(()=>{sg()});function dg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function zc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?dg(Object(r),!0).forEach(function(i){lg(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dg(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var pg=p(()=>{cg()});function dt(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function G0(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Hc(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(dt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(dt(1));return r(Hc)(t,e)}if(typeof t!="function")throw new Error(dt(2));var n=t,a=e,s=[],l=s,f=!1;function h(){l===s&&(l=s.slice())}function y(){if(f)throw new Error(dt(3));return a}function g(A){if(typeof A!="function")throw new Error(dt(4));if(f)throw new Error(dt(5));var _=!0;return h(),l.push(A),function(){if(_){if(f)throw new Error(dt(6));_=!1,h();var N=l.indexOf(A);l.splice(N,1),s=null}}}function x(A){if(!G0(A))throw new Error(dt(7));if(typeof A.type>"u")throw new Error(dt(8));if(f)throw new Error(dt(9));try{f=!0,a=n(a,A)}finally{f=!1}for(var _=s=l,P=0;P<_.length;P++){var N=_[P];N()}return A}function w(A){if(typeof A!="function")throw new Error(dt(10));n=A,x({type:Ma.REPLACE})}function O(){var A,_=g;return A={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(dt(11));function V(){N.next&&N.next(y())}V();var re=_(V);return{unsubscribe:re}}},A[ug]=function(){return this},A}return x({type:Ma.INIT}),i={dispatch:x,subscribe:g,getState:y,replaceReducer:w},i[ug]=O,i}function j0(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Ma.INIT});if(typeof i>"u")throw new Error(dt(12));if(typeof r(void 0,{type:Ma.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(dt(13))})}function fg(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{j0(r)}catch(f){l=f}return function(h,y){if(h===void 0&&(h={}),l)throw l;if(0)var g;for(var x=!1,w={},O=0;O<a.length;O++){var A=a[O],_=r[A],P=h[A],N=_(P,y);if(typeof N>"u"){var V=y&&y.type;throw new Error(dt(14))}w[A]=N,x=x||N!==P}return x=x||a.length!==Object.keys(h).length,x?w:h}}function Ki(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function hg(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(dt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(f){return f(s)});return a=Ki.apply(void 0,l)(n.dispatch),zc(zc({},n),{},{dispatch:a})}}}var ug,Uc,Ma,za=p(()=>{pg();ug=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Uc=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ma={INIT:"@@redux/INIT"+Uc(),REPLACE:"@@redux/REPLACE"+Uc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Uc()}}});function mg(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var gg,Wc,yg=p(()=>{gg=mg();gg.withExtraArgument=mg;Wc=gg});function tS(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Kc(t){return hr(t)?Da(t,function(){}):t}function iS(t){return typeof t=="boolean"}function nS(){return function(e){return aS(e)}}function aS(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new rS;if(r&&(iS(r)?l.push(Wc):l.push(Wc.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return l}function Og(t){var e=nS(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,f=l===void 0?!0:l,h=r.preloadedState,y=h===void 0?void 0:h,g=r.enhancers,x=g===void 0?void 0:g,w;if(typeof n=="function")w=n;else if(tS(n))w=fg(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=s;if(typeof O=="function"&&(O=O(e),!Gc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gc&&O.some(function(re){return typeof re!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=hg.apply(void 0,O),_=Ki;f&&(_=eS(So({trace:!Gc},typeof f=="object"&&f)));var P=new oS(A),N=P;Array.isArray(x)?N=qi([A],x):typeof x=="function"&&(N=x(P));var V=_.apply(void 0,N);return Hc(w,y,V)}function Co(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return So(So({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function wg(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function sS(t){return typeof t=="function"}function lS(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?wg(e):[e,r,i],a=n[0],s=n[1],l=n[2],f;if(sS(t))f=function(){return Kc(t())};else{var h=Kc(t);f=function(){return h}}function y(g,x){g===void 0&&(g=f());var w=qi([a[x.type]],s.filter(function(O){var A=O.matcher;return A(x)}).map(function(O){var A=O.reducer;return A}));return w.filter(function(O){return!!O}).length===0&&(w=[l]),w.reduce(function(O,A){if(A)if(eo(O)){var _=O,P=A(_,x);return P===void 0?O:P}else{if(hr(O))return Da(O,function(N){return A(N,x)});var P=A(O,x);if(P===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return O},g)}return y.getInitialState=f,y}function cS(t,e){return t+"/"+e}function Eg(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Kc(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(y){var g=i[y],x=cS(e,y),w,O;"reducer"in g?(w=g.reducer,O=g.prepare):w=g,a[y]=w,s[x]=w,l[y]=O?Co(x,O):Co(x)});function f(){var y=typeof t.extraReducers=="function"?wg(t.extraReducers):[t.extraReducers],g=y[0],x=g===void 0?{}:g,w=y[1],O=w===void 0?[]:w,A=y[2],_=A===void 0?void 0:A,P=So(So({},x),s);return lS(r,function(N){for(var V in P)N.addCase(V,P[V]);for(var re=0,ie=O;re<ie.length;re++){var St=ie[re];N.addMatcher(St.matcher,St.reducer)}_&&N.addDefaultCase(_)})}var h;return{name:e,reducer:function(y,g){return h||(h=f()),h(y,g)},actions:l,caseReducers:a,getInitialState:function(){return h||(h=f()),h.getInitialState()}}}function hS(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function mS(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Cg,K0,qi,q0,Z0,Q0,bg,Y0,X0,xg,So,Vc,J0,eS,ik,rS,oS,Gc,dS,pS,uS,jc,vg,fS,lk,Ag,Rg,Lg,ck,dk,pk,uk,qc,fk,hk,mk,Sg,gk,gS,yk,Ig=p(()=>{Fa();za();za();za();yg();Fa();Fa();Cg=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),K0=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(h){return function(y){return f([h,y])}}function f(h){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=h[0]&2?n.return:h[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,h[1])).done)return a;switch(n=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,n=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){r.label=h[1];break}if(h[0]===6&&r.label<a[1]){r.label=a[1],a=h;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(h);break}a[2]&&r.ops.pop(),r.trys.pop();continue}h=e.call(t,r)}catch(y){h=[6,y],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},qi=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},q0=Object.defineProperty,Z0=Object.defineProperties,Q0=Object.getOwnPropertyDescriptors,bg=Object.getOwnPropertySymbols,Y0=Object.prototype.hasOwnProperty,X0=Object.prototype.propertyIsEnumerable,xg=function(t,e,r){return e in t?q0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},So=function(t,e){for(var r in e||(e={}))Y0.call(e,r)&&xg(t,r,e[r]);if(bg)for(var i=0,n=bg(e);i<n.length;i++){var r=n[i];X0.call(e,r)&&xg(t,r,e[r])}return t},Vc=function(t,e){return Z0(t,Q0(e))},J0=function(t,e,r){return new Promise(function(i,n){var a=function(f){try{l(r.next(f))}catch(h){n(h)}},s=function(f){try{l(r.throw(f))}catch(h){n(h)}},l=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};l((r=r.apply(t,e)).next())})},eS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ki:Ki.apply(null,arguments)},ik=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};rS=function(t){Cg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,qi([void 0],r[0].concat(this)))):new(e.bind.apply(e,qi([void 0],r.concat(this))))},e}(Array),oS=function(t){Cg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,qi([void 0],r[0].concat(this)))):new(e.bind.apply(e,qi([void 0],r.concat(this))))},e}(Array);Gc=!0;dS="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pS=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=dS[Math.random()*64|0];return e},uS=["name","message","stack","code"],jc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),vg=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),fS=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=uS;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},lk=function(){function t(e,r,i){var n=Co(e+"/fulfilled",function(y,g,x,w){return{payload:y,meta:Vc(So({},w||{}),{arg:x,requestId:g,requestStatus:"fulfilled"})}}),a=Co(e+"/pending",function(y,g,x){return{payload:void 0,meta:Vc(So({},x||{}),{arg:g,requestId:y,requestStatus:"pending"})}}),s=Co(e+"/rejected",function(y,g,x,w,O){return{payload:w,error:(i&&i.serializeError||fS)(y||"Rejected"),meta:Vc(So({},O||{}),{arg:x,requestId:g,rejectedWithValue:!!w,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function h(y){return function(g,x,w){var O=i?.idGenerator?i.idGenerator(y):pS(),A=new f,_,P=!1;function N(re){_=re,A.abort()}var V=function(){return J0(this,null,function(){var re,ie,St,Cr,mt,Or,Je;return K0(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),Cr=(re=i?.condition)==null?void 0:re.call(i,y,{getState:x,extra:w}),mS(Cr)?[4,Cr]:[3,2];case 1:Cr=b.sent(),b.label=2;case 2:if(Cr===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,mt=new Promise(function(C,F){return A.signal.addEventListener("abort",function(){return F({name:"AbortError",message:_||"Aborted"})})}),g(a(O,y,(ie=i?.getPendingMeta)==null?void 0:ie.call(i,{requestId:O,arg:y},{getState:x,extra:w}))),[4,Promise.race([mt,Promise.resolve(r(y,{dispatch:g,getState:x,extra:w,requestId:O,signal:A.signal,abort:N,rejectWithValue:function(C,F){return new jc(C,F)},fulfillWithValue:function(C,F){return new vg(C,F)}})).then(function(C){if(C instanceof jc)throw C;return C instanceof vg?n(C.payload,O,y,C.meta):n(C,O,y)})])];case 3:return St=b.sent(),[3,5];case 4:return Or=b.sent(),St=Or instanceof jc?s(null,O,y,Or.payload,Or.meta):s(Or,O,y),[3,5];case 5:return Je=i&&!i.dispatchConditionRejection&&s.match(St)&&St.meta.condition,Je||g(St),[2,St]}})})}();return Object.assign(V,{abort:N,requestId:O,arg:y,unwrap:function(){return V.then(hS)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();Ag="listener",Rg="completed",Lg="cancelled",ck="task-"+Lg,dk="task-"+Rg,pk=Ag+"-"+Lg,uk=Ag+"-"+Rg,qc="listenerMiddleware",fk=Co(qc+"/add"),hk=Co(qc+"/removeAll"),mk=Co(qc+"/remove"),gk=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Sg||(Sg=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},gS=function(t){return function(e){setTimeout(e,t)}},yk=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:gS(10);tg()});var yS,Ua,kg=p(()=>{"use strict";Ui();yS=Ra(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}),Ua=class extends yS(Object){}});var Tg,$g=p(()=>{"use strict";Ig();Pa();wc();kg();window.ftReduxStores||(window.ftReduxStores={});Tg=class t extends Ua{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if($a(a))return a;if(n==null)return;let s=Eg({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Og({reducer:(f,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...h.overwrites}:s.reducer(f,h)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new La;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let f=s,h=a[f];return h?(...y)=>{let g=h(...y.map(n));return this.reduxStore.dispatch(g),g}:y=>{this.setState({[f]:n(y)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var Pg=p(()=>{"use strict";Ui()});var _g=p(()=>{"use strict";Rm();wc();Gm();$g();Pa();Pg()});var Ha,Ng=p(()=>{"use strict";Ha=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(i,n)):this.getIntlDateTime(e,r,i,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,i,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:i?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}}});var Zc,Bg,Wa,Uk,Dg=p(()=>{"use strict";Zc=u(H());_g();Ng();lt();Bg=u(v()),Wa=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Uk=(0,Bg.applyMixinOnce)(Symbol("withDateFormat"),function(t){class e extends t{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>Ha.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Wa([(0,Zc.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Wa([(0,Zc.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Wa([Oc({store:k.name,selector:r=>{var i,n;return(n=(i=r.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),Wa([Oc({store:k.name})],e.prototype,"uiLocale",void 0),e})});var Va,Fg=p(()=>{"use strict";lt();ho();Va=class extends ct{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=k.getState().session;return!!e?.sessionAuthenticated}}});var Ga,Mg=p(()=>{"use strict";ho();lt();Ga=class extends ct{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=k.getState().session;return!!e?.sessionAuthenticated}}});var ja,bS,xS,Hg,Qc,Yc,zg,Ug,_t,Xc,Jc,Ka=p(()=>{"use strict";ei();ja=u(v());gc();pc();lt();Fg();Mg();bS="ft-user-assets",xS={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(qt).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:i,asset:n}=e.payload;Yc(t,r,[...Qc(t,r),n]),zg(t,r,1,i),Ug(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:i}=e.payload;Yc(t,r,Qc(t,r).map(n=>n.id===i.id?i:n)),Ug(t,i)},removeAsset:(t,e)=>{let{assetType:r,mapId:i,assetId:n}=e.payload;Yc(t,r,Qc(t,r).filter(a=>a.id!==n)),zg(t,r,-1,i)}},Hg={[qt.SEARCHES]:"savedSearches",[qt.BOOKMARKS]:"bookmarks",[qt.BOOKS]:void 0,[qt.COLLECTIONS]:void 0},Qc=(t,e)=>{var r;let i=Hg[e];return i?(r=t[i])!==null&&r!==void 0?r:[]:[]},Yc=(t,e,r)=>{let i=Hg[e];i&&(t[i]=r)},zg=(t,e,r,i)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===qt.BOOKMARKS&&i)){let a=t.assetCounts.bookmarkByMap[i];t.assetCounts.bookmarkByMap[i]=Math.max(0,a+r)}},Ug=(t,e)=>{let r=t.assetLabels.map(n=>n.title),i=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...i)},_t=ja.FtReduxStore.get({name:bS,reducers:xS,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(qt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Xc=class{constructor(e=new Va,r=new Ga){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ga,this.savedSearchesService=new Oa,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=k.getState();(0,ja.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),_t.actions.clearAssetCount(),_t.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),_t.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),_t.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();_t.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();_t.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&_t.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&_t.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(_t.getState().assetCounts.bookmarkByMap).length!==0;e===qt.BOOKMARKS&&r&&_t.actions.clearBookmarkCountByMap(),_t.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;_t.actions.bookmarks(r)}}},Jc=new Xc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Jc)});var Wg=p(()=>{"use strict";ei();Ka()});var Vg=p(()=>{"use strict"});var Gg,$r=p(()=>{"use strict";Gg=u(v());Cc();Dg();lt();Ka();Wg();Sc();lc();Vg();Cc();(0,Gg.customElement)("ft-app-context")(Se)});var ed,Zi,qa=p(()=>{"use strict";ed=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[i,n]=e.split(".");return{context:i,key:n,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Zi=new ed});var Qi,jg,vS,kn,Kg,qg,Za,In,Et,Qa,Ya,Tn=p(()=>{"use strict";Qi=u(v());$r();jg=u(H());qa();vS=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kn=Symbol("i18nAttributes"),Kg=Symbol("i18nListAttributes"),qg=Symbol("i18nProperties"),Za=Symbol("i18nContexts"),In=Symbol("i18nUnsubs"),Et=(0,Qi.applyMixinOnce)(Symbol("withI18n"),function(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ba:Di}i18n(a){let{context:s,key:l,message:f}=a,{custom:h,args:y,argsProvider:g}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,h);let x=y??(g?g(this):[]);return this.getI18nService(h).resolveMessage(s,l,...x)}return f}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Zi.isI18nKey(a)){let[l,f]=a.split(".");return this.i18n({custom:!0,context:l,key:f,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,f)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,f)=>{var h;return((h=f?.context)===null||h===void 0?void 0:h.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let f=this,h=(y,g,x)=>x?.context&&x.key&&a(y,g,x)?{...x,message:this.i18n({context:x.context,key:x.key,custom:x.custom,...y})}:x;(s=this[kn])===null||s===void 0||s.forEach((y,g)=>f[g]=h(y,g,f[g])),(l=this[Kg])===null||l===void 0||l.forEach((y,g)=>{var x;return f[g]=(x=f[g])===null||x===void 0?void 0:x.map(w=>h(y,g,w))})}updateI18nProperties(a){var s;(s=this[qg])===null||s===void 0||s.forEach((l,f)=>{a(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let f=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Za].set(f,{isCustomContext:l}),this[In].has(f)||this[In].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(a){return this[Za].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Za].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[In].forEach(a=>a()),this[In].clear()}}return e=Za,r=In,vS([(0,jg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),Qa=class extends Et(Qi.FtLitElement){},Ya=class extends Et(Qi.FtLitElementRedux){}});var td,SS,Zg=p(()=>{"use strict";qa();td=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(i=>typeof i=="string"?Zi.fromAttribute(i):i):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},SS=new td});var Qg,Yg,Xg=p(()=>{"use strict";Tn();Qg=u(v());qa();Zg();Yg=(t,e)=>(r,i)=>{var n;r.constructor.createProperty(i,{type:Object,hasChanged:Qg.hasChanged,converter:Zi,...e}),r[kn]=(n=r[kn])!==null&&n!==void 0?n:new Map,r[kn].set(i,t??{})}});var Jg,ey,rd=p(()=>{"use strict";Jg=u(R()),ey=Jg.css`
546
- `});var Xa,Ja,es,$n,mr,od=p(()=>{"use strict";Xa=u(R()),Ja=u(H()),es=u(v());rd();Tn();$r();$n=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},mr=class extends Ya{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Xa.nothing:Xa.html`
545
+ `}connectedCallback(){super.connectedCallback(),k.addEventListener(Xo.eventName,this.reloadConfiguration)}disconnectedCallback(){k.addEventListener(Xo.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,f;super.update(e),e.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&k.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&k.actions.noCustom(this.noCustom),e.has("editorMode")&&k.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&k.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(h=>Fi.addContext(h)),e.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(k.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),k.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),k.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&k.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&k.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&f!==void 0?f:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Am(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Se.elementDefinitions={};Se.styles=Th;je([(0,rt.property)()],Se.prototype,"baseUrl",void 0);je([(0,rt.property)()],Se.prototype,"apiIntegrationIdentifier",void 0);je([(0,rt.property)()],Se.prototype,"apiIntegrationAppVersion",void 0);je([(0,rt.property)()],Se.prototype,"uiLocale",void 0);je([(0,fr.jsonProperty)(null)],Se.prototype,"availableUiLocales",void 0);je([(0,fr.jsonProperty)(null)],Se.prototype,"metadataConfiguration",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"editorMode",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"noCustom",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"openExternalDocumentInNewTab",void 0);je([(0,rt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Se.prototype,"noCustomComponent",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"withManualResources",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"navigatorOnline",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"forcedOffline",void 0);je([(0,rt.property)({type:Object})],Se.prototype,"apiProvider",void 0);je([(0,rt.property)({type:Boolean})],Se.prototype,"authenticationRequired",void 0);je([(0,fr.jsonProperty)([])],Se.prototype,"messageContexts",void 0);je([(0,fr.jsonProperty)(void 0)],Se.prototype,"session",void 0);je([(0,rt.state)()],Se.prototype,"localesConfiguration",void 0);je([(0,rt.state)()],Se.prototype,"availableContentLocales",void 0)});function NS(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Ia(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Ia(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Ia(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ia(t,e){try{return NS(t,e)}catch{return!1}}function Rn(t,e){return!Ia(t,e)}function ka(t,e){let r=i=>i[t]===!0;return i=>{if(r(i))return i;let n=e(i);return n[t]=!0,n}}var Hi=p(()=>{"use strict"});var Im,Ec,km=p(()=>{"use strict";Hi();Im=u(H(),1),Ec=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:Rn,attribute:!1,...e};(0,Im.property)(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}}});var Ta,Ac=p(()=>{"use strict";Ta=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function $m(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Tm.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Rn,...e??{}})}var Tm,Pm=p(()=>{"use strict";Tm=u(H(),1);Hi()});var $a,_m=p(()=>{"use strict";$a=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Pa,BS,CI,Nm,Bm=p(()=>{Pa=globalThis,BS=Pa.ShadowRoot&&(Pa.ShadyCSS===void 0||Pa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,CI=Symbol(),Nm=(t,e)=>{if(BS)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=Pa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var Dm,_a,Fm=p(()=>{"use strict";Dm=u(R(),1);Bm();_a=class extends Dm.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return Nm(i,e.elementStyles),i}}});function Mm(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}var Um=p(()=>{"use strict"});var oi,Vi,Vm,zm,Hm,Gm,Wm,Wi,kr,jm=p(()=>{"use strict";oi=u(H(),1);Pm();_m();Fm();Um();Vi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zm=Symbol("constructorPrototype"),Hm=Symbol("constructorName"),Gm=Symbol("exportpartsDebouncer"),Wm=Symbol("dynamicDependenciesLoaded"),Wi=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Wi.eventName="exportparts-updated";kr=class extends _a{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vm]=new $a(5),this.scheduleExportpartsUpdate=()=>{var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[Gm].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Hm]=this.constructor.name,this[zm]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Hm]&&Object.setPrototypeOf(this,this[zm])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(i){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",i)}let r=this.constructor;r[Wm]||(r[Wm]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Wi.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Wi.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Wi)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=Mm(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,i,n,a,s,l;let f=x=>x!=null&&x.trim().length>0,h=e.filter(f).map(x=>x.trim());if(h.length===0){this.exportparts=void 0;return}let y=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let w=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],A=[...w,...O].filter(f).map(_=>_.trim());for(let _ of A)y.add(_)}if(y.size===0){this.exportparts=void 0;return}let g=[...y.values()].flatMap(x=>h.map(w=>`${x}:${w}--${x}`));this.exportparts=[...this.part,...g].join(", ")}};Vm=Gm;Vi([(0,oi.property)()],kr.prototype,"exportpartsPrefix",void 0);Vi([$m([])],kr.prototype,"exportpartsPrefixes",void 0);Vi([(0,oi.property)({reflect:!0})],kr.prototype,"exportparts",void 0);Vi([(0,oi.property)()],kr.prototype,"customStylesheet",void 0);Vi([(0,oi.property)()],kr.prototype,"elementToFocus",void 0);Vi([(0,oi.state)()],kr.prototype,"useAdoptedStyleSheets",void 0)});function Na(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ba=p(()=>{"use strict"});var Ln,xo,ii,DS,Km,qm=p(()=>{"use strict";jm();Ba();Hi();Ln=Symbol("internalReduxEventsUnsubscribers"),xo=Symbol("internalStoresUnsubscribers"),ii=Symbol("internalStores"),DS=ka(Symbol("withRedux"),function(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[ii].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ii].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[ii].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[ii].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[ii].delete(l)}setupStores(){this.unsubscribeFromStores(),this[ii].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let h=this.getStore(s.store);h&&(s.store?this[xo].has(s.store):this[xo].size>0)&&(this[l]=s.selector(h.getState(),this))}})}subscribeToStore(s,l){var f;this[xo].set(s,l.subscribe(()=>this.updateFromStores())),this[Ln].set(s,[]),Na(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((h,y)=>{if(typeof this[y]=="function"&&(!h.store||l.name===h.store)){let g=x=>this[y](x);l.addEventListener(h.eventName,g),this[Ln].get(s).push(()=>l.removeEventListener(h.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[xo].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[xo].has(s)&&this[xo].get(s)(),this[xo].delete(s),(l=this[Ln].get(s))===null||l===void 0||l.forEach(f=>f()),this[Ln].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=xo,r=ii,i=Ln,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Km=class extends DS(kr){}});function Zt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function to(t){return!!t&&!!t[Le]}function hr(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===GS}(t)||Array.isArray(t)||!!t[tg]||!!(!((e=t.constructor)===null||e===void 0)&&e[tg])||Nc(t)||Bc(t))}function ni(t,e,r){r===void 0&&(r=!1),Ki(t)===0?(r?Object.keys:ji)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Ki(t){var e=t[Le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Nc(t)?2:Bc(t)?3:0}function Gi(t,e){return Ki(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function FS(t,e){return Ki(t)===2?t.get(e):t[e]}function rg(t,e,r){var i=Ki(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function og(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Nc(t){return WS&&t instanceof Map}function Bc(t){return VS&&t instanceof Set}function vo(t){return t.o||t.t}function Dc(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ag(t);delete e[Le];for(var r=ji(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Fc(t,e){return e===void 0&&(e=!1),Mc(t)||to(t)||!hr(t)||(Ki(t)>1&&(t.set=t.add=t.clear=t.delete=MS),Object.freeze(t),e&&ni(t,function(r,i){return Fc(i,!0)},!0)),t}function MS(){Zt(2)}function Mc(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Tr(t){var e=_c[t];return e||Zt(18,t),e}function US(t,e){_c[t]||(_c[t]=e)}function Tc(){return kn}function Rc(t,e){e&&(Tr("Patches"),t.u=[],t.s=[],t.v=e)}function Da(t){$c(t),t.p.forEach(zS),t.p=null}function $c(t){t===kn&&(kn=t.l)}function Zm(t){return kn={p:[],l:kn,h:t,m:!0,_:0}}function zS(t){var e=t[Le];e.i===0||e.i===1?e.j():e.g=!0}function Lc(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Tr("ES5").S(e,t,i),i?(r[Le].P&&(Da(e),Zt(4)),hr(t)&&(t=Fa(e,t),e.l||Ma(e,t)),e.u&&Tr("Patches").M(r[Le].t,t,e.u,e.s)):t=Fa(e,r,[]),Da(e),e.u&&e.v(e.u,e.s),t!==ng?t:void 0}function Fa(t,e,r){if(Mc(e))return e;var i=e[Le];if(!i)return ni(e,function(l,f){return Qm(t,i,e,l,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Ma(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Dc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),ni(a,function(l,f){return Qm(t,i,n,l,f,r,s)}),Ma(t,n,!1),r&&t.u&&Tr("Patches").N(i,r,t.u,t.s)}return i.o}function Qm(t,e,r,i,n,a,s){if(to(n)){var l=Fa(t,n,a&&e&&e.i!==3&&!Gi(e.R,i)?a.concat(i):void 0);if(rg(r,i,l),!to(l))return;t.m=!1}else s&&r.add(n);if(hr(n)&&!Mc(n)){if(!t.h.D&&t._<1)return;Fa(t,n),e&&e.A.l||Ma(t,n)}}function Ma(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Fc(e,r)}function Ic(t,e){var r=t[Le];return(r?vo(r):t)[e]}function Ym(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function kc(t){t.o||(t.o=Dc(t.t))}function Pc(t,e,r){var i=Nc(e)?Tr("MapSet").F(e,r):Bc(e)?Tr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Tc(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=l,h=Tn;s&&(f=[l],h=In);var y=Proxy.revocable(f,h),g=y.revoke,x=y.proxy;return l.k=x,l.j=g,x}(e,r):Tr("ES5").J(e,r);return(r?r.A:Tc()).p.push(i),i}function HS(t){return to(t)||Zt(22,t),function e(r){if(!hr(r))return r;var i,n=r[Le],a=Ki(r);if(n){if(!n.P&&(n.i<4||!Tr("ES5").K(n)))return n.t;n.I=!0,i=Xm(r,a),n.I=!1}else i=Xm(r,a);return ni(i,function(s,l){n&&FS(n.t,s)===l||rg(i,s,e(l))}),a===3?new Set(i):i}(t)}function Xm(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Dc(t)}function ig(){function t(s,l){var f=a[s];return f?f.enumerable=l:a[s]=f={configurable:!0,enumerable:l,get:function(){var h=this[Le];return Tn.get(h,s)},set:function(h){var y=this[Le];Tn.set(y,s,h)}},f}function e(s){for(var l=s.length-1;l>=0;l--){var f=s[l][Le];if(!f.P)switch(f.i){case 5:i(f)&&So(f);break;case 4:r(f)&&So(f)}}}function r(s){for(var l=s.t,f=s.k,h=ji(f),y=h.length-1;y>=0;y--){var g=h[y];if(g!==Le){var x=l[g];if(x===void 0&&!Gi(l,g))return!0;var w=f[g],O=w&&w[Le];if(O?O.t!==x:!og(w,x))return!0}}var A=!!l[Le];return h.length!==ji(l).length+(A?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var h=0;h<l.length;h++)if(!l.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&Zt(3,JSON.stringify(vo(s)))}var a={};US("ES5",{J:function(s,l){var f=Array.isArray(s),h=function(g,x){if(g){for(var w=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(w,""+O,t(O,!0));return w}var A=ag(x);delete A[Le];for(var _=ji(A),P=0;P<_.length;P++){var N=_[P];A[N]=t(N,g||!!A[N].enumerable)}return Object.create(Object.getPrototypeOf(x),A)}(f,s),y={i:f?5:4,A:l?l.A:Tc(),P:!1,I:!1,R:{},l,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,Le,{value:y,writable:!0}),h},S:function(s,l,f){f?to(l)&&l[Le].A===s&&e(s.p):(s.u&&function h(y){if(y&&typeof y=="object"){var g=y[Le];if(g){var x=g.t,w=g.k,O=g.R,A=g.i;if(A===4)ni(w,function(re){re!==Le&&(x[re]!==void 0||Gi(x,re)?O[re]||h(w[re]):(O[re]=!0,So(g)))}),ni(x,function(re){w[re]!==void 0||Gi(w,re)||(O[re]=!1,So(g))});else if(A===5){if(i(g)&&(So(g),O.length=!0),w.length<x.length)for(var _=w.length;_<x.length;_++)O[_]=!1;else for(var P=x.length;P<w.length;P++)O[P]=!0;for(var N=Math.min(w.length,x.length),V=0;V<N;V++)w.hasOwnProperty(V)||(O[V]=!0),O[V]===void 0&&h(w[V])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Jm,kn,Uc,WS,VS,eg,ng,tg,Le,GS,ji,ag,_c,Tn,In,jS,_t,KS,DI,FI,MI,UI,zI,HI,Ua,za=p(()=>{Uc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",WS=typeof Map<"u",VS=typeof Set<"u",eg=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ng=Uc?Symbol.for("immer-nothing"):((Jm={})["immer-nothing"]=!0,Jm),tg=Uc?Symbol.for("immer-draftable"):"__$immer_draftable",Le=Uc?Symbol.for("immer-state"):"__$immer_state",GS=""+Object.prototype.constructor,ji=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ag=Object.getOwnPropertyDescriptors||function(t){var e={};return ji(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},_c={},Tn={get:function(t,e){if(e===Le)return t;var r=vo(t);if(!Gi(r,e))return function(n,a,s){var l,f=Ym(a,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!hr(i)?i:i===Ic(t.t,e)?(kc(t),t.o[e]=Pc(t.A.h,i,t)):i},has:function(t,e){return e in vo(t)},ownKeys:function(t){return Reflect.ownKeys(vo(t))},set:function(t,e,r){var i=Ym(vo(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Ic(vo(t),e),a=n?.[Le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(og(r,n)&&(r!==void 0||Gi(t.t,e)))return!0;kc(t),So(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ic(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,kc(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=vo(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},In={};ni(Tn,function(t,e){In[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),In.deleteProperty=function(t,e){return In.set.call(this,t,e,void 0)},In.set=function(t,e,r){return Tn.set.call(this,t[0],e,r,t[0])};jS=function(){function t(r){var i=this;this.O=eg,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var f=i;return function(A){var _=this;A===void 0&&(A=l);for(var P=arguments.length,N=Array(P>1?P-1:0),V=1;V<P;V++)N[V-1]=arguments[V];return f.produce(A,function(re){var ie;return(ie=a).call.apply(ie,[_,re].concat(N))})}}var h;if(typeof a!="function"&&Zt(6),s!==void 0&&typeof s!="function"&&Zt(7),hr(n)){var y=Zm(i),g=Pc(i,n,void 0),x=!0;try{h=a(g),x=!1}finally{x?Da(y):$c(y)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(A){return Rc(y,s),Lc(A,y)},function(A){throw Da(y),A}):(Rc(y,s),Lc(h,y))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===ng&&(h=void 0),i.D&&Fc(h,!0),s){var w=[],O=[];Tr("Patches").M(n,h,w,O),s(w,O)}return h}Zt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var y=arguments.length,g=Array(y>1?y-1:0),x=1;x<y;x++)g[x-1]=arguments[x];return i.produceWithPatches(h,function(w){return n.apply(void 0,[w].concat(g))})};var s,l,f=i.produce(n,a,function(h,y){s=h,l=y});return typeof Promise<"u"&&f instanceof Promise?f.then(function(h){return[h,s,l]}):[f,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){hr(r)||Zt(8),to(r)&&(r=HS(r));var i=Zm(this),n=Pc(this,r,void 0);return n[Le].C=!0,$c(i),n},e.finishDraft=function(r,i){var n=r&&r[Le],a=n.A;return Rc(a,i),Lc(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!eg&&Zt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Tr("Patches").$;return to(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),_t=new jS,KS=_t.produce,DI=_t.produceWithPatches.bind(_t),FI=_t.setAutoFreeze.bind(_t),MI=_t.setUseProxies.bind(_t),UI=_t.applyPatches.bind(_t),zI=_t.createDraft.bind(_t),HI=_t.finishDraft.bind(_t),Ua=KS});function ai(t){"@babel/helpers - typeof";return ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ai(t)}var zc=p(()=>{});function sg(t,e){if(ai(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(ai(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var lg=p(()=>{zc()});function cg(t){var e=sg(t,"string");return ai(e)=="symbol"?e:e+""}var dg=p(()=>{zc();lg()});function pg(t,e,r){return(e=cg(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ug=p(()=>{dg()});function fg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Hc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fg(Object(r),!0).forEach(function(i){pg(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fg(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var hg=p(()=>{ug()});function dt(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function qS(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Vc(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(dt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(dt(1));return r(Vc)(t,e)}if(typeof t!="function")throw new Error(dt(2));var n=t,a=e,s=[],l=s,f=!1;function h(){l===s&&(l=s.slice())}function y(){if(f)throw new Error(dt(3));return a}function g(A){if(typeof A!="function")throw new Error(dt(4));if(f)throw new Error(dt(5));var _=!0;return h(),l.push(A),function(){if(_){if(f)throw new Error(dt(6));_=!1,h();var N=l.indexOf(A);l.splice(N,1),s=null}}}function x(A){if(!qS(A))throw new Error(dt(7));if(typeof A.type>"u")throw new Error(dt(8));if(f)throw new Error(dt(9));try{f=!0,a=n(a,A)}finally{f=!1}for(var _=s=l,P=0;P<_.length;P++){var N=_[P];N()}return A}function w(A){if(typeof A!="function")throw new Error(dt(10));n=A,x({type:Ha.REPLACE})}function O(){var A,_=g;return A={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(dt(11));function V(){N.next&&N.next(y())}V();var re=_(V);return{unsubscribe:re}}},A[mg]=function(){return this},A}return x({type:Ha.INIT}),i={dispatch:x,subscribe:g,getState:y,replaceReducer:w},i[mg]=O,i}function ZS(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Ha.INIT});if(typeof i>"u")throw new Error(dt(12));if(typeof r(void 0,{type:Ha.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(dt(13))})}function gg(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{ZS(r)}catch(f){l=f}return function(h,y){if(h===void 0&&(h={}),l)throw l;if(0)var g;for(var x=!1,w={},O=0;O<a.length;O++){var A=a[O],_=r[A],P=h[A],N=_(P,y);if(typeof N>"u"){var V=y&&y.type;throw new Error(dt(14))}w[A]=N,x=x||N!==P}return x=x||a.length!==Object.keys(h).length,x?w:h}}function qi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function yg(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(dt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(f){return f(s)});return a=qi.apply(void 0,l)(n.dispatch),Hc(Hc({},n),{},{dispatch:a})}}}var mg,Wc,Ha,Wa=p(()=>{hg();mg=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Wc=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ha={INIT:"@@redux/INIT"+Wc(),REPLACE:"@@redux/REPLACE"+Wc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wc()}}});function bg(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var xg,Gc,vg=p(()=>{xg=bg();xg.withExtraArgument=bg;Gc=xg});function i0(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Zc(t){return hr(t)?Ua(t,function(){}):t}function s0(t){return typeof t=="boolean"}function l0(){return function(e){return c0(e)}}function c0(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new n0;if(r&&(s0(r)?l.push(Gc):l.push(Gc.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return l}function Ag(t){var e=l0(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,f=l===void 0?!0:l,h=r.preloadedState,y=h===void 0?void 0:h,g=r.enhancers,x=g===void 0?void 0:g,w;if(typeof n=="function")w=n;else if(i0(n))w=gg(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=s;if(typeof O=="function"&&(O=O(e),!Kc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Kc&&O.some(function(re){return typeof re!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=yg.apply(void 0,O),_=qi;f&&(_=o0(Co({trace:!Kc},typeof f=="object"&&f)));var P=new a0(A),N=P;Array.isArray(x)?N=Zi([A],x):typeof x=="function"&&(N=x(P));var V=_.apply(void 0,N);return Vc(w,y,V)}function Oo(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Co(Co({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function Rg(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function d0(t){return typeof t=="function"}function p0(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Rg(e):[e,r,i],a=n[0],s=n[1],l=n[2],f;if(d0(t))f=function(){return Zc(t())};else{var h=Zc(t);f=function(){return h}}function y(g,x){g===void 0&&(g=f());var w=Zi([a[x.type]],s.filter(function(O){var A=O.matcher;return A(x)}).map(function(O){var A=O.reducer;return A}));return w.filter(function(O){return!!O}).length===0&&(w=[l]),w.reduce(function(O,A){if(A)if(to(O)){var _=O,P=A(_,x);return P===void 0?O:P}else{if(hr(O))return Ua(O,function(N){return A(N,x)});var P=A(O,x);if(P===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return O},g)}return y.getInitialState=f,y}function u0(t,e){return t+"/"+e}function Lg(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Zc(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(y){var g=i[y],x=u0(e,y),w,O;"reducer"in g?(w=g.reducer,O=g.prepare):w=g,a[y]=w,s[x]=w,l[y]=O?Oo(x,O):Oo(x)});function f(){var y=typeof t.extraReducers=="function"?Rg(t.extraReducers):[t.extraReducers],g=y[0],x=g===void 0?{}:g,w=y[1],O=w===void 0?[]:w,A=y[2],_=A===void 0?void 0:A,P=Co(Co({},x),s);return p0(r,function(N){for(var V in P)N.addCase(V,P[V]);for(var re=0,ie=O;re<ie.length;re++){var Ct=ie[re];N.addMatcher(Ct.matcher,Ct.reducer)}_&&N.addDefaultCase(_)})}var h;return{name:e,reducer:function(y,g){return h||(h=f()),h(y,g)},actions:l,caseReducers:a,getInitialState:function(){return h||(h=f()),h.getInitialState()}}}function y0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function b0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Eg,QS,Zi,YS,XS,JS,Sg,e0,t0,Cg,Co,jc,r0,o0,ak,n0,a0,Kc,f0,h0,m0,qc,Og,g0,dk,Ig,kg,Tg,pk,uk,fk,hk,Qc,mk,gk,yk,wg,bk,x0,xk,$g=p(()=>{za();Wa();Wa();Wa();vg();za();za();Eg=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),QS=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(h){return function(y){return f([h,y])}}function f(h){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=h[0]&2?n.return:h[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,h[1])).done)return a;switch(n=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,n=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){r.label=h[1];break}if(h[0]===6&&r.label<a[1]){r.label=a[1],a=h;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(h);break}a[2]&&r.ops.pop(),r.trys.pop();continue}h=e.call(t,r)}catch(y){h=[6,y],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Zi=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},YS=Object.defineProperty,XS=Object.defineProperties,JS=Object.getOwnPropertyDescriptors,Sg=Object.getOwnPropertySymbols,e0=Object.prototype.hasOwnProperty,t0=Object.prototype.propertyIsEnumerable,Cg=function(t,e,r){return e in t?YS(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Co=function(t,e){for(var r in e||(e={}))e0.call(e,r)&&Cg(t,r,e[r]);if(Sg)for(var i=0,n=Sg(e);i<n.length;i++){var r=n[i];t0.call(e,r)&&Cg(t,r,e[r])}return t},jc=function(t,e){return XS(t,JS(e))},r0=function(t,e,r){return new Promise(function(i,n){var a=function(f){try{l(r.next(f))}catch(h){n(h)}},s=function(f){try{l(r.throw(f))}catch(h){n(h)}},l=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};l((r=r.apply(t,e)).next())})},o0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?qi:qi.apply(null,arguments)},ak=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};n0=function(t){Eg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Zi([void 0],r[0].concat(this)))):new(e.bind.apply(e,Zi([void 0],r.concat(this))))},e}(Array),a0=function(t){Eg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Zi([void 0],r[0].concat(this)))):new(e.bind.apply(e,Zi([void 0],r.concat(this))))},e}(Array);Kc=!0;f0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",h0=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=f0[Math.random()*64|0];return e},m0=["name","message","stack","code"],qc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Og=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),g0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=m0;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},dk=function(){function t(e,r,i){var n=Oo(e+"/fulfilled",function(y,g,x,w){return{payload:y,meta:jc(Co({},w||{}),{arg:x,requestId:g,requestStatus:"fulfilled"})}}),a=Oo(e+"/pending",function(y,g,x){return{payload:void 0,meta:jc(Co({},x||{}),{arg:g,requestId:y,requestStatus:"pending"})}}),s=Oo(e+"/rejected",function(y,g,x,w,O){return{payload:w,error:(i&&i.serializeError||g0)(y||"Rejected"),meta:jc(Co({},O||{}),{arg:x,requestId:g,rejectedWithValue:!!w,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function h(y){return function(g,x,w){var O=i?.idGenerator?i.idGenerator(y):h0(),A=new f,_,P=!1;function N(re){_=re,A.abort()}var V=function(){return r0(this,null,function(){var re,ie,Ct,Cr,mt,Or,Je;return QS(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),Cr=(re=i?.condition)==null?void 0:re.call(i,y,{getState:x,extra:w}),b0(Cr)?[4,Cr]:[3,2];case 1:Cr=b.sent(),b.label=2;case 2:if(Cr===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,mt=new Promise(function(C,F){return A.signal.addEventListener("abort",function(){return F({name:"AbortError",message:_||"Aborted"})})}),g(a(O,y,(ie=i?.getPendingMeta)==null?void 0:ie.call(i,{requestId:O,arg:y},{getState:x,extra:w}))),[4,Promise.race([mt,Promise.resolve(r(y,{dispatch:g,getState:x,extra:w,requestId:O,signal:A.signal,abort:N,rejectWithValue:function(C,F){return new qc(C,F)},fulfillWithValue:function(C,F){return new Og(C,F)}})).then(function(C){if(C instanceof qc)throw C;return C instanceof Og?n(C.payload,O,y,C.meta):n(C,O,y)})])];case 3:return Ct=b.sent(),[3,5];case 4:return Or=b.sent(),Ct=Or instanceof qc?s(null,O,y,Or.payload,Or.meta):s(Or,O,y),[3,5];case 5:return Je=i&&!i.dispatchConditionRejection&&s.match(Ct)&&Ct.meta.condition,Je||g(Ct),[2,Ct]}})})}();return Object.assign(V,{abort:N,requestId:O,arg:y,unwrap:function(){return V.then(y0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();Ig="listener",kg="completed",Tg="cancelled",pk="task-"+Tg,uk="task-"+kg,fk=Ig+"-"+Tg,hk=Ig+"-"+kg,Qc="listenerMiddleware",mk=Oo(Qc+"/add"),gk=Oo(Qc+"/removeAll"),yk=Oo(Qc+"/remove"),bk=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(wg||(wg=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},x0=function(t){return function(e){setTimeout(e,t)}},xk=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:x0(10);ig()});var v0,Va,Pg=p(()=>{"use strict";Hi();v0=ka(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}),Va=class extends v0(Object){}});var _g,Ng=p(()=>{"use strict";$g();Ba();Ac();Pg();window.ftReduxStores||(window.ftReduxStores={});_g=class t extends Va{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Na(a))return a;if(n==null)return;let s=Lg({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Ag({reducer:(f,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...h.overwrites}:s.reducer(f,h)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ta;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let f=s,h=a[f];return h?(...y)=>{let g=h(...y.map(n));return this.reduxStore.dispatch(g),g}:y=>{this.setState({[f]:n(y)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var Bg=p(()=>{"use strict";Hi()});var Dg=p(()=>{"use strict"});var Fg=p(()=>{"use strict";km();Ac();qm();Ng();Ba();Bg();Dg()});var Ga,Mg=p(()=>{"use strict";Ga=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(i,n)):this.getIntlDateTime(e,r,i,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,i,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:i?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}}});var Yc,Ug,ja,Gk,zg=p(()=>{"use strict";Yc=u(H());Fg();Mg();lt();Ug=u(v()),ja=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Gk=(0,Ug.applyMixinOnce)(Symbol("withDateFormat"),function(t){class e extends t{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>Ga.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return ja([(0,Yc.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),ja([(0,Yc.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),ja([Ec({store:k.name,selector:r=>{var i,n;return(n=(i=r.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),ja([Ec({store:k.name})],e.prototype,"uiLocale",void 0),e})});var Ka,Hg=p(()=>{"use strict";lt();mo();Ka=class extends ct{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=k.getState().session;return!!e?.sessionAuthenticated}}});var qa,Wg=p(()=>{"use strict";mo();lt();qa=class extends ct{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=k.getState().session;return!!e?.sessionAuthenticated}}});var Za,S0,C0,jg,Xc,Jc,Vg,Gg,Nt,ed,td,Qa=p(()=>{"use strict";ti();Za=u(v());bc();fc();lt();Hg();Wg();S0="ft-user-assets",C0={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(qt).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:i,asset:n}=e.payload;Jc(t,r,[...Xc(t,r),n]),Vg(t,r,1,i),Gg(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:i}=e.payload;Jc(t,r,Xc(t,r).map(n=>n.id===i.id?i:n)),Gg(t,i)},removeAsset:(t,e)=>{let{assetType:r,mapId:i,assetId:n}=e.payload;Jc(t,r,Xc(t,r).filter(a=>a.id!==n)),Vg(t,r,-1,i)}},jg={[qt.SEARCHES]:"savedSearches",[qt.BOOKMARKS]:"bookmarks",[qt.BOOKS]:void 0,[qt.COLLECTIONS]:void 0},Xc=(t,e)=>{var r;let i=jg[e];return i?(r=t[i])!==null&&r!==void 0?r:[]:[]},Jc=(t,e,r)=>{let i=jg[e];i&&(t[i]=r)},Vg=(t,e,r,i)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===qt.BOOKMARKS&&i)){let a=t.assetCounts.bookmarkByMap[i];t.assetCounts.bookmarkByMap[i]=Math.max(0,a+r)}},Gg=(t,e)=>{let r=t.assetLabels.map(n=>n.title),i=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...i)},Nt=Za.FtReduxStore.get({name:S0,reducers:C0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(qt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ed=class{constructor(e=new Ka,r=new qa){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xa,this.savedSearchesService=new Aa,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=k.getState();(0,Za.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Nt.actions.clearAssetCount(),Nt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Nt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Nt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Nt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Nt.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Nt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Nt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Nt.getState().assetCounts.bookmarkByMap).length!==0;e===qt.BOOKMARKS&&r&&Nt.actions.clearBookmarkCountByMap(),Nt.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Nt.actions.bookmarks(r)}}},td=new ed;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=td)});var Kg=p(()=>{"use strict";ti();Qa()});var qg=p(()=>{"use strict"});var Zg,$r=p(()=>{"use strict";Zg=u(v());wc();zg();lt();Qa();Kg();Oc();dc();qg();wc();(0,Zg.customElement)("ft-app-context")(Se)});var rd,Qi,Ya=p(()=>{"use strict";rd=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[i,n]=e.split(".");return{context:i,key:n,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Qi=new rd});var Yi,Qg,O0,Pn,Yg,Xg,Xa,$n,At,Ja,es,_n=p(()=>{"use strict";Yi=u(v());$r();Qg=u(H());Ya();O0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pn=Symbol("i18nAttributes"),Yg=Symbol("i18nListAttributes"),Xg=Symbol("i18nProperties"),Xa=Symbol("i18nContexts"),$n=Symbol("i18nUnsubs"),At=(0,Yi.applyMixinOnce)(Symbol("withI18n"),function(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Sa:Fi}i18n(a){let{context:s,key:l,message:f}=a,{custom:h,args:y,argsProvider:g}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,h);let x=y??(g?g(this):[]);return this.getI18nService(h).resolveMessage(s,l,...x)}return f}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Qi.isI18nKey(a)){let[l,f]=a.split(".");return this.i18n({custom:!0,context:l,key:f,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,f)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,f)=>{var h;return((h=f?.context)===null||h===void 0?void 0:h.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let f=this,h=(y,g,x)=>x?.context&&x.key&&a(y,g,x)?{...x,message:this.i18n({context:x.context,key:x.key,custom:x.custom,...y})}:x;(s=this[Pn])===null||s===void 0||s.forEach((y,g)=>f[g]=h(y,g,f[g])),(l=this[Yg])===null||l===void 0||l.forEach((y,g)=>{var x;return f[g]=(x=f[g])===null||x===void 0?void 0:x.map(w=>h(y,g,w))})}updateI18nProperties(a){var s;(s=this[Xg])===null||s===void 0||s.forEach((l,f)=>{a(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let f=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Xa].set(f,{isCustomContext:l}),this[$n].has(f)||this[$n].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(a){return this[Xa].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Xa].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[$n].forEach(a=>a()),this[$n].clear()}}return e=Xa,r=$n,O0([(0,Qg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),Ja=class extends At(Yi.FtLitElement){},es=class extends At(Yi.FtLitElementRedux){}});var od,w0,Jg=p(()=>{"use strict";Ya();od=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(i=>typeof i=="string"?Qi.fromAttribute(i):i):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},w0=new od});var ey,ty,ry=p(()=>{"use strict";_n();ey=u(v());Ya();Jg();ty=(t,e)=>(r,i)=>{var n;r.constructor.createProperty(i,{type:Object,hasChanged:ey.hasChanged,converter:Qi,...e}),r[Pn]=(n=r[Pn])!==null&&n!==void 0?n:new Map,r[Pn].set(i,t??{})}});var oy,iy,id=p(()=>{"use strict";oy=u(R()),iy=oy.css`
546
+ `});var ts,rs,os,Nn,mr,nd=p(()=>{"use strict";ts=u(R()),rs=u(H()),os=u(v());id();_n();$r();Nn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},mr=class extends es{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ts.nothing:ts.html`
547
547
  <span class="ft-i18n">
548
548
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
549
549
  </span>
550
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};mr.elementDefinitions={};mr.styles=ey;$n([(0,es.redux)()],mr.prototype,"editorMode",void 0);$n([(0,Ja.property)()],mr.prototype,"context",void 0);$n([(0,Ja.property)()],mr.prototype,"key",void 0);$n([(0,es.jsonProperty)([])],mr.prototype,"args",void 0);$n([(0,Ja.property)()],mr.prototype,"defaultMessage",void 0)});var Pr,ty=p(()=>{"use strict";$r();Pr=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ba:Di}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(i,n)=>()=>n}),this.attributes=new Proxy({},{get:(i,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var ry=p(()=>{"use strict";Tn()});var oy=p(()=>{"use strict"});var iy,Qt=p(()=>{"use strict";iy=u(v());od();ty();Tn();ry();rd();oy();od();(0,iy.customElement)("ft-i18n")(mr)});var ny,Xt,Yt,gr,Be,id=p(()=>{"use strict";ny=u(R()),Xt=u(H()),Yt=u(v());Pe();sa();Ah();Xg();Qt();gr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends Qa{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Yt.Debouncer,this.revealDebouncer=new Yt.Debouncer,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return ny.html`
550
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};mr.elementDefinitions={};mr.styles=iy;Nn([(0,os.redux)()],mr.prototype,"editorMode",void 0);Nn([(0,rs.property)()],mr.prototype,"context",void 0);Nn([(0,rs.property)()],mr.prototype,"key",void 0);Nn([(0,os.jsonProperty)([])],mr.prototype,"args",void 0);Nn([(0,rs.property)()],mr.prototype,"defaultMessage",void 0)});var Pr,ny=p(()=>{"use strict";$r();Pr=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Sa:Fi}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(i,n)=>()=>n}),this.attributes=new Proxy({},{get:(i,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var ay=p(()=>{"use strict";_n()});var sy=p(()=>{"use strict"});var ly,Qt=p(()=>{"use strict";ly=u(v());nd();ny();_n();ay();id();sy();nd();(0,ly.customElement)("ft-i18n")(mr)});var cy,Xt,Yt,gr,Be,ad=p(()=>{"use strict";cy=u(R()),Xt=u(H()),Yt=u(v());Pe();da();Ih();ry();Qt();gr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends Ja{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Yt.Debouncer,this.revealDebouncer=new Yt.Debouncer,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return cy.html`
551
551
  <div part="container"
552
552
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
553
553
  <slot part="slot"></slot>
@@ -562,19 +562,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
562
562
  </div>
563
563
  </div>
564
564
  </div>
565
- `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Eh(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Yt.designSystemVariables.transitionDuration}, left ${Yt.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||(0,Yt.eventPathContainsMatchingElement)(e,this.ignoreMatchingElements,this.eventsTarget)}};Be.elementDefinitions={"ft-typography":Q};Be.styles=Qf;gr([Yg()],Be.prototype,"text",void 0);gr([(0,Xt.property)({type:Boolean})],Be.prototype,"manual",void 0);gr([(0,Xt.property)({type:Boolean})],Be.prototype,"inline",void 0);gr([(0,Yt.numberProperty)()],Be.prototype,"delay",void 0);gr([(0,Xt.property)()],Be.prototype,"position",void 0);gr([(0,Yt.jsonProperty)([])],Be.prototype,"ignoreMatchingElements",void 0);gr([(0,Xt.queryAssignedNodes)()],Be.prototype,"slotNodes",void 0);gr([(0,Xt.query)(".ft-tooltip--container")],Be.prototype,"container",void 0);gr([(0,Xt.query)(".ft-tooltip")],Be.prototype,"tooltip",void 0);gr([(0,Xt.query)(".ft-tooltip--content")],Be.prototype,"tooltipContent",void 0);gr([(0,Xt.state)()],Be.prototype,"visible",void 0)});var ay=p(()=>{"use strict"});var sy,ts=p(()=>{"use strict";sy=u(v());id();id();sa();ay();(0,sy.customElement)("ft-tooltip")(Be)});var rs=zo((JT,ly)=>{ly.exports=ftGlobals.litUnsafeHTML});function os(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=CS.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=nd.get(l))!==null&&i!==void 0?i:nd.get(e))!==null&&n!==void 0?n:nd.get(s))!==null&&a!==void 0?a:L.UNKNOWN}var De,L,nd,CS,e1,ad=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;"})(De||(De={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(L||(L={}));nd=new Map([...["abw"].map(t=>[t,L.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,L.AUDIO]),...["avi"].map(t=>[t,L.AVI]),...["chm","xhs"].map(t=>[t,L.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,L.CODE]),...["csv"].map(t=>[t,L.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,L.DITA]),...["epub"].map(t=>[t,L.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,L.EXCEL]),...["flac"].map(t=>[t,L.FLAC]),...["gif"].map(t=>[t,L.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,L.GZIP]),...["html","htm","xhtml"].map(t=>[t,L.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,L.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,L.JPEG]),...["json"].map(t=>[t,L.JSON]),...["m4a","m4p"].map(t=>[t,L.M4A]),...["mov","qt"].map(t=>[t,L.MOV]),...["mp3"].map(t=>[t,L.MP3]),...["mp4","m4v"].map(t=>[t,L.MP4]),...["ogg","oga"].map(t=>[t,L.OGG]),...["pdf","ps"].map(t=>[t,L.PDF]),...["png"].map(t=>[t,L.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,L.POWERPOINT]),...["rar"].map(t=>[t,L.RAR]),...["stp"].map(t=>[t,L.STP]),...["txt","rtf","md","mdown"].map(t=>[t,L.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,L.VIDEO]),...["wav"].map(t=>[t,L.WAV]),...["wma"].map(t=>[t,L.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,L.WORD]),...["xml","xsl","rdf"].map(t=>[t,L.XML]),...["yaml","yml","x-yaml"].map(t=>[t,L.YAML]),...["zip"].map(t=>[t,L.ZIP])]),CS=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);e1={[L.ABW]:"#91ABC6",[L.AUDIO]:"#1795E3",[L.AVI]:"#E63324",[L.CHM]:"#71C3EB",[L.CODE]:"#71C3EB",[L.CSV]:"#1F7345",[L.DITA]:"#71C3EB",[L.EPUB]:"#85B926",[L.EXCEL]:"#1F7345",[L.FLAC]:"#1795E3",[L.GIF]:"#59B031",[L.GZIP]:"#F8AB36",[L.HTML]:"#71C3EB",[L.IMAGE]:"#59B031",[L.JPEG]:"#59B031",[L.JSON]:"#71C3EB",[L.M4A]:"#1795E3",[L.MOV]:"#E63324",[L.MP3]:"#1795E3",[L.MP4]:"#E63324",[L.OGG]:"#1795E3",[L.PDF]:"#E44948",[L.PNG]:"#59B031",[L.POWERPOINT]:"#B54A2B",[L.RAR]:"#F8AB36",[L.STP]:"#3764B1",[L.TEXT]:"#3162AB",[L.UNKNOWN]:"#999999",[L.VIDEO]:"#E63324",[L.WAV]:"#1795E3",[L.WMA]:"#1795E3",[L.WORD]:"#3162AB",[L.XML]:"#71C3EB",[L.YAML]:"#71C3EB",[L.ZIP]:"#F8AB36"}});var Ye,sd=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ye||(Ye={}))});var Pn,Oo,cy,dy,_n,me,ld=p(()=>{"use strict";Pn=u(R()),Oo=u(H()),cy=u(v()),dy=u(rs());ad();Vo();sd();_n=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},me=class extends cy.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Pn.nothing}render(){let e=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,r=e!==Ye.material||!!this.value;return Pn.html`
565
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Lh(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Yt.designSystemVariables.transitionDuration}, left ${Yt.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||(0,Yt.eventPathContainsMatchingElement)(e,this.ignoreMatchingElements,this.eventsTarget)}};Be.elementDefinitions={"ft-typography":Q};Be.styles=Jf;gr([ty()],Be.prototype,"text",void 0);gr([(0,Xt.property)({type:Boolean})],Be.prototype,"manual",void 0);gr([(0,Xt.property)({type:Boolean})],Be.prototype,"inline",void 0);gr([(0,Yt.numberProperty)()],Be.prototype,"delay",void 0);gr([(0,Xt.property)()],Be.prototype,"position",void 0);gr([(0,Yt.jsonProperty)([])],Be.prototype,"ignoreMatchingElements",void 0);gr([(0,Xt.queryAssignedNodes)()],Be.prototype,"slotNodes",void 0);gr([(0,Xt.query)(".ft-tooltip--container")],Be.prototype,"container",void 0);gr([(0,Xt.query)(".ft-tooltip")],Be.prototype,"tooltip",void 0);gr([(0,Xt.query)(".ft-tooltip--content")],Be.prototype,"tooltipContent",void 0);gr([(0,Xt.state)()],Be.prototype,"visible",void 0)});var dy=p(()=>{"use strict"});var py,is=p(()=>{"use strict";py=u(v());ad();ad();da();dy();(0,py.customElement)("ft-tooltip")(Be)});var ns=zo((o1,uy)=>{uy.exports=ftGlobals.litUnsafeHTML});function as(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=E0.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=sd.get(l))!==null&&i!==void 0?i:sd.get(e))!==null&&n!==void 0?n:sd.get(s))!==null&&a!==void 0?a:L.UNKNOWN}var De,L,sd,E0,i1,ld=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;"})(De||(De={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(L||(L={}));sd=new Map([...["abw"].map(t=>[t,L.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,L.AUDIO]),...["avi"].map(t=>[t,L.AVI]),...["chm","xhs"].map(t=>[t,L.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,L.CODE]),...["csv"].map(t=>[t,L.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,L.DITA]),...["epub"].map(t=>[t,L.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,L.EXCEL]),...["flac"].map(t=>[t,L.FLAC]),...["gif"].map(t=>[t,L.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,L.GZIP]),...["html","htm","xhtml"].map(t=>[t,L.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,L.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,L.JPEG]),...["json"].map(t=>[t,L.JSON]),...["m4a","m4p"].map(t=>[t,L.M4A]),...["mov","qt"].map(t=>[t,L.MOV]),...["mp3"].map(t=>[t,L.MP3]),...["mp4","m4v"].map(t=>[t,L.MP4]),...["ogg","oga"].map(t=>[t,L.OGG]),...["pdf","ps"].map(t=>[t,L.PDF]),...["png"].map(t=>[t,L.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,L.POWERPOINT]),...["rar"].map(t=>[t,L.RAR]),...["stp"].map(t=>[t,L.STP]),...["txt","rtf","md","mdown"].map(t=>[t,L.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,L.VIDEO]),...["wav"].map(t=>[t,L.WAV]),...["wma"].map(t=>[t,L.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,L.WORD]),...["xml","xsl","rdf"].map(t=>[t,L.XML]),...["yaml","yml","x-yaml"].map(t=>[t,L.YAML]),...["zip"].map(t=>[t,L.ZIP])]),E0=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);i1={[L.ABW]:"#91ABC6",[L.AUDIO]:"#1795E3",[L.AVI]:"#E63324",[L.CHM]:"#71C3EB",[L.CODE]:"#71C3EB",[L.CSV]:"#1F7345",[L.DITA]:"#71C3EB",[L.EPUB]:"#85B926",[L.EXCEL]:"#1F7345",[L.FLAC]:"#1795E3",[L.GIF]:"#59B031",[L.GZIP]:"#F8AB36",[L.HTML]:"#71C3EB",[L.IMAGE]:"#59B031",[L.JPEG]:"#59B031",[L.JSON]:"#71C3EB",[L.M4A]:"#1795E3",[L.MOV]:"#E63324",[L.MP3]:"#1795E3",[L.MP4]:"#E63324",[L.OGG]:"#1795E3",[L.PDF]:"#E44948",[L.PNG]:"#59B031",[L.POWERPOINT]:"#B54A2B",[L.RAR]:"#F8AB36",[L.STP]:"#3764B1",[L.TEXT]:"#3162AB",[L.UNKNOWN]:"#999999",[L.VIDEO]:"#E63324",[L.WAV]:"#1795E3",[L.WMA]:"#1795E3",[L.WORD]:"#3162AB",[L.XML]:"#71C3EB",[L.YAML]:"#71C3EB",[L.ZIP]:"#F8AB36"}});var Ye,cd=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ye||(Ye={}))});var Bn,wo,fy,hy,Dn,me,dd=p(()=>{"use strict";Bn=u(R()),wo=u(H()),fy=u(v()),hy=u(ns());ld();Go();cd();Dn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},me=class extends fy.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Bn.nothing}render(){let e=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,r=e!==Ye.material||!!this.value;return Bn.html`
566
566
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
567
- ${(0,dy.unsafeHTML)(this.resolvedIcon)}
567
+ ${(0,hy.unsafeHTML)(this.resolvedIcon)}
568
568
  <slot ?hidden=${r}></slot>
569
569
  </i>
570
- `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case Ye.file_format:this.resolvedIcon=(e=L[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ye.material:this.resolvedIcon=this.value||Pn.nothing;break;default:this.resolvedIcon=(r=De[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};me.elementDefinitions={};me.styles=bf;_n([(0,Oo.property)()],me.prototype,"variant",void 0);_n([(0,Oo.property)()],me.prototype,"value",void 0);_n([(0,Oo.property)({reflect:!0,attribute:"aria-hidden"})],me.prototype,"ariaHidden",void 0);_n([(0,Oo.state)()],me.prototype,"resolvedIcon",void 0);_n([(0,Oo.query)("slot")],me.prototype,"slottedContent",void 0)});var py,Jt=p(()=>{"use strict";py=u(v());ld();Vo();sd();ld();ad();(0,py.customElement)("ft-icon")(me)});var uy,fy,ai,cd=p(()=>{"use strict";uy=u(R()),fy=u(v());hn();ai=class extends fy.FtLitElement{render(){return uy.html`
570
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case Ye.file_format:this.resolvedIcon=(e=L[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ye.material:this.resolvedIcon=this.value||Bn.nothing;break;default:this.resolvedIcon=(r=De[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};me.elementDefinitions={};me.styles=Sf;Dn([(0,wo.property)()],me.prototype,"variant",void 0);Dn([(0,wo.property)()],me.prototype,"value",void 0);Dn([(0,wo.property)({reflect:!0,attribute:"aria-hidden"})],me.prototype,"ariaHidden",void 0);Dn([(0,wo.state)()],me.prototype,"resolvedIcon",void 0);Dn([(0,wo.query)("slot")],me.prototype,"slottedContent",void 0)});var my,Jt=p(()=>{"use strict";my=u(v());dd();Go();cd();dd();ld();(0,my.customElement)("ft-icon")(me)});var gy,yy,si,pd=p(()=>{"use strict";gy=u(R()),yy=u(v());yn();si=class extends yy.FtLitElement{render(){return gy.html`
571
571
  <div class="ft-loader">
572
572
  <div></div>
573
573
  <div></div>
574
574
  <div></div>
575
575
  <div></div>
576
576
  </div>
577
- `}};ai.styles=gf});var hy=p(()=>{"use strict"});var my,gy=p(()=>{"use strict";my=u(v());cd();hn();hy();cd();(0,my.customElement)("ft-loader")(ai)});var wo,yy=p(()=>{Ml();wo=t=>t??ze});var is=p(()=>{yy()});var Ao,Eo,dd,Fe,Ke,ue,pd=p(()=>{"use strict";Ao=u(v());gt();ts();Jt();gy();Eo=u(R()),dd=u(Ct()),Fe=u(H());is();Ke=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ue=class extends(0,Ao.toFtFormComponent)(Ao.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let n=Eo.html`
577
+ `}};si.styles=xf});var by=p(()=>{"use strict"});var xy,vy=p(()=>{"use strict";xy=u(v());pd();yn();by();pd();(0,xy.customElement)("ft-loader")(si)});var Eo,Sy=p(()=>{zl();Eo=t=>t??Ue});var ss=p(()=>{Sy()});var Ro,Ao,ud,Fe,Ke,ue,fd=p(()=>{"use strict";Ro=u(v());gt();is();Jt();vy();Ao=u(R()),ud=u(Ot()),Fe=u(H());ss();Ke=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ue=class extends(0,Ro.toFtFormComponent)(Ro.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let n=Ao.html`
578
578
  <ft-ripple part="ripple"
579
579
  ?disabled=${this.isDisabled()}
580
580
  ?activated=${this.activated}
@@ -582,41 +582,41 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
582
582
  <ft-or-ftds-typography part="label"
583
583
  variant="${this.typographyVariant}"
584
584
  element="span"
585
- class="ft-button--label ${Ao.isSafari?"ft-safari-ellipsis-fix":""}"
585
+ class="ft-button--label ${Ro.isSafari?"ft-safari-ellipsis-fix":""}"
586
586
  ?hidden=${!this.hasTextContent()}>
587
587
  <slot @slotchange=${this.onSlotchange}></slot>
588
588
  </ft-or-ftds-typography>
589
589
  ${this.resolveIcon()}
590
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?Eo.html`
590
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?Ao.html`
591
591
  <a href="${a}"
592
592
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
593
593
  part="button"
594
- class="${(0,dd.classMap)(this.buttonClasses)}"
594
+ class="${(0,ud.classMap)(this.buttonClasses)}"
595
595
  aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
596
596
  ?disabled=${this.isDisabled()}>
597
597
  ${n}
598
598
  </a>
599
- `:Eo.html`
599
+ `:Ao.html`
600
600
  <button part="button"
601
- class="${(0,dd.classMap)(this.buttonClasses)}"
601
+ class="${(0,ud.classMap)(this.buttonClasses)}"
602
602
  aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
603
- aria-haspopup="${wo(this.ariaHasPopup)}"
604
- aria-pressed="${wo(this.ariaPressed)}"
603
+ aria-haspopup="${Eo(this.ariaHasPopup)}"
604
+ aria-pressed="${Eo(this.ariaPressed)}"
605
605
  ?disabled=${this.isDisabled()}>
606
606
  ${n}
607
607
  </button>
608
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Eo.html`
608
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ao.html`
609
609
  <ft-tooltip part="tooltip"
610
610
  text="${this.getLabel()}"
611
611
  position="${this.tooltipPosition}">
612
612
  ${e}
613
613
  </ft-tooltip>
614
- `:e}resolveIcon(){return this.loading?Eo.html`
615
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Eo.html`
614
+ `:e}resolveIcon(){return this.loading?Ao.html`
615
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Ao.html`
616
616
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
617
- `:Eo.html`
617
+ `:Ao.html`
618
618
  <slot part="icon" name="icon"></slot>
619
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Ao.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ue.elementDefinitions={"ft-ripple":K,"ft-tooltip":Be,"ft-icon":me,"ft-loader":ai};Ke([(0,Fe.property)()],ue.prototype,"href",void 0);Ke([(0,Fe.property)()],ue.prototype,"target",void 0);Ke([(0,Fe.property)()],ue.prototype,"type",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"disabled",void 0);Ke([(0,Fe.property)()],ue.prototype,"label",void 0);Ke([(0,Fe.property)()],ue.prototype,"icon",void 0);Ke([(0,Fe.property)()],ue.prototype,"iconVariant",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"trailingIcon",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"loading",void 0);Ke([(0,Fe.property)({attribute:"aria-label"})],ue.prototype,"ariaLabel",void 0);Ke([(0,Fe.property)()],ue.prototype,"ariaHasPopup",void 0);Ke([(0,Fe.property)({attribute:"aria-pressed"})],ue.prototype,"ariaPressed",void 0);Ke([(0,Fe.property)()],ue.prototype,"tooltipPosition",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"hideTooltip",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"forceTooltip",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"activated",void 0);Ke([(0,Fe.query)(".ft-button")],ue.prototype,"button",void 0);Ke([(0,Fe.query)(".ft-button--label slot")],ue.prototype,"slottedContent",void 0);Ke([(0,Fe.query)("[part=tooltip]")],ue.prototype,"tooltip",void 0)});var Nn,by,ns,Ie,ud=p(()=>{"use strict";Nn=u(H()),by=u(v());Go();pd();Pe();ns=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ie=class extends ue{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Re.button}};Ie.elementDefinitions={...ue.elementDefinitions,"ft-or-ftds-typography":Q};Ie.styles=[by.safariEllipsisFix,Cf];ns([(0,Nn.property)({type:Boolean})],Ie.prototype,"primary",void 0);ns([(0,Nn.property)({type:Boolean})],Ie.prototype,"outlined",void 0);ns([(0,Nn.property)({type:Boolean})],Ie.prototype,"dense",void 0);ns([(0,Nn.property)({type:Boolean})],Ie.prototype,"round",void 0)});var xy,E,fd,vy,hd=p(()=>{"use strict";xy=u(R()),E=u(v());Gr();hn();Vo();$();fd={...m,iconOnlyScale:E.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},vy=[xy.css`
619
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Ro.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ue.elementDefinitions={"ft-ripple":K,"ft-tooltip":Be,"ft-icon":me,"ft-loader":si};Ke([(0,Fe.property)()],ue.prototype,"href",void 0);Ke([(0,Fe.property)()],ue.prototype,"target",void 0);Ke([(0,Fe.property)()],ue.prototype,"type",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"disabled",void 0);Ke([(0,Fe.property)()],ue.prototype,"label",void 0);Ke([(0,Fe.property)()],ue.prototype,"icon",void 0);Ke([(0,Fe.property)()],ue.prototype,"iconVariant",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"trailingIcon",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"loading",void 0);Ke([(0,Fe.property)({attribute:"aria-label"})],ue.prototype,"ariaLabel",void 0);Ke([(0,Fe.property)()],ue.prototype,"ariaHasPopup",void 0);Ke([(0,Fe.property)({attribute:"aria-pressed"})],ue.prototype,"ariaPressed",void 0);Ke([(0,Fe.property)()],ue.prototype,"tooltipPosition",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"hideTooltip",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"forceTooltip",void 0);Ke([(0,Fe.property)({type:Boolean})],ue.prototype,"activated",void 0);Ke([(0,Fe.query)(".ft-button")],ue.prototype,"button",void 0);Ke([(0,Fe.query)(".ft-button--label slot")],ue.prototype,"slottedContent",void 0);Ke([(0,Fe.query)("[part=tooltip]")],ue.prototype,"tooltip",void 0)});var Fn,Cy,ls,Ie,hd=p(()=>{"use strict";Fn=u(H()),Cy=u(v());jo();fd();Pe();ls=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ie=class extends ue{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Re.button}};Ie.elementDefinitions={...ue.elementDefinitions,"ft-or-ftds-typography":Q};Ie.styles=[Cy.safariEllipsisFix,Ef];ls([(0,Fn.property)({type:Boolean})],Ie.prototype,"primary",void 0);ls([(0,Fn.property)({type:Boolean})],Ie.prototype,"outlined",void 0);ls([(0,Fn.property)({type:Boolean})],Ie.prototype,"dense",void 0);ls([(0,Fn.property)({type:Boolean})],Ie.prototype,"round",void 0)});var Oy,E,md,wy,gd=p(()=>{"use strict";Oy=u(R()),E=u(v());jr();yn();Go();$();md={...m,iconOnlyScale:E.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},wy=[Oy.css`
620
620
  :host {
621
621
  display: inline-block;
622
622
  max-width: 100%;
@@ -699,7 +699,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
699
699
  }
700
700
 
701
701
  .ft-button.ft-button--icon-only ft-icon {
702
- transform: scale(${fd.iconOnlyScale});
702
+ transform: scale(${md.iconOnlyScale});
703
703
  }
704
704
 
705
705
  /** Brand Primary styles **/
@@ -1086,7 +1086,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1086
1086
  .ftds--size-small.ft-button--icon-only {
1087
1087
  width: ${m.smallIconOnlyWidth};
1088
1088
  }
1089
- `,E.noTextSelect]});var Bn,ss,as,er,md=p(()=>{"use strict";pd();Bn=u(H()),ss=u(v());hd();$();Jt();Pe();as=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},er=class extends(0,ss.toFtdsBase)(ue){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=co.brand,this.iconVariant=Ye.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case cr.large:return Tt.body2medium;case cr.medium:return Tt.caption1medium;case cr.small:return Tt.caption2medium}}};er.elementDefinitions={...ue.elementDefinitions,"ft-or-ftds-typography":pr};er.styles=[ss.safariEllipsisFix,vy];as([(0,Bn.property)({type:Boolean})],er.prototype,"primary",void 0);as([(0,Bn.property)({type:Boolean})],er.prototype,"secondary",void 0);as([(0,Bn.property)({type:Boolean})],er.prototype,"tertiary",void 0);as([(0,Bn.property)({type:Boolean})],er.prototype,"round",void 0)});var Sy=p(()=>{"use strict"});var Cy=p(()=>{"use strict"});var gd,tr=p(()=>{"use strict";gd=u(v());ud();md();ud();Go();Sy();md();hd();Cy();(0,gd.customElement)("ft-button")(Ie);(0,gd.customElement)("ftds-button")(er)});var Oy,fe,ge,yd,Dn=p(()=>{"use strict";Oy=u(R()),fe=u(v());tr();ts();ge={height:fe.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:fe.FtCssVariableFactory.extend("--ft-search-input-border-radius","",fe.designSystemVariables.borderRadiusS),desktopFiltersHeight:fe.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:fe.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:fe.FtCssVariableFactory.extend("--ft-search-input-background-color","",fe.designSystemVariables.colorSurface),colorOnSurface:fe.FtCssVariableFactory.extend("--ft-search-input-color","",fe.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:fe.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",fe.designSystemVariables.colorOnSurfaceMedium),colorOutline:fe.FtCssVariableFactory.extend("--ft-search-input-outline-color","",fe.designSystemVariables.colorOutline),elevation02:fe.FtCssVariableFactory.extend("--ft-search-input-elevation","",fe.designSystemVariables.elevation02),focusOutlineColor:fe.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",fe.designSystemVariables.colorPrimary),buttonColor:fe.FtCssVariableFactory.extend("--ft-search-input-button-color","",fe.designSystemVariables.colorPrimary),buttonRippleColor:fe.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",fe.designSystemVariables.colorPrimary)},yd=Oy.css`
1089
+ `,E.noTextSelect]});var Mn,ds,cs,er,yd=p(()=>{"use strict";fd();Mn=u(H()),ds=u(v());gd();$();Jt();Pe();cs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},er=class extends(0,ds.toFtdsBase)(ue){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=po.brand,this.iconVariant=Ye.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case cr.large:return $t.body2medium;case cr.medium:return $t.caption1medium;case cr.small:return $t.caption2medium}}};er.elementDefinitions={...ue.elementDefinitions,"ft-or-ftds-typography":pr};er.styles=[ds.safariEllipsisFix,wy];cs([(0,Mn.property)({type:Boolean})],er.prototype,"primary",void 0);cs([(0,Mn.property)({type:Boolean})],er.prototype,"secondary",void 0);cs([(0,Mn.property)({type:Boolean})],er.prototype,"tertiary",void 0);cs([(0,Mn.property)({type:Boolean})],er.prototype,"round",void 0)});var Ey=p(()=>{"use strict"});var Ay=p(()=>{"use strict"});var bd,tr=p(()=>{"use strict";bd=u(v());hd();yd();hd();jo();Ey();yd();gd();Ay();(0,bd.customElement)("ft-button")(Ie);(0,bd.customElement)("ftds-button")(er)});var Ry,fe,ge,xd,Un=p(()=>{"use strict";Ry=u(R()),fe=u(v());tr();is();ge={height:fe.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:fe.FtCssVariableFactory.extend("--ft-search-input-border-radius","",fe.designSystemVariables.borderRadiusS),desktopFiltersHeight:fe.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:fe.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:fe.FtCssVariableFactory.extend("--ft-search-input-background-color","",fe.designSystemVariables.colorSurface),colorOnSurface:fe.FtCssVariableFactory.extend("--ft-search-input-color","",fe.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:fe.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",fe.designSystemVariables.colorOnSurfaceMedium),colorOutline:fe.FtCssVariableFactory.extend("--ft-search-input-outline-color","",fe.designSystemVariables.colorOutline),elevation02:fe.FtCssVariableFactory.extend("--ft-search-input-elevation","",fe.designSystemVariables.elevation02),focusOutlineColor:fe.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",fe.designSystemVariables.colorPrimary),buttonColor:fe.FtCssVariableFactory.extend("--ft-search-input-button-color","",fe.designSystemVariables.colorPrimary),buttonRippleColor:fe.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",fe.designSystemVariables.colorPrimary)},xd=Ry.css`
1090
1090
  * {
1091
1091
  box-sizing: border-box;
1092
1092
  ${(0,fe.setVariable)(j.color,ge.buttonColor)};
@@ -1162,15 +1162,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1162
1162
  height: 20px;
1163
1163
  border-right: 1px solid ${ge.colorOutline};
1164
1164
  }
1165
- `});var wy,Ey,ls,bd,cs=p(()=>{"use strict";wy=u(R()),Ey=u(v()),ls={highlightBackgroundColor:Ey.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},bd=wy.css`
1165
+ `});var Ly,Iy,ps,vd,us=p(()=>{"use strict";Ly=u(R()),Iy=u(v()),ps={highlightBackgroundColor:Iy.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},vd=Ly.css`
1166
1166
  .kwicmatch {
1167
1167
  font-weight: 700;
1168
- background-color: ${ls.highlightBackgroundColor};
1168
+ background-color: ${ps.highlightBackgroundColor};
1169
1169
  }
1170
- `});var Ay,Ry,ds,xd,ps=p(()=>{"use strict";Ay=u(R()),Ry=u(v()),ds={highlightBackgroundColor:Ry.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},xd=Ay.css`
1170
+ `});var ky,Ty,fs,Sd,hs=p(()=>{"use strict";ky=u(R()),Ty=u(v()),fs={highlightBackgroundColor:Ty.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Sd=ky.css`
1171
1171
  .kwicmatch {
1172
1172
  font-weight: 700;
1173
- background-color: ${ds.highlightBackgroundColor};
1173
+ background-color: ${fs.highlightBackgroundColor};
1174
1174
  }
1175
1175
 
1176
1176
  a {
@@ -1181,11 +1181,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1181
1181
  a:focus {
1182
1182
  outline: revert;
1183
1183
  }
1184
- `});function Py(t){var e;return((e=(0,Fn.accessResult)(t))===null||e===void 0?void 0:e.openMode)===Ca.EXTERNAL}function hs(t){return Py(t)?(0,Fn.accessResult)(t).originUrl:(0,Fn.accessResultUrl)(t)}function _y(t,e){return wo(e&&Py(t)?"_blank":void 0)}var Fn,Od=p(()=>{"use strict";ei();is();Fn=u(v())});var Xi,Ji,Ed=p(()=>{"use strict";Xi=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Ji=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Fy,ES,Ad,Rd=p(()=>{"use strict";Fy=u(R()),ES={},Ad=Fy.css`
1185
- `});var My=p(()=>{"use strict"});var ms,AS,zy,Uy=p(()=>{"use strict";ms=u(v()),AS={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{var r;let i=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(i)?20:(0,ms.minmax)(1,i,1e3)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestSortId:(t,e)=>{t.request.sortId=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setKeywordMatch:(t,e)=>{t.request.keywordMatch=e.payload}},zy=t=>ms.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:AS})});var gs,Hy=p(()=>{"use strict";$r();gs=class extends ct{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((r,i)=>r.key.localeCompare(i.key))}}});var Nt,Wy,Vy,zn,en,Ld=p(()=>{"use strict";Nt=u(v());Uy();ei();Hy();Wy=t=>t.request.virtualField===Mi.TITLE_ONLY&&t.request.scope===zi.DOCUMENTS,Vy=t=>t.request.keywordMatch==Sa.MANDATORY,zn=class t extends Event{constructor(){super(t.eventName)}};zn.eventName="search-context-clear-all-filters";en=class t{static build(e,r){return new t(zy(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Nt.Debouncer(10),this.searchDebouncer=new Nt.Debouncer(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new Nt.Debouncer(1e3),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>{var n;return{input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:(n=i.request.sort)!==null&&n!==void 0?n:[],sortId:i.request.sortId,contentLocale:i.request.contentLocale,scope:i.request.scope,keywordMatch:i.request.keywordMatch}},this.service=r??new gs,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,Nt.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,Nt.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.service.getConfiguration().then(e=>{this.store.actions.configuration(e),this.setSortId(this.store.getState().request.sortId)}),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let i=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setSortId(e){var r;if(this.store.actions.setPageNumber(1),e==null||this.sortOptions.length==0)return this.store.actions.setRequestSortId(e),e;let i=(r=this.sortOptions.find(n=>n.id==e))!==null&&r!==void 0?r:this.sortOptions[0];return this.store.actions.setRequestSortId(i.id),i.id}setFilters(e){let r=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Mi.TITLE_ONLY),this.store.actions.setRequestScope(zi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Mi.EVERYWHERE),this.store.actions.setRequestScope(zi.DEFAULT))}setKeywordMatch(e){this.store.actions.setKeywordMatch(e)}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Wy(this.store.getState())}get keywordMatch(){return Vy(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new zn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(i=>i.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,r,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,i,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,Nt.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(this.store.actions.announcements(s.announcements),s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof Nt.CanceledPromiseError||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var r;try{if((r=this.cancelableSuggest)===null||r===void 0||r.cancel(),e.input.length!=0&&e.input.length<3)return;this.cancelableSuggest=(0,Nt.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof Nt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});var ys,jy,RS,kd,Gy,Id,LS,IS,rr,li=p(()=>{"use strict";ys=u(v()),jy=u(H());My();Ld();RS=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Gy=Symbol("registerInterval"),Id=Symbol("registerAttempts"),LS=40,IS=(0,ys.applyMixinOnce)(Symbol("toFtSearchComponent"),function(t){class e extends t{setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Id]=0,this[Gy]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Id]>LS?window.clearInterval(this[Gy]):(this[Id]++,this.dispatchEvent(new kd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return RS([(0,jy.state)()],e.prototype,"stateManager",void 0),e}),rr=class extends IS(ys.FtLitElementRedux){}});function Un(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Hn(t){var e,r;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values,negative:(r=t.valueFilter)===null||r===void 0?void 0:r.negative}}var Td=p(()=>{"use strict"});var xs,bs,Ky=p(()=>{"use strict";xs=u(v());ei();$r();Td();bs=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=r??new wa,this.resultsWatcher=(0,xs.watch)(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=k.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}convertToAnalyticsMap(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=k.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Jo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Un(e.metadataFilters),facets:e.metadataFilters.map(n=>Hn(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Jo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ir.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Jo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Un(i.metadataFilters),facets:i.metadataFilters.map(s=>Hn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ir.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Jo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Un(i.metadataFilters),facets:i.metadataFilters.map(s=>Hn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case Ir.MAP:return{id:e.map.mapId,title:e.map.title,type:go.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ir.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:go.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ir.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:go.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case Ir.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:go.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case Ir.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:go.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r;return(r=(0,xs.accessResult)(e))===null||r===void 0?void 0:r.originUrl}}});var qy,_r,Rt,Xe,vs,Ss,Cs,Ce,$d=p(()=>{"use strict";qy=u(R()),_r=u(H()),Rt=u(v());Rd();li();$r();Ka();Ky();Xe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},vs=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ss=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Cs=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Ce=class extends Rt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=en.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new bs(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(k)}render(){return qy.html`
1184
+ `});function Dy(t){var e;return((e=(0,zn.accessResult)(t))===null||e===void 0?void 0:e.openMode)===Ea.EXTERNAL}function ys(t){return Dy(t)?(0,zn.accessResult)(t).originUrl:(0,zn.accessResultUrl)(t)}function Fy(t,e){return Eo(e&&Dy(t)?"_blank":void 0)}var zn,Ed=p(()=>{"use strict";ti();ss();zn=u(v())});var Ji,en,Rd=p(()=>{"use strict";Ji=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},en=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Hy,L0,Ld,Id=p(()=>{"use strict";Hy=u(R()),L0={},Ld=Hy.css`
1185
+ `});var _r,tn=p(()=>{"use strict";(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(_r||(_r={}))});var bs,I0,Wy,Vy=p(()=>{"use strict";bs=u(v()),I0={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{var r;let i=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(i)?20:(0,bs.minmax)(1,i,1e3)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestSortId:(t,e)=>{t.request.sortId=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setKeywordMatch:(t,e)=>{t.request.keywordMatch=e.payload}},Wy=t=>bs.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:I0})});var xs,Gy=p(()=>{"use strict";$r();xs=class extends ct{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((r,i)=>r.key.localeCompare(i.key))}}});var yt,jy,Ky,Wn,rn,kd=p(()=>{"use strict";tn();yt=u(v());Vy();ti();Gy();jy=t=>t.request.virtualField===Ui.TITLE_ONLY&&t.request.scope===zi.DOCUMENTS,Ky=t=>t.request.keywordMatch==wa.MANDATORY,Wn=class t extends Event{constructor(){super(t.eventName)}};Wn.eventName="search-context-clear-all-filters";rn=class t extends yt.FtStateManager{static build(e,r){return new t(Wy(e.trim()||"context"),r)}constructor(e,r){super(),this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new yt.Debouncer(10),this.searchDebouncer=new yt.Debouncer(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new yt.Debouncer(1e3),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>{var n;return{input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:(n=i.request.sort)!==null&&n!==void 0?n:[],sortId:i.request.sortId,contentLocale:i.request.contentLocale,scope:i.request.scope,keywordMatch:i.request.keywordMatch}},this.service=r??new xs,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,yt.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,yt.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.service.getConfiguration().then(e=>{this.store.actions.configuration(e),this.setSortId(this.store.getState().request.sortId)}),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let i=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setSortId(e){var r;if(this.store.actions.setPageNumber(1),e==null||this.sortOptions.length==0)return this.store.actions.setRequestSortId(e),e;let i=(r=this.sortOptions.find(n=>n.id==e))!==null&&r!==void 0?r:this.sortOptions[0];return this.store.actions.setRequestSortId(i.id),i.id}setFilters(e){let r=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Ui.TITLE_ONLY),this.store.actions.setRequestScope(zi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Ui.EVERYWHERE),this.store.actions.setRequestScope(zi.DEFAULT))}setKeywordMatch(e){this.store.actions.setKeywordMatch(e)}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return jy(this.store.getState())}get keywordMatch(){return Ky(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Wn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(i=>i.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,r,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,i,n,a;if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),!!this.isRequestNeeded(_r.CLUSTERED_SEARCH))try{if(this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,yt.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(this.store.actions.announcements(s.announcements),s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof yt.CanceledPromiseError||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var r;try{if((r=this.cancelableSuggest)===null||r===void 0||r.cancel(),e.input.length!=0&&e.input.length<3)return;this.cancelableSuggest=(0,yt.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof yt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});var on,$d,qy,Pd,Zy,Td,k0,T0,rr,ci=p(()=>{"use strict";on=u(v()),$d=u(H());tn();kd();qy=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Zy=Symbol("registerInterval"),Td=Symbol("registerAttempts"),k0=40,T0=(0,on.applyMixinOnce)(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(i){var n,a,s;super.willUpdate(i),i.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=i.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Td]=0,this.tryToRegisterToContext(),this[Zy]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Td]>k0?window.clearInterval(this[Zy]):(this[Td]++,this.dispatchEvent(new Pd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return qy([(0,$d.state)()],e.prototype,"stateManager",void 0),qy([(0,$d.state)({hasChanged:on.hasChanged})],e.prototype,"neededSearchRequests",void 0),e}),rr=class extends T0(on.FtLitElementRedux){}});function Vn(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Gn(t){var e,r;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values,negative:(r=t.valueFilter)===null||r===void 0?void 0:r.negative}}var _d=p(()=>{"use strict"});var Ss,vs,Qy=p(()=>{"use strict";Ss=u(v());ti();$r();_d();vs=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=r??new Ra,this.resultsWatcher=(0,Ss.watch)(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=k.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}convertToAnalyticsMap(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=k.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:ei.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Vn(e.metadataFilters),facets:e.metadataFilters.map(n=>Gn(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:ei.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ir.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:ei.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Vn(i.metadataFilters),facets:i.metadataFilters.map(s=>Gn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ir.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:ei.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Vn(i.metadataFilters),facets:i.metadataFilters.map(s=>Gn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case Ir.MAP:return{id:e.map.mapId,title:e.map.title,type:yo.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ir.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:yo.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ir.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:yo.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case Ir.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:yo.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case Ir.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:yo.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r;return(r=(0,Ss.accessResult)(e))===null||r===void 0?void 0:r.originUrl}}});var Yy,Nr,Lt,Xe,Cs,Os,ws,Ce,Nd=p(()=>{"use strict";Yy=u(R()),Nr=u(H()),Lt=u(v());Id();ci();$r();Qa();Qy();Xe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Cs=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Os=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},ws=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Ce=class extends Lt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=rn.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new vs(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(k)}render(){return Yy.html`
1186
1186
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click=${this.onResultClicked}
1187
1187
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
1188
- `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("keywordMatch")&&this.stateManager.setKeywordMatch(this.keywordMatch),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSortId(this.sortId),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ss(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Cs(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new vs(e))}reloadSavedSearches(){Jc.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Ce.elementDefinitions={};Ce.styles=Ad;Xe([(0,Rt.redux)({store:k.name})],Ce.prototype,"session",void 0);Xe([(0,_r.property)()],Ce.prototype,"query",void 0);Xe([(0,_r.property)()],Ce.prototype,"contentLocale",void 0);Xe([(0,Rt.numberProperty)()],Ce.prototype,"pageSize",void 0);Xe([(0,_r.property)({type:Boolean})],Ce.prototype,"searchInDocumentTitlesOnly",void 0);Xe([(0,_r.property)()],Ce.prototype,"keywordMatch",void 0);Xe([(0,_r.property)()],Ce.prototype,"scope",void 0);Xe([(0,_r.property)()],Ce.prototype,"virtualField",void 0);Xe([(0,_r.property)({type:Boolean})],Ce.prototype,"ignoreEmptyQuery",void 0);Xe([(0,Rt.redux)({store:k.name})],Ce.prototype,"openExternalDocumentInNewTab",void 0);Xe([(0,Rt.jsonProperty)([])],Ce.prototype,"filters",void 0);Xe([(0,_r.property)()],Ce.prototype,"sortId",void 0);Xe([(0,Rt.jsonProperty)([])],Ce.prototype,"sort",void 0);Xe([(0,Rt.jsonProperty)({})],Ce.prototype,"otherQueryParams",void 0);Xe([(0,Rt.redux)({store:"search"})],Ce.prototype,"request",void 0);Xe([(0,Rt.redux)({store:"search"})],Ce.prototype,"paging",void 0);Xe([(0,Rt.redux)({store:"search",selector:t=>t.spellcheck})],Ce.prototype,"autocorrect",void 0);Xe([(0,_r.property)({attribute:!1})],Ce.prototype,"searchServiceProvider",void 0)});var Zy=p(()=>{"use strict"});var Yy={};Uo(Yy,{ClearAllFiltersEvent:()=>zn,FtSearchContext:()=>Ce,FtSearchContextCssVariables:()=>ES,FtSearchStateManager:()=>en,LoadErrorEvent:()=>vs,SearchRequestChangeEvent:()=>Ss,SearchResultsChangeEvent:()=>Cs,convertMetadataFilterToAnalyticsFacet:()=>Hn,getAnalyticsLastUpdate:()=>Un,keywordMatchSelector:()=>Vy,searchInDocumentTitlesOnlySelector:()=>Wy,styles:()=>Ad});var Qy,Xy=p(()=>{"use strict";Qy=u(v());$d();Rd();Zy();$d();Ld();Td();(0,Qy.customElement)("ft-search-context")(Ce)});var Ro,Pd=p(()=>{"use strict";Qt();Ro=Pr.build("designedSearchInput")});var to=zo((nP,Jy)=>{Jy.exports=ftGlobals.litRepeat});var or,_d=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(or||(or={}))});var eb,tb,Nd=p(()=>{"use strict";eb=u(R()),tb=eb.css`
1188
+ `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("keywordMatch")&&this.stateManager.setKeywordMatch(this.keywordMatch),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Os(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ws(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Cs(e))}reloadSavedSearches(){td.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Ce.elementDefinitions={};Ce.styles=Ld;Xe([(0,Lt.redux)({store:k.name})],Ce.prototype,"session",void 0);Xe([(0,Nr.property)()],Ce.prototype,"query",void 0);Xe([(0,Nr.property)()],Ce.prototype,"contentLocale",void 0);Xe([(0,Lt.numberProperty)()],Ce.prototype,"pageSize",void 0);Xe([(0,Nr.property)({type:Boolean})],Ce.prototype,"searchInDocumentTitlesOnly",void 0);Xe([(0,Nr.property)()],Ce.prototype,"keywordMatch",void 0);Xe([(0,Nr.property)()],Ce.prototype,"scope",void 0);Xe([(0,Nr.property)()],Ce.prototype,"virtualField",void 0);Xe([(0,Nr.property)({type:Boolean})],Ce.prototype,"ignoreEmptyQuery",void 0);Xe([(0,Lt.redux)({store:k.name})],Ce.prototype,"openExternalDocumentInNewTab",void 0);Xe([(0,Lt.jsonProperty)([])],Ce.prototype,"filters",void 0);Xe([(0,Nr.property)()],Ce.prototype,"sortId",void 0);Xe([(0,Lt.jsonProperty)([])],Ce.prototype,"sort",void 0);Xe([(0,Lt.jsonProperty)({})],Ce.prototype,"otherQueryParams",void 0);Xe([(0,Lt.redux)({store:"search"})],Ce.prototype,"request",void 0);Xe([(0,Lt.redux)({store:"search"})],Ce.prototype,"paging",void 0);Xe([(0,Lt.redux)({store:"search",selector:t=>t.spellcheck})],Ce.prototype,"autocorrect",void 0);Xe([(0,Nr.property)({attribute:!1})],Ce.prototype,"searchServiceProvider",void 0)});var Xy=p(()=>{"use strict"});var eb={};Ho(eb,{ClearAllFiltersEvent:()=>Wn,FtSearchContext:()=>Ce,FtSearchContextCssVariables:()=>L0,FtSearchStateManager:()=>rn,LoadErrorEvent:()=>Cs,SearchRequestChangeEvent:()=>Os,SearchResultsChangeEvent:()=>ws,convertMetadataFilterToAnalyticsFacet:()=>Gn,getAnalyticsLastUpdate:()=>Vn,keywordMatchSelector:()=>Ky,searchInDocumentTitlesOnlySelector:()=>jy,styles:()=>Ld});var Jy,tb=p(()=>{"use strict";Jy=u(v());Nd();Id();Xy();Nd();kd();_d();(0,Jy.customElement)("ft-search-context")(Ce)});var Lo,Bd=p(()=>{"use strict";Qt();Lo=Pr.build("designedSearchInput")});var ro=zo((pP,rb)=>{rb.exports=ftGlobals.litRepeat});var or,Dd=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(or||(or={}))});var ob,ib,Fd=p(()=>{"use strict";ob=u(R()),ib=ob.css`
1189
1189
  .ft-size-watcher--pixel {
1190
1190
  width: 0;
1191
1191
  height: 0;
@@ -1204,11 +1204,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1204
1204
  .ft-size-watcher--local .ft-size-watcher--watcher {
1205
1205
  width: 100%;
1206
1206
  }
1207
- `});var rb,ci,Os,Wn,Bd,Bt,Dd=p(()=>{"use strict";rb=u(R()),ci=u(H()),Os=u(v());_d();Nd();Wn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bd=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Bt=class extends Os.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=or.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Os.Debouncer}render(){return rb.html`
1207
+ `});var nb,di,Es,jn,Md,Bt,Ud=p(()=>{"use strict";nb=u(R()),di=u(H()),Es=u(v());Dd();Fd();jn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Md=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Bt=class extends Es.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=or.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Es.Debouncer}render(){return nb.html`
1208
1208
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1209
1209
  <div class="ft-size-watcher--watcher"></div>
1210
1210
  </div>
1211
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=or.S:this.size<976?this.category=or.M:this.size<1024?this.category=or.L:this.size<1440?this.category=or.XL:this.category=or.XXL,this.dispatchEvent(new Bd(this.size,this.category)))},this.debounceTimeout)}};Bt.elementDefinitions={};Bt.styles=tb;Wn([(0,ci.property)({type:Number})],Bt.prototype,"debounceTimeout",void 0);Wn([(0,ci.property)({type:Boolean})],Bt.prototype,"local",void 0);Wn([(0,ci.property)({type:Number,reflect:!0})],Bt.prototype,"size",void 0);Wn([(0,ci.property)({type:String,reflect:!0})],Bt.prototype,"category",void 0);Wn([(0,ci.query)(".ft-size-watcher--watcher")],Bt.prototype,"watcher",void 0)});var ob,ib=p(()=>{"use strict";ob=u(v());Dd();Dd();Nd();_d();(0,ob.customElement)("ft-size-watcher")(Bt)});function ws(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function nb(t){return ws(t).split("|").pop()}function ab(t){return ws(t).split("|").join(" > ")}function sb(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>sb(r,t.selected)),value:t.value}}function lb(t){return(0,Fd.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Md(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>sb(e,!1))}}function cb(t){return(0,Fd.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Fd,zd=p(()=>{"use strict";Fd=u(v())});var ot,db,Dt,pb,Ud=p(()=>{"use strict";ot=u(v()),db=u(R());Pe();gt();Dt={textColor:ot.FtCssVariableFactory.extend("--ft-checkbox-text-color","",ot.designSystemVariables.colorOnSurfaceHigh),fontSize:ot.FtCssVariableFactory.extend("--ft-checkbox-font-size","",T.fontSize),activeColor:ot.FtCssVariableFactory.extend("--ft-checkbox-active-color","",ot.designSystemVariables.colorPrimary),checkColor:ot.FtCssVariableFactory.extend("--ft-checkbox-check-color","",ot.designSystemVariables.colorOnPrimary),borderColor:ot.FtCssVariableFactory.extend("--ft-checkbox-border-color","",ot.designSystemVariables.colorOnSurfaceMedium),disabledColor:ot.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",ot.designSystemVariables.colorOnSurfaceDisabled),errorColor:ot.FtCssVariableFactory.extend("--ft-checkbox-error-color","",ot.designSystemVariables.colorError)},pb=db.css`
1211
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=or.S:this.size<976?this.category=or.M:this.size<1024?this.category=or.L:this.size<1440?this.category=or.XL:this.category=or.XXL,this.dispatchEvent(new Md(this.size,this.category)))},this.debounceTimeout)}};Bt.elementDefinitions={};Bt.styles=ib;jn([(0,di.property)({type:Number})],Bt.prototype,"debounceTimeout",void 0);jn([(0,di.property)({type:Boolean})],Bt.prototype,"local",void 0);jn([(0,di.property)({type:Number,reflect:!0})],Bt.prototype,"size",void 0);jn([(0,di.property)({type:String,reflect:!0})],Bt.prototype,"category",void 0);jn([(0,di.query)(".ft-size-watcher--watcher")],Bt.prototype,"watcher",void 0)});var ab,sb=p(()=>{"use strict";ab=u(v());Ud();Ud();Fd();Dd();(0,ab.customElement)("ft-size-watcher")(Bt)});function As(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function lb(t){return As(t).split("|").pop()}function cb(t){return As(t).split("|").join(" > ")}function db(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>db(r,t.selected)),value:t.value}}function pb(t){return(0,zd.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Hd(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>db(e,!1))}}function ub(t){return(0,zd.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var zd,Wd=p(()=>{"use strict";zd=u(v())});var ot,fb,Dt,hb,Vd=p(()=>{"use strict";ot=u(v()),fb=u(R());Pe();gt();Dt={textColor:ot.FtCssVariableFactory.extend("--ft-checkbox-text-color","",ot.designSystemVariables.colorOnSurfaceHigh),fontSize:ot.FtCssVariableFactory.extend("--ft-checkbox-font-size","",T.fontSize),activeColor:ot.FtCssVariableFactory.extend("--ft-checkbox-active-color","",ot.designSystemVariables.colorPrimary),checkColor:ot.FtCssVariableFactory.extend("--ft-checkbox-check-color","",ot.designSystemVariables.colorOnPrimary),borderColor:ot.FtCssVariableFactory.extend("--ft-checkbox-border-color","",ot.designSystemVariables.colorOnSurfaceMedium),disabledColor:ot.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",ot.designSystemVariables.colorOnSurfaceDisabled),errorColor:ot.FtCssVariableFactory.extend("--ft-checkbox-error-color","",ot.designSystemVariables.colorError)},hb=fb.css`
1212
1212
  * {
1213
1213
  box-sizing: border-box;
1214
1214
  }
@@ -1301,8 +1301,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1301
1301
  }
1302
1302
  }
1303
1303
  }
1304
- `});var ub,Nr,fb,hb,Lo,ut,Hd=p(()=>{"use strict";ub=u(R()),Nr=u(H()),fb=u(v()),hb=u(Ct());gt();Pe();Ud();Lo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ut=class extends fb.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return ub.html`
1305
- <label class="${(0,hb.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1304
+ `});var mb,Br,gb,yb,Io,ut,Gd=p(()=>{"use strict";mb=u(R()),Br=u(H()),gb=u(v()),yb=u(Ot());gt();Pe();Vd();Io=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ut=class extends gb.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return mb.html`
1305
+ <label class="${(0,yb.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1306
1306
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1307
1307
  <ft-ripple part="checkbox-ripple"
1308
1308
  ?disabled=${this.disabled}
@@ -1328,8 +1328,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1328
1328
  <slot></slot>
1329
1329
  </ft-typography>
1330
1330
  </label>
1331
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};ut.elementDefinitions={"ft-ripple":K,"ft-typography":Q};ut.styles=pb;Lo([(0,Nr.property)()],ut.prototype,"name",void 0);Lo([(0,Nr.property)({type:Boolean,reflect:!0})],ut.prototype,"checked",void 0);Lo([(0,Nr.property)({type:Boolean})],ut.prototype,"indeterminate",void 0);Lo([(0,Nr.property)({type:Boolean})],ut.prototype,"disabled",void 0);Lo([(0,Nr.property)({type:Boolean})],ut.prototype,"error",void 0);Lo([(0,Nr.query)(".ft-checkbox")],ut.prototype,"container",void 0);Lo([(0,Nr.query)("ft-ripple")],ut.prototype,"ripple",void 0);Lo([(0,Nr.query)("input")],ut.prototype,"input",void 0)});var mb=p(()=>{"use strict"});var gb,yb=p(()=>{"use strict";gb=u(v());Hd();Hd();Ud();mb();(0,gb.customElement)("ft-checkbox")(ut)});var bb,Br,xb,vb,Io,Es,it,As=p(()=>{"use strict";bb=u(R()),Br=u(H()),xb=u(v()),vb=u(Ct());gt();Io=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Es=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},it=class extends xb.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return bb.html`
1332
- <div class="${(0,vb.classMap)(this.radioClasses)}"
1331
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};ut.elementDefinitions={"ft-ripple":K,"ft-typography":Q};ut.styles=hb;Io([(0,Br.property)()],ut.prototype,"name",void 0);Io([(0,Br.property)({type:Boolean,reflect:!0})],ut.prototype,"checked",void 0);Io([(0,Br.property)({type:Boolean})],ut.prototype,"indeterminate",void 0);Io([(0,Br.property)({type:Boolean})],ut.prototype,"disabled",void 0);Io([(0,Br.property)({type:Boolean})],ut.prototype,"error",void 0);Io([(0,Br.query)(".ft-checkbox")],ut.prototype,"container",void 0);Io([(0,Br.query)("ft-ripple")],ut.prototype,"ripple",void 0);Io([(0,Br.query)("input")],ut.prototype,"input",void 0)});var bb=p(()=>{"use strict"});var xb,vb=p(()=>{"use strict";xb=u(v());Gd();Gd();Vd();bb();(0,xb.customElement)("ft-checkbox")(ut)});var Sb,Dr,Cb,Ob,ko,Rs,it,Ls=p(()=>{"use strict";Sb=u(R()),Dr=u(H()),Cb=u(v()),Ob=u(Ot());gt();ko=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Rs=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},it=class extends Cb.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return Sb.html`
1332
+ <div class="${(0,Ob.classMap)(this.radioClasses)}"
1333
1333
  @click=${this.onClick}>
1334
1334
  <div class="ft-radio--box-container">
1335
1335
  <ft-ripple
@@ -1354,15 +1354,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1354
1354
  </ft-or-ftds-typography>
1355
1355
  </label>
1356
1356
  </div>
1357
- `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Es(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Es(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};it.elementDefinitions={"ft-ripple":K};Io([(0,Br.property)()],it.prototype,"value",void 0);Io([(0,Br.property)()],it.prototype,"name",void 0);Io([(0,Br.property)({type:Boolean,reflect:!0})],it.prototype,"checked",void 0);Io([(0,Br.property)({attribute:"aria-checked",reflect:!0})],it.prototype,"ariaChecked",void 0);Io([(0,Br.property)({type:Boolean})],it.prototype,"disabled",void 0);Io([(0,Br.query)(".ft-radio")],it.prototype,"container",void 0);Io([(0,Br.query)("ft-ripple")],it.prototype,"ripple",void 0);Io([(0,Br.query)("input")],it.prototype,"input",void 0)});var Sb,Lt,ko,Cb,Wd=p(()=>{"use strict";Sb=u(R()),Lt=u(v());Pe();ko={textColor:Lt.FtCssVariableFactory.extend("--ft-radio-text-color","",Lt.designSystemVariables.colorOnSurfaceHigh),fontSize:Lt.FtCssVariableFactory.extend("--ft-radio-font-size","",T.fontSize),colorPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Lt.FtCssVariableFactory.extend("--ft-radio-border-color","",Lt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Cb=Sb.css`
1357
+ `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Rs(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Rs(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};it.elementDefinitions={"ft-ripple":K};ko([(0,Dr.property)()],it.prototype,"value",void 0);ko([(0,Dr.property)()],it.prototype,"name",void 0);ko([(0,Dr.property)({type:Boolean,reflect:!0})],it.prototype,"checked",void 0);ko([(0,Dr.property)({attribute:"aria-checked",reflect:!0})],it.prototype,"ariaChecked",void 0);ko([(0,Dr.property)({type:Boolean})],it.prototype,"disabled",void 0);ko([(0,Dr.query)(".ft-radio")],it.prototype,"container",void 0);ko([(0,Dr.query)("ft-ripple")],it.prototype,"ripple",void 0);ko([(0,Dr.query)("input")],it.prototype,"input",void 0)});var wb,It,To,Eb,jd=p(()=>{"use strict";wb=u(R()),It=u(v());Pe();To={textColor:It.FtCssVariableFactory.extend("--ft-radio-text-color","",It.designSystemVariables.colorOnSurfaceHigh),fontSize:It.FtCssVariableFactory.extend("--ft-radio-font-size","",T.fontSize),colorPrimary:It.FtCssVariableFactory.external(It.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:It.FtCssVariableFactory.external(It.designSystemVariables.colorOnPrimary,"Design system"),borderColor:It.FtCssVariableFactory.extend("--ft-radio-border-color","",It.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:It.FtCssVariableFactory.external(It.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Eb=wb.css`
1358
1358
  * {
1359
1359
  box-sizing: border-box;
1360
1360
  }
1361
1361
 
1362
1362
  .ft-radio {
1363
1363
  box-sizing: border-box;
1364
- color: ${ko.textColor};
1365
- font-size: ${ko.fontSize};
1364
+ color: ${To.textColor};
1365
+ font-size: ${To.fontSize};
1366
1366
 
1367
1367
  display: inline-flex;
1368
1368
  align-items: center;
@@ -1370,7 +1370,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1370
1370
  }
1371
1371
 
1372
1372
  .ft-radio--disabled {
1373
- color: ${ko.colorOnSurfaceDisabled};
1373
+ color: ${To.colorOnSurfaceDisabled};
1374
1374
  }
1375
1375
 
1376
1376
  input {
@@ -1393,7 +1393,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1393
1393
  }
1394
1394
 
1395
1395
  .ft-radio--box {
1396
- border: 2px solid ${ko.borderColor};
1396
+ border: 2px solid ${To.borderColor};
1397
1397
  border-radius: 50%;
1398
1398
 
1399
1399
  display: flex;
@@ -1406,7 +1406,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1406
1406
 
1407
1407
  .ft-radio--box:after {
1408
1408
  content: " ";
1409
- background-color: ${ko.colorPrimary};
1409
+ background-color: ${To.colorPrimary};
1410
1410
 
1411
1411
  border-radius: 50%;
1412
1412
 
@@ -1418,7 +1418,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1418
1418
  }
1419
1419
 
1420
1420
  .ft-radio--checked .ft-radio--box {
1421
- border-color: ${ko.colorPrimary};
1421
+ border-color: ${To.colorPrimary};
1422
1422
  }
1423
1423
 
1424
1424
 
@@ -1427,23 +1427,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1427
1427
  }
1428
1428
 
1429
1429
  .ft-radio--disabled .ft-radio--box {
1430
- border-color: ${ko.colorOnSurfaceDisabled};
1430
+ border-color: ${To.colorOnSurfaceDisabled};
1431
1431
  background-color: transparent;
1432
1432
  }
1433
1433
 
1434
1434
  .ft-radio--disabled .ft-radio--box:after {
1435
- background-color: ${ko.colorOnSurfaceDisabled};
1435
+ background-color: ${To.colorOnSurfaceDisabled};
1436
1436
  }
1437
1437
 
1438
1438
  .ft-radio:has(:focus-visible) {
1439
- outline: 2px solid ${Lt.designSystemVariables.colorPrimary};
1439
+ outline: 2px solid ${It.designSystemVariables.colorPrimary};
1440
1440
  outline-offset: -2px;
1441
1441
  }
1442
1442
 
1443
1443
  .ft-radio ft-or-ftds-typography {
1444
1444
  padding-right: 2px;
1445
1445
  }
1446
- `});var Dr,Vd=p(()=>{"use strict";As();Wd();aa();Pe();As();Dr=class extends it{get typographyVariant(){return Re.body2}};Dr.elementDefinitions={...it.elementDefinitions,"ft-or-ftds-typography":Q};Dr.styles=Cb});var Ob,G,wb,Gd=p(()=>{"use strict";Ob=u(R()),G=u(v());gt();wb=Ob.css`
1446
+ `});var Fr,Kd=p(()=>{"use strict";Ls();jd();ca();Pe();Ls();Fr=class extends it{get typographyVariant(){return Re.body2}};Fr.elementDefinitions={...it.elementDefinitions,"ft-or-ftds-typography":Q};Fr.styles=Eb});var Ab,G,Rb,qd=p(()=>{"use strict";Ab=u(R()),G=u(v());gt();Rb=Ab.css`
1447
1447
  * {
1448
1448
  box-sizing: border-box;
1449
1449
  --input-size: calc(${G.radio.circleSize} + 2 * (${G.radio.focusOutlineOffset} + ${G.radio.focusOutlineWidth}));
@@ -1551,12 +1551,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1551
1551
  .ft-radio ft-or-ftds-typography {
1552
1552
  padding-right: 2px;
1553
1553
  }
1554
- `});var Rs,tn,jd=p(()=>{"use strict";As();Rs=u(v());Gd();$();Pe();tn=class extends(0,Rs.toFtdsBase)(it){constructor(){super(...arguments),this.family=co.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return Tt.body2medium}};tn.elementDefinitions={...it.elementDefinitions,"ft-or-ftds-typography":Q};tn.styles=[Rs.safariEllipsisFix,wb]});var Eb,To,Ab,Vn,ir,Ls=p(()=>{"use strict";Eb=u(v()),To=u(H()),Ab=u(R()),Vn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ir=class extends Eb.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return Ab.html`
1554
+ `});var Is,nn,Zd=p(()=>{"use strict";Ls();Is=u(v());qd();$();Pe();nn=class extends(0,Is.toFtdsBase)(it){constructor(){super(...arguments),this.family=po.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return $t.body2medium}};nn.elementDefinitions={...it.elementDefinitions,"ft-or-ftds-typography":Q};nn.styles=[Is.safariEllipsisFix,Rb]});var Lb,$o,Ib,Kn,ir,ks=p(()=>{"use strict";Lb=u(v()),$o=u(H()),Ib=u(R()),Kn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ir=class extends Lb.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return Ib.html`
1555
1555
  <slot @slotchange=${this.onSlotChange}
1556
1556
  @change=${this.onChange}
1557
1557
  @keydown=${this.onKeyDown}
1558
1558
  ></slot>
1559
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};ir.elementDefinitions={};Vn([(0,To.property)()],ir.prototype,"name",void 0);Vn([(0,To.property)({reflect:!0,attribute:"role"})],ir.prototype,"role",void 0);Vn([(0,To.property)({reflect:!0,attribute:"aria-labelledby"})],ir.prototype,"ariaLabelledBy",void 0);Vn([(0,To.queryAssignedElements)()],ir.prototype,"assignedElements",void 0);Vn([(0,To.state)()],ir.prototype,"currentSelectedIndex",void 0)});var Rb,Lb,Kd=p(()=>{"use strict";Rb=u(R()),Lb=Rb.css`
1559
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};ir.elementDefinitions={};Kn([(0,$o.property)()],ir.prototype,"name",void 0);Kn([(0,$o.property)({reflect:!0,attribute:"role"})],ir.prototype,"role",void 0);Kn([(0,$o.property)({reflect:!0,attribute:"aria-labelledby"})],ir.prototype,"ariaLabelledBy",void 0);Kn([(0,$o.queryAssignedElements)()],ir.prototype,"assignedElements",void 0);Kn([(0,$o.state)()],ir.prototype,"currentSelectedIndex",void 0)});var kb,Tb,Qd=p(()=>{"use strict";kb=u(R()),Tb=kb.css`
1560
1560
  :host {
1561
1561
  display: block;
1562
1562
  }
@@ -1564,17 +1564,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1564
1564
  :host(:focus-visible) {
1565
1565
  outline: none;
1566
1566
  }
1567
- `});var di,qd=p(()=>{"use strict";Ls();Kd();Ls();di=class extends ir{};di.styles=Lb});var Ib,kb,Tb,Zd=p(()=>{"use strict";Ib=u(R()),kb=u(v()),Tb=Ib.css`
1567
+ `});var pi,Yd=p(()=>{"use strict";ks();Qd();ks();pi=class extends ir{};pi.styles=Tb});var $b,Pb,_b,Xd=p(()=>{"use strict";$b=u(R()),Pb=u(v()),_b=$b.css`
1568
1568
  :host {
1569
1569
  display: flex;
1570
1570
  flex-direction: column;
1571
- gap: ${kb.radio.verticalGap}
1571
+ gap: ${Pb.radio.verticalGap}
1572
1572
  }
1573
1573
 
1574
1574
  :host(:focus-visible) {
1575
1575
  outline: none;
1576
1576
  }
1577
- `});var Is,Gn,Qd=p(()=>{"use strict";Ls();Is=u(v());Zd();$();Gn=class extends(0,Is.toFtdsBase)(ir){constructor(){super(...arguments),this.family=co.brand}};Gn.styles=[Is.safariEllipsisFix,Tb]});var jn,Yd=p(()=>{"use strict";jn=u(v());Vd();jd();qd();Qd();Vd();Wd();jd();Gd();qd();Kd();Qd();Zd();(0,jn.customElement)("ft-radio")(Dr);(0,jn.customElement)("ftds-radio")(tn);(0,jn.customElement)("ft-radio-group")(di);(0,jn.customElement)("ftds-radio-group")(Gn)});var $b,ye,Kn,Pb,Xd=p(()=>{"use strict";$b=u(R()),ye=u(v());Go();jt();Kn={buttonMoreColor:ye.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",ye.designSystemVariables.colorOnSurface),borderRadiusM:ye.FtCssVariableFactory.external(ye.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ye.FtCssVariableFactory.external(Ve.fontFamily,"Body2 typography"),fontSize:ye.FtCssVariableFactory.external(Ve.fontSize,"Body2 typography"),fontWeight:ye.FtCssVariableFactory.external(Ve.fontWeight,"Body2 typography"),letterSpacing:ye.FtCssVariableFactory.external(Ve.letterSpacing,"Body2 typography"),lineHeight:ye.FtCssVariableFactory.external(Ve.lineHeight,"Body2 typography"),textTransform:ye.FtCssVariableFactory.external(Ve.textTransform,"Body2 typography")},Pb=$b.css`
1577
+ `});var Ts,qn,Jd=p(()=>{"use strict";ks();Ts=u(v());Xd();$();qn=class extends(0,Ts.toFtdsBase)(ir){constructor(){super(...arguments),this.family=po.brand}};qn.styles=[Ts.safariEllipsisFix,_b]});var Zn,ep=p(()=>{"use strict";Zn=u(v());Kd();Zd();Yd();Jd();Kd();jd();Zd();qd();Yd();Qd();Jd();Xd();(0,Zn.customElement)("ft-radio")(Fr);(0,Zn.customElement)("ftds-radio")(nn);(0,Zn.customElement)("ft-radio-group")(pi);(0,Zn.customElement)("ftds-radio-group")(qn)});var Nb,ye,Qn,Bb,tp=p(()=>{"use strict";Nb=u(R()),ye=u(v());jo();jt();Qn={buttonMoreColor:ye.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",ye.designSystemVariables.colorOnSurface),borderRadiusM:ye.FtCssVariableFactory.external(ye.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ye.FtCssVariableFactory.external(ye.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ye.FtCssVariableFactory.external(Ve.fontFamily,"Body2 typography"),fontSize:ye.FtCssVariableFactory.external(Ve.fontSize,"Body2 typography"),fontWeight:ye.FtCssVariableFactory.external(Ve.fontWeight,"Body2 typography"),letterSpacing:ye.FtCssVariableFactory.external(Ve.letterSpacing,"Body2 typography"),lineHeight:ye.FtCssVariableFactory.external(Ve.lineHeight,"Body2 typography"),textTransform:ye.FtCssVariableFactory.external(Ve.textTransform,"Body2 typography")},Bb=Nb.css`
1578
1578
  .ft-filter-level--container {
1579
1579
  display: flex;
1580
1580
  flex-direction: column;
@@ -1588,14 +1588,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1588
1588
  flex-shrink: 0;
1589
1589
  text-decoration: none;
1590
1590
  position: relative;
1591
- border-radius: ${Kn.borderRadiusM};
1591
+ border-radius: ${Qn.borderRadiusM};
1592
1592
  overflow: hidden;
1593
1593
  display: flex;
1594
1594
  align-items: center;
1595
1595
  padding: 4px 4px;
1596
1596
  gap: 4px;
1597
1597
  cursor: pointer;
1598
- color: ${Kn.colorOnSurface};
1598
+ color: ${Qn.colorOnSurface};
1599
1599
  }
1600
1600
 
1601
1601
  .ft-filter-level--go-back:focus {
@@ -1624,11 +1624,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1624
1624
  }
1625
1625
 
1626
1626
  ft-button {
1627
- ${(0,ye.setVariable)(j.color,Kn.colorOnSurface)};
1627
+ ${(0,ye.setVariable)(j.color,Qn.colorOnSurface)};
1628
1628
  }
1629
1629
 
1630
1630
  ft-button.ft-filter-level--display-more {
1631
- ${(0,ye.setVariable)(j.color,Kn.buttonMoreColor)};
1631
+ ${(0,ye.setVariable)(j.color,Qn.buttonMoreColor)};
1632
1632
  }
1633
1633
 
1634
1634
  ft-radio, ft-checkbox {
@@ -1642,9 +1642,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1642
1642
 
1643
1643
  .ft-filter-level--no-values {
1644
1644
  margin: 10px 0;
1645
- color: ${Kn.colorOnSurfaceMedium};
1645
+ color: ${Qn.colorOnSurfaceMedium};
1646
1646
  }
1647
- `});var Ft,qe,_b,nr,nt,_e,Nb=p(()=>{"use strict";Ft=u(R()),qe=u(H()),_b=u(to()),nr=u(v());tr();Pe();gt();Jt();yb();Yd();Xd();Qt();nt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_e=class extends Et((0,nr.withAriaNotification)(nr.FtLitElement)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new nr.Debouncer(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return Ft.html`
1647
+ `});var Ft,qe,Db,nr,nt,_e,Fb=p(()=>{"use strict";Ft=u(R()),qe=u(H()),Db=u(ro()),nr=u(v());tr();Pe();gt();Jt();vb();ep();tp();Qt();nt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_e=class extends At((0,nr.withAriaNotification)(nr.FtLitElement)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new nr.Debouncer(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return Ft.html`
1648
1648
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1649
1649
  ${this.parent==null?null:Ft.html`
1650
1650
  <div tabindex="0"
@@ -1665,7 +1665,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1665
1665
  ${this.noValuesLabel}
1666
1666
  </ft-typography>
1667
1667
  `:Ft.nothing}
1668
- ${(0,_b.repeat)(e,r=>r.value,r=>{var i;return Ft.html`
1668
+ ${(0,Db.repeat)(e,r=>r.value,r=>{var i;return Ft.html`
1669
1669
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1670
1670
  ${this.multivalued?this.buildMultiValuedOption(r):this.buildMonoValuedOption(r)}
1671
1671
  ${this.preventNavigation||r.selected||((i=r.subOptions)!==null&&i!==void 0?i:[]).length===0?Ft.nothing:Ft.html`
@@ -1711,7 +1711,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1711
1711
  @change=${r=>this.optionsChanged(r,e)}>
1712
1712
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1713
1713
  </ft-radio>
1714
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};_e.elementDefinitions={"ft-button":Ie,"ft-ripple":K,"ft-typography":Q,"ft-checkbox":ut,"ft-icon":me,"ft-radio":Dr};_e.styles=Pb;nt([(0,qe.property)({type:String})],_e.prototype,"filterId",void 0);nt([(0,qe.property)({type:Object})],_e.prototype,"parent",void 0);nt([(0,qe.property)({type:Array,hasChanged:nr.hasChanged})],_e.prototype,"options",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"multivalued",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"disabled",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"hideSelectedOptions",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"displayCount",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"preventNavigation",void 0);nt([(0,qe.property)({type:String})],_e.prototype,"filter",void 0);nt([(0,qe.property)({type:String})],_e.prototype,"moreValuesButtonLabel",void 0);nt([(0,qe.property)({type:String})],_e.prototype,"noValuesLabel",void 0);nt([(0,qe.property)()],_e.prototype,"filteredOptionsNumberAriaNotification",void 0);nt([(0,nr.numberProperty)()],_e.prototype,"displayedValuesLimit",void 0);nt([(0,qe.query)(".ft-filter-level--container")],_e.prototype,"container",void 0);nt([(0,qe.state)()],_e.prototype,"radios",void 0);nt([(0,qe.state)()],_e.prototype,"displayedPages",void 0);nt([(0,qe.state)()],_e.prototype,"filteredOptions",void 0)});var Bb,yr,yt,Db,ks=p(()=>{"use strict";Bb=u(R()),yr=u(v());Go();yt={buttonsColor:yr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",yr.designSystemVariables.colorPrimary),buttonsZIndex:yr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:yr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:yr.FtCssVariableFactory.external(yr.designSystemVariables.colorSurface,"Design system")},Db=Bb.css`
1714
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};_e.elementDefinitions={"ft-button":Ie,"ft-ripple":K,"ft-typography":Q,"ft-checkbox":ut,"ft-icon":me,"ft-radio":Fr};_e.styles=Bb;nt([(0,qe.property)({type:String})],_e.prototype,"filterId",void 0);nt([(0,qe.property)({type:Object})],_e.prototype,"parent",void 0);nt([(0,qe.property)({type:Array,hasChanged:nr.hasChanged})],_e.prototype,"options",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"multivalued",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"disabled",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"hideSelectedOptions",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"displayCount",void 0);nt([(0,qe.property)({type:Boolean})],_e.prototype,"preventNavigation",void 0);nt([(0,qe.property)({type:String})],_e.prototype,"filter",void 0);nt([(0,qe.property)({type:String})],_e.prototype,"moreValuesButtonLabel",void 0);nt([(0,qe.property)({type:String})],_e.prototype,"noValuesLabel",void 0);nt([(0,qe.property)()],_e.prototype,"filteredOptionsNumberAriaNotification",void 0);nt([(0,nr.numberProperty)()],_e.prototype,"displayedValuesLimit",void 0);nt([(0,qe.query)(".ft-filter-level--container")],_e.prototype,"container",void 0);nt([(0,qe.state)()],_e.prototype,"radios",void 0);nt([(0,qe.state)()],_e.prototype,"displayedPages",void 0);nt([(0,qe.state)()],_e.prototype,"filteredOptions",void 0)});var Mb,yr,bt,Ub,$s=p(()=>{"use strict";Mb=u(R()),yr=u(v());jo();bt={buttonsColor:yr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",yr.designSystemVariables.colorPrimary),buttonsZIndex:yr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:yr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:yr.FtCssVariableFactory.external(yr.designSystemVariables.colorSurface,"Design system")},Ub=Mb.css`
1715
1715
  .ft-snap-scroll {
1716
1716
  box-sizing: border-box;
1717
1717
  position: relative;
@@ -1746,7 +1746,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1746
1746
  flex-wrap: nowrap;
1747
1747
  align-items: flex-start;
1748
1748
  justify-content: flex-start;
1749
- gap: ${yt.gap};
1749
+ gap: ${bt.gap};
1750
1750
  }
1751
1751
 
1752
1752
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1789,11 +1789,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1789
1789
  .ft-snap-scroll--next {
1790
1790
  position: absolute;
1791
1791
  display: flex;
1792
- z-index: ${yt.buttonsZIndex};
1792
+ z-index: ${bt.buttonsZIndex};
1793
1793
  opacity: 1;
1794
1794
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1795
1795
  ${(0,yr.setVariable)(j.backgroundColor,"transparent")};
1796
- ${(0,yr.setVariable)(j.color,yt.buttonsColor)};
1796
+ ${(0,yr.setVariable)(j.color,bt.buttonsColor)};
1797
1797
  }
1798
1798
 
1799
1799
  .ft-snap-scroll--previous[hidden],
@@ -1806,37 +1806,37 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1806
1806
  top: 0;
1807
1807
  left: -1px;
1808
1808
  bottom: 0;
1809
- background: linear-gradient(to right, ${yt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1809
+ background: linear-gradient(to right, ${bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1810
1810
  }
1811
1811
 
1812
1812
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1813
1813
  top: -1px;
1814
1814
  left: 0;
1815
1815
  right: 0;
1816
- background: linear-gradient(to bottom, ${yt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1816
+ background: linear-gradient(to bottom, ${bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1817
1817
  }
1818
1818
 
1819
1819
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1820
1820
  top: 0;
1821
1821
  right: -1px;
1822
1822
  bottom: 0;
1823
- background: linear-gradient(to left, ${yt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1823
+ background: linear-gradient(to left, ${bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1824
1824
  }
1825
1825
 
1826
1826
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1827
1827
  left: 0;
1828
1828
  right: 0;
1829
1829
  bottom: -1px;
1830
- background: linear-gradient(to top, ${yt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1830
+ background: linear-gradient(to top, ${bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1831
1831
  }
1832
1832
 
1833
1833
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1834
1834
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1835
1835
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1836
1836
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1837
- background-color: ${yt.colorSurface};
1837
+ background-color: ${bt.colorSurface};
1838
1838
  }
1839
- `});var Fb,Mt,pi,Mb,Fr,Jd,Ue,ep=p(()=>{"use strict";Fb=u(R()),Mt=u(H()),pi=u(v());tr();Mb=u(Ct());ks();Fr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Jd=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Ue=class extends pi.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new pi.Debouncer(200),this.updateScrollDebouncer=new pi.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,Mb.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":pi.isSafari}),r=this.controls&&this.withScroll;return Fb.html`
1839
+ `});var zb,Mt,ui,Hb,Mr,rp,ze,op=p(()=>{"use strict";zb=u(R()),Mt=u(H()),ui=u(v());tr();Hb=u(Ot());$s();Mr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},rp=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ze=class extends ui.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ui.Debouncer(200),this.updateScrollDebouncer=new ui.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,Hb.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ui.isSafari}),r=this.controls&&this.withScroll;return zb.html`
1840
1840
  <div part="container" class="${e}">
1841
1841
  <ft-button
1842
1842
  class="ft-snap-scroll--previous"
@@ -1860,7 +1860,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1860
1860
  @click=${this.next}
1861
1861
  ></ft-button>
1862
1862
  </div>
1863
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new Jd(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Ue.elementDefinitions={"ft-button":Ie};Ue.styles=Db;Fr([(0,Mt.property)({type:Boolean})],Ue.prototype,"horizontal",void 0);Fr([(0,Mt.property)({type:Boolean})],Ue.prototype,"hideScrollbar",void 0);Fr([(0,Mt.property)({type:Boolean})],Ue.prototype,"controls",void 0);Fr([(0,Mt.property)({type:Boolean})],Ue.prototype,"limitSize",void 0);Fr([(0,Mt.state)()],Ue.prototype,"elements",void 0);Fr([(0,Mt.state)()],Ue.prototype,"currentElement",void 0);Fr([(0,Mt.state)()],Ue.prototype,"withScroll",void 0);Fr([(0,Mt.state)()],Ue.prototype,"startReached",void 0);Fr([(0,Mt.state)()],Ue.prototype,"endReached",void 0);Fr([(0,Mt.query)(".ft-snap-scroll--content")],Ue.prototype,"contentSlot",void 0)});var zb=p(()=>{"use strict"});var Ub,Ts=p(()=>{"use strict";Ub=u(v());ep();ep();ks();zb();(0,Ub.customElement)("ft-snap-scroll")(Ue)});var Hb,Oe,It,Wb,$s=p(()=>{"use strict";Hb=u(R()),Oe=u(v());jt();Go();It={colorOutline:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorPrimary,"Design system"),colorSurface:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorSurface,"Design system"),transitionDuration:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:Oe.FtCssVariableFactory.extend("--ft-filter-label-color","",Oe.designSystemVariables.colorOnSurface),labelFontSize:Oe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",T.fontSize,"16px")},Wb=[Er,Oe.noTextInputDefaultClearButton,Hb.css`
1863
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new rp(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ze.elementDefinitions={"ft-button":Ie};ze.styles=Ub;Mr([(0,Mt.property)({type:Boolean})],ze.prototype,"horizontal",void 0);Mr([(0,Mt.property)({type:Boolean})],ze.prototype,"hideScrollbar",void 0);Mr([(0,Mt.property)({type:Boolean})],ze.prototype,"controls",void 0);Mr([(0,Mt.property)({type:Boolean})],ze.prototype,"limitSize",void 0);Mr([(0,Mt.state)()],ze.prototype,"elements",void 0);Mr([(0,Mt.state)()],ze.prototype,"currentElement",void 0);Mr([(0,Mt.state)()],ze.prototype,"withScroll",void 0);Mr([(0,Mt.state)()],ze.prototype,"startReached",void 0);Mr([(0,Mt.state)()],ze.prototype,"endReached",void 0);Mr([(0,Mt.query)(".ft-snap-scroll--content")],ze.prototype,"contentSlot",void 0)});var Wb=p(()=>{"use strict"});var Vb,Ps=p(()=>{"use strict";Vb=u(v());op();op();$s();Wb();(0,Vb.customElement)("ft-snap-scroll")(ze)});var Gb,Oe,kt,jb,_s=p(()=>{"use strict";Gb=u(R()),Oe=u(v());jt();jo();kt={colorOutline:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorPrimary,"Design system"),colorSurface:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.colorSurface,"Design system"),transitionDuration:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:Oe.FtCssVariableFactory.external(Oe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:Oe.FtCssVariableFactory.extend("--ft-filter-label-color","",Oe.designSystemVariables.colorOnSurface),labelFontSize:Oe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",T.fontSize,"16px")},jb=[Er,Oe.noTextInputDefaultClearButton,Gb.css`
1864
1864
  :host {
1865
1865
  display: flex;
1866
1866
  max-height: 100%;
@@ -1900,8 +1900,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1900
1900
  flex-shrink: 1;
1901
1901
  flex-grow: 1;
1902
1902
  word-break: break-word;
1903
- color: ${It.labelColor};
1904
- font-size: ${It.labelFontSize};
1903
+ color: ${kt.labelColor};
1904
+ font-size: ${kt.labelFontSize};
1905
1905
  ${(0,Oe.setVariable)(T.lineHeight,"22px")};
1906
1906
  ${(0,Oe.setVariable)(T.fontWeight,"bold")};
1907
1907
  }
@@ -1914,8 +1914,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1914
1914
  padding: 0 10px;
1915
1915
  overflow: hidden;
1916
1916
  height: 32px;
1917
- transition: height ${It.transitionDuration} ${It.transitionTimingFunction},
1918
- margin ${It.transitionDuration} ${It.transitionTimingFunction};
1917
+ transition: height ${kt.transitionDuration} ${kt.transitionTimingFunction},
1918
+ margin ${kt.transitionDuration} ${kt.transitionTimingFunction};
1919
1919
  transition-delay: 500ms;
1920
1920
  }
1921
1921
 
@@ -1928,15 +1928,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1928
1928
  display: block;
1929
1929
  width: 100%;
1930
1930
  border-radius: 4px;
1931
- border: 1px solid ${It.colorOutline};
1931
+ border: 1px solid ${kt.colorOutline};
1932
1932
  padding: 4px;
1933
- background-color: ${It.colorSurface};
1934
- color: ${It.colorOnSurface};
1935
- outline-color: ${It.colorPrimary};
1933
+ background-color: ${kt.colorSurface};
1934
+ color: ${kt.colorOnSurface};
1935
+ outline-color: ${kt.colorPrimary};
1936
1936
  }
1937
1937
 
1938
1938
  input::placeholder {
1939
- color: ${It.colorOnSurfaceMedium};
1939
+ color: ${kt.colorOnSurfaceMedium};
1940
1940
  }
1941
1941
 
1942
1942
  input:placeholder-shown {
@@ -1952,7 +1952,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1952
1952
  }
1953
1953
 
1954
1954
  .ft-filter--separator {
1955
- border-top: 1px solid ${It.colorOutline};
1955
+ border-top: 1px solid ${kt.colorOutline};
1956
1956
  margin: 4px 10px;
1957
1957
  }
1958
1958
 
@@ -1977,10 +1977,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1977
1977
  slot:not([name]) {
1978
1978
  display: none;
1979
1979
  }
1980
- `]});var ui,ve,Ze,we,tp,se,rp=p(()=>{"use strict";ui=u(R()),ve=u(H()),Ze=u(v());Pe();Nb();tr();Ts();$s();we=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},tp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},se=class extends Ze.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Ze.Debouncer(300),this.changeDebouncer=new Ze.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Ze.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Ze.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return ui.html`
1980
+ `]});var fi,ve,Ze,we,ip,se,np=p(()=>{"use strict";fi=u(R()),ve=u(H()),Ze=u(v());Pe();Fb();tr();Ps();_s();we=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ip=class extends CustomEvent{constructor(e){super("change",{detail:e})}},se=class extends Ze.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Ze.Debouncer(300),this.changeDebouncer=new Ze.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Ze.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Ze.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return fi.html`
1981
1981
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1982
1982
  part="container">
1983
- ${!this.label&&!e?null:ui.html`
1983
+ ${!this.label&&!e?null:fi.html`
1984
1984
 
1985
1985
  <div class="ft-filter--header" part="header">
1986
1986
  <div class="filter-label" id="id-group-${this.id}">
@@ -1989,7 +1989,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1989
1989
  </ft-typography>
1990
1990
  <slot name="label"></slot>
1991
1991
  </div>
1992
- ${e&&!this.hideClearButton?ui.html`
1992
+ ${e&&!this.hideClearButton?fi.html`
1993
1993
  <ft-button icon="close"
1994
1994
  aria-label="${this.clearButtonLabel+" "+this.label}"
1995
1995
  dense
@@ -2017,8 +2017,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2017
2017
  @slotchange=${this.updateOptionsFromSlot}
2018
2018
  @option-change=${this.optionsChanged}></slot>
2019
2019
  </div>
2020
- `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,i,n,a,s,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((i=this.levelsContainer)===null||i===void 0||i.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return ui.html`
2021
- ${this.raiseSelectedOptions&&r.length>0?ui.html`
2020
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,i,n,a,s,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((i=this.levelsContainer)===null||i===void 0||i.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return fi.html`
2021
+ ${this.raiseSelectedOptions&&r.length>0?fi.html`
2022
2022
  <ft-filter-level
2023
2023
  filterId="${this.id}"
2024
2024
  ?multivalued=${this.multivalued}
@@ -2039,7 +2039,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2039
2039
  ${this.renderLevel(n,this.options)}
2040
2040
  ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let f=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(f,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
2041
2041
  </ft-snap-scroll>
2042
- `}renderLevel(e,r,i){return ui.html`
2042
+ `}renderLevel(e,r,i){return fi.html`
2043
2043
  <ft-filter-level
2044
2044
  class="${e}"
2045
2045
  filterId="${this.id}"
@@ -2060,21 +2060,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2060
2060
  noValuesLabel="${this.noValuesLabel}"
2061
2061
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
2062
2062
  ></ft-filter-level>
2063
- `}goBack(e){this.slideOut=e.detail.value,(0,Ze.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,Ze.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,Ze.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,Ze.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new tp(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};se.elementDefinitions={"ft-button":Ie,"ft-filter-level":_e,"ft-snap-scroll":Ue,"ft-typography":Q};se.styles=Wb;we([(0,ve.property)({type:String})],se.prototype,"id",void 0);we([(0,ve.property)({type:String})],se.prototype,"label",void 0);we([(0,ve.property)({type:String})],se.prototype,"filterPlaceHolder",void 0);we([(0,ve.property)({type:String})],se.prototype,"clearButtonLabel",void 0);we([(0,ve.property)({type:String})],se.prototype,"moreValuesButtonLabel",void 0);we([(0,ve.property)({type:String})],se.prototype,"noValuesLabel",void 0);we([(0,Ze.jsonProperty)([])],se.prototype,"options",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"multivalued",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"disabled",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"raiseSelectedOptions",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"displayCount",void 0);we([(0,Ze.numberProperty)()],se.prototype,"displayedValuesLimit",void 0);we([(0,Ze.jsonProperty)(void 0)],se.prototype,"filteredOptionsNumberAriaNotification",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"hideClearButton",void 0);we([(0,ve.query)(".ft-filter--slot")],se.prototype,"slotElement",void 0);we([(0,ve.query)(".ft-filter--container")],se.prototype,"container",void 0);we([(0,ve.query)(".ft-filter--values")],se.prototype,"valuesContainer",void 0);we([(0,ve.query)(".ft-filter--levels")],se.prototype,"levelsContainer",void 0);we([(0,ve.state)()],se.prototype,"lastLevelHasHiddenvalues",void 0);we([(0,ve.query)(".ft-filter--filter input")],se.prototype,"filterInput",void 0);we([(0,ve.queryAll)(".ft-filter--levels ft-filter-level")],se.prototype,"levels",void 0);we([(0,ve.state)()],se.prototype,"withScroll",void 0);we([(0,ve.state)()],se.prototype,"filter",void 0);we([(0,ve.state)()],se.prototype,"slideIn",void 0);we([(0,ve.state)()],se.prototype,"slideOut",void 0)});var Ps,fi,Vb,rn,zt,op=p(()=>{"use strict";Ps=u(v()),fi=u(H()),Vb=u(R()),rn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zt=class extends Ps.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Vb.html`
2063
+ `}goBack(e){this.slideOut=e.detail.value,(0,Ze.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,Ze.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,Ze.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,Ze.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new ip(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};se.elementDefinitions={"ft-button":Ie,"ft-filter-level":_e,"ft-snap-scroll":ze,"ft-typography":Q};se.styles=jb;we([(0,ve.property)({type:String})],se.prototype,"id",void 0);we([(0,ve.property)({type:String})],se.prototype,"label",void 0);we([(0,ve.property)({type:String})],se.prototype,"filterPlaceHolder",void 0);we([(0,ve.property)({type:String})],se.prototype,"clearButtonLabel",void 0);we([(0,ve.property)({type:String})],se.prototype,"moreValuesButtonLabel",void 0);we([(0,ve.property)({type:String})],se.prototype,"noValuesLabel",void 0);we([(0,Ze.jsonProperty)([])],se.prototype,"options",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"multivalued",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"disabled",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"raiseSelectedOptions",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"displayCount",void 0);we([(0,Ze.numberProperty)()],se.prototype,"displayedValuesLimit",void 0);we([(0,Ze.jsonProperty)(void 0)],se.prototype,"filteredOptionsNumberAriaNotification",void 0);we([(0,ve.property)({type:Boolean})],se.prototype,"hideClearButton",void 0);we([(0,ve.query)(".ft-filter--slot")],se.prototype,"slotElement",void 0);we([(0,ve.query)(".ft-filter--container")],se.prototype,"container",void 0);we([(0,ve.query)(".ft-filter--values")],se.prototype,"valuesContainer",void 0);we([(0,ve.query)(".ft-filter--levels")],se.prototype,"levelsContainer",void 0);we([(0,ve.state)()],se.prototype,"lastLevelHasHiddenvalues",void 0);we([(0,ve.query)(".ft-filter--filter input")],se.prototype,"filterInput",void 0);we([(0,ve.queryAll)(".ft-filter--levels ft-filter-level")],se.prototype,"levels",void 0);we([(0,ve.state)()],se.prototype,"withScroll",void 0);we([(0,ve.state)()],se.prototype,"filter",void 0);we([(0,ve.state)()],se.prototype,"slideIn",void 0);we([(0,ve.state)()],se.prototype,"slideOut",void 0)});var Ns,hi,Kb,an,Ut,ap=p(()=>{"use strict";Ns=u(v()),hi=u(H()),Kb=u(R()),an=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ut=class extends Ns.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Kb.html`
2064
2064
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
2065
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};zt.elementDefinitions={};rn([(0,fi.property)({type:String})],zt.prototype,"label",void 0);rn([(0,fi.property)({type:Object,converter:t=>t})],zt.prototype,"value",void 0);rn([(0,fi.property)({type:Boolean,reflect:!0})],zt.prototype,"selected",void 0);rn([(0,fi.property)({type:Object})],zt.prototype,"subOptions",void 0);rn([(0,Ps.jsonProperty)({})],zt.prototype,"renderOption",void 0);rn([(0,fi.query)(".ft-filter-option--slot")],zt.prototype,"slotElement",void 0)});var Gb=p(()=>{"use strict"});var jb=p(()=>{"use strict"});var ip,Kb=p(()=>{"use strict";ip=u(v());rp();op();Xd();rp();$s();Gb();op();jb();(0,ip.customElement)("ft-filter")(se);(0,ip.customElement)("ft-filter-option")(zt)});var qb,Zb,np=p(()=>{"use strict";qb=u(R()),Zb=qb.css`
2065
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ut.elementDefinitions={};an([(0,hi.property)({type:String})],Ut.prototype,"label",void 0);an([(0,hi.property)({type:Object,converter:t=>t})],Ut.prototype,"value",void 0);an([(0,hi.property)({type:Boolean,reflect:!0})],Ut.prototype,"selected",void 0);an([(0,hi.property)({type:Object})],Ut.prototype,"subOptions",void 0);an([(0,Ns.jsonProperty)({})],Ut.prototype,"renderOption",void 0);an([(0,hi.query)(".ft-filter-option--slot")],Ut.prototype,"slotElement",void 0)});var qb=p(()=>{"use strict"});var Zb=p(()=>{"use strict"});var sp,Qb=p(()=>{"use strict";sp=u(v());np();ap();tp();np();_s();qb();ap();Zb();(0,sp.customElement)("ft-filter")(se);(0,sp.customElement)("ft-filter-option")(Ut)});var Yb,Xb,lp=p(()=>{"use strict";Yb=u(R()),Xb=Yb.css`
2066
2066
  .ft-accordion {
2067
2067
  box-sizing: border-box;
2068
2068
  }
2069
- `});var Yb,_s,Xb,Qb,Mr,ap=p(()=>{"use strict";Yb=u(R()),_s=u(H()),Xb=u(v());np();Qb=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Mr=class extends Xb.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Yb.html`
2069
+ `});var ex,Bs,tx,Jb,Ur,cp=p(()=>{"use strict";ex=u(R()),Bs=u(H()),tx=u(v());lp();Jb=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ur=class extends tx.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return ex.html`
2070
2070
  <div class="ft-accordion">
2071
2071
  <slot @activated=${this.onChange}></slot>
2072
2072
  </div>
2073
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Mr.elementDefinitions={};Mr.styles=Zb;Qb([(0,_s.property)({type:Boolean})],Mr.prototype,"multi",void 0);Qb([(0,_s.query)("slot")],Mr.prototype,"content",void 0)});var Jb,mi,hi,ex,sp=p(()=>{"use strict";Jb=u(R()),mi=u(v()),hi={horizontalSpacing:mi.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:mi.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:mi.FtCssVariableFactory.external(mi.designSystemVariables.colorOutline,"Design system"),backgroundColor:mi.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},ex=Jb.css`
2073
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Ur.elementDefinitions={};Ur.styles=Xb;Jb([(0,Bs.property)({type:Boolean})],Ur.prototype,"multi",void 0);Jb([(0,Bs.query)("slot")],Ur.prototype,"content",void 0)});var rx,gi,mi,ox,dp=p(()=>{"use strict";rx=u(R()),gi=u(v()),mi={horizontalSpacing:gi.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:gi.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:gi.FtCssVariableFactory.external(gi.designSystemVariables.colorOutline,"Design system"),backgroundColor:gi.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},ox=rx.css`
2074
2074
  .ft-accordion-item {
2075
2075
  display: flex;
2076
2076
  flex-direction: column;
2077
- background-color: ${hi.backgroundColor};
2077
+ background-color: ${mi.backgroundColor};
2078
2078
  }
2079
2079
 
2080
2080
  .ft-accordion-item--toggle {
@@ -2084,8 +2084,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2084
2084
  display: flex;
2085
2085
  align-items: center;
2086
2086
  cursor: pointer;
2087
- padding: ${hi.verticalSpacing} ${hi.horizontalSpacing};
2088
- gap: calc(${hi.horizontalSpacing} / 2);
2087
+ padding: ${mi.verticalSpacing} ${mi.horizontalSpacing};
2088
+ gap: calc(${mi.horizontalSpacing} / 2);
2089
2089
  outline: none;
2090
2090
  }
2091
2091
 
@@ -2110,13 +2110,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2110
2110
  .ft-accordion-item--active .ft-accordion-item--content {
2111
2111
  height: initial;
2112
2112
  overflow: visible;
2113
- padding: ${hi.verticalSpacing} ${hi.horizontalSpacing};
2113
+ padding: ${mi.verticalSpacing} ${mi.horizontalSpacing};
2114
2114
  }
2115
2115
 
2116
2116
  .ft-accordion-item--separator {
2117
- border-bottom: 1px solid ${hi.colorOutline};
2117
+ border-bottom: 1px solid ${mi.colorOutline};
2118
2118
  }
2119
- `});var qn,Zn,tx,Ns,ar,lp=p(()=>{"use strict";qn=u(R()),Zn=u(H()),tx=u(v());gt();Pe();Jt();sp();Ns=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ar=class extends tx.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return qn.html`
2119
+ `});var Yn,Xn,ix,Ds,ar,pp=p(()=>{"use strict";Yn=u(R()),Xn=u(H()),ix=u(v());gt();Pe();Jt();dp();Ds=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ar=class extends ix.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Yn.html`
2120
2120
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
2121
2121
  <div class="ft-accordion-item--toggle"
2122
2122
  part="toggle"
@@ -2127,13 +2127,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2127
2127
  aria-controls="ft-accordion-item-content"
2128
2128
  aria-expanded="${this.active}">
2129
2129
  <ft-ripple part="toggle-ripple"></ft-ripple>
2130
- ${this.icon?qn.html`
2130
+ ${this.icon?Yn.html`
2131
2131
  <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
2132
2132
  `:null}
2133
- ${this.label?qn.html`
2133
+ ${this.label?Yn.html`
2134
2134
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
2135
2135
  </ft-typography>
2136
- `:qn.html`
2136
+ `:Yn.html`
2137
2137
  <slot class="ft-accordion-item--label" name="toggle" part="label"></slot>
2138
2138
  `}
2139
2139
  <ft-icon variant="material">${this.active?"expand_less":"expand_more"}</ft-icon>
@@ -2146,7 +2146,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2146
2146
  </div>
2147
2147
  <div class="ft-accordion-item--separator" part="separator"></div>
2148
2148
  </div>
2149
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ar.elementDefinitions={"ft-ripple":K,"ft-typography":Q,"ft-icon":me};ar.styles=ex;Ns([(0,Zn.property)()],ar.prototype,"icon",void 0);Ns([(0,Zn.property)()],ar.prototype,"iconVariant",void 0);Ns([(0,Zn.property)()],ar.prototype,"label",void 0);Ns([(0,Zn.property)({type:Boolean,reflect:!0})],ar.prototype,"active",void 0)});var rx=p(()=>{"use strict"});var ox=p(()=>{"use strict"});var cp,ix=p(()=>{"use strict";cp=u(v());ap();lp();ap();np();rx();lp();sp();ox();(0,cp.customElement)("ft-accordion")(Mr);(0,cp.customElement)("ft-accordion-item")(ar)});var Qn,Y,nx,at,ax,dp,sx,lx,pp=p(()=>{"use strict";Qn=u(R()),Y=u(v());Gr();jt();Vo();tr();nx=Y.FtCssVariableFactory.extend("--ft-chip-color","",Y.designSystemVariables.colorOnSurface),at={backgroundColor:Y.FtCssVariableFactory.extend("--ft-chip-background-color","",Y.designSystemVariables.colorSurface),color:nx,fontSize:Y.FtCssVariableFactory.extend("--ft-chip-font-size","",Ve.fontSize),fontWeight:Y.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ve.fontWeight),iconSize:Y.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:Y.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:Y.FtCssVariableFactory.extend("--ft-chip-ripple-color","",nx),horizontalPadding:Y.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Y.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:Y.FtCssVariableFactory.extend("--ft-chip-border-color","",Y.designSystemVariables.colorOutline),opacityDisabled:Y.FtCssVariableFactory.external(Y.designSystemVariables.colorOpacityDisabled,"Design system")},ax=Y.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Y.FtCssVariableFactory.extend("--ft-chip-color","",Y.designSystemVariables.colorOnPrimary)),dp={backgroundColor:Y.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Y.FtCssVariableFactory.extend("--ft-chip-background-color","",Y.designSystemVariables.colorPrimary)),color:ax,rippleColor:Y.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ax)},sx={horizontalPadding:Y.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Y.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},lx=[Y.noTextSelect,Qn.css`
2149
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ar.elementDefinitions={"ft-ripple":K,"ft-typography":Q,"ft-icon":me};ar.styles=ox;Ds([(0,Xn.property)()],ar.prototype,"icon",void 0);Ds([(0,Xn.property)()],ar.prototype,"iconVariant",void 0);Ds([(0,Xn.property)()],ar.prototype,"label",void 0);Ds([(0,Xn.property)({type:Boolean,reflect:!0})],ar.prototype,"active",void 0)});var nx=p(()=>{"use strict"});var ax=p(()=>{"use strict"});var up,sx=p(()=>{"use strict";up=u(v());cp();pp();cp();lp();nx();pp();dp();ax();(0,up.customElement)("ft-accordion")(Ur);(0,up.customElement)("ft-accordion-item")(ar)});var Jn,Y,lx,at,cx,fp,dx,px,hp=p(()=>{"use strict";Jn=u(R()),Y=u(v());jr();jt();Go();tr();lx=Y.FtCssVariableFactory.extend("--ft-chip-color","",Y.designSystemVariables.colorOnSurface),at={backgroundColor:Y.FtCssVariableFactory.extend("--ft-chip-background-color","",Y.designSystemVariables.colorSurface),color:lx,fontSize:Y.FtCssVariableFactory.extend("--ft-chip-font-size","",Ve.fontSize),fontWeight:Y.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ve.fontWeight),iconSize:Y.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:Y.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:Y.FtCssVariableFactory.extend("--ft-chip-ripple-color","",lx),horizontalPadding:Y.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Y.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:Y.FtCssVariableFactory.extend("--ft-chip-border-color","",Y.designSystemVariables.colorOutline),opacityDisabled:Y.FtCssVariableFactory.external(Y.designSystemVariables.colorOpacityDisabled,"Design system")},cx=Y.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Y.FtCssVariableFactory.extend("--ft-chip-color","",Y.designSystemVariables.colorOnPrimary)),fp={backgroundColor:Y.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Y.FtCssVariableFactory.extend("--ft-chip-background-color","",Y.designSystemVariables.colorPrimary)),color:cx,rippleColor:Y.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",cx)},dx={horizontalPadding:Y.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Y.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},px=[Y.noTextSelect,Jn.css`
2150
2150
  :host {
2151
2151
  display: inline-block;
2152
2152
  max-width: 100%;
@@ -2174,7 +2174,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2174
2174
  border: 1px solid ${at.borderColor};
2175
2175
  color: ${at.color};
2176
2176
  ${(0,Y.setVariable)(S.color,at.rippleColor)};
2177
- border-radius: var(${(0,Qn.unsafeCSS)(at.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
2177
+ border-radius: var(${(0,Jn.unsafeCSS)(at.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
2178
2178
  padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
2179
2179
  background-color: ${at.backgroundColor};
2180
2180
  line-height: var(--chip-internal-content-height);
@@ -2186,13 +2186,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2186
2186
 
2187
2187
  .ft-chip--dense {
2188
2188
  --chip-internal-icon-padding: 3px;
2189
- --chip-internal-vertical-padding: ${sx.verticalPadding};
2190
- --chip-internal-horizontal-padding: ${sx.horizontalPadding};
2189
+ --chip-internal-vertical-padding: ${dx.verticalPadding};
2190
+ --chip-internal-horizontal-padding: ${dx.horizontalPadding};
2191
2191
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
2192
2192
  }
2193
2193
 
2194
2194
  .ft-chip--no-content {
2195
- --chip-internal-horizontal-padding: ${at.horizontalPadding.get(Qn.css`var(--chip-internal-vertical-padding)`)};
2195
+ --chip-internal-horizontal-padding: ${at.horizontalPadding.get(Jn.css`var(--chip-internal-vertical-padding)`)};
2196
2196
  }
2197
2197
 
2198
2198
  .ft-chip--disabled {
@@ -2205,9 +2205,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2205
2205
  .ft-chip--highlighted {
2206
2206
  border: none;
2207
2207
  padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
2208
- background-color: ${dp.backgroundColor};
2209
- ${(0,Y.setVariable)(S.color,dp.rippleColor)};
2210
- color: ${dp.color};
2208
+ background-color: ${fp.backgroundColor};
2209
+ ${(0,Y.setVariable)(S.color,fp.rippleColor)};
2210
+ color: ${fp.color};
2211
2211
  }
2212
2212
 
2213
2213
  .ft-chip--clickable {
@@ -2286,8 +2286,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2286
2286
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2287
2287
  order: -1;
2288
2288
  }
2289
- `]});var Bs,ft,cx,on,kt,Ds,Ne,up=p(()=>{"use strict";Bs=u(R()),ft=u(H()),cx=u(Ct()),on=u(v());gt();Pe();Jt();pp();tr();kt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ds=class extends CustomEvent{constructor(){super("icon-click")}},Ne=class extends on.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":on.isSafari};return Bs.html`
2290
- <div class="${(0,cx.classMap)(e)}"
2289
+ `]});var Fs,ft,ux,sn,Tt,Ms,Ne,mp=p(()=>{"use strict";Fs=u(R()),ft=u(H()),ux=u(Ot()),sn=u(v());gt();Pe();Jt();hp();tr();Tt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ms=class extends CustomEvent{constructor(){super("icon-click")}},Ne=class extends sn.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":sn.isSafari};return Fs.html`
2290
+ <div class="${(0,ux.classMap)(e)}"
2291
2291
  aria-label="${this.getLabel()}"
2292
2292
  tabindex="${this.interactionsOnChip?0:-1}"
2293
2293
  @keyup=${this.onKeyUp}
@@ -2298,7 +2298,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2298
2298
  </ft-typography>
2299
2299
  ${this.internalIcon?this.renderIcon():null}
2300
2300
  </div>
2301
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Bs.html`
2301
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Fs.html`
2302
2302
  <ft-button round
2303
2303
  class="ft-chip--icon-button"
2304
2304
  @click=${this.onIconClick}
@@ -2309,11 +2309,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2309
2309
  part="icon-button"
2310
2310
  ?hideTooltip=${this.hideIconTooltip}
2311
2311
  ></ft-button>
2312
- `:Bs.html`
2312
+ `:Fs.html`
2313
2313
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2314
2314
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
2315
2315
  </div>
2316
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ds))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ds))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,on.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ne.elementDefinitions={"ft-ripple":K,"ft-typography":Q,"ft-icon":me,"ft-button":Ie};Ne.styles=lx;kt([(0,ft.property)({type:Boolean})],Ne.prototype,"highlighted",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"removable",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"disabled",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"clickable",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"iconClickable",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"dense",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"multiLine",void 0);kt([(0,ft.property)()],Ne.prototype,"label",void 0);kt([(0,ft.property)()],Ne.prototype,"iconLabel",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"hideIconTooltip",void 0);kt([(0,ft.property)()],Ne.prototype,"icon",void 0);kt([(0,ft.property)()],Ne.prototype,"iconVariant",void 0);kt([(0,ft.property)({type:Boolean})],Ne.prototype,"trailingIcon",void 0);kt([(0,ft.query)("ft-typography slot")],Ne.prototype,"slottedContent",void 0)});var dx,Fs,px,fp=p(()=>{"use strict";dx=u(R());$();Fs=u(v());Jt();tr();px=[dx.css`
2316
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ms))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ms))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,sn.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ne.elementDefinitions={"ft-ripple":K,"ft-typography":Q,"ft-icon":me,"ft-button":Ie};Ne.styles=px;Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"highlighted",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"removable",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"disabled",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"clickable",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"iconClickable",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"dense",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"multiLine",void 0);Tt([(0,ft.property)()],Ne.prototype,"label",void 0);Tt([(0,ft.property)()],Ne.prototype,"iconLabel",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"hideIconTooltip",void 0);Tt([(0,ft.property)()],Ne.prototype,"icon",void 0);Tt([(0,ft.property)()],Ne.prototype,"iconVariant",void 0);Tt([(0,ft.property)({type:Boolean})],Ne.prototype,"trailingIcon",void 0);Tt([(0,ft.query)("ft-typography slot")],Ne.prototype,"slottedContent",void 0)});var fx,Us,hx,gp=p(()=>{"use strict";fx=u(R());$();Us=u(v());Jt();tr();hx=[fx.css`
2317
2317
  :host {
2318
2318
  display: inline-block;
2319
2319
  max-width: 100%;
@@ -2352,7 +2352,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2352
2352
  border-radius: ${M.smallBorderRadius};
2353
2353
  border-width: ${M.smallBorderWidth};
2354
2354
  border-style: solid;
2355
- ${(0,Fs.setVariable)($e.size,M.smallIconSize)}
2355
+ ${(0,Us.setVariable)($e.size,M.smallIconSize)}
2356
2356
  }
2357
2357
 
2358
2358
  .ftds--size-small.ftds-chip--with-action {
@@ -2376,7 +2376,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2376
2376
  top: -3px;
2377
2377
  height: ${M.smallIconSize};
2378
2378
  transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
2379
- ${fd.smallIconOnlyWidth.set("15px")};
2379
+ ${md.smallIconOnlyWidth.set("15px")};
2380
2380
  }
2381
2381
 
2382
2382
  .ftds--size-small .ftds-chip--remove-button::part(icon) {
@@ -2391,7 +2391,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2391
2391
  border-width: ${M.mediumBorderWidth};
2392
2392
  border-style: solid;
2393
2393
  gap: ${M.mediumGap};
2394
- ${(0,Fs.setVariable)($e.size,M.mediumIconSize)}
2394
+ ${(0,Us.setVariable)($e.size,M.mediumIconSize)}
2395
2395
  }
2396
2396
 
2397
2397
  .ftds--size-medium.ftds-chip--with-action {
@@ -2410,7 +2410,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2410
2410
  border-width: ${M.largeBorderWidth};
2411
2411
  border-style: solid;
2412
2412
  gap: ${M.largeGap};
2413
- ${(0,Fs.setVariable)($e.size,M.largeIconSize)}
2413
+ ${(0,Us.setVariable)($e.size,M.largeIconSize)}
2414
2414
  }
2415
2415
 
2416
2416
  .ftds--size-large.ftds-chip--with-action {
@@ -2480,8 +2480,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2480
2480
  .ftds--family-error .ftds-chip--icon-container {
2481
2481
  color: ${M.errorIconColor};
2482
2482
  }
2483
- `]});var $o,Po,ux,Ms,nn,hp,sr,mp=p(()=>{"use strict";$o=u(R()),Po=u(H()),ux=u(Ct()),Ms=u(v());Pe();Jt();fp();$();tr();nn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},hp=class extends CustomEvent{constructor(){super("remove")}},sr=class extends Ms.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return $o.html`
2484
- <div class="${(0,ux.classMap)(e)}"
2483
+ `]});var Po,_o,mx,zs,ln,yp,sr,bp=p(()=>{"use strict";Po=u(R()),_o=u(H()),mx=u(Ot()),zs=u(v());Pe();Jt();gp();$();tr();ln=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},yp=class extends CustomEvent{constructor(){super("remove")}},sr=class extends zs.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Po.html`
2484
+ <div class="${(0,mx.classMap)(e)}"
2485
2485
  aria-label="${this.getLabel()}"
2486
2486
  part="chip">
2487
2487
  ${this.renderIcon()}
@@ -2490,23 +2490,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2490
2490
  </ftds-typography>
2491
2491
  ${this.renderAction()}
2492
2492
  </div>
2493
- `}renderIcon(){return this.icon?$o.html`
2493
+ `}renderIcon(){return this.icon?Po.html`
2494
2494
  <div class="ftds-chip--icon-container" part="icon-container">
2495
2495
  <ft-icon .variant=${Ye.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
2496
2496
  </div>
2497
- `:$o.nothing}renderAction(){return this.removable?$o.html`
2497
+ `:Po.nothing}renderAction(){return this.removable?Po.html`
2498
2498
  <ftds-button round
2499
2499
  class="ftds-chip--remove-button"
2500
2500
  @click=${this.dispatchRemoveEvent}
2501
2501
  icon="${De.X_MARK}"
2502
2502
  label="${this.removeButtonLabel}"
2503
- family="${Ms.DesignSystemFamily.neutral}"
2503
+ family="${zs.DesignSystemFamily.neutral}"
2504
2504
  size="${this.resolveButtonSize()}"
2505
2505
  part="icon-button"
2506
2506
  ></ftds-button>
2507
- `:this.withAction?$o.html`
2507
+ `:this.withAction?Po.html`
2508
2508
  <slot name="action"></slot>
2509
- `:$o.nothing}resolveButtonSize(){switch(this.size){case cr.large:return cr.medium;default:return cr.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new hp)}typographyVariant(){switch(this.size){case cr.large:return Tt.body2medium;default:return Tt.caption1medium}}};sr.elementDefinitions={"ftds-typography":pr,"ft-icon":me,"ftds-button":er};sr.styles=px;nn([(0,Po.property)({type:Boolean})],sr.prototype,"withAction",void 0);nn([(0,Po.property)({type:Boolean})],sr.prototype,"removable",void 0);nn([(0,Po.property)()],sr.prototype,"removeButtonLabel",void 0);nn([(0,Po.property)()],sr.prototype,"label",void 0);nn([(0,Po.property)()],sr.prototype,"icon",void 0);nn([(0,Po.query)("ftds-typography slot")],sr.prototype,"slottedContent",void 0)});var fx=p(()=>{"use strict"});var hx=p(()=>{"use strict"});var gp,yp=p(()=>{"use strict";gp=u(v());up();mp();up();pp();fx();mp();fp();hx();(0,gp.customElement)("ft-chip")(Ne);(0,gp.customElement)("ftds-chip")(sr)});function zs(t,e,r){return t?e(t):r?.(t)}var mx=p(()=>{});var bp=p(()=>{mx()});var gx,Ee,W,yx,an=p(()=>{"use strict";gx=u(R()),Ee=u(v());jt();W={fontSize:Ee.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ee.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ee.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ee.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ee.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ee.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ee.FtCssVariableFactory.extend("--ft-input-label-border-color","",Ee.designSystemVariables.colorOutline),textColor:Ee.FtCssVariableFactory.extend("--ft-input-label-text-color","",Ee.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Ee.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Ee.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Ee.FtCssVariableFactory.extend("--ft-input-label-background-color","",Ee.designSystemVariables.colorSurface),borderRadius:Ee.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Ee.designSystemVariables.borderRadiusS),colorError:Ee.FtCssVariableFactory.external(Ee.designSystemVariables.colorError,"Design system")},yx=gx.css`
2509
+ `:Po.nothing}resolveButtonSize(){switch(this.size){case cr.large:return cr.medium;default:return cr.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new yp)}typographyVariant(){switch(this.size){case cr.large:return $t.body2medium;default:return $t.caption1medium}}};sr.elementDefinitions={"ftds-typography":pr,"ft-icon":me,"ftds-button":er};sr.styles=hx;ln([(0,_o.property)({type:Boolean})],sr.prototype,"withAction",void 0);ln([(0,_o.property)({type:Boolean})],sr.prototype,"removable",void 0);ln([(0,_o.property)()],sr.prototype,"removeButtonLabel",void 0);ln([(0,_o.property)()],sr.prototype,"label",void 0);ln([(0,_o.property)()],sr.prototype,"icon",void 0);ln([(0,_o.query)("ftds-typography slot")],sr.prototype,"slottedContent",void 0)});var gx=p(()=>{"use strict"});var yx=p(()=>{"use strict"});var xp,vp=p(()=>{"use strict";xp=u(v());mp();bp();mp();hp();gx();bp();gp();yx();(0,xp.customElement)("ft-chip")(Ne);(0,xp.customElement)("ftds-chip")(sr)});function Hs(t,e,r){return t?e(t):r?.(t)}var bx=p(()=>{});var Sp=p(()=>{bx()});var xx,Ee,W,vx,cn=p(()=>{"use strict";xx=u(R()),Ee=u(v());jt();W={fontSize:Ee.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ee.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ee.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ee.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ee.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ee.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ee.FtCssVariableFactory.extend("--ft-input-label-border-color","",Ee.designSystemVariables.colorOutline),textColor:Ee.FtCssVariableFactory.extend("--ft-input-label-text-color","",Ee.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Ee.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Ee.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Ee.FtCssVariableFactory.extend("--ft-input-label-background-color","",Ee.designSystemVariables.colorSurface),borderRadius:Ee.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Ee.designSystemVariables.borderRadiusS),colorError:Ee.FtCssVariableFactory.external(Ee.designSystemVariables.colorError,"Design system")},vx=xx.css`
2510
2510
  .ft-input-label {
2511
2511
  position: absolute;
2512
2512
  inset: 0;
@@ -2628,24 +2628,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2628
2628
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2629
2629
  border-top: none;
2630
2630
  }
2631
- `});var xp,vp,xx,vx,bx,ro,Sp=p(()=>{"use strict";xp=u(R()),vp=u(H());bp();xx=u(Ct()),vx=u(v()),bx=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ro=class extends vx.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return xp.html`
2632
- <div class="${(0,xx.classMap)(this.inputLabelClasses)}">
2633
- ${zs(this.text,()=>xp.html`
2631
+ `});var Cp,Op,Cx,Ox,Sx,oo,wp=p(()=>{"use strict";Cp=u(R()),Op=u(H());Sp();Cx=u(Ot()),Ox=u(v()),Sx=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},oo=class extends Ox.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Cp.html`
2632
+ <div class="${(0,Cx.classMap)(this.inputLabelClasses)}">
2633
+ ${Hs(this.text,()=>Cp.html`
2634
2634
  <div class="ft-input-label--text ft-typography--caption">
2635
2635
  <label class="ft-input-label--floating-text">${this.text}</label>
2636
2636
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
2637
2637
  </div>
2638
2638
  `)}
2639
2639
  </div>
2640
- `}};ro.elementDefinitions={};bx([(0,vp.property)({type:String})],ro.prototype,"text",void 0);bx([(0,vp.property)({type:Boolean})],ro.prototype,"raised",void 0)});var Us,Cp,br,Op=p(()=>{"use strict";Us=u(H());jt();an();Sp();Cp=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},br=class extends ro{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};br.elementDefinitions={};br.styles=[Er,yx];Cp([(0,Us.property)({type:Boolean})],br.prototype,"outlined",void 0);Cp([(0,Us.property)({type:Boolean})],br.prototype,"error",void 0);Cp([(0,Us.property)({type:Boolean})],br.prototype,"disabled",void 0)});var Sx,He,ht,Cx,wp=p(()=>{"use strict";Sx=u(R());$();jt();an();He=u(v()),ht={fontSize:He.FtCssVariableFactory.extend("--ft-input-label-font-size","",Ho.fontSize),fontSizeRaised:He.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",lo.fontSize),lineHeight:He.FtCssVariableFactory.extend("--ft-input-label-line-height","",lo.lineHeight),color:He.FtCssVariableFactory.extend("--ft-input-label-color","",He.semantic.contentGlobalSubtle),largeFieldHeight:He.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:He.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:He.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:He.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:He.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:He.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:He.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:He.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Cx=[Sx.css`
2640
+ `}};oo.elementDefinitions={};Sx([(0,Op.property)({type:String})],oo.prototype,"text",void 0);Sx([(0,Op.property)({type:Boolean})],oo.prototype,"raised",void 0)});var Ws,Ep,br,Ap=p(()=>{"use strict";Ws=u(H());jt();cn();wp();Ep=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},br=class extends oo{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};br.elementDefinitions={};br.styles=[Er,vx];Ep([(0,Ws.property)({type:Boolean})],br.prototype,"outlined",void 0);Ep([(0,Ws.property)({type:Boolean})],br.prototype,"error",void 0);Ep([(0,Ws.property)({type:Boolean})],br.prototype,"disabled",void 0)});var wx,He,ht,Ex,Rp=p(()=>{"use strict";wx=u(R());$();jt();cn();He=u(v()),ht={fontSize:He.FtCssVariableFactory.extend("--ft-input-label-font-size","",Wo.fontSize),fontSizeRaised:He.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",co.fontSize),lineHeight:He.FtCssVariableFactory.extend("--ft-input-label-line-height","",co.lineHeight),color:He.FtCssVariableFactory.extend("--ft-input-label-color","",He.semantic.contentGlobalSubtle),largeFieldHeight:He.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:He.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:He.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:He.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:He.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:He.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:He.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:He.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Ex=[wx.css`
2641
2641
 
2642
2642
  :root {
2643
2643
  --field-height: ${ht.largeFieldHeight};
2644
2644
  --field-vertical-gap: ${ht.largeFieldVerticalGap};
2645
2645
  --field-horizontal-padding: ${ht.largeFieldHorizontalPadding};
2646
2646
 
2647
- --typo-caption-height: calc(${lo.lineHeight} * ${lo.fontSize});
2648
- --typo-body-height: calc(${Ho.lineHeight} * ${Ho.fontSize});
2647
+ --typo-caption-height: calc(${co.lineHeight} * ${co.fontSize});
2648
+ --typo-body-height: calc(${Wo.lineHeight} * ${Wo.fontSize});
2649
2649
  --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
2650
2650
  --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
2651
2651
  }
@@ -2719,7 +2719,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2719
2719
  top: var(--input-content-vertical-padding);
2720
2720
  }
2721
2721
 
2722
- `]});var Ox,Yn,Ep=p(()=>{"use strict";Sp();Ox=u(v());wp();Pe();Yn=class extends(0,Ox.toFtdsBase)(ro){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Yn.styles=[Er,Cx]});var wx=p(()=>{"use strict"});var Ex=p(()=>{"use strict"});var Ap,Ax=p(()=>{"use strict";Ap=u(v());Op();Ep();Op();an();wx();Ep();wp();Ex();(0,Ap.customElement)("ft-input-label")(br);(0,Ap.customElement)("ftds-input-label")(Yn)});var Rx,q,X,Lx,Hs=p(()=>{"use strict";Rx=u(R()),q=u(v());an();jt();Gr();Vo();X={labelSize:q.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:q.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:q.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:q.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:q.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:q.FtCssVariableFactory.extend("--ft-select-selected-option-color","",q.designSystemVariables.colorOnSurface),helperColor:q.FtCssVariableFactory.extend("--ft-select-helper-color","",q.designSystemVariables.colorOnSurfaceMedium),optionsColor:q.FtCssVariableFactory.extend("--ft-select-options-color","",q.designSystemVariables.colorOnSurface),optionsZIndex:q.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:q.FtCssVariableFactory.extend("--ft-select-background-color","",q.designSystemVariables.colorSurface),colorOnSurfaceDisabled:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:q.FtCssVariableFactory.external(q.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:q.FtCssVariableFactory.external(q.designSystemVariables.borderRadiusS,"Design system"),elevation02:q.FtCssVariableFactory.external(q.designSystemVariables.elevation02,"Design system"),colorError:q.FtCssVariableFactory.external(q.designSystemVariables.colorError,"Design system")},Lx=Rx.css`
2722
+ `]});var Ax,ea,Lp=p(()=>{"use strict";wp();Ax=u(v());Rp();Pe();ea=class extends(0,Ax.toFtdsBase)(oo){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};ea.styles=[Er,Ex]});var Rx=p(()=>{"use strict"});var Lx=p(()=>{"use strict"});var Ip,Ix=p(()=>{"use strict";Ip=u(v());Ap();Lp();Ap();cn();Rx();Lp();Rp();Lx();(0,Ip.customElement)("ft-input-label")(br);(0,Ip.customElement)("ftds-input-label")(ea)});var kx,q,X,Tx,Vs=p(()=>{"use strict";kx=u(R()),q=u(v());cn();jt();jr();Go();X={labelSize:q.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:q.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:q.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:q.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:q.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:q.FtCssVariableFactory.extend("--ft-select-selected-option-color","",q.designSystemVariables.colorOnSurface),helperColor:q.FtCssVariableFactory.extend("--ft-select-helper-color","",q.designSystemVariables.colorOnSurfaceMedium),optionsColor:q.FtCssVariableFactory.extend("--ft-select-options-color","",q.designSystemVariables.colorOnSurface),optionsZIndex:q.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:q.FtCssVariableFactory.extend("--ft-select-background-color","",q.designSystemVariables.colorSurface),colorOnSurfaceDisabled:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:q.FtCssVariableFactory.external(q.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:q.FtCssVariableFactory.external(q.designSystemVariables.borderRadiusS,"Design system"),elevation02:q.FtCssVariableFactory.external(q.designSystemVariables.elevation02,"Design system"),colorError:q.FtCssVariableFactory.external(q.designSystemVariables.colorError,"Design system")},Tx=kx.css`
2723
2723
  *:focus {
2724
2724
  outline: none;
2725
2725
  }
@@ -2795,8 +2795,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2795
2795
  overflow: hidden;
2796
2796
  white-space: nowrap;
2797
2797
  text-overflow: ellipsis;
2798
- ${(0,q.setVariable)(Kr.fontSize,X.selectedOptionSize)};
2799
- ${(0,q.setVariable)(Kr.lineHeight,X.selectedOptionSize)};
2798
+ ${(0,q.setVariable)(qr.fontSize,X.selectedOptionSize)};
2799
+ ${(0,q.setVariable)(qr.lineHeight,X.selectedOptionSize)};
2800
2800
  }
2801
2801
 
2802
2802
  .ft-select--in-error .ft-select--selected-option {
@@ -2869,8 +2869,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2869
2869
  .ft-select--in-error .ft-select--helper-text {
2870
2870
  color: ${X.colorError};
2871
2871
  }
2872
- `});var gi,be,Rp,Ix,_o,ke,zr,de,Lp=p(()=>{"use strict";gi=u(R()),be=u(H()),Rp=u(Ct()),Ix=u(to());bp();is();_o=u(v());Pe();Ax();gt();Jt();Hs();ke=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zr=class extends _o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return gi.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};zr.elementDefinitions={};ke([(0,be.property)({type:String})],zr.prototype,"label",void 0);ke([(0,be.property)({type:Object,converter:t=>t})],zr.prototype,"value",void 0);ke([(0,be.property)({type:Boolean,reflect:!0})],zr.prototype,"selected",void 0);de=class t extends _o.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return gi.html`
2873
- <div class="${(0,Rp.classMap)(h)}" part="container">
2872
+ `});var yi,be,kp,$x,No,ke,zr,de,Tp=p(()=>{"use strict";yi=u(R()),be=u(H()),kp=u(Ot()),$x=u(ro());Sp();ss();No=u(v());Pe();Ix();gt();Jt();Vs();ke=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zr=class extends No.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return yi.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};zr.elementDefinitions={};ke([(0,be.property)({type:String})],zr.prototype,"label",void 0);ke([(0,be.property)({type:Object,converter:t=>t})],zr.prototype,"value",void 0);ke([(0,be.property)({type:Boolean,reflect:!0})],zr.prototype,"selected",void 0);de=class t extends No.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return yi.html`
2873
+ <div class="${(0,kp.classMap)(h)}" part="container">
2874
2874
  <div class="ft-select--main-panel" part="main-panel">
2875
2875
  <ft-input-label text="${this.label}"
2876
2876
  part="label"
@@ -2885,11 +2885,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2885
2885
  tabindex="${l?"-1":"0"}"
2886
2886
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
2887
2887
  @keydown=${this.onMainPanelKeyDown}
2888
- aria-label="${wo(this.ariaLabel)}"
2889
- aria-labelledby="${zs(!this.ariaLabel,()=>"label")}"
2888
+ aria-label="${Eo(this.ariaLabel)}"
2889
+ aria-labelledby="${Hs(!this.ariaLabel,()=>"label")}"
2890
2890
  aria-haspopup="listbox"
2891
2891
  aria-expanded="${s}"
2892
- aria-activedescendant="${wo(this.getOptionId(this.selectedOption))}"
2892
+ aria-activedescendant="${Eo(this.getOptionId(this.selectedOption))}"
2893
2893
  role="combobox">
2894
2894
  <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
2895
2895
  <ft-typography variant="${Re.body1}" class="ft-select--selected-option">
@@ -2901,20 +2901,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2901
2901
  part="options"
2902
2902
  @keydown=${this.onOptionsKeyDown}
2903
2903
  role="listbox">
2904
- ${(0,Ix.repeat)(this.options,y=>y.value,(y,g)=>this.renderOption(y,g))}
2904
+ ${(0,$x.repeat)(this.options,y=>y.value,(y,g)=>this.renderOption(y,g))}
2905
2905
  </div>
2906
2906
  </div>
2907
2907
  <slot name="helper" part="helper">
2908
- ${this.helper?gi.html`
2908
+ ${this.helper?yi.html`
2909
2909
  <ft-typography class="ft-select--helper-text" variant="${Re.caption}">${this.helper}
2910
- </ft-typography>`:gi.nothing}
2910
+ </ft-typography>`:yi.nothing}
2911
2911
  </slot>
2912
2912
  </div>
2913
2913
  <slot @slotchange=${this.updateOptionsFromSlot}
2914
2914
  @option-change=${this.updateOptionsFromSlot}
2915
2915
  ></slot>
2916
- `}renderOption(e,r){var i,n;let a=this.selectedOption===e;return gi.html`
2917
- <div class="${(0,Rp.classMap)({"ft-select--option":!0,"ft-select--option-selected":a,"ft-typography--body2":!0})}"
2916
+ `}renderOption(e,r){var i,n;let a=this.selectedOption===e;return yi.html`
2917
+ <div class="${(0,kp.classMap)({"ft-select--option":!0,"ft-select--option-selected":a,"ft-typography--body2":!0})}"
2918
2918
  part="option option-${(n=(i=e.value)===null||i===void 0?void 0:i.toString())===null||n===void 0?void 0:n.replace(/[^\w-]/g,"")}"
2919
2919
  tabindex="0"
2920
2920
  aria-label="${e.label}"
@@ -2925,7 +2925,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2925
2925
  <ft-ripple ?primary=${a} ?activated=${a}></ft-ripple>
2926
2926
  <span>${e.label}</span>
2927
2927
  </div>
2928
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];(0,_o.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",X.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var f;return((f=l.label)===null||f===void 0?void 0:f.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>(0,_o.deepEqual)(i.value,e.value));if(r!==-1)return`option-${r}`}selectOption(e){var r,i;if(!(0,_o.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":br,"ft-typography":Q,"ft-ripple":K,"ft-icon":me};de.searchTimeoutMilliseconds=2e3;de.styles=[po,Er,Lx];ke([(0,be.property)({type:String})],de.prototype,"label",void 0);ke([(0,be.property)({type:String})],de.prototype,"ariaLabel",void 0);ke([(0,be.property)({type:String})],de.prototype,"helper",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"outlined",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"disabled",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"error",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"fixedMenuPosition",void 0);ke([(0,be.property)({type:Array})],de.prototype,"options",void 0);ke([(0,be.state)()],de.prototype,"selectedOption",void 0);ke([(0,be.state)()],de.prototype,"optionsDisplayed",void 0);ke([(0,be.state)()],de.prototype,"focusOptions",void 0);ke([(0,be.state)()],de.prototype,"currentSearch",void 0);ke([(0,be.state)()],de.prototype,"lastSearchInputDate",void 0);ke([(0,be.query)(".ft-select")],de.prototype,"container",void 0);ke([(0,be.query)(".ft-select--options")],de.prototype,"optionsMenu",void 0);ke([(0,be.query)(".ft-select--input-panel")],de.prototype,"mainPanel",void 0);ke([(0,be.query)(".ft-select--option:first-child")],de.prototype,"firstOption",void 0);ke([(0,be.query)(".ft-select--option:focus")],de.prototype,"focusedOption",void 0);ke([(0,be.query)(".ft-select--option.ft-select--option-selected")],de.prototype,"selectedOptionElement",void 0);ke([(0,be.query)(".ft-select--option:last-child")],de.prototype,"lastOption",void 0);ke([(0,be.query)("slot:not([name])")],de.prototype,"optionsSlot",void 0)});var kx=p(()=>{"use strict"});var Ip,Tx=p(()=>{"use strict";Ip=u(v());Lp();Lp();Hs();kx();(0,Ip.customElement)("ft-select")(de);(0,Ip.customElement)("ft-select-option")(zr)});var $x,xr,st,Px,Ws=p(()=>{"use strict";$x=u(R()),xr=u(v()),st={display:xr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:xr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:xr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:xr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:xr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:xr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:xr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:xr.FtCssVariableFactory.external(xr.designSystemVariables.borderRadiusM,"Design system")},Px=$x.css`
2928
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];(0,No.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",X.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var f;return((f=l.label)===null||f===void 0?void 0:f.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>(0,No.deepEqual)(i.value,e.value));if(r!==-1)return`option-${r}`}selectOption(e){var r,i;if(!(0,No.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":br,"ft-typography":Q,"ft-ripple":K,"ft-icon":me};de.searchTimeoutMilliseconds=2e3;de.styles=[uo,Er,Tx];ke([(0,be.property)({type:String})],de.prototype,"label",void 0);ke([(0,be.property)({type:String})],de.prototype,"ariaLabel",void 0);ke([(0,be.property)({type:String})],de.prototype,"helper",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"outlined",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"disabled",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"error",void 0);ke([(0,be.property)({type:Boolean})],de.prototype,"fixedMenuPosition",void 0);ke([(0,be.property)({type:Array})],de.prototype,"options",void 0);ke([(0,be.state)()],de.prototype,"selectedOption",void 0);ke([(0,be.state)()],de.prototype,"optionsDisplayed",void 0);ke([(0,be.state)()],de.prototype,"focusOptions",void 0);ke([(0,be.state)()],de.prototype,"currentSearch",void 0);ke([(0,be.state)()],de.prototype,"lastSearchInputDate",void 0);ke([(0,be.query)(".ft-select")],de.prototype,"container",void 0);ke([(0,be.query)(".ft-select--options")],de.prototype,"optionsMenu",void 0);ke([(0,be.query)(".ft-select--input-panel")],de.prototype,"mainPanel",void 0);ke([(0,be.query)(".ft-select--option:first-child")],de.prototype,"firstOption",void 0);ke([(0,be.query)(".ft-select--option:focus")],de.prototype,"focusedOption",void 0);ke([(0,be.query)(".ft-select--option.ft-select--option-selected")],de.prototype,"selectedOptionElement",void 0);ke([(0,be.query)(".ft-select--option:last-child")],de.prototype,"lastOption",void 0);ke([(0,be.query)("slot:not([name])")],de.prototype,"optionsSlot",void 0)});var Px=p(()=>{"use strict"});var $p,_x=p(()=>{"use strict";$p=u(v());Tp();Tp();Vs();Px();(0,$p.customElement)("ft-select")(de);(0,$p.customElement)("ft-select-option")(zr)});var Nx,xr,st,Bx,Gs=p(()=>{"use strict";Nx=u(R()),xr=u(v()),st={display:xr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:xr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:xr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:xr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:xr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:xr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:xr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:xr.FtCssVariableFactory.external(xr.designSystemVariables.borderRadiusM,"Design system")},Bx=Nx.css`
2929
2929
  :host {
2930
2930
  width: ${st.width};
2931
2931
  height: ${st.height};
@@ -2952,7 +2952,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2952
2952
  background-position: calc(100vw + ${st.glareWidth}) 0, calc(${st.glareWidth} * -1) 0;
2953
2953
  }
2954
2954
  }
2955
- `});var U,kp,D,_x,Nx,Vs=p(()=>{"use strict";U=u(v()),kp=u(R());Go();an();Hs();Ws();sa();ks();$s();jt();D={height:U.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:U.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",U.designSystemVariables.borderRadiusS),mobileOpenPosition:U.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:U.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:U.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:U.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:U.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:U.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:U.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:U.FtCssVariableFactory.external(U.designSystemVariables.colorSurface,"Design system"),colorOnSurface:U.FtCssVariableFactory.external(U.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:U.FtCssVariableFactory.external(U.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:U.FtCssVariableFactory.external(U.designSystemVariables.colorOutline,"Design system"),colorPrimary:U.FtCssVariableFactory.external(U.designSystemVariables.colorPrimary,"Design system"),elevation02:U.FtCssVariableFactory.external(U.designSystemVariables.elevation02,"Design system"),buttonColor:U.FtCssVariableFactory.external(j.color,"Button"),buttonRippleColor:U.FtCssVariableFactory.external(j.rippleColor,"Button"),activeItemBorderColor:U.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",U.designSystemVariables.colorPrimary)},_x=kp.css`
2955
+ `});var z,Pp,D,Dx,Fx,js=p(()=>{"use strict";z=u(v()),Pp=u(R());jo();cn();Vs();Gs();da();$s();_s();jt();D={height:z.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:z.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",z.designSystemVariables.borderRadiusS),mobileOpenPosition:z.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:z.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:z.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:z.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:z.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:z.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:z.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorSurface,"Design system"),colorOnSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:z.FtCssVariableFactory.external(z.designSystemVariables.colorOutline,"Design system"),colorPrimary:z.FtCssVariableFactory.external(z.designSystemVariables.colorPrimary,"Design system"),elevation02:z.FtCssVariableFactory.external(z.designSystemVariables.elevation02,"Design system"),buttonColor:z.FtCssVariableFactory.external(j.color,"Button"),buttonRippleColor:z.FtCssVariableFactory.external(j.rippleColor,"Button"),activeItemBorderColor:z.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",z.designSystemVariables.colorPrimary)},Dx=Pp.css`
2956
2956
  * {
2957
2957
  box-sizing: border-box;
2958
2958
  }
@@ -3000,8 +3000,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3000
3000
  }
3001
3001
 
3002
3002
  .ft-search-bar--skeleton {
3003
- ${(0,U.setVariable)(st.height,D.height)};
3004
- ${(0,U.setVariable)(st.borderRadiusM,D.borderRadius)};
3003
+ ${(0,z.setVariable)(st.height,D.height)};
3004
+ ${(0,z.setVariable)(st.borderRadiusM,D.borderRadius)};
3005
3005
  }
3006
3006
 
3007
3007
  .ft-search-bar--floating-panel-open .ft-search-bar {
@@ -3055,17 +3055,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3055
3055
  align-items: center;
3056
3056
  height: 100%;
3057
3057
 
3058
- ${(0,U.setVariable)(Rr.zIndex,`calc(${D.floatingZIndex} + 1)`)};
3058
+ ${(0,z.setVariable)(Rr.zIndex,`calc(${D.floatingZIndex} + 1)`)};
3059
3059
  }
3060
3060
 
3061
3061
  .ft-search-bar > ft-button,
3062
3062
  .ft-search-bar--actions ft-button {
3063
3063
  flex-shrink: 0;
3064
- ${(0,U.setVariable)(j.backgroundColor,"transparent")};
3064
+ ${(0,z.setVariable)(j.backgroundColor,"transparent")};
3065
3065
  }
3066
3066
 
3067
3067
  .ft-search-bar--left-action {
3068
- ${(0,U.setVariable)(j.borderRadius,`calc(${D.borderRadius} - 1px) 0 0 calc(${D.borderRadius} - 1px)`)};
3068
+ ${(0,z.setVariable)(j.borderRadius,`calc(${D.borderRadius} - 1px) 0 0 calc(${D.borderRadius} - 1px)`)};
3069
3069
  border-right: 1px solid ${D.colorOutline};
3070
3070
  height: 100%;
3071
3071
  }
@@ -3075,7 +3075,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3075
3075
  }
3076
3076
 
3077
3077
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
3078
- ${(0,U.setVariable)(j.borderRadius,`calc(${D.borderRadius} - 1px) 0 0 0`)};
3078
+ ${(0,z.setVariable)(j.borderRadius,`calc(${D.borderRadius} - 1px) 0 0 0`)};
3079
3079
  }
3080
3080
 
3081
3081
  .ft-search-bar .ft-search-bar--launch-search,
@@ -3089,9 +3089,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3089
3089
  }
3090
3090
 
3091
3091
  .ft-search-bar--left-action.ft-search-bar--content-locale {
3092
- ${(0,U.setVariable)(W.borderColor,"transparent")};
3093
- ${(0,U.setVariable)(W.borderRadius,`calc(${D.borderRadius} - 1px)`)};
3094
- ${(0,U.setVariable)(X.selectedOptionColor,D.buttonColor)};
3092
+ ${(0,z.setVariable)(W.borderColor,"transparent")};
3093
+ ${(0,z.setVariable)(W.borderRadius,`calc(${D.borderRadius} - 1px)`)};
3094
+ ${(0,z.setVariable)(X.selectedOptionColor,D.buttonColor)};
3095
3095
  }
3096
3096
 
3097
3097
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -3117,7 +3117,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3117
3117
  flex-direction: column;
3118
3118
  max-height: 100%;
3119
3119
  max-width: 100%;
3120
- color: ${It.colorOnSurface};
3120
+ color: ${kt.colorOnSurface};
3121
3121
  }
3122
3122
 
3123
3123
  [part="content-locale-selector"] > ft-radio-group {
@@ -3135,7 +3135,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3135
3135
  flex-shrink: 0;
3136
3136
  padding: 0 10px;
3137
3137
  margin-bottom: 8px;
3138
- ${(0,U.setVariable)(T.fontSize,"14px")};
3138
+ ${(0,z.setVariable)(T.fontSize,"14px")};
3139
3139
  }
3140
3140
 
3141
3141
  [part="content-locale-selector-label"] {
@@ -3143,18 +3143,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3143
3143
  flex-shrink: 1;
3144
3144
  flex-grow: 1;
3145
3145
  word-break: break-word;
3146
- ${(0,U.setVariable)(T.lineHeight,"22px")};
3147
- ${(0,U.setVariable)(T.fontWeight,"bold")};
3146
+ ${(0,z.setVariable)(T.lineHeight,"22px")};
3147
+ ${(0,z.setVariable)(T.fontWeight,"bold")};
3148
3148
  }
3149
3149
 
3150
- `,Nx=kp.css`
3150
+ `,Fx=Pp.css`
3151
3151
  .ft-search-bar--presets {
3152
3152
  min-width: 200px;
3153
3153
  }
3154
3154
 
3155
3155
  .ft-search-bar--desktop-menu .ft-search-bar--presets {
3156
3156
  margin-right: auto;
3157
- ${(0,U.setVariable)(X.optionsZIndex,"2")};
3157
+ ${(0,z.setVariable)(X.optionsZIndex,"2")};
3158
3158
  }
3159
3159
 
3160
3160
  .ft-search-bar--desktop-menu {
@@ -3208,7 +3208,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3208
3208
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
3209
3209
  display: block;
3210
3210
  height: ${D.desktopFiltersHeight};
3211
- ${(0,U.setVariable)(yt.gap,"16px")};
3211
+ ${(0,z.setVariable)(bt.gap,"16px")};
3212
3212
  }
3213
3213
 
3214
3214
  .ft-search-bar--desktop-menu ft-filter {
@@ -3223,15 +3223,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3223
3223
  }
3224
3224
 
3225
3225
  .ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
3226
- max-width: calc(50% - ${yt.gap} / 2);
3226
+ max-width: calc(50% - ${bt.gap} / 2);
3227
3227
  }
3228
3228
 
3229
3229
  .ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
3230
- max-width: max(250px, calc(33% - 2 * ${yt.gap} / 3));
3230
+ max-width: max(250px, calc(33% - 2 * ${bt.gap} / 3));
3231
3231
  }
3232
3232
 
3233
3233
  .ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
3234
- max-width: max(250px, calc(25% - 3 * ${yt.gap} / 4));
3234
+ max-width: max(250px, calc(25% - 3 * ${bt.gap} / 4));
3235
3235
  }
3236
3236
 
3237
3237
  .ft-search-bar--hierarchical-filter {
@@ -3308,16 +3308,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3308
3308
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3309
3309
  margin: 0;
3310
3310
  }
3311
- `});var Bx,Dx,No,Tp=p(()=>{"use strict";Bx=u(R()),Dx=u(v());Ws();No=class extends Dx.FtLitElement{render(){return Bx.html`
3312
- `}};No.elementDefinitions={};No.styles=Px});var Fx=p(()=>{"use strict"});var Mx,zx=p(()=>{"use strict";Mx=u(v());Tp();Tp();Ws();Fx();(0,Mx.customElement)("ft-skeleton")(No)});var Ur,$p,sn,Hr,Gs=p(()=>{"use strict";Ur=u(R()),$p=u(to());Jt();sn=u(v());Vs();gt();Hr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new sn.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Ur.html`
3311
+ `});var Mx,Ux,Bo,_p=p(()=>{"use strict";Mx=u(R()),Ux=u(v());Gs();Bo=class extends Ux.FtLitElement{render(){return Mx.html`
3312
+ `}};Bo.elementDefinitions={};Bo.styles=Bx});var zx=p(()=>{"use strict"});var Hx,Wx=p(()=>{"use strict";Hx=u(v());_p();_p();Gs();zx();(0,Hx.customElement)("ft-skeleton")(Bo)});var Hr,Np,dn,Wr,Ks=p(()=>{"use strict";Hr=u(R()),Np=u(ro());Jt();dn=u(v());js();gt();Wr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new dn.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Hr.html`
3313
3313
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3314
3314
  id="${this.listboxId}"
3315
3315
  role="listbox"
3316
3316
  aria-label="${this.searchBar.labelResolver.resolve("suggestionsAriaLabel")}"
3317
3317
  part="suggestions-container">
3318
- ${(0,$p.repeat)(e.slice(0,5),r=>r,(r,i)=>Ur.html`
3318
+ ${(0,Np.repeat)(e.slice(0,5),r=>r,(r,i)=>Hr.html`
3319
3319
  <div part="suggestion-container"
3320
- class="${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Ur.nothing}">
3320
+ class="${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Hr.nothing}">
3321
3321
  <a href="${this.getRequestWithQuery(r)}"
3322
3322
  part="suggestions"
3323
3323
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
@@ -3344,9 +3344,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3344
3344
  </ft-button>
3345
3345
  </div>
3346
3346
  `)}
3347
- ${(0,$p.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Ur.html`
3347
+ ${(0,Np.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Hr.html`
3348
3348
  <div part="suggestion-container"
3349
- class="${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Ur.nothing}">
3349
+ class="${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Hr.nothing}">
3350
3350
  <a href="${this.getRequestWithQuery(r.value)}"
3351
3351
  part="suggestions"
3352
3352
  class="ft-search-bar--suggestion"
@@ -3362,9 +3362,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3362
3362
  </div>
3363
3363
  `)}
3364
3364
  </div>
3365
- `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ye.file_format:Ye.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?De.BOOK:De.ARTICLE;break;case"DOCUMENT":i=os(e.mimeType,e.filenameExtension);break;case"TOPIC":i=De.TOPICS;break;case"HTML_PACKAGE":i=De.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=De.FILE_CODE;break}return Ur.html`
3365
+ `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ye.file_format:Ye.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?De.BOOK:De.ARTICLE;break;case"DOCUMENT":i=as(e.mimeType,e.filenameExtension);break;case"TOPIC":i=De.TOPICS;break;case"HTML_PACKAGE":i=De.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=De.FILE_CODE;break}return Hr.html`
3366
3366
  <ft-icon .variant=${r} .value=${i} part="suggestion-icon"></ft-icon>
3367
- `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};Hr.styles=[sn.wordWrap,Ur.css`
3367
+ `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};Wr.styles=[dn.wordWrap,Hr.css`
3368
3368
  .ft-search-bar--mobile .ft-search-bar--suggestions {
3369
3369
  flex-grow: 1;
3370
3370
  flex-shrink: 1;
@@ -3452,10 +3452,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3452
3452
  }
3453
3453
 
3454
3454
  ft-ripple {
3455
- ${(0,sn.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3455
+ ${(0,dn.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3456
3456
  }
3457
- `]});var bt,Pp,js,Wr,Ks=p(()=>{"use strict";bt=u(R()),Pp=u(to());zd();js=u(v());Ts();yp();Wr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return bt.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=bt.html`
3458
- ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?bt.html`
3457
+ `]});var xt,Bp,qs,Vr,Zs=p(()=>{"use strict";xt=u(R()),Bp=u(ro());Wd();qs=u(v());Ps();vp();Vr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return xt.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=xt.html`
3458
+ ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?xt.html`
3459
3459
  <ft-chip part="selected-filters selected-filter-ft-locale"
3460
3460
  ?dense=${this.searchBar.dense&&!e}
3461
3461
  ?clickable=${e}
@@ -3465,46 +3465,46 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3465
3465
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3466
3466
  </ft-chip>
3467
3467
  `:null}
3468
- ${(0,Pp.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=cb(n);return(0,Pp.repeat)(a,s=>{let l=n.label+": "+ab(s),f=n.key.replace(":","-"),h=bt.html`
3468
+ ${(0,Bp.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ub(n);return(0,Bp.repeat)(a,s=>{let l=n.label+": "+cb(s),f=n.key.replace(":","-"),h=xt.html`
3469
3469
  <ft-chip
3470
3470
  part="selected-filters selected-filter-${f}"
3471
3471
  ?dense=${this.searchBar.dense&&!e}
3472
3472
  ?clickable=${e}
3473
3473
  ?removable=${!e}
3474
- icon=${e?bt.nothing:"close"}
3474
+ icon=${e?xt.nothing:"close"}
3475
3475
  label="${l}"
3476
- title=${r?l:bt.nothing}
3476
+ title=${r?l:xt.nothing}
3477
3477
  @click=${()=>this.openMobileFilters(n.key)}
3478
3478
  @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(y=>y!==s))}
3479
3479
  data-key="${n.key}"
3480
3480
  data-value="${s}">
3481
- ${nb(s)}
3481
+ ${lb(s)}
3482
3482
  </ft-chip>
3483
- `;return r?h:bt.html`
3483
+ `;return r?h:xt.html`
3484
3484
  <ft-tooltip inline text="${l}">
3485
3485
  ${h}
3486
3486
  </ft-tooltip>
3487
3487
  `})})}
3488
- ${e?bt.html`
3488
+ ${e?xt.html`
3489
3489
  <ft-chip part="selected-filters mobile-filters-opener"
3490
3490
  icon="plus"
3491
3491
  clickable
3492
3492
  @click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
3493
3493
  ${this.searchBar.labelResolver.resolve("filtersButton")}
3494
3494
  </ft-chip>
3495
- `:bt.nothing}
3496
- `;return r?bt.html`
3495
+ `:xt.nothing}
3496
+ `;return r?xt.html`
3497
3497
  <ft-snap-scroll horizontal controls hideScrollbar limitSize
3498
3498
  class="ft-search-bar--selected-filters"
3499
3499
  part="selected-filters-container"
3500
3500
  exportpartsPrefix="selected-filters-container">
3501
3501
  ${i}
3502
3502
  </ft-snap-scroll>
3503
- `:bt.html`
3503
+ `:xt.html`
3504
3504
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
3505
3505
  ${i}
3506
3506
  </div>
3507
- `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&r!==void 0?r:e}};Wr.styles=bt.css`
3507
+ `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&r!==void 0?r:e}};Vr.styles=xt.css`
3508
3508
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
3509
3509
  flex-shrink: 0;
3510
3510
  display: flex;
@@ -3515,7 +3515,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3515
3515
 
3516
3516
  ft-snap-scroll.ft-search-bar--selected-filters {
3517
3517
  overflow: hidden;
3518
- ${(0,js.setVariable)(yt.gap,"4px")};
3518
+ ${(0,qs.setVariable)(bt.gap,"4px")};
3519
3519
  }
3520
3520
 
3521
3521
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -3523,8 +3523,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3523
3523
  }
3524
3524
 
3525
3525
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
3526
- ${(0,js.setVariable)(at.iconSize,"17px")};
3527
- ${(0,js.setVariable)(at.fontSize,"12px")};
3526
+ ${(0,qs.setVariable)(at.iconSize,"17px")};
3527
+ ${(0,qs.setVariable)(at.fontSize,"12px")};
3528
3528
  }
3529
3529
 
3530
3530
  .ft-search-bar--selected-filters * {
@@ -3534,8 +3534,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3534
3534
  .ft-search-bar--selected-filters ft-chip {
3535
3535
  flex-grow: 0;
3536
3536
  }
3537
- `});var vr,Ux,Xn,Hx=p(()=>{"use strict";vr=u(R());Ks();Gs();Ux=u(Ct()),Xn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Wr(e),this.suggestManager=i??new Hr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return vr.html`
3538
- <div class="${(0,Ux.classMap)(r)}" part="container" tabindex="-1">
3537
+ `});var vr,Vx,ta,Gx=p(()=>{"use strict";vr=u(R());Zs();Ks();Vx=u(Ot()),ta=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Vr(e),this.suggestManager=i??new Wr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return vr.html`
3538
+ <div class="${(0,Vx.classMap)(r)}" part="container" tabindex="-1">
3539
3539
  <div class="ft-search-bar" role="search">
3540
3540
  <div class="ft-search-bar--input-container" part="input-container">
3541
3541
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -3591,21 +3591,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3591
3591
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
3592
3592
  ></ft-button>
3593
3593
  </div>
3594
- `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Xn.styles=vr.css`
3594
+ `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};ta.styles=vr.css`
3595
3595
 
3596
- `});var xt,Wx,Vx,Jn,Gx=p(()=>{"use strict";xt=u(R()),Wx=u(to());Ks();Gs();Vx=u(Ct()),Jn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Wr(e),this.suggestManager=i??new Hr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return xt.html`
3597
- <div class="${(0,Vx.classMap)(r)}" part="container" tabindex="-1">
3596
+ `});var vt,jx,Kx,ra,qx=p(()=>{"use strict";vt=u(R()),jx=u(ro());Zs();Ks();Kx=u(Ot()),ra=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Vr(e),this.suggestManager=i??new Wr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return vt.html`
3597
+ <div class="${(0,Kx.classMap)(r)}" part="container" tabindex="-1">
3598
3598
  <div class="ft-search-bar" part="search-bar" role="search">
3599
3599
  ${this.renderSearchBarLeftAction()}
3600
3600
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
3601
3601
  <div class="ft-search-bar--input-outline" part="input-outline">
3602
- ${this.searchBar.dense?this.selectedFacetsManager.render():xt.nothing}
3602
+ ${this.searchBar.dense?this.selectedFacetsManager.render():vt.nothing}
3603
3603
  <input class="ft-search-bar--input ft-typography--body2"
3604
3604
  role="combobox"
3605
3605
  aria-autocomplete="list"
3606
3606
  aria-controls="${this.suggestManager.listboxId}"
3607
3607
  aria-expanded="${this.searchBar.displaySuggestListbox}"
3608
- aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:xt.nothing}"
3608
+ aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:vt.nothing}"
3609
3609
  part="input"
3610
3610
  type="search"
3611
3611
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
@@ -3620,9 +3620,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3620
3620
  ${this.renderDesktopSearchBarButtons()}
3621
3621
  ${this.searchBar.renderDesktopFloatingMenu()}
3622
3622
  </div>
3623
- ${this.searchBar.dense?xt.nothing:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
3623
+ ${this.searchBar.dense?vt.nothing:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
3624
3624
  </div>
3625
- `}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?xt.nothing:xt.html`
3625
+ `}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?vt.nothing:vt.html`
3626
3626
  <ft-button class="ft-search-bar--filters-opener ft-search-bar--left-action"
3627
3627
  part="filters-opener"
3628
3628
  trailingIcon
@@ -3634,24 +3634,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3634
3634
  >
3635
3635
  ${this.searchBar.labelResolver.resolve("filtersButton")}
3636
3636
  </ft-button>
3637
- `:this.searchBar.hasLocaleSelector()?xt.html`
3637
+ `:this.searchBar.hasLocaleSelector()?vt.html`
3638
3638
  <ft-select outlined
3639
3639
  class="ft-search-bar--content-locale ft-search-bar--left-action"
3640
3640
  part="content-locale select-ft-locale"
3641
3641
  ariaLabel="${this.searchBar.labelResolver.resolve("selectLocale")}"
3642
3642
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
3643
3643
  @change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
3644
- ${(0,Wx.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>xt.html`
3644
+ ${(0,jx.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>vt.html`
3645
3645
  <ft-select-option .value=${e.lang}
3646
3646
  label="${e.label}"
3647
3647
  ?selected=${e.lang==this.searchBar.contentLocale}>
3648
3648
  </ft-select-option>
3649
3649
  `)}
3650
3650
  </ft-select>
3651
- `:xt.nothing}renderDesktopSearchBarButtons(){return xt.html`
3651
+ `:vt.nothing}renderDesktopSearchBarButtons(){return vt.html`
3652
3652
  <div class="ft-search-bar--actions"
3653
3653
  part="search-bar-actions">
3654
- ${this.searchBar.query?xt.html`
3654
+ ${this.searchBar.query?vt.html`
3655
3655
  <ft-button class="ft-search-bar--clear-query"
3656
3656
  part="clear-query"
3657
3657
  icon="close"
@@ -3670,9 +3670,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3670
3670
  @click=${()=>this.searchBar.onLaunchSearch()}
3671
3671
  ></ft-button>
3672
3672
  </div>
3673
- `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Jn.styles=xt.css`
3673
+ `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};ra.styles=vt.css`
3674
3674
 
3675
- `});var ce,te,ea,xe,J,jx,_p,kS,z,Np=p(()=>{"use strict";ce=u(R()),te=u(H()),ea=u(to()),xe=u(v());ib();Pe();zd();Kb();Jt();ix();tr();yp();Tx();Ts();ts();gt();Vs();zx();Gs();Ks();Hx();Gx();Yd();$r();J=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");jx={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},_p=class extends CustomEvent{constructor(e){super("change",{detail:e})}},kS=()=>{},z=class extends xe.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new xe.ParametrizedLabelResolver(jx,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xe.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=or.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new Hr(this),this.selectedFacetsManager=new Wr(this),this.desktopSearchBarManager=new Jn(this),this.mobileSearchBarManager=new Xn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new xe.Debouncer(10),this.updateLocalesDebouncer=new xe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new xe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===or.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,xe.waitFor)(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ce.html`
3675
+ `});var ce,te,oa,xe,J,Zx,Dp,$0,U,Fp=p(()=>{"use strict";ce=u(R()),te=u(H()),oa=u(ro()),xe=u(v());sb();Pe();Wd();Qb();Jt();sx();tr();vp();_x();Ps();is();gt();js();Wx();Ks();Zs();Gx();qx();ep();$r();J=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");Zx={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Dp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},$0=()=>{},U=class extends xe.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new xe.ParametrizedLabelResolver(Zx,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xe.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=or.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new Wr(this),this.selectedFacetsManager=new Vr(this),this.desktopSearchBarManager=new ra(this),this.mobileSearchBarManager=new ta(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new xe.Debouncer(10),this.updateLocalesDebouncer=new xe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new xe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===or.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,xe.waitFor)(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ce.html`
3676
3676
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3677
3677
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3678
3678
  ${this.renderLiveText()}
@@ -3700,7 +3700,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3700
3700
  </div>
3701
3701
  </ft-accordion-item>
3702
3702
  `:null}
3703
- ${(0,ea.repeat)(this.facets,r=>r.key,r=>{let i=Md(r),n=r.key.replace(":","-"),a=lb(i);return r.rootNodes.length>0?ce.html`
3703
+ ${(0,oa.repeat)(this.facets,r=>r.key,r=>{let i=Hd(r),n=r.key.replace(":","-"),a=pb(i);return r.rootNodes.length>0?ce.html`
3704
3704
  <ft-accordion-item data-facet-key="${r.key}">
3705
3705
  <div class="ft-search-bar--filter-label" slot="toggle">
3706
3706
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -3730,7 +3730,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3730
3730
  `}getContentLocaleRadioGroup(){var e;return ce.html`
3731
3731
  <ft-radio-group aria-labelledby="content_locale_radio_group_label"
3732
3732
  @change=${r=>{this.contentLocale=r.detail==="all"?void 0:r.detail,this.clearFilters()}}>
3733
- ${(0,ea.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var i;return ce.html`
3733
+ ${(0,oa.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var i;return ce.html`
3734
3734
  <ft-radio value="${(i=r.lang)!==null&&i!==void 0?i:"all"}"
3735
3735
  ?checked=${r.lang==this.contentLocale}>
3736
3736
  ${r.label}
@@ -3761,7 +3761,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3761
3761
  label="${this.labelResolver.resolve("presetsSelector")}"
3762
3762
  outlined
3763
3763
  @change=${r=>this.selectedPreset=r.detail}>
3764
- ${(0,ea.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>ce.html`
3764
+ ${(0,oa.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>ce.html`
3765
3765
  <ft-select-option value="${r.name}"
3766
3766
  label="${r.name}"
3767
3767
  ?selected=${r.name===this.selectedPreset}>
@@ -3793,7 +3793,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3793
3793
  ${this.getContentLocaleRadioGroup()}
3794
3794
  </div>
3795
3795
  `:ce.nothing}
3796
- ${(0,ea.repeat)(this.facets,e=>e.key,e=>{let r=Md(e),i=r.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return ce.html`
3796
+ ${(0,oa.repeat)(this.facets,e=>e.key,e=>{let r=Hd(e),i=r.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return ce.html`
3797
3797
  <ft-filter
3798
3798
  class="${i?"ft-search-bar--hierarchical-filter":""}"
3799
3799
  part="filters filter filter-${n}"
@@ -3812,14 +3812,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3812
3812
  ></ft-filter>
3813
3813
  `})}
3814
3814
  </ft-snap-scroll>
3815
- `:ce.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new xe.ParametrizedLabelResolver(jx,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=f=>this.availableContentLocales.some(h=>h.lang==f);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(f=>{f.valueFilter&&(f.valueFilter.values=f.valueFilter.values.map(h=>ws(h)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(f=>f.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new _p(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(kS)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!xe.isTouchScreen&&this.focusInput(),k.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),k.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,xe.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,xe.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?ce.nothing:ce.html`
3815
+ `:ce.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new xe.ParametrizedLabelResolver(Zx,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=f=>this.availableContentLocales.some(h=>h.lang==f);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(f=>{f.valueFilter&&(f.valueFilter.values=f.valueFilter.values.map(h=>As(h)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(f=>f.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Dp(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch($0)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!xe.isTouchScreen&&this.focusInput(),k.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),k.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,xe.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,xe.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?ce.nothing:ce.html`
3816
3816
  <div class="ft-search-bar--floating-panel"
3817
3817
  id="ft-search-bar-floating-panel"
3818
3818
  @keyup=${this.onFloatingContainerKeyUp}
3819
3819
  part="floating-panel"
3820
3820
  tabindex="-1">
3821
3821
  ${this.renderDesktopMenu()}
3822
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};z.elementDefinitions={"ft-accordion":Mr,"ft-accordion-item":ar,"ft-button":Ie,"ft-chip":Ne,"ft-filter":se,"ft-filter-option":zt,"ft-icon":me,"ft-ripple":K,"ft-select":de,"ft-select-option":zr,"ft-size-watcher":Bt,"ft-skeleton":No,"ft-snap-scroll":Ue,"ft-tooltip":Be,"ft-typography":Q,"ft-radio-group":di,"ft-radio":Dr};z.styles=[po,xe.noTextInputDefaultClearButton,_x,Nx,Wr.styles,Hr.styles,xe.screenReaderStyles];J([(0,te.property)({type:Boolean})],z.prototype,"dense",void 0);J([(0,te.property)()],z.prototype,"mode",void 0);J([(0,te.property)({type:Boolean})],z.prototype,"forceMobileMenuOpen",void 0);J([(0,te.property)({type:Boolean})],z.prototype,"forceMenuOpen",void 0);J([(0,te.property)()],z.prototype,"baseUrl",void 0);J([(0,te.property)()],z.prototype,"apiIntegrationIdentifier",void 0);J([(0,te.property)()],z.prototype,"contentLocale",void 0);J([(0,te.state)()],z.prototype,"availableContentLocales",void 0);J([(0,te.state)()],z.prototype,"availableContentLocalesInitialized",void 0);J([(0,te.property)()],z.prototype,"uiLocale",void 0);J([(0,xe.jsonProperty)({})],z.prototype,"labels",void 0);J([(0,xe.jsonProperty)([])],z.prototype,"displayedFilters",void 0);J([(0,xe.jsonProperty)([])],z.prototype,"presets",void 0);J([(0,te.property)({type:String,reflect:!0})],z.prototype,"selectedPreset",void 0);J([(0,xe.jsonProperty)([])],z.prototype,"priors",void 0);J([(0,te.property)()],z.prototype,"searchRequestSerializer",void 0);J([(0,te.property)({type:Boolean})],z.prototype,"focusOnDisplay",void 0);J([(0,te.state)()],z.prototype,"metadataFilters",void 0);J([(0,te.state)()],z.prototype,"sizeCategory",void 0);J([(0,te.state)()],z.prototype,"displayFacets",void 0);J([(0,te.state)()],z.prototype,"mobileMenuOpen",void 0);J([(0,te.state)()],z.prototype,"facets",void 0);J([(0,te.state)()],z.prototype,"facetsInitialized",void 0);J([(0,te.query)(".ft-search-bar--container")],z.prototype,"container",void 0);J([(0,te.query)(".ft-search-bar--filters-opener")],z.prototype,"filtersOpener",void 0);J([(0,te.query)(".ft-search-bar--floating-panel")],z.prototype,"floatingContainer",void 0);J([(0,te.query)("ft-snap-scroll.ft-search-bar--filters-container")],z.prototype,"scrollingFiltersContainer",void 0);J([(0,te.query)(".ft-search-bar--input")],z.prototype,"input",void 0);J([(0,te.query)(".ft-search-bar--launch-search")],z.prototype,"launchSearchButton",void 0);J([(0,te.state)()],z.prototype,"query",void 0);J([(0,te.state)()],z.prototype,"suggestions",void 0);J([(0,te.state)()],z.prototype,"recentSearches",void 0);J([(0,te.state)()],z.prototype,"scrollToFacet",void 0);J([(0,te.state)()],z.prototype,"api",void 0);J([(0,te.state)()],z.prototype,"displaySuggestListbox",void 0);J([(0,te.state)()],z.prototype,"selectedSuggestOptionId",void 0);J([(0,te.state)()],z.prototype,"selectedSuggestRemoveRecent",void 0);J([(0,te.state)()],z.prototype,"facetsLoaded",void 0)});var Kx=p(()=>{"use strict"});var qx,Zx=p(()=>{"use strict";qx=u(v());Np();Np();Vs();Kx();(0,qx.customElement)("ft-search-bar")(z)});var Qx,Yx,Xx,Jx=p(()=>{"use strict";Qx=u(R());Dn();Yx=u(v());gt();Zx();Xx=Qx.css`
3822
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};U.elementDefinitions={"ft-accordion":Ur,"ft-accordion-item":ar,"ft-button":Ie,"ft-chip":Ne,"ft-filter":se,"ft-filter-option":Ut,"ft-icon":me,"ft-ripple":K,"ft-select":de,"ft-select-option":zr,"ft-size-watcher":Bt,"ft-skeleton":Bo,"ft-snap-scroll":ze,"ft-tooltip":Be,"ft-typography":Q,"ft-radio-group":pi,"ft-radio":Fr};U.styles=[uo,xe.noTextInputDefaultClearButton,Dx,Fx,Vr.styles,Wr.styles,xe.screenReaderStyles];J([(0,te.property)({type:Boolean})],U.prototype,"dense",void 0);J([(0,te.property)()],U.prototype,"mode",void 0);J([(0,te.property)({type:Boolean})],U.prototype,"forceMobileMenuOpen",void 0);J([(0,te.property)({type:Boolean})],U.prototype,"forceMenuOpen",void 0);J([(0,te.property)()],U.prototype,"baseUrl",void 0);J([(0,te.property)()],U.prototype,"apiIntegrationIdentifier",void 0);J([(0,te.property)()],U.prototype,"contentLocale",void 0);J([(0,te.state)()],U.prototype,"availableContentLocales",void 0);J([(0,te.state)()],U.prototype,"availableContentLocalesInitialized",void 0);J([(0,te.property)()],U.prototype,"uiLocale",void 0);J([(0,xe.jsonProperty)({})],U.prototype,"labels",void 0);J([(0,xe.jsonProperty)([])],U.prototype,"displayedFilters",void 0);J([(0,xe.jsonProperty)([])],U.prototype,"presets",void 0);J([(0,te.property)({type:String,reflect:!0})],U.prototype,"selectedPreset",void 0);J([(0,xe.jsonProperty)([])],U.prototype,"priors",void 0);J([(0,te.property)()],U.prototype,"searchRequestSerializer",void 0);J([(0,te.property)({type:Boolean})],U.prototype,"focusOnDisplay",void 0);J([(0,te.state)()],U.prototype,"metadataFilters",void 0);J([(0,te.state)()],U.prototype,"sizeCategory",void 0);J([(0,te.state)()],U.prototype,"displayFacets",void 0);J([(0,te.state)()],U.prototype,"mobileMenuOpen",void 0);J([(0,te.state)()],U.prototype,"facets",void 0);J([(0,te.state)()],U.prototype,"facetsInitialized",void 0);J([(0,te.query)(".ft-search-bar--container")],U.prototype,"container",void 0);J([(0,te.query)(".ft-search-bar--filters-opener")],U.prototype,"filtersOpener",void 0);J([(0,te.query)(".ft-search-bar--floating-panel")],U.prototype,"floatingContainer",void 0);J([(0,te.query)("ft-snap-scroll.ft-search-bar--filters-container")],U.prototype,"scrollingFiltersContainer",void 0);J([(0,te.query)(".ft-search-bar--input")],U.prototype,"input",void 0);J([(0,te.query)(".ft-search-bar--launch-search")],U.prototype,"launchSearchButton",void 0);J([(0,te.state)()],U.prototype,"query",void 0);J([(0,te.state)()],U.prototype,"suggestions",void 0);J([(0,te.state)()],U.prototype,"recentSearches",void 0);J([(0,te.state)()],U.prototype,"scrollToFacet",void 0);J([(0,te.state)()],U.prototype,"api",void 0);J([(0,te.state)()],U.prototype,"displaySuggestListbox",void 0);J([(0,te.state)()],U.prototype,"selectedSuggestOptionId",void 0);J([(0,te.state)()],U.prototype,"selectedSuggestRemoveRecent",void 0);J([(0,te.state)()],U.prototype,"facetsLoaded",void 0)});var Qx=p(()=>{"use strict"});var Yx,Xx=p(()=>{"use strict";Yx=u(v());Fp();Fp();js();Qx();(0,Yx.customElement)("ft-search-bar")(U)});var Jx,ev,tv,rv=p(()=>{"use strict";Jx=u(R());Un();ev=u(v());gt();Xx();tv=Jx.css`
3823
3823
  * {
3824
3824
  box-sizing: border-box;
3825
3825
  }
@@ -3866,21 +3866,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3866
3866
  }
3867
3867
 
3868
3868
  ft-ripple {
3869
- ${(0,Yx.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3869
+ ${(0,ev.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3870
3870
  }
3871
- `});var ev,ln,tv,Bo,rv=p(()=>{"use strict";ev=u(v()),ln=u(R());Jx();tv=u(to());Jt();gt();Pe();$r();Pd();Bo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Jr.get();return ln.html`
3871
+ `});var ov,pn,iv,Do,nv=p(()=>{"use strict";ov=u(v()),pn=u(R());rv();iv=u(ro());Jt();gt();Pe();$r();Bd();Do=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=eo.get();return pn.html`
3872
3872
  <div class="ft-search-input-suggestion ft-word-wrap"
3873
3873
  id="${this.listboxId}"
3874
3874
  role="listbox"
3875
- aria-label="${Ro.messages.suggestionsLabel()}"
3875
+ aria-label="${Lo.messages.suggestionsLabel()}"
3876
3876
  part="container">
3877
- ${(0,tv.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3877
+ ${(0,iv.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3878
3878
  </div>
3879
- `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=ln.html`
3879
+ `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=pn.html`
3880
3880
  <ft-ripple ?activated=${this.ftSearchInput.selectedSuggestOptionId===n}></ft-ripple>
3881
3881
  ${this.getIcon(r)}
3882
3882
  <ft-typography variant="body1">${r.value}</ft-typography>
3883
- `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},l=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return ln.html`
3883
+ `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},l=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return pn.html`
3884
3884
  <a href="${l}"
3885
3885
  part="suggestion"
3886
3886
  class="ft-search-input-suggestion--suggestion"
@@ -3892,7 +3892,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3892
3892
  @click=${()=>this.onSuggestSelected(r.value)}>
3893
3893
  ${a}
3894
3894
  </a>
3895
- `}return ln.html`
3895
+ `}return pn.html`
3896
3896
  <div part="suggestion"
3897
3897
  class="ft-search-input-suggestion--suggestion"
3898
3898
  role="option"
@@ -3902,10 +3902,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3902
3902
  @click=${()=>this.onSuggestSelected(r.value)}>
3903
3903
  ${a}
3904
3904
  </div>
3905
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Ye.file_format:Ye.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?De.BOOK:De.ARTICLE;break;case"DOCUMENT":i=os(e.mimeType,e.filenameExtension);break;case"TOPIC":i=De.TOPICS;break;case"HTML_PACKAGE":i=De.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=De.FILE_CODE;break}return ln.html`
3905
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Ye.file_format:Ye.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?De.BOOK:De.ARTICLE;break;case"DOCUMENT":i=as(e.mimeType,e.filenameExtension);break;case"TOPIC":i=De.TOPICS;break;case"HTML_PACKAGE":i=De.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=De.FILE_CODE;break}return pn.html`
3906
3906
  <ft-icon .variant=${r} .value=${i} part="suggestion-icon"></ft-icon>
3907
- `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};Bo.elementDefinitions={"ft-ripple":K,"ft-typography":Q,"ft-icon":me};Bo.styles=[ev.wordWrap,Xx]});var cn,lr,Ht,ov,Ut,We,Bp=p(()=>{"use strict";cn=u(R()),lr=u(v());Dn();li();Qt();Pd();Ht=u(H()),ov=u(Ct());rv();tr();Pe();$r();Ut=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},We=class extends Et(rr){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.placeholder=Ro.messages.placeholder(),this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Bo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Ro)}render(){var e,r,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=Jr.get().serializeToCurrentPageIfPossible(a,s);return cn.html`
3908
- <div class="${(0,ov.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3907
+ `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};Do.elementDefinitions={"ft-ripple":K,"ft-typography":Q,"ft-icon":me};Do.styles=[ov.wordWrap,tv]});var un,lr,Ht,av,zt,We,Mp=p(()=>{"use strict";un=u(R()),lr=u(v());Un();ci();Qt();Bd();Ht=u(H()),av=u(Ot());nv();tr();Pe();$r();zt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},We=class extends At(rr){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.placeholder=Lo.messages.placeholder(),this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Do(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Lo)}render(){var e,r,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=eo.get().serializeToCurrentPageIfPossible(a,s);return un.html`
3908
+ <div class="${(0,av.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3909
3909
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3910
3910
  <div class="ft-search-input--input-outline" part="input-outline">
3911
3911
  <input class="ft-search-input--input ft-typography--body2"
@@ -3917,7 +3917,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3917
3917
  aria-autocomplete="list"
3918
3918
  aria-controls="${this.suggestions.listboxId}"
3919
3919
  aria-expanded="${this.displaySuggestListbox}"
3920
- aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:cn.nothing}"
3920
+ aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:un.nothing}"
3921
3921
  @input=${this.onInput}
3922
3922
  @click=${this.onClick}
3923
3923
  @focus=${this.onFocus}
@@ -3927,16 +3927,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3927
3927
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3928
3928
  ${this.renderLiveText()}
3929
3929
  </div>
3930
- ${this.shouldDisplaySuggestions?this.suggestions.render():cn.nothing}
3930
+ ${this.shouldDisplaySuggestions?this.suggestions.render():un.nothing}
3931
3931
  </div>
3932
3932
  <div class="ft-search-input--actions" part="actions">
3933
- ${this.liveQuery?cn.html`
3933
+ ${this.liveQuery?un.html`
3934
3934
  <ft-button id="clear-button"
3935
3935
  class="ft-search-input--clear-query"
3936
3936
  part="clear-query"
3937
3937
  icon="close"
3938
3938
  round dense
3939
- label="${Ro.messages.clearButton()}"
3939
+ label="${Lo.messages.clearButton()}"
3940
3940
  @click=${()=>this.onClearInput()}
3941
3941
  ></ft-button>
3942
3942
  <div class="ft-search-input--separator"></div>
@@ -3945,65 +3945,65 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3945
3945
  part="launch-search-in-input"
3946
3946
  icon="search"
3947
3947
  round dense
3948
- label="${Ro.messages.searchButton()}"
3948
+ label="${Lo.messages.searchButton()}"
3949
3949
  href="${this.useCustomSearchPath?l:""}"
3950
3950
  @click=${()=>this.launchSearch(this.liveQuery)}
3951
3951
  ></ft-button>
3952
3952
  </div>
3953
3953
  </div>
3954
- `}renderLiveText(){return this.shouldDisplaySuggestions?Ro.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await(0,lr.waitFor)(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!lr.isTouchScreen&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};We.elementDefinitions={"ft-button":Ie,...Bo.elementDefinitions};We.styles=[po,lr.noTextInputDefaultClearButton,yd,...Bo.styles,lr.screenReaderStyles];Ut([(0,lr.redux)()],We.prototype,"request",void 0);Ut([(0,lr.redux)()],We.prototype,"liveQuery",void 0);Ut([(0,lr.redux)()],We.prototype,"suggestResults",void 0);Ut([(0,Ht.state)()],We.prototype,"forceCloseSuggestion",void 0);Ut([(0,Ht.state)()],We.prototype,"displaySuggestListbox",void 0);Ut([(0,Ht.state)()],We.prototype,"selectedSuggestOptionId",void 0);Ut([(0,Ht.property)()],We.prototype,"launchSearchPath",void 0);Ut([(0,Ht.property)()],We.prototype,"placeholder",void 0);Ut([(0,Ht.property)({type:Boolean})],We.prototype,"useCustomSearchPath",void 0);Ut([(0,Ht.property)({type:Boolean})],We.prototype,"triggerSearchOnClear",void 0);Ut([(0,Ht.property)({type:Boolean})],We.prototype,"focusOnDisplay",void 0);Ut([(0,Ht.query)(".ft-search-input--input")],We.prototype,"input",void 0);Ut([(0,Ht.query)('[part="launch-search-in-input"]')],We.prototype,"launchSearchButton",void 0)});var iv=p(()=>{"use strict"});var av={};Uo(av,{FtSearchInput:()=>We,FtSearchInputCssVariables:()=>ge,styles:()=>yd});var nv,sv=p(()=>{"use strict";nv=u(v());Bp();Dn();iv();Bp();(0,nv.customElement)("ft-search-input")(We)});var lv,TS,Dp,Fp=p(()=>{"use strict";lv=u(R()),TS={},Dp=lv.css`
3955
- `});var Mp,cv=p(()=>{"use strict";Qt();Mp=Pr.fromGwt("designedActionBlockAriaLabels")});var qs,zp,dv,oo,Up=p(()=>{"use strict";qs=u(R()),zp=u(v());Fp();tr();li();Qt();cv();dv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},oo=class extends Et(rr){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Mp)}render(){return this.isLastPage?qs.nothing:qs.html`
3956
- <ft-button @click="${this.loadMore}">
3957
- ${Mp.messages.searchPageLoadMore()}
3954
+ `}renderLiveText(){return this.shouldDisplaySuggestions?Lo.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await(0,lr.waitFor)(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!lr.isTouchScreen&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};We.elementDefinitions={"ft-button":Ie,...Do.elementDefinitions};We.styles=[uo,lr.noTextInputDefaultClearButton,xd,...Do.styles,lr.screenReaderStyles];zt([(0,lr.redux)()],We.prototype,"request",void 0);zt([(0,lr.redux)()],We.prototype,"liveQuery",void 0);zt([(0,lr.redux)()],We.prototype,"suggestResults",void 0);zt([(0,Ht.state)()],We.prototype,"forceCloseSuggestion",void 0);zt([(0,Ht.state)()],We.prototype,"displaySuggestListbox",void 0);zt([(0,Ht.state)()],We.prototype,"selectedSuggestOptionId",void 0);zt([(0,Ht.property)()],We.prototype,"launchSearchPath",void 0);zt([(0,Ht.property)()],We.prototype,"placeholder",void 0);zt([(0,Ht.property)({type:Boolean})],We.prototype,"useCustomSearchPath",void 0);zt([(0,Ht.property)({type:Boolean})],We.prototype,"triggerSearchOnClear",void 0);zt([(0,Ht.property)({type:Boolean})],We.prototype,"focusOnDisplay",void 0);zt([(0,Ht.query)(".ft-search-input--input")],We.prototype,"input",void 0);zt([(0,Ht.query)('[part="launch-search-in-input"]')],We.prototype,"launchSearchButton",void 0)});var sv=p(()=>{"use strict"});var cv={};Ho(cv,{FtSearchInput:()=>We,FtSearchInputCssVariables:()=>ge,styles:()=>xd});var lv,dv=p(()=>{"use strict";lv=u(v());Mp();Un();sv();Mp();(0,lv.customElement)("ft-search-input")(We)});var pv,P0,Up,zp=p(()=>{"use strict";pv=u(R()),P0={},Up=pv.css`
3955
+ `});var Hp,uv=p(()=>{"use strict";Qt();Hp=Pr.fromGwt("designedActionBlockAriaLabels")});var Qs,Wp,fv,io,Vp=p(()=>{"use strict";Qs=u(R()),Wp=u(v());zp();tr();ci();Qt();uv();tn();fv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},io=class extends At(rr){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[_r.CLUSTERED_SEARCH],this.addI18nContext(Hp)}render(){return this.isLastPage?Qs.nothing:Qs.html`
3956
+ <ft-button @click=${this.loadMore}>
3957
+ ${Hp.messages.searchPageLoadMore()}
3958
3958
  </ft-button>
3959
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};oo.elementDefinitions={"ft-button":Ie};oo.styles=Dp;dv([(0,zp.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],oo.prototype,"currentPage",void 0);dv([(0,zp.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],oo.prototype,"isLastPage",void 0)});var pv=p(()=>{"use strict"});var fv={};Uo(fv,{FtSearchLoadMoreButton:()=>oo,FtSearchLoadMoreButtonCssVariables:()=>TS,styles:()=>Dp});var uv,hv=p(()=>{"use strict";uv=u(v());Up();Fp();pv();Up();(0,uv.customElement)("ft-search-load-more-button")(oo)});var Ys,Qs,Zs,Wp,Hp,$S,dn,Vp=p(()=>{"use strict";Ys=u(v());li();Qs=u(H()),Zs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wp=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Hp=Symbol("registerInterval"),$S=(0,Ys.applyMixinOnce)(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Hp]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Hp]):this.dispatchEvent(new Wp)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Hp,Zs([(0,Qs.property)({attribute:!1})],r.prototype,"cluster",void 0),Zs([(0,Qs.property)({attribute:!1})],r.prototype,"result",void 0),Zs([(0,Ys.numberProperty)()],r.prototype,"rank",void 0),Zs([(0,Qs.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),dn=class extends $S(rr){}});var Gp,mv,gv,yi,jp=p(()=>{"use strict";Gp=u(R()),mv=u(v());Vp();cs();gv=u(rs());Pe();yi=class extends dn{render(){var e;let r=(e=(0,mv.accessResult)(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?Gp.html`
3960
- <ft-typography variant="${Re.body1}" part="text">${(0,gv.unsafeHTML)(r)}</ft-typography>
3961
- `:Gp.html`
3959
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};io.elementDefinitions={"ft-button":Ie};io.styles=Up;fv([(0,Wp.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],io.prototype,"currentPage",void 0);fv([(0,Wp.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],io.prototype,"isLastPage",void 0)});var hv=p(()=>{"use strict"});var gv={};Ho(gv,{FtSearchLoadMoreButton:()=>io,FtSearchLoadMoreButtonCssVariables:()=>P0,styles:()=>Up});var mv,yv=p(()=>{"use strict";mv=u(v());Vp();zp();hv();Vp();(0,mv.customElement)("ft-search-load-more-button")(io)});var Js,Xs,Ys,jp,Gp,_0,fn,Kp=p(()=>{"use strict";Js=u(v());ci();Xs=u(H()),Ys=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},jp=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Gp=Symbol("registerInterval"),_0=(0,Js.applyMixinOnce)(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Gp]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Gp]):this.dispatchEvent(new jp)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Gp,Ys([(0,Xs.property)({attribute:!1})],r.prototype,"cluster",void 0),Ys([(0,Xs.property)({attribute:!1})],r.prototype,"result",void 0),Ys([(0,Js.numberProperty)()],r.prototype,"rank",void 0),Ys([(0,Xs.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),fn=class extends _0(rr){}});var qp,bv,xv,bi,Zp=p(()=>{"use strict";qp=u(R()),bv=u(v());Kp();us();xv=u(ns());Pe();bi=class extends fn{render(){var e;let r=(e=(0,bv.accessResult)(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?qp.html`
3960
+ <ft-typography variant="${Re.body1}" part="text">${(0,xv.unsafeHTML)(r)}</ft-typography>
3961
+ `:qp.html`
3962
3962
  <style>
3963
3963
  :host {
3964
3964
  display: none !important;
3965
3965
  }
3966
3966
  </style>
3967
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};yi.elementDefinitions={"ft-typography":Q};yi.styles=bd});var yv=p(()=>{"use strict"});var xv={};Uo(xv,{FtSearchResultAbstract:()=>yi,FtSearchResultAbstractCssVariables:()=>ls,styles:()=>bd});var bv,Kp=p(()=>{"use strict";bv=u(v());jp();cs();yv();jp();(0,bv.customElement)("ft-search-result-abstract")(yi)});var ta,vv,Sv,Cv,PS,Do,qp=p(()=>{"use strict";ta=u(R()),vv=u(H()),Sv=u(v());Vp();ps();Pe();Cv=u(rs());Od();Ed();PS=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Do=class extends dn{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():ta.html`
3968
- <a href="${hs(this.result)}"
3967
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};bi.elementDefinitions={"ft-typography":Q};bi.styles=vd});var vv=p(()=>{"use strict"});var Cv={};Ho(Cv,{FtSearchResultAbstract:()=>bi,FtSearchResultAbstractCssVariables:()=>ps,styles:()=>vd});var Sv,Qp=p(()=>{"use strict";Sv=u(v());Zp();us();vv();Zp();(0,Sv.customElement)("ft-search-result-abstract")(bi)});var ia,Ov,wv,Ev,N0,Fo,Yp=p(()=>{"use strict";ia=u(R()),Ov=u(H()),wv=u(v());Kp();hs();Pe();Ev=u(ns());Ed();Rd();N0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Fo=class extends fn{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():ia.html`
3968
+ <a href="${ys(this.result)}"
3969
3969
  @click=${this.onResultClick}
3970
3970
  @auxclick=${r=>this.onAuxClick(r)}
3971
3971
  @contextmenu=${this.onContextMenu}
3972
- target="${_y(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3972
+ target="${Fy(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3973
3973
  part="link">
3974
3974
  ${this.renderTitle()}
3975
3975
  </a>
3976
- `:ta.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){var e;return ta.html`
3977
- <ft-typography variant="${Re.title}" part="text">${(0,Cv.unsafeHTML)((e=(0,Sv.accessResult)(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
3978
- `}onResultClick(){this.dispatchEvent(new Xi(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new Ji(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};Do.elementDefinitions={"ft-typography":Q};Do.styles=xd;PS([(0,vv.property)({type:Boolean})],Do.prototype,"withoutLink",void 0)});var Ov=p(()=>{"use strict"});var Ev={};Uo(Ev,{FtSearchResultTitle:()=>Do,FtSearchResultTitleCssVariables:()=>ds,styles:()=>xd});var wv,Zp=p(()=>{"use strict";wv=u(v());qp();ps();Ov();qp();(0,wv.customElement)("ft-search-result-title")(Do)});var Av,_S,Qp,Yp=p(()=>{"use strict";Av=u(R()),_S={},Qp=Av.css`
3976
+ `:ia.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){var e;return ia.html`
3977
+ <ft-typography variant="${Re.title}" part="text">${(0,Ev.unsafeHTML)((e=(0,wv.accessResult)(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
3978
+ `}onResultClick(){this.dispatchEvent(new Ji(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new en(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};Fo.elementDefinitions={"ft-typography":Q};Fo.styles=Sd;N0([(0,Ov.property)({type:Boolean})],Fo.prototype,"withoutLink",void 0)});var Av=p(()=>{"use strict"});var Lv={};Ho(Lv,{FtSearchResultTitle:()=>Fo,FtSearchResultTitleCssVariables:()=>fs,styles:()=>Sd});var Rv,Xp=p(()=>{"use strict";Rv=u(v());Yp();hs();Av();Yp();(0,Rv.customElement)("ft-search-result-title")(Fo)});var Iv,B0,Jp,eu=p(()=>{"use strict";Iv=u(R()),B0={},Jp=Iv.css`
3979
3979
  [part="no-results-message"] {
3980
3980
  text-align: center;
3981
3981
  padding: 12px;
3982
3982
  }
3983
- `});var Rv,Lv,Xp=p(()=>{"use strict";Rv=u(R()),Lv=Rv.css`
3983
+ `});var kv,Tv,tu=p(()=>{"use strict";kv=u(R()),Tv=kv.css`
3984
3984
  a {
3985
3985
  color: inherit;
3986
3986
  text-decoration: inherit;
3987
3987
  }
3988
- `});var Xs,Iv=p(()=>{"use strict";Xs=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var kv,pn,Tv,Js,Jp,Vr,eu=p(()=>{"use strict";kv=u(R()),pn=u(H()),Tv=u(v());Xp();Iv();Js=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Jp=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Vr=class extends Tv.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Xs(e=>this.onResultSelected(e))}render(){return kv.html`
3988
+ `});var el,$v=p(()=>{"use strict";el=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var Pv,hn,_v,tl,ru,Gr,ou=p(()=>{"use strict";Pv=u(R()),hn=u(H()),_v=u(v());tu();$v();tl=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ru=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Gr=class extends _v.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new el(e=>this.onResultSelected(e))}render(){return Pv.html`
3989
3989
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3990
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Jp(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Vr.elementDefinitions={};Vr.styles=Lv;Js([(0,pn.property)({attribute:!1})],Vr.prototype,"cluster",void 0);Js([(0,pn.property)({attribute:!1,type:Boolean})],Vr.prototype,"openResultInNewTab",void 0);Js([(0,pn.state)()],Vr.prototype,"result",void 0);Js([(0,pn.property)()],Vr.prototype,"index",void 0)});var $v=p(()=>{"use strict"});var Pv,_v=p(()=>{"use strict";Pv=u(v());eu();Xp();$v();eu();(0,Pv.customElement)("ft-search-result-context")(Vr)});var un,Nv,tu=p(()=>{"use strict";Qt();un=Pr.build("searchResultsNumber"),Nv={results:"{0} results","results[\\=1]":"1 result"}});var el,Bv,tl,Sr,bi,Wt,ru=p(()=>{"use strict";el=u(R()),Bv=u(to()),tl=u(H()),Sr=u(v());Yp();li();_v();Zp();Kp();Qt();tu();bi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wt=class extends Et(rr){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>el.html`
3990
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new ru(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Gr.elementDefinitions={};Gr.styles=Tv;tl([(0,hn.property)({attribute:!1})],Gr.prototype,"cluster",void 0);tl([(0,hn.property)({attribute:!1,type:Boolean})],Gr.prototype,"openResultInNewTab",void 0);tl([(0,hn.state)()],Gr.prototype,"result",void 0);tl([(0,hn.property)()],Gr.prototype,"index",void 0)});var Nv=p(()=>{"use strict"});var Bv,Dv=p(()=>{"use strict";Bv=u(v());ou();tu();Nv();ou();(0,Bv.customElement)("ft-search-result-context")(Gr)});var mn,Fv,iu=p(()=>{"use strict";Qt();mn=Pr.build("searchResultsNumber"),Fv={results:"{0} results","results[\\=1]":"1 result"}});var rl,Mv,ol,Sr,xi,Wt,nu=p(()=>{"use strict";rl=u(R()),Mv=u(ro()),ol=u(H()),Sr=u(v());eu();ci();Dv();Xp();Qp();Qt();iu();tn();xi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wt=class extends At(rr){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>rl.html`
3991
3991
  <ft-search-result-title></ft-search-result-title>
3992
3992
  <ft-search-result-abstract></ft-search-result-abstract>
3993
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(un)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return el.html`
3994
- <ft-typography part="no-results-message" variant="body1">${un.messages.results(0)}</ft-typography>
3995
- `;let e=this.buildClusters();return(0,Bv.repeat)(e,r=>r.id,(r,i)=>{var n;return el.html`
3993
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[_r.CLUSTERED_SEARCH],this.addI18nContext(mn)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return rl.html`
3994
+ <ft-typography part="no-results-message" variant="body1">${mn.messages.results(0)}</ft-typography>
3995
+ `;let e=this.buildClusters();return(0,Mv.repeat)(e,r=>r.id,(r,i)=>{var n;return rl.html`
3996
3996
  <ft-search-result-context .cluster=${r} index="${i}"
3997
3997
  @ft-search-result-cluster-change=${a=>this.onClusterChange(r.id,a.detail)}>
3998
3998
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],i)}
3999
3999
  </ft-search-result-context>
4000
- `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");i&&Sr.scrollHelper.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:(0,Sr.accessResultId)(i.entries[0]),entries:i.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,i;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:(0,Sr.accessResultId)(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}};Wt.styles=Qp;bi([(0,tl.property)({type:String,attribute:"cluster-policy"})],Wt.prototype,"clusterPolicy",void 0);bi([(0,tl.property)({type:Boolean})],Wt.prototype,"displayNoResultsMessage",void 0);bi([(0,tl.property)({attribute:!1})],Wt.prototype,"renderResult",void 0);bi([(0,Sr.jsonProperty)([])],Wt.prototype,"clusterSortCriterion",void 0);bi([(0,Sr.redux)({selector:t=>({...t.request,paging:void 0})})],Wt.prototype,"requestWithoutPaging",void 0);bi([(0,Sr.redux)({selector:t=>t.request.paging})],Wt.prototype,"paging",void 0);bi([(0,Sr.redux)()],Wt.prototype,"results",void 0)});var Dv=p(()=>{"use strict"});var Mv={};Uo(Mv,{FtSearchResults:()=>Wt,FtSearchResultsCssVariables:()=>_S,styles:()=>Qp});var Fv,zv=p(()=>{"use strict";Fv=u(v());ru();Yp();Dv();ru();(0,Fv.customElement)("ft-search-results")(Wt)});var Uv,NS,ou,iu=p(()=>{"use strict";Uv=u(R()),NS={},ou=Uv.css`
4000
+ `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");i&&Sr.scrollHelper.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:(0,Sr.accessResultId)(i.entries[0]),entries:i.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,i;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:(0,Sr.accessResultId)(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}};Wt.styles=Jp;xi([(0,ol.property)({type:String,attribute:"cluster-policy"})],Wt.prototype,"clusterPolicy",void 0);xi([(0,ol.property)({type:Boolean})],Wt.prototype,"displayNoResultsMessage",void 0);xi([(0,ol.property)({attribute:!1})],Wt.prototype,"renderResult",void 0);xi([(0,Sr.jsonProperty)([])],Wt.prototype,"clusterSortCriterion",void 0);xi([(0,Sr.redux)({selector:t=>({...t.request,paging:void 0})})],Wt.prototype,"requestWithoutPaging",void 0);xi([(0,Sr.redux)({selector:t=>t.request.paging})],Wt.prototype,"paging",void 0);xi([(0,Sr.redux)()],Wt.prototype,"results",void 0)});var Uv=p(()=>{"use strict"});var Hv={};Ho(Hv,{FtSearchResults:()=>Wt,FtSearchResultsCssVariables:()=>B0,styles:()=>Jp});var zv,Wv=p(()=>{"use strict";zv=u(v());nu();eu();Uv();nu();(0,zv.customElement)("ft-search-results")(Wt)});var Vv,D0,au,su=p(()=>{"use strict";Vv=u(R()),D0={},au=Vv.css`
4001
4001
 
4002
- `});var rl,Fo,Hv,io,nu=p(()=>{"use strict";rl=u(R()),Fo=u(v());iu();li();Qt();tu();Pe();Hv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},io=class extends(0,Fo.withAriaNotification)(Et(rr)){constructor(){super(),this.ariaNotificationDebouncer=new Fo.Debouncer(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.addI18nContext(un,Nv)}render(){return this.paging==null?rl.nothing:rl.html`
4002
+ `});var il,Mo,Gv,no,lu=p(()=>{"use strict";il=u(R()),Mo=u(v());su();ci();Qt();iu();Pe();tn();Gv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},no=class extends(0,Mo.withAriaNotification)(At(rr)){constructor(){super(),this.ariaNotificationDebouncer=new Mo.Debouncer(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.neededSearchRequests=[_r.CLUSTERED_SEARCH],this.addI18nContext(mn,Fv)}render(){return this.paging==null?il.nothing:il.html`
4003
4003
  <ft-typography variant="${Re.body1}">
4004
- ${un.messages.results(this.paging.totalClustersCount)}
4004
+ ${mn.messages.results(this.paging.totalClustersCount)}
4005
4005
  </ft-typography>
4006
- `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let r=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(r)}})}};io.elementDefinitions={"ft-typography":Q};io.styles=ou;Hv([(0,Fo.jsonProperty)({context:"officialContext",key:"searchNumberOfResults"})],io.prototype,"searchNumberOfResults",void 0);Hv([(0,Fo.redux)()],io.prototype,"paging",void 0)});var Wv=p(()=>{"use strict"});var Gv={};Uo(Gv,{FtSearchResultsNumber:()=>io,FtSearchResultsNumberCssVariables:()=>NS,styles:()=>ou});var Vv,jv=p(()=>{"use strict";Vv=u(v());nu();iu();Wv();nu();(0,Vv.customElement)("ft-search-results-number")(io)});var Kv=u(v());var Vt=u(R()),xi=u(v());var vd=u(R()),B=u(v());var gu=u(R()),ae=u(v());Gr();var pe={padding:ae.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ae.FtCssVariableFactory.extend("--ft-card-border-radius","",ae.designSystemVariables.borderRadiusM),borderStyle:ae.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ae.FtCssVariableFactory.extend("--ft-card-border-color","",ae.designSystemVariables.colorOutline),hoverBorderColor:ae.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ae.designSystemVariables.colorPrimary),outlineStyle:ae.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ae.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ae.FtCssVariableFactory.extend("--ft-card-outline-color","",ae.designSystemVariables.colorPrimary),selectedOutlineStyle:ae.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ae.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ae.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ae.designSystemVariables.colorPrimary),selectedBorderRadius:ae.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ae.designSystemVariables.borderRadiusM),colorSurface:ae.FtCssVariableFactory.extend("--ft-card-background-color","",ae.designSystemVariables.colorSurface),colorOnSurfaceMedium:ae.FtCssVariableFactory.extend("--ft-card-content-color","",ae.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ae.FtCssVariableFactory.extend("--ft-card-title-color","",ae.designSystemVariables.colorOnSurfaceHigh),elevation02:ae.FtCssVariableFactory.extend("--ft-card-elevation","",ae.designSystemVariables.elevation02),elevation04:ae.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ae.designSystemVariables.elevation04)},yu=gu.css`
4006
+ `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let r=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(r)}})}};no.elementDefinitions={"ft-typography":Q};no.styles=au;Gv([(0,Mo.jsonProperty)({context:"officialContext",key:"searchNumberOfResults"})],no.prototype,"searchNumberOfResults",void 0);Gv([(0,Mo.redux)()],no.prototype,"paging",void 0)});var jv=p(()=>{"use strict"});var qv={};Ho(qv,{FtSearchResultsNumber:()=>no,FtSearchResultsNumberCssVariables:()=>D0,styles:()=>au});var Kv,Zv=p(()=>{"use strict";Kv=u(v());lu();su();jv();lu();(0,Kv.customElement)("ft-search-results-number")(no)});var Qv=u(v());var Vt=u(R()),vi=u(v());var Cd=u(R()),B=u(v());var xu=u(R()),ae=u(v());jr();var pe={padding:ae.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ae.FtCssVariableFactory.extend("--ft-card-border-radius","",ae.designSystemVariables.borderRadiusM),borderStyle:ae.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ae.FtCssVariableFactory.extend("--ft-card-border-color","",ae.designSystemVariables.colorOutline),hoverBorderColor:ae.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ae.designSystemVariables.colorPrimary),outlineStyle:ae.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ae.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ae.FtCssVariableFactory.extend("--ft-card-outline-color","",ae.designSystemVariables.colorPrimary),selectedOutlineStyle:ae.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ae.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ae.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ae.designSystemVariables.colorPrimary),selectedBorderRadius:ae.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ae.designSystemVariables.borderRadiusM),colorSurface:ae.FtCssVariableFactory.extend("--ft-card-background-color","",ae.designSystemVariables.colorSurface),colorOnSurfaceMedium:ae.FtCssVariableFactory.extend("--ft-card-content-color","",ae.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ae.FtCssVariableFactory.extend("--ft-card-title-color","",ae.designSystemVariables.colorOnSurfaceHigh),elevation02:ae.FtCssVariableFactory.extend("--ft-card-elevation","",ae.designSystemVariables.elevation02),elevation04:ae.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ae.designSystemVariables.elevation04)},vu=xu.css`
4007
4007
  :host {
4008
4008
  display: block;
4009
4009
  }
@@ -4092,7 +4092,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4092
4092
  #action {
4093
4093
  grid-area: actions;
4094
4094
  }
4095
- `;Dn();cs();Gr();ps();var pt={searchFieldBackgroundColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",B.designSystemVariables.colorSurface),searchFieldBorderColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",B.designSystemVariables.colorOutline),searchFieldTextColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",B.designSystemVariables.colorOnSurface),searchFieldBorderRadius:B.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",B.designSystemVariables.borderRadiusS),searchButtonColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",B.designSystemVariables.colorPrimary),resultsNumberColor:B.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",B.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:B.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",B.designSystemVariables.colorSurface),resultBorderColor:B.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",B.designSystemVariables.colorOutline),resultBorderRadius:B.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",B.designSystemVariables.borderRadiusS),resultTitleTextColor:B.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",B.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:B.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",B.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:B.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",B.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:B.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:B.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",B.designSystemVariables.colorPrimary),resultHoverBorderColor:B.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",B.designSystemVariables.colorPrimary)},Ly=vd.css`
4095
+ `;Un();us();jr();hs();var pt={searchFieldBackgroundColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",B.designSystemVariables.colorSurface),searchFieldBorderColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",B.designSystemVariables.colorOutline),searchFieldTextColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",B.designSystemVariables.colorOnSurface),searchFieldBorderRadius:B.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",B.designSystemVariables.borderRadiusS),searchButtonColor:B.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",B.designSystemVariables.colorPrimary),resultsNumberColor:B.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",B.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:B.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",B.designSystemVariables.colorSurface),resultBorderColor:B.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",B.designSystemVariables.colorOutline),resultBorderRadius:B.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",B.designSystemVariables.borderRadiusS),resultTitleTextColor:B.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",B.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:B.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",B.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:B.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",B.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:B.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:B.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",B.designSystemVariables.colorPrimary),resultHoverBorderColor:B.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",B.designSystemVariables.colorPrimary)},$y=Cd.css`
4096
4096
  .ft-search-in-doc--container {
4097
4097
  display: flex;
4098
4098
  flex-direction: column;
@@ -4118,7 +4118,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4118
4118
  ft-search-load-more-button {
4119
4119
  margin: auto;
4120
4120
  }
4121
- `,Iy=vd.css`
4121
+ `,Py=Cd.css`
4122
4122
  ft-card {
4123
4123
  margin-bottom: 8px;
4124
4124
  ${(0,B.setVariable)(pe.elevation04,"none")};
@@ -4132,7 +4132,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4132
4132
 
4133
4133
  ft-search-result-title {
4134
4134
  color: ${pt.resultTitleTextColor};
4135
- ${(0,B.setVariable)(ds.highlightBackgroundColor,pt.resultHighlightBackgroundColor)};
4135
+ ${(0,B.setVariable)(fs.highlightBackgroundColor,pt.resultHighlightBackgroundColor)};
4136
4136
  }
4137
4137
 
4138
4138
  .breadcrumb {
@@ -4141,7 +4141,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4141
4141
 
4142
4142
  ft-search-result-abstract {
4143
4143
  color: ${pt.resultContentTextColor};
4144
- ${(0,B.setVariable)(ls.highlightBackgroundColor,pt.resultHighlightBackgroundColor)};
4144
+ ${(0,B.setVariable)(ps.highlightBackgroundColor,pt.resultHighlightBackgroundColor)};
4145
4145
  }
4146
4146
 
4147
4147
  ft-card:hover {
@@ -4159,11 +4159,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4159
4159
  text-decoration: none;
4160
4160
  color: inherit;
4161
4161
  }
4162
- `;Qt();var fs=u(v()),$y=u(H());var ky;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(ky||(ky={}));var Ty;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ty||(Ty={}));var OS=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Cd=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Sd=Symbol("registerInterval"),wS=(0,fs.applyMixinOnce)(Symbol("toFtReaderComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Sd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Sd]):this.dispatchEvent(new Cd)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Sd,OS([(0,$y.state)()],r.prototype,"stateManager",void 0),r}),us=class extends wS(fs.FtLitElementRedux){};var ao=u(H());Od();Qt();var wd=Pr.build("designedReaderSearchInDocument");var Dy=u(v());var Mn=u(R()),si=u(H()),Ny=u(v());gt();Pe();var By=u(Ct()),Yi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},At=class extends Ny.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return Mn.html`
4163
- <div id="container" part="container" class=${(0,By.classMap)(e)}>
4164
- ${this.clickable?Mn.html`
4162
+ `;Qt();var gs=u(v()),By=u(H());var _y;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(_y||(_y={}));var Ny;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ny||(Ny={}));var A0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wd=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Od=Symbol("registerInterval"),R0=(0,gs.applyMixinOnce)(Symbol("toFtReaderComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Od]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Od]):this.dispatchEvent(new wd)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Od,A0([(0,By.state)()],r.prototype,"stateManager",void 0),r}),ms=class extends R0(gs.FtLitElementRedux){};var so=u(H());Ed();Qt();var Ad=Pr.build("designedReaderSearchInDocument");var zy=u(v());var Hn=u(R()),li=u(H()),My=u(v());gt();Pe();var Uy=u(Ot()),Xi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Rt=class extends My.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return Hn.html`
4163
+ <div id="container" part="container" class=${(0,Uy.classMap)(e)}>
4164
+ ${this.clickable?Hn.html`
4165
4165
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
4166
- `:Mn.nothing}
4166
+ `:Hn.nothing}
4167
4167
  <div id="header" part="header">
4168
4168
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
4169
4169
  <slot name="header"></slot>
@@ -4177,9 +4177,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4177
4177
  </ft-typography>
4178
4178
  </div>
4179
4179
  </div>
4180
- `}};At.elementDefinitions={"ft-ripple":K,"ft-typography":Q};At.styles=yu;Yi([(0,si.property)()],At.prototype,"title",void 0);Yi([(0,si.property)({type:Boolean})],At.prototype,"clickable",void 0);Yi([(0,si.property)({type:Boolean})],At.prototype,"selected",void 0);Yi([(0,si.property)({type:Boolean})],At.prototype,"noHeader",void 0);Yi([(0,si.property)({type:Boolean})],At.prototype,"noContent",void 0);Yi([(0,si.property)({type:Boolean})],At.prototype,"oneLineHeader",void 0);(0,Dy.customElement)("ft-card")(At);Ed();var no=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},vt=class t extends Et(us){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=(0,xi.randomId)(6,"search-in-document-"),this.addI18nContext(wd)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Vt.html`
4181
- <style> ${Iy}</style>
4182
- <a href="${hs(e)}" @click=${()=>this.onLinkClick(e,r)}
4180
+ `}};Rt.elementDefinitions={"ft-ripple":K,"ft-typography":Q};Rt.styles=vu;Xi([(0,li.property)()],Rt.prototype,"title",void 0);Xi([(0,li.property)({type:Boolean})],Rt.prototype,"clickable",void 0);Xi([(0,li.property)({type:Boolean})],Rt.prototype,"selected",void 0);Xi([(0,li.property)({type:Boolean})],Rt.prototype,"noHeader",void 0);Xi([(0,li.property)({type:Boolean})],Rt.prototype,"noContent",void 0);Xi([(0,li.property)({type:Boolean})],Rt.prototype,"oneLineHeader",void 0);(0,zy.customElement)("ft-card")(Rt);Rd();var ao=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},St=class t extends At(ms){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=(0,vi.randomId)(6,"search-in-document-"),this.addI18nContext(Ad)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Vt.html`
4181
+ <style> ${Py}</style>
4182
+ <a href="${ys(e)}" @click=${()=>this.onLinkClick(e,r)}
4183
4183
  @auxclick=${n=>this.onAuxClick(n,e,r)}
4184
4184
  @contextmenu=${()=>this.onContextMenu(e,r)}>
4185
4185
  <ft-card clickable noheader>
@@ -4195,7 +4195,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4195
4195
  </div>
4196
4196
  </ft-card>
4197
4197
  </a>
4198
- `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new Ji(e,r))}render(){return this.map?Vt.html`
4198
+ `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new en(e,r))}render(){return this.map?Vt.html`
4199
4199
  <ft-search-context id="${this.uniqueId}"
4200
4200
  part="search-context"
4201
4201
  contentLocale="${this.map.lang}"
@@ -4204,7 +4204,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4204
4204
  scope="ALL_TOPICS"
4205
4205
  ignoreEmptyQuery>
4206
4206
  <div class="ft-search-in-doc--container">
4207
- <ft-search-input placeholder="${wd.messages.placeholder()}"
4207
+ <ft-search-input placeholder="${Ad.messages.placeholder()}"
4208
4208
  ?triggerSearchOnClear=${this.emptyResultOnClear}
4209
4209
  @change=${e=>{var r;(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}></ft-search-input>
4210
4210
  ${this.hideResultsNumber?Vt.nothing:Vt.html`
@@ -4219,7 +4219,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4219
4219
  </slot>
4220
4220
  </div>
4221
4221
  </ft-search-context>
4222
- `:Vt.nothing}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){(0,xi.waitFor)(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r){this.dispatchEvent(new Xi(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Xy(),Yy)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(sv(),av)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(hv(),fv)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Kp(),xv)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Zp(),Ev)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(zv(),Mv)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(jv(),Gv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};vt.elementDefinitions={"ft-card":At};vt.styles=Ly;no([(0,xi.redux)()],vt.prototype,"map",void 0);no([(0,xi.redux)()],vt.prototype,"searchInDocumentQuery",void 0);no([(0,ao.query)("ft-search-results")],vt.prototype,"searchResults",void 0);no([(0,ao.property)({type:Boolean})],vt.prototype,"hideResultTitle",void 0);no([(0,ao.property)({type:Boolean})],vt.prototype,"hideResultBreadcrumb",void 0);no([(0,ao.property)({type:Boolean})],vt.prototype,"hideResultAbstract",void 0);no([(0,ao.property)({type:Boolean})],vt.prototype,"hideResultsNumber",void 0);no([(0,ao.property)({type:Boolean})],vt.prototype,"emptyResultOnClear",void 0);no([(0,ao.query)('[part="search-context"]')],vt.prototype,"searchContext",void 0);(0,Kv.customElement)("ft-reader-search-in-document")(vt);})();
4222
+ `:Vt.nothing}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){(0,vi.waitFor)(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r){this.dispatchEvent(new Ji(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(tb(),eb)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(dv(),cv)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(yv(),gv)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Qp(),Cv)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Xp(),Lv)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Wv(),Hv)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Zv(),qv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};St.elementDefinitions={"ft-card":Rt};St.styles=$y;ao([(0,vi.redux)()],St.prototype,"map",void 0);ao([(0,vi.redux)()],St.prototype,"searchInDocumentQuery",void 0);ao([(0,so.query)("ft-search-results")],St.prototype,"searchResults",void 0);ao([(0,so.property)({type:Boolean})],St.prototype,"hideResultTitle",void 0);ao([(0,so.property)({type:Boolean})],St.prototype,"hideResultBreadcrumb",void 0);ao([(0,so.property)({type:Boolean})],St.prototype,"hideResultAbstract",void 0);ao([(0,so.property)({type:Boolean})],St.prototype,"hideResultsNumber",void 0);ao([(0,so.property)({type:Boolean})],St.prototype,"emptyResultOnClear",void 0);ao([(0,so.query)('[part="search-context"]')],St.prototype,"searchContext",void 0);(0,Qv.customElement)("ft-reader-search-in-document")(St);})();
4223
4223
  /*! Bundled license information:
4224
4224
 
4225
4225
  lit-html/lit-html.js: