@fluid-topics/ft-reader-search-in-document 1.3.7 → 1.3.8

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 Vv=Object.create;var ws=Object.defineProperty;var jv=Object.getOwnPropertyDescriptor;var Gv=Object.getOwnPropertyNames;var Kv=Object.getPrototypeOf,qv=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ro=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ao=(t,e)=>{for(var r in e)ws(t,r,{get:e[r],enumerable:!0})},Zv=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Gv(e))!qv.call(t,n)&&n!==r&&ws(t,n,{get:()=>e[n],enumerable:!(i=jv(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?Vv(Kv(t)):{},Zv(e||!t||!t.__esModule?ws(r,"default",{value:t,enumerable:!0}):r,t));var x=Ro((N0,Wd)=>{Wd.exports=ftGlobals.wcUtils});var A=Ro((B0,Vd)=>{Vd.exports=ftGlobals.lit});var Qd,Ne,jd,w,Gd,Kd,qd,Zd,Yd,_r=p(()=>{"use strict";Qd=u(A()),Ne=u(x()),jd=Ne.FtCssVariableFactory.extend("--ft-ripple-color","",Ne.designSystemVariables.colorContent),w={color:jd,backgroundColor:Ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",jd),opacityContentOnSurfacePressed:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ne.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Gd=Ne.FtCssVariableFactory.extend("--ft-ripple-color","",Ne.designSystemVariables.colorPrimary),Kd={color:Gd,backgroundColor:Ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Gd)},qd=Ne.FtCssVariableFactory.extend("--ft-ripple-color","",Ne.designSystemVariables.colorSecondary),Zd={color:qd,backgroundColor:Ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",qd)},Yd=Qd.css`
1
+ "use strict";(()=>{var Uv=Object.create;var Os=Object.defineProperty;var Hv=Object.getOwnPropertyDescriptor;var Wv=Object.getOwnPropertyNames;var Vv=Object.getPrototypeOf,jv=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ro=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ao=(t,e)=>{for(var r in e)Os(t,r,{get:e[r],enumerable:!0})},Gv=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Wv(e))!jv.call(t,n)&&n!==r&&Os(t,n,{get:()=>e[n],enumerable:!(i=Hv(e,n))||i.enumerable});return t};var f=(t,e,r)=>(r=t!=null?Uv(Vv(t)):{},Gv(e||!t||!t.__esModule?Os(r,"default",{value:t,enumerable:!0}):r,t));var x=Ro((P0,Hd)=>{Hd.exports=ftGlobals.wcUtils});var A=Ro((_0,Wd)=>{Wd.exports=ftGlobals.lit});var Zd,Ne,Vd,w,jd,Gd,Kd,qd,Qd,_r=p(()=>{"use strict";Zd=f(A()),Ne=f(x()),Vd=Ne.FtCssVariableFactory.extend("--ft-ripple-color","",Ne.designSystemVariables.colorContent),w={color:Vd,backgroundColor:Ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Vd),opacityContentOnSurfacePressed:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ne.FtCssVariableFactory.external(Ne.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ne.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},jd=Ne.FtCssVariableFactory.extend("--ft-ripple-color","",Ne.designSystemVariables.colorPrimary),Gd={color:jd,backgroundColor:Ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",jd)},Kd=Ne.FtCssVariableFactory.extend("--ft-ripple-color","",Ne.designSystemVariables.colorSecondary),qd={color:Kd,backgroundColor:Ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Kd)},Qd=Zd.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: ${Zd.backgroundColor};
56
+ background-color: ${qd.backgroundColor};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
- background-color: ${Zd.color};
60
+ background-color: ${qd.color};
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${Kd.backgroundColor};
64
+ background-color: ${Gd.backgroundColor};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
- background-color: ${Kd.color};
68
+ background-color: ${Gd.color};
69
69
  }
70
70
 
71
71
  .ft-ripple .ft-ripple--background {
@@ -110,9 +110,9 @@
110
110
  opacity: ${w.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `});var W=Ro((z0,ep)=>{ep.exports=ftGlobals.litDecorators});function tp(t,e){return Jr(`${t.name}: ${e}`)}var Nr,Jr,o,ee=p(()=>{Nr=u(A(),1),Jr=t=>typeof t=="string"?(0,Nr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Jr(c??n),s=Nr.css`var(${Jr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=c=>tp(s,c??a(n)),s.get=c=>Nr.css`var(${Jr(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=c=>i.get(c??n),s=Nr.css`var(${Jr(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=c=>tp(s,c??a(n)),s.get=c=>Nr.css`var(${Jr(e)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=Nr.css`var(${Jr(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=>Nr.css`var(${Jr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var l,rp,op,ip,np,ap,sp,lp,cp,si,Qv,dp,pp,up,fp,hp,mp,gp,yp,bp,vp,ko,xp,Sp,Cp,Op,wp,_n,te=p(()=>{ee();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},rp={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},op={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ip={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},np={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ap={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},sp={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},lp={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},cp={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},si={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Qv={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},dp={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},pp={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},up={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},fp={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},hp={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},mp={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},gp={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},yp={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},bp={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},vp={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ko={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},xp={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Sp={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Cp={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Op={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},wp={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},_n={display:rp,"title-1":op,"title-2":ip,"title-3":np,"body-1-regular":ap,"body-1-medium":sp,"body-1-semibold":lp,"body-2-regular":cp,"body-2-medium":si,"body-2-medium-underline":Qv,"body-2-semibold":dp,"label-1-medium":pp,"label-1-semibold":up,"label-1-bold":fp,"label-2-medium":hp,"label-2-semibold":mp,"label-2-bold":gp,"caption-1-medium":yp,"caption-1-semibold":bp,"caption-1-bold":vp,"caption-2-medium":ko,"caption-2-semibold":xp,"caption-2-bold":Sp,"caption-3-medium":Cp,"caption-3-semibold":Op,"caption-3-bold":wp}});var d,se=p(()=>{ee();te();d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var m,Ep=p(()=>{ee();te();se();m={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var eS,Rp=p(()=>{ee();te();se();eS={iconSize:o.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",l.spacing2)}});var nS,Ap=p(()=>{ee();te();se();nS={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)}});var dS,kp=p(()=>{ee();te();se();dS={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var F,Lp=p(()=>{ee();te();se();F={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var vS,Ip=p(()=>{ee();te();se();vS={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var wS,Tp=p(()=>{ee();te();se();wS={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var LS,$p=p(()=>{ee();te();se();LS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var _S,Pp=p(()=>{ee();te();se();_S={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var MS,_p=p(()=>{ee();te();se();MS={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var VS,Np=p(()=>{ee();te();se();VS={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var qS,Bp=p(()=>{ee();te();qS={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var JS,Dp=p(()=>{ee();te();se();JS={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var iC,Fp=p(()=>{ee();te();se();iC={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var cC,Mp=p(()=>{ee();te();se();cC={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var hC,zp=p(()=>{ee();te();se();hC={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var vC,Up=p(()=>{ee();te();se();vC={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusS)}});var wC,Hp=p(()=>{ee();te();se();wC={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var LC,Wp=p(()=>{ee();te();se();LC={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var _C,Vp=p(()=>{ee();te();se();_C={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusS)}});var MC,jp=p(()=>{ee();te();se();MC={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",l.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",l.spacing6)}});var VC,Gp=p(()=>{ee();te();se();VC={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var ZC,Kp=p(()=>{ee();te();se();ZC={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var JC,qp=p(()=>{ee();te();JC={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var oO,Zp=p(()=>{ee();te();oO={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var lO,Qp=p(()=>{ee();te();se();lO={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var fO,Yp=p(()=>{ee();te();se();fO={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var bO,Xp=p(()=>{ee();te();se();bO={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var OO,Jp=p(()=>{ee();te();se();OO={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var kO,eu=p(()=>{ee();te();se();kO={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var PO,tu=p(()=>{ee();te();se();PO={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var FO,ru=p(()=>{ee();te();se();FO={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary)}});var ou=p(()=>{te();se();Ep();Rp();Ap();kp();Lp();Ip();Tp();$p();Pp();_p();Np();Bp();Dp();Fp();Mp();zp();Up();Hp();Wp();Vp();jp();Gp();Kp();qp();Zp();Qp();Yp();Xp();Jp();eu();tu();ru()});var Nn,pt,iu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Nn||(Nn={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var ne=p(()=>{ee();ou();iu()});function nu(t){let e=_n[t];return Bn.css`
115
- .ft-typography--${(0,Bn.unsafeCSS)(t)} {
113
+ `});var W=Ro((F0,Jd)=>{Jd.exports=ftGlobals.litDecorators});function ep(t,e){return Jr(`${t.name}: ${e}`)}var Nr,Jr,o,ee=p(()=>{Nr=f(A(),1),Jr=t=>typeof t=="string"?(0,Nr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=l=>Jr(l??n),s=Nr.css`var(${Jr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>ep(s,l??a(n)),s.get=l=>Nr.css`var(${Jr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=Nr.css`var(${Jr(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=>ep(s,l??a(n)),s.get=l=>Nr.css`var(${Jr(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=Nr.css`var(${Jr(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=>Nr.css`var(${Jr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,tp,rp,op,ip,np,ap,sp,lp,si,Kv,cp,dp,pp,up,fp,hp,mp,gp,yp,bp,ko,vp,xp,Sp,Cp,Op,$n,te=p(()=>{ee();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},tp={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},rp={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},op={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ip={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},np={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ap={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},sp={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},lp={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},si={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Kv={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},cp={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},dp={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},pp={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},up={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},fp={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},hp={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},mp={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},gp={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},yp={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},bp={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ko={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},vp={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},xp={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Sp={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Cp={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Op={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},$n={display:tp,"title-1":rp,"title-2":op,"title-3":ip,"body-1-regular":np,"body-1-medium":ap,"body-1-semibold":sp,"body-2-regular":lp,"body-2-medium":si,"body-2-medium-underline":Kv,"body-2-semibold":cp,"label-1-medium":dp,"label-1-semibold":pp,"label-1-bold":up,"label-2-medium":fp,"label-2-semibold":hp,"label-2-bold":mp,"caption-1-medium":gp,"caption-1-semibold":yp,"caption-1-bold":bp,"caption-2-medium":ko,"caption-2-semibold":vp,"caption-2-bold":xp,"caption-3-medium":Sp,"caption-3-semibold":Cp,"caption-3-bold":Op}});var d,se=p(()=>{ee();te();d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var m,wp=p(()=>{ee();te();se();m={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var X0,Ep=p(()=>{ee();te();se();X0={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var oS,Rp=p(()=>{ee();te();se();oS={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var lS,Ap=p(()=>{ee();te();se();lS={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var F,kp=p(()=>{ee();te();se();F={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var yS,Lp=p(()=>{ee();te();se();yS={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var CS,Ip=p(()=>{ee();te();se();CS={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var AS,Tp=p(()=>{ee();te();se();AS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var $S,$p=p(()=>{ee();te();se();$S={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var DS,Pp=p(()=>{ee();te();se();DS={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var HS,_p=p(()=>{ee();te();se();HS={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var GS,Np=p(()=>{ee();te();GS={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var YS,Bp=p(()=>{ee();te();se();YS={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var rC,Dp=p(()=>{ee();te();se();rC={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var sC,Fp=p(()=>{ee();te();se();sC={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var uC,Mp=p(()=>{ee();te();se();uC={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var yC,zp=p(()=>{ee();te();se();yC={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var CC,Up=p(()=>{ee();te();se();CC={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var AC,Hp=p(()=>{ee();te();se();AC={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var $C,Wp=p(()=>{ee();te();se();$C={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var DC,Vp=p(()=>{ee();te();se();DC={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)}});var HC,jp=p(()=>{ee();te();se();HC={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var KC,Gp=p(()=>{ee();te();se();KC={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var YC,Kp=p(()=>{ee();te();YC={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var tO,qp=p(()=>{ee();te();tO={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var aO,Zp=p(()=>{ee();te();se();aO={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var pO,Qp=p(()=>{ee();te();se();pO={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var gO,Yp=p(()=>{ee();te();se();gO={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)}});var SO,Xp=p(()=>{ee();te();se();SO={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var RO,Jp=p(()=>{ee();te();se();RO={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var TO,eu=p(()=>{ee();te();se();TO={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var BO,tu=p(()=>{ee();te();se();BO={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary)}});var ru=p(()=>{te();se();wp();Ep();Rp();Ap();kp();Lp();Ip();Tp();$p();Pp();_p();Np();Bp();Dp();Fp();Mp();zp();Up();Hp();Wp();Vp();jp();Gp();Kp();qp();Zp();Qp();Yp();Xp();Jp();eu();tu()});var Pn,pt,ou=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Pn||(Pn={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var ne=p(()=>{ee();ru();ou()});function iu(t){let e=$n[t];return _n.css`
115
+ .ft-typography--${(0,_n.unsafeCSS)(t)} {
116
116
  font-family: ${e.fontFamily};
117
117
  font-size: ${e.fontSize};
118
118
  font-weight: ${e.fontWeight};
@@ -120,7 +120,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
120
120
  line-height: ${e.lineHeight};
121
121
  text-transform: ${e.textCase};
122
122
  }
123
- `}var Bn,au=p(()=>{"use strict";Bn=u(A());ne()});var Ut,L,su,Dr,I,li,ci,di,pi,Br,Me,tt,ui,fi,gr,lu,cu,du,pu,uu,eo,yr,fu,hu,mu,gu,yu,Ht=p(()=>{"use strict";Ut=u(A()),L=u(x());ne();au();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();su=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.titleFont),Dr=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.contentFont),I={fontFamily:Dr,fontSize:L.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:L.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:L.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:L.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:L.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},li={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-font-family","",su),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},ci={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",su),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},di={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},pi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},Br={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},Me={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},tt={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ui={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},fi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},gr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},lu=Ut.css`
123
+ `}var _n,nu=p(()=>{"use strict";_n=f(A());ne()});var Ut,L,au,Dr,I,li,ci,di,pi,Br,Me,tt,ui,fi,gr,su,lu,cu,du,pu,eo,yr,uu,fu,hu,mu,gu,Ht=p(()=>{"use strict";Ut=f(A()),L=f(x());ne();nu();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();au=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.titleFont),Dr=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.contentFont),I={fontFamily:Dr,fontSize:L.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:L.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:L.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:L.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:L.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},li={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-font-family","",au),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},ci={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",au),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},di={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},pi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},Br={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},Me={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},tt={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ui={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},fi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},gr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Dr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},su=Ut.css`
124
124
  .ft-typography--title {
125
125
  font-family: ${li.fontFamily};
126
126
  font-size: ${li.fontSize};
@@ -129,7 +129,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
129
129
  line-height: ${li.lineHeight};
130
130
  text-transform: ${li.textTransform};
131
131
  }
132
- `,cu=Ut.css`
132
+ `,lu=Ut.css`
133
133
  .ft-typography--title-dense {
134
134
  font-family: ${ci.fontFamily};
135
135
  font-size: ${ci.fontSize};
@@ -138,7 +138,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
138
138
  line-height: ${ci.lineHeight};
139
139
  text-transform: ${ci.textTransform};
140
140
  }
141
- `,du=Ut.css`
141
+ `,cu=Ut.css`
142
142
  .ft-typography--subtitle1 {
143
143
  font-family: ${di.fontFamily};
144
144
  font-size: ${di.fontSize};
@@ -147,7 +147,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
147
147
  line-height: ${di.lineHeight};
148
148
  text-transform: ${di.textTransform};
149
149
  }
150
- `,pu=Ut.css`
150
+ `,du=Ut.css`
151
151
  .ft-typography--subtitle2 {
152
152
  font-family: ${pi.fontFamily};
153
153
  font-size: ${pi.fontSize};
@@ -157,7 +157,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
157
157
  text-transform: ${pi.textTransform};
158
158
  }
159
159
 
160
- `,uu=Ut.css`
160
+ `,pu=Ut.css`
161
161
  .ft-typography--body1 {
162
162
  font-family: ${Br.fontFamily};
163
163
  font-size: ${Br.fontSize};
@@ -184,7 +184,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
184
184
  line-height: ${tt.lineHeight};
185
185
  text-transform: ${tt.textTransform};
186
186
  }
187
- `,fu=Ut.css`
187
+ `,uu=Ut.css`
188
188
  .ft-typography--breadcrumb {
189
189
  font-family: ${ui.fontFamily};
190
190
  font-size: ${ui.fontSize};
@@ -193,7 +193,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
193
193
  line-height: ${ui.lineHeight};
194
194
  text-transform: ${ui.textTransform};
195
195
  }
196
- `,hu=Ut.css`
196
+ `,fu=Ut.css`
197
197
  .ft-typography--overline {
198
198
  font-family: ${fi.fontFamily};
199
199
  font-size: ${fi.fontSize};
@@ -202,7 +202,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
202
202
  line-height: ${fi.lineHeight};
203
203
  text-transform: ${fi.textTransform};
204
204
  }
205
- `,mu=Ut.css`
205
+ `,hu=Ut.css`
206
206
  .ft-typography--button {
207
207
  font-family: ${gr.fontFamily};
208
208
  font-size: ${gr.fontSize};
@@ -211,11 +211,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
211
211
  line-height: ${gr.lineHeight};
212
212
  text-transform: ${gr.textTransform};
213
213
  }
214
- `,gu=Ut.css`
214
+ `,mu=Ut.css`
215
215
  .ft-typography {
216
216
  vertical-align: inherit;
217
217
  }
218
- `,yu=[Object.keys(_n).map(t=>nu(t))]});var bu,Ki,Ce,vu,qi=p(()=>{"use strict";bu=u(A()),Ki=u(x()),Ce={color:Ki.FtCssVariableFactory.extend("--ft-loader-color","",Ki.designSystemVariables.colorPrimary),size:Ki.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},vu=bu.css`
218
+ `,gu=[Object.keys($n).map(t=>iu(t))]});var yu,Ki,Ce,bu,qi=p(()=>{"use strict";yu=f(A()),Ki=f(x()),Ce={color:Ki.FtCssVariableFactory.extend("--ft-loader-color","",Ki.designSystemVariables.colorPrimary),size:Ki.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},bu=yu.css`
219
219
  :host {
220
220
  line-height: 0;
221
221
  }
@@ -284,7 +284,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
284
284
  transform: translate(calc(0.35 * ${Ce.size}), 0);
285
285
  }
286
286
  }
287
- `});var xu,Jt,Le,Su,Lo=p(()=>{"use strict";xu=u(A()),Jt=u(x()),Le={size:Jt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Jt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Jt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Jt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Jt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Su=[xu.css`
287
+ `});var vu,Jt,Le,xu,Lo=p(()=>{"use strict";vu=f(A()),Jt=f(x()),Le={size:Jt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Jt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Jt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Jt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Jt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xu=[vu.css`
288
288
  :host, i.ft-icon {
289
289
  display: inline-flex;
290
290
  align-items: center;
@@ -332,7 +332,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
332
332
  .ft-icon--material {
333
333
  font-family: ${Le.materialFontFamily}, "Material Icons", sans-serif;
334
334
  }
335
- `,Jt.noTextSelect]});var wu,K,Cu,V,Ou,Es,br,Eu,Io=p(()=>{"use strict";wu=u(A()),K=u(x());_r();Ht();qi();Lo();Cu=K.FtCssVariableFactory.extend("--ft-button-color","",K.designSystemVariables.colorPrimary),V={backgroundColor:K.FtCssVariableFactory.extend("--ft-button-background-color","",K.designSystemVariables.colorSurface),borderRadius:K.FtCssVariableFactory.extend("--ft-button-border-radius","",K.designSystemVariables.borderRadiusL),color:Cu,fontSize:K.FtCssVariableFactory.extend("--ft-button-font-size","",gr.fontSize),iconSize:K.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:K.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cu),verticalPadding:K.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:K.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:K.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOpacityDisabled,"Design system")},Ou=K.FtCssVariableFactory.extend("--ft-button-primary-color","",K.FtCssVariableFactory.extend("--ft-button-color","",K.designSystemVariables.colorOnPrimary)),Es={backgroundColor:K.FtCssVariableFactory.extend("--ft-button-primary-background-color","",K.FtCssVariableFactory.extend("--ft-button-background-color","",K.designSystemVariables.colorPrimary)),color:Ou,rippleColor:K.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ou)},br={borderRadius:K.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",K.FtCssVariableFactory.extend("--ft-button-border-radius","",K.designSystemVariables.borderRadiusM)),verticalPadding:K.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:K.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:K.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Eu=[wu.css`
335
+ `,Jt.noTextSelect]});var Ou,K,Su,V,Cu,ws,br,wu,Io=p(()=>{"use strict";Ou=f(A()),K=f(x());_r();Ht();qi();Lo();Su=K.FtCssVariableFactory.extend("--ft-button-color","",K.designSystemVariables.colorPrimary),V={backgroundColor:K.FtCssVariableFactory.extend("--ft-button-background-color","",K.designSystemVariables.colorSurface),borderRadius:K.FtCssVariableFactory.extend("--ft-button-border-radius","",K.designSystemVariables.borderRadiusL),color:Su,fontSize:K.FtCssVariableFactory.extend("--ft-button-font-size","",gr.fontSize),iconSize:K.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:K.FtCssVariableFactory.extend("--ft-button-ripple-color","",Su),verticalPadding:K.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:K.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:K.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOpacityDisabled,"Design system")},Cu=K.FtCssVariableFactory.extend("--ft-button-primary-color","",K.FtCssVariableFactory.extend("--ft-button-color","",K.designSystemVariables.colorOnPrimary)),ws={backgroundColor:K.FtCssVariableFactory.extend("--ft-button-primary-background-color","",K.FtCssVariableFactory.extend("--ft-button-background-color","",K.designSystemVariables.colorPrimary)),color:Cu,rippleColor:K.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Cu)},br={borderRadius:K.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",K.FtCssVariableFactory.extend("--ft-button-border-radius","",K.designSystemVariables.borderRadiusM)),verticalPadding:K.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:K.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:K.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},wu=[Ou.css`
336
336
  :host {
337
337
  display: inline-block;
338
338
  max-width: 100%;
@@ -418,9 +418,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
418
418
  }
419
419
 
420
420
  .ft-button.ft-button--primary {
421
- background-color: ${Es.backgroundColor};
422
- --ft-button-internal-color: ${Es.color};
423
- ${(0,K.setVariable)(w.color,Es.rippleColor)};
421
+ background-color: ${ws.backgroundColor};
422
+ --ft-button-internal-color: ${ws.color};
423
+ ${(0,K.setVariable)(w.color,ws.rippleColor)};
424
424
  }
425
425
 
426
426
  .ft-button:focus {
@@ -469,28 +469,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
469
469
  ${(0,K.setVariable)(Ce.size,V.iconSize)};
470
470
  ${(0,K.setVariable)(Ce.color,"var(--ft-button-internal-color)")};
471
471
  }
472
- `,K.noTextSelect]});var bt=Ro((cE,Ru)=>{Ru.exports=ftGlobals.litClassMap});var Au,Qe,ku,Zi,vt,j,Rs=p(()=>{"use strict";Au=u(A()),Qe=u(W()),ku=u(bt()),Zi=u(x());_r();vt=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},j=class extends Zi.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 Zi.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 Zi.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 Au.html`
472
+ `,K.noTextSelect]});var bt=Ro((sE,Eu)=>{Eu.exports=ftGlobals.litClassMap});var Ru,Qe,Au,Zi,vt,j,Es=p(()=>{"use strict";Ru=f(A()),Qe=f(W()),Au=f(bt()),Zi=f(x());_r();vt=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},j=class extends Zi.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 Zi.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 Zi.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 Ru.html`
473
473
  <style>
474
474
  .ft-ripple .ft-ripple--effect {
475
475
  left: ${this.originX}px;
476
476
  top: ${this.originY}px;
477
477
  }
478
478
  </style>
479
- <div class="${(0,ku.classMap)(e)}">
479
+ <div class="${(0,Au.classMap)(e)}">
480
480
  <div class="ft-ripple--background"></div>
481
481
  <div class="ft-ripple--effect"></div>
482
482
  </div>
483
- `}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=(...c)=>f=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},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()}};j.elementDefinitions={};j.styles=Yd;vt([(0,Qe.property)({type:Boolean})],j.prototype,"primary",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"secondary",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"unbounded",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"activated",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"selected",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"disabled",void 0);vt([(0,Qe.state)()],j.prototype,"hovered",void 0);vt([(0,Qe.state)()],j.prototype,"focused",void 0);vt([(0,Qe.state)()],j.prototype,"pressed",void 0);vt([(0,Qe.state)()],j.prototype,"rippling",void 0);vt([(0,Qe.state)()],j.prototype,"originX",void 0);vt([(0,Qe.state)()],j.prototype,"originY",void 0);vt([(0,Qe.query)(".ft-ripple")],j.prototype,"ripple",void 0);vt([(0,Qe.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0)});var Lu=p(()=>{"use strict"});var Iu,xt=p(()=>{"use strict";Iu=u(x());Rs();Rs();_r();Lu();(0,Iu.customElement)("ft-ripple")(j)});function Wu(t,e){if(!_s(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tu!==void 0?Tu.createHTML(e):e}function hi(t,e,r=t,i){if(e===Xi)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Yi(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=hi(t,n._$AS(t,e.values),n,i)),e}var Ps,Dn,Tu,Du,to,Fu,Yv,Po,Fn,Yi,_s,Xv,As,Qi,$u,Pu,To,_u,Nu,Mu,Ns,zu,Uu,Hu,Xi,Be,Bu,$o,Jv,Ji,ks,Mn,mi,Ls,Is,Ts,$s,ex,Bs=p(()=>{Ps=globalThis,Dn=Ps.trustedTypes,Tu=Dn?Dn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Du="$lit$",to=`lit$${Math.random().toFixed(9).slice(2)}$`,Fu="?"+to,Yv=`<${Fu}>`,Po=document,Fn=()=>Po.createComment(""),Yi=t=>t===null||typeof t!="object"&&typeof t!="function",_s=Array.isArray,Xv=t=>_s(t)||typeof t?.[Symbol.iterator]=="function",As=`[
484
- \f\r]`,Qi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$u=/-->/g,Pu=/>/g,To=RegExp(`>|${As}(?:([^\\s"'>=/]+)(${As}*=${As}*(?:[^
485
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_u=/'/g,Nu=/"/g,Mu=/^(?:script|style|textarea|title)$/i,Ns=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),zu=Ns(1),Uu=Ns(2),Hu=Ns(3),Xi=Symbol.for("lit-noChange"),Be=Symbol.for("lit-nothing"),Bu=new WeakMap,$o=Po.createTreeWalker(Po,129);Jv=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Qi;for(let c=0;c<r;c++){let f=t[c],h,b,y=-1,v=0;for(;v<f.length&&(s.lastIndex=v,b=s.exec(f),b!==null);)v=s.lastIndex,s===Qi?b[1]==="!--"?s=$u:b[1]!==void 0?s=Pu:b[2]!==void 0?(Mu.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=To):b[3]!==void 0&&(s=To):s===To?b[0]===">"?(s=n??Qi,y=-1):b[1]===void 0?y=-2:(y=s.lastIndex-b[2].length,h=b[1],s=b[3]===void 0?To:b[3]==='"'?Nu:_u):s===Nu||s===_u?s=To:s===$u||s===Pu?s=Qi:(s=To,n=void 0);let O=s===To&&t[c+1].startsWith("/>")?" ":"";a+=s===Qi?f+Yv:y>=0?(i.push(h),f.slice(0,y)+Du+f.slice(y)+to+O):f+to+(y===-2?c:O)}return[Wu(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Ji=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=e.length-1,f=this.parts,[h,b]=Jv(e,r);if(this.el=t.createElement(h,i),$o.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=$o.nextNode())!==null&&f.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(Du)){let v=b[s++],O=n.getAttribute(y).split(to),C=/([.?@])?(.*)/.exec(v);f.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?Ls:C[1]==="?"?Is:C[1]==="@"?Ts:mi}),n.removeAttribute(y)}else y.startsWith(to)&&(f.push({type:6,index:a}),n.removeAttribute(y));if(Mu.test(n.tagName)){let y=n.textContent.split(to),v=y.length-1;if(v>0){n.textContent=Dn?Dn.emptyScript:"";for(let O=0;O<v;O++)n.append(y[O],Fn()),$o.nextNode(),f.push({type:2,index:++a});n.append(y[v],Fn())}}}else if(n.nodeType===8)if(n.data===Fu)f.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(to,y+1))!==-1;)f.push({type:7,index:a}),y+=to.length-1}a++}}static createElement(e,r){let i=Po.createElement("template");return i.innerHTML=e,i}};ks=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??Po).importNode(r,!0);$o.currentNode=n;let a=$o.nextNode(),s=0,c=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new Mn(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new $s(a,this,e)),this._$AV.push(h),f=i[++c]}s!==f?.index&&(a=$o.nextNode(),s++)}return $o.currentNode=Po,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++}},Mn=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Be,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=hi(this,e,r),Yi(e)?e===Be||e==null||e===""?(this._$AH!==Be&&this._$AR(),this._$AH=Be):e!==this._$AH&&e!==Xi&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Xv(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!==Be&&Yi(this._$AH)?this._$AA.nextSibling.data=e:this.T(Po.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=Ji.createElement(Wu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new ks(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Bu.get(e.strings);return r===void 0&&Bu.set(e.strings,r=new Ji(e)),r}k(e){_s(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(Fn()),this.O(Fn()),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))}},mi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Be,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=Be}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=hi(this,e,r,0),s=!Yi(e)||e!==this._$AH&&e!==Xi,s&&(this._$AH=e);else{let c=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=hi(this,c[i+f],r,f),h===Xi&&(h=this._$AH[f]),s||=!Yi(h)||h!==this._$AH[f],h===Be?e=Be:e!==Be&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.j(e)}j(e){e===Be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ls=class extends mi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Be?void 0:e}},Is=class extends mi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Be)}},Ts=class extends mi{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=hi(this,e,r,0)??Be)===Xi)return;let i=this._$AH,n=e===Be&&i!==Be||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Be&&(i===Be||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)}},$s=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){hi(this,e)}},ex=Ps.litHtmlPolyfillSupport;ex?.(Ji,Mn),(Ps.litHtmlVersions??=[]).push("3.3.0")});var ju,tx,Ds,Vu,Fs,Ms,vE,xE,Gu=p(()=>{Bs();ju=Symbol.for(""),tx=t=>{if(t?.r===ju)return t?._$litStatic$},Ds=t=>({_$litStatic$:t,r:ju}),Vu=new Map,Fs=t=>(e,...r)=>{let i=r.length,n,a,s=[],c=[],f,h=0,b=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=tx(a))!==void 0);)f+=n+e[++h],b=!0;h!==i&&c.push(a),s.push(f),h++}if(h===i&&s.push(e[i]),b){let y=s.join("$$lit$$");(e=Vu.get(y))===void 0&&(s.raw=s,Vu.set(y,e=s)),r=c}return t(e,...r)},Ms=Fs(zu),vE=Fs(Uu),xE=Fs(Hu)});var Ku=p(()=>{Gu()});var er,zn=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"})(er||(er={}))});var zs,Zu,qu,q,Us=p(()=>{"use strict";Ku();zs=u(W()),Zu=u(x());zn();Ht();qu=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Zu.FtLitElement{constructor(){super(...arguments),this.variant=er.body1}render(){return this.element?Ms`
486
- <${Ds(this.element)}
483
+ `}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)=>u=>{l.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(u)},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()}};j.elementDefinitions={};j.styles=Qd;vt([(0,Qe.property)({type:Boolean})],j.prototype,"primary",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"secondary",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"unbounded",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"activated",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"selected",void 0);vt([(0,Qe.property)({type:Boolean})],j.prototype,"disabled",void 0);vt([(0,Qe.state)()],j.prototype,"hovered",void 0);vt([(0,Qe.state)()],j.prototype,"focused",void 0);vt([(0,Qe.state)()],j.prototype,"pressed",void 0);vt([(0,Qe.state)()],j.prototype,"rippling",void 0);vt([(0,Qe.state)()],j.prototype,"originX",void 0);vt([(0,Qe.state)()],j.prototype,"originY",void 0);vt([(0,Qe.query)(".ft-ripple")],j.prototype,"ripple",void 0);vt([(0,Qe.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0)});var ku=p(()=>{"use strict"});var Lu,xt=p(()=>{"use strict";Lu=f(x());Es();Es();_r();ku();(0,Lu.customElement)("ft-ripple")(j)});function Hu(t,e){if(!Ps(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Iu!==void 0?Iu.createHTML(e):e}function hi(t,e,r=t,i){if(e===Xi)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Yi(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=hi(t,n._$AS(t,e.values),n,i)),e}var $s,Nn,Iu,Bu,to,Du,qv,Po,Bn,Yi,Ps,Zv,Rs,Qi,Tu,$u,To,Pu,_u,Fu,_s,Mu,zu,Uu,Xi,Be,Nu,$o,Qv,Ji,As,Dn,mi,ks,Ls,Is,Ts,Yv,Ns=p(()=>{$s=globalThis,Nn=$s.trustedTypes,Iu=Nn?Nn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bu="$lit$",to=`lit$${Math.random().toFixed(9).slice(2)}$`,Du="?"+to,qv=`<${Du}>`,Po=document,Bn=()=>Po.createComment(""),Yi=t=>t===null||typeof t!="object"&&typeof t!="function",Ps=Array.isArray,Zv=t=>Ps(t)||typeof t?.[Symbol.iterator]=="function",Rs=`[
484
+ \f\r]`,Qi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tu=/-->/g,$u=/>/g,To=RegExp(`>|${Rs}(?:([^\\s"'>=/]+)(${Rs}*=${Rs}*(?:[^
485
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Pu=/'/g,_u=/"/g,Fu=/^(?:script|style|textarea|title)$/i,_s=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Mu=_s(1),zu=_s(2),Uu=_s(3),Xi=Symbol.for("lit-noChange"),Be=Symbol.for("lit-nothing"),Nu=new WeakMap,$o=Po.createTreeWalker(Po,129);Qv=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Qi;for(let l=0;l<r;l++){let u=t[l],h,y,g=-1,v=0;for(;v<u.length&&(s.lastIndex=v,y=s.exec(u),y!==null);)v=s.lastIndex,s===Qi?y[1]==="!--"?s=Tu:y[1]!==void 0?s=$u:y[2]!==void 0?(Fu.test(y[2])&&(n=RegExp("</"+y[2],"g")),s=To):y[3]!==void 0&&(s=To):s===To?y[0]===">"?(s=n??Qi,g=-1):y[1]===void 0?g=-2:(g=s.lastIndex-y[2].length,h=y[1],s=y[3]===void 0?To:y[3]==='"'?_u:Pu):s===_u||s===Pu?s=To:s===Tu||s===$u?s=Qi:(s=To,n=void 0);let O=s===To&&t[l+1].startsWith("/>")?" ":"";a+=s===Qi?u+qv:g>=0?(i.push(h),u.slice(0,g)+Bu+u.slice(g)+to+O):u+to+(g===-2?l:O)}return[Hu(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Ji=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,u=this.parts,[h,y]=Qv(e,r);if(this.el=t.createElement(h,i),$o.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=$o.nextNode())!==null&&u.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let g of n.getAttributeNames())if(g.endsWith(Bu)){let v=y[s++],O=n.getAttribute(g).split(to),C=/([.?@])?(.*)/.exec(v);u.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?ks:C[1]==="?"?Ls:C[1]==="@"?Is:mi}),n.removeAttribute(g)}else g.startsWith(to)&&(u.push({type:6,index:a}),n.removeAttribute(g));if(Fu.test(n.tagName)){let g=n.textContent.split(to),v=g.length-1;if(v>0){n.textContent=Nn?Nn.emptyScript:"";for(let O=0;O<v;O++)n.append(g[O],Bn()),$o.nextNode(),u.push({type:2,index:++a});n.append(g[v],Bn())}}}else if(n.nodeType===8)if(n.data===Du)u.push({type:2,index:a});else{let g=-1;for(;(g=n.data.indexOf(to,g+1))!==-1;)u.push({type:7,index:a}),g+=to.length-1}a++}}static createElement(e,r){let i=Po.createElement("template");return i.innerHTML=e,i}};As=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??Po).importNode(r,!0);$o.currentNode=n;let a=$o.nextNode(),s=0,l=0,u=i[0];for(;u!==void 0;){if(s===u.index){let h;u.type===2?h=new Dn(a,a.nextSibling,this,e):u.type===1?h=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(h=new Ts(a,this,e)),this._$AV.push(h),u=i[++l]}s!==u?.index&&(a=$o.nextNode(),s++)}return $o.currentNode=Po,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++}},Dn=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Be,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=hi(this,e,r),Yi(e)?e===Be||e==null||e===""?(this._$AH!==Be&&this._$AR(),this._$AH=Be):e!==this._$AH&&e!==Xi&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Zv(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!==Be&&Yi(this._$AH)?this._$AA.nextSibling.data=e:this.T(Po.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=Ji.createElement(Hu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new As(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Nu.get(e.strings);return r===void 0&&Nu.set(e.strings,r=new Ji(e)),r}k(e){Ps(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(Bn()),this.O(Bn()),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))}},mi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Be,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=Be}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=hi(this,e,r,0),s=!Yi(e)||e!==this._$AH&&e!==Xi,s&&(this._$AH=e);else{let l=e,u,h;for(e=a[0],u=0;u<a.length-1;u++)h=hi(this,l[i+u],r,u),h===Xi&&(h=this._$AH[u]),s||=!Yi(h)||h!==this._$AH[u],h===Be?e=Be:e!==Be&&(e+=(h??"")+a[u+1]),this._$AH[u]=h}s&&!n&&this.j(e)}j(e){e===Be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ks=class extends mi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Be?void 0:e}},Ls=class extends mi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Be)}},Is=class extends mi{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=hi(this,e,r,0)??Be)===Xi)return;let i=this._$AH,n=e===Be&&i!==Be||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Be&&(i===Be||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)}},Ts=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){hi(this,e)}},Yv=$s.litHtmlPolyfillSupport;Yv?.(Ji,Dn),($s.litHtmlVersions??=[]).push("3.3.0")});var Vu,Xv,Bs,Wu,Ds,Fs,yE,bE,ju=p(()=>{Ns();Vu=Symbol.for(""),Xv=t=>{if(t?.r===Vu)return t?._$litStatic$},Bs=t=>({_$litStatic$:t,r:Vu}),Wu=new Map,Ds=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],u,h=0,y=!1;for(;h<i;){for(u=e[h];h<i&&(a=r[h],(n=Xv(a))!==void 0);)u+=n+e[++h],y=!0;h!==i&&l.push(a),s.push(u),h++}if(h===i&&s.push(e[i]),y){let g=s.join("$$lit$$");(e=Wu.get(g))===void 0&&(s.raw=s,Wu.set(g,e=s)),r=l}return t(e,...r)},Fs=Ds(Mu),yE=Ds(zu),bE=Ds(Uu)});var Gu=p(()=>{ju()});var er,Fn=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"})(er||(er={}))});var Ms,qu,Ku,q,zs=p(()=>{"use strict";Gu();Ms=f(W()),qu=f(x());Fn();Ht();Ku=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 qu.FtLitElement{constructor(){super(...arguments),this.variant=er.body1}render(){return this.element?Fs`
486
+ <${Bs(this.element)}
487
487
  part="text"
488
488
  class="ft-typography ft-typography--${this.variant}">
489
489
  <slot></slot>
490
- </${Ds(this.element)}>
491
- `:Ms`
490
+ </${Bs(this.element)}>
491
+ `:Fs`
492
492
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
493
- `}};q.styles=[lu,cu,du,pu,uu,eo,yr,fu,hu,mu,gu,...yu];qu([(0,zs.property)()],q.prototype,"element",void 0);qu([(0,zs.property)()],q.prototype,"variant",void 0)});var Qu,Pe=p(()=>{"use strict";Qu=u(x());Us();Us();Ht();zn();(0,Qu.customElement)("ft-typography")(q)});var Yu,Fr,vr,Xu,Un=p(()=>{"use strict";Yu=u(A()),Fr=u(x()),vr={distance:Fr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Fr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Fr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Fr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Fr.FtCssVariableFactory.external(Fr.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Fr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Xu=Yu.css`
493
+ `}};q.styles=[su,lu,cu,du,pu,eo,yr,uu,fu,hu,mu,...gu];Ku([(0,Ms.property)()],q.prototype,"element",void 0);Ku([(0,Ms.property)()],q.prototype,"variant",void 0)});var Zu,Pe=p(()=>{"use strict";Zu=f(x());zs();zs();Ht();Fn();(0,Zu.customElement)("ft-typography")(q)});var Qu,Fr,vr,Yu,Mn=p(()=>{"use strict";Qu=f(A()),Fr=f(x()),vr={distance:Fr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Fr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Fr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Fr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Fr.FtCssVariableFactory.external(Fr.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Fr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Yu=Qu.css`
494
494
  .ft-tooltip--container {
495
495
  display: block;
496
496
  }
@@ -519,7 +519,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
519
519
  position: relative;
520
520
  word-break: break-word;
521
521
  }
522
- `});function Vs(t,e,r){return rf(t,tf(e,r))}function Hn(t,e){return typeof t=="function"?t(e):t}function gi(t){return t.split("-")[0]}function ro(t){return t.split("-")[1]}function js(t){return t==="x"?"y":"x"}function Gs(t){return t==="y"?"height":"width"}function Wn(t){return["top","bottom"].includes(gi(t))?"y":"x"}function Ks(t){return js(Wn(t))}function of(t,e,r){r===void 0&&(r=!1);let i=ro(t),n=Ks(t),a=Gs(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Hs(s)),[s,Hs(s)]}function nf(t){return t.replace(/start|end/g,e=>ox[e])}function Hs(t){return t.replace(/left|right|bottom|top/g,e=>rx[e])}function ix(t){return{top:0,right:0,bottom:0,left:0,...t}}function af(t){return typeof t!="number"?ix(t):{top:t,right:t,bottom:t,left:t}}function _o(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 ef,Ju,Ws,tf,rf,rx,ox,qs=p(()=>{ef=["top","right","bottom","left"],Ju=["start","end"],Ws=ef.reduce((t,e)=>t.concat(e,e+"-"+Ju[0],e+"-"+Ju[1]),[]),tf=Math.min,rf=Math.max,rx={left:"right",right:"left",bottom:"top",top:"bottom"},ox={start:"end",end:"start"}});function sf(t,e,r){let{reference:i,floating:n}=t,a=Wn(e),s=Ks(e),c=Gs(s),f=gi(e),h=a==="y",b=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,v=i[c]/2-n[c]/2,O;switch(f){case"top":O={x:b,y:i.y-n.height};break;case"bottom":O={x:b,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y};break;case"left":O={x:i.x-n.width,y};break;default:O={x:i.x,y:i.y}}switch(ro(e)){case"start":O[s]-=v*(r&&h?-1:1);break;case"end":O[s]+=v*(r&&h?-1:1);break}return O}async function Zs(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:f}=t,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:y="floating",altBoundary:v=!1,padding:O=0}=Hn(e,t),C=af(O),_=c[v?y==="floating"?"reference":"floating":y],$=_o(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:b,strategy:f})),P=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,H=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),J=await(a.isElement==null?void 0:a.isElement(H))?await(a.getScale==null?void 0:a.getScale(H))||{x:1,y:1}:{x:1,y:1},re=_o(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:P,offsetParent:H,strategy:f}):P);return{top:($.top-re.top+C.top)/J.y,bottom:(re.bottom-$.bottom+C.bottom)/J.y,left:($.left-re.left+C.left)/J.x,right:(re.right-$.right+C.right)/J.x}}function nx(t,e,r){return(t?[...r.filter(n=>ro(n)===t),...r.filter(n=>ro(n)!==t)]:r.filter(n=>gi(n)===n)).filter(n=>t?ro(n)===t||(e?nf(n)!==n:!1):!0)}var lf,Qs,Ys,Xs=p(()=>{qs();qs();lf=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:b,y}=sf(h,i,f),v=i,O={},C=0;for(let R=0;R<c.length;R++){let{name:_,fn:$}=c[R],{x:P,y:H,data:J,reset:re}=await $({x:b,y,initialPlacement:i,placement:v,strategy:n,middlewareData:O,rects:h,platform:s,elements:{reference:t,floating:e}});b=P??b,y=H??y,O={...O,[_]:{...O[_],...J}},re&&C<=50&&(C++,typeof re=="object"&&(re.placement&&(v=re.placement),re.rects&&(h=re.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):re.rects),{x:b,y}=sf(h,v,f)),R=-1)}return{x:b,y,placement:v,strategy:n,middlewareData:O}};Qs=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:f,elements:h}=e,{crossAxis:b=!1,alignment:y,allowedPlacements:v=Ws,autoAlignment:O=!0,...C}=Hn(t,e),R=y!==void 0||v===Ws?nx(y||null,O,v):v,_=await Zs(e,C),$=((r=s.autoPlacement)==null?void 0:r.index)||0,P=R[$];if(P==null)return{};let H=of(P,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==P)return{reset:{placement:R[0]}};let J=[_[gi(P)],_[H[0]],_[H[1]]],re=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:J}],yt=R[$+1];if(yt)return{data:{index:$+1,overflows:re},reset:{placement:yt}};let hr=re.map(qe=>{let g=ro(qe.placement);return[qe.placement,g&&b?qe.overflows.slice(0,2).reduce((S,D)=>S+D,0):qe.overflows[0],qe.overflows]}).sort((qe,g)=>qe[1]-g[1]),mr=((n=hr.filter(qe=>qe[2].slice(0,ro(qe[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||hr[0][0];return mr!==c?{data:{index:$+1,overflows:re},reset:{placement:mr}}:{}}}},Ys=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:c={fn:_=>{let{x:$,y:P}=_;return{x:$,y:P}}},...f}=Hn(t,e),h={x:r,y:i},b=await Zs(e,f),y=Wn(gi(n)),v=js(y),O=h[v],C=h[y];if(a){let _=v==="y"?"top":"left",$=v==="y"?"bottom":"right",P=O+b[_],H=O-b[$];O=Vs(P,O,H)}if(s){let _=y==="y"?"top":"left",$=y==="y"?"bottom":"right",P=C+b[_],H=C-b[$];C=Vs(P,C,H)}let R=c.fn({...e,[v]:O,[y]:C});return{...R,data:{x:R.x-r,y:R.y-i,enabled:{[v]:a,[y]:s}}}}}}});var Js,yi,en,Mr,cf=p(()=>{Js=Math.min,yi=Math.max,en=Math.round,Mr=t=>({x:t,y:t})});function zr(t){return pf(t)?(t.nodeName||"").toLowerCase():"#document"}function St(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ur(t){var e;return(e=(pf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function pf(t){return t instanceof Node||t instanceof St(t).Node}function xr(t){return t instanceof Element||t instanceof St(t).Element}function tr(t){return t instanceof HTMLElement||t instanceof St(t).HTMLElement}function df(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof St(t).ShadowRoot}function bi(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function uf(t){return["table","td","th"].includes(zr(t))}function jn(t){let e=Gn(),r=Tt(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 ff(t){let e=No(t);for(;tr(e)&&!tn(e);){if(jn(e))return e;e=No(e)}return null}function Gn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function tn(t){return["html","body","#document"].includes(zr(t))}function Tt(t){return St(t).getComputedStyle(t)}function rn(t){return xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function No(t){if(zr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||df(t)&&t.host||Ur(t);return df(e)?e.host:e}function hf(t){let e=No(t);return tn(e)?t.ownerDocument?t.ownerDocument.body:t.body:tr(e)&&bi(e)?e:hf(e)}function Vn(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=hf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=St(n);return a?e.concat(s,s.visualViewport||[],bi(n)?n:[],s.frameElement&&r?Vn(s.frameElement):[]):e.concat(n,Vn(n,[],r))}var mf=p(()=>{});function bf(t){let e=Tt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=tr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,c=en(r)!==a||en(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function vf(t){return xr(t)?t:t.contextElement}function vi(t){let e=vf(t);if(!tr(e))return Mr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=bf(e),s=(a?en(r.width):r.width)/i,c=(a?en(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function xf(t){let e=St(t);return!Gn()||!e.visualViewport?lx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function cx(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==St(t)?!1:e}function on(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=vf(t),s=Mr(1);e&&(i?xr(i)&&(s=vi(i)):s=vi(t));let c=cx(a,r,i)?xf(a):Mr(0),f=(n.left+c.x)/s.x,h=(n.top+c.y)/s.y,b=n.width/s.x,y=n.height/s.y;if(a){let v=St(a),O=i&&xr(i)?St(i):i,C=v.frameElement;for(;C&&i&&O!==v;){let R=vi(C),_=C.getBoundingClientRect(),$=Tt(C),P=_.left+(C.clientLeft+parseFloat($.paddingLeft))*R.x,H=_.top+(C.clientTop+parseFloat($.paddingTop))*R.y;f*=R.x,h*=R.y,b*=R.x,y*=R.y,f+=P,h+=H,C=St(C).frameElement}}return _o({width:b,height:y,x:f,y:h})}function dx(t){let{rect:e,offsetParent:r,strategy:i}=t,n=tr(r),a=Ur(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=Mr(1),f=Mr(0);if((n||!n&&i!=="fixed")&&((zr(r)!=="body"||bi(a))&&(s=rn(r)),tr(r))){let h=on(r);c=vi(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+f.x,y:e.y*c.y-s.scrollTop*c.y+f.y}}function px(t){return Array.from(t.getClientRects())}function Sf(t){return on(Ur(t)).left+rn(t).scrollLeft}function ux(t){let e=Ur(t),r=rn(t),i=t.ownerDocument.body,n=yi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=yi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Sf(t),c=-r.scrollTop;return Tt(i).direction==="rtl"&&(s+=yi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function fx(t,e){let r=St(t),i=Ur(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,f=0;if(n){a=n.width,s=n.height;let h=Gn();(!h||h&&e==="fixed")&&(c=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:c,y:f}}function hx(t,e){let r=on(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=tr(t)?vi(t):Mr(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:c,x:f,y:h}}function gf(t,e,r){let i;if(e==="viewport")i=fx(t,r);else if(e==="document")i=ux(Ur(t));else if(xr(e))i=hx(e,r);else{let n=xf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return _o(i)}function Cf(t,e){let r=No(t);return r===e||!xr(r)||tn(r)?!1:Tt(r).position==="fixed"||Cf(r,e)}function mx(t,e){let r=e.get(t);if(r)return r;let i=Vn(t,[],!1).filter(c=>xr(c)&&zr(c)!=="body"),n=null,a=Tt(t).position==="fixed",s=a?No(t):t;for(;xr(s)&&!tn(s);){let c=Tt(s),f=jn(s);!f&&c.position==="fixed"&&(n=null),(a?!f&&!n:!f&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||bi(s)&&!f&&Cf(t,s))?i=i.filter(b=>b!==s):n=c,s=No(s)}return e.set(t,i),i}function gx(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?mx(e,this._c):[].concat(r),i],c=s[0],f=s.reduce((h,b)=>{let y=gf(e,b,n);return h.top=yi(y.top,h.top),h.right=Js(y.right,h.right),h.bottom=Js(y.bottom,h.bottom),h.left=yi(y.left,h.left),h},gf(e,c,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function yx(t){return bf(t)}function bx(t,e,r){let i=tr(e),n=Ur(e),a=r==="fixed",s=on(t,!0,a,e),c={scrollLeft:0,scrollTop:0},f=Mr(0);if(i||!i&&!a)if((zr(e)!=="body"||bi(n))&&(c=rn(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=Sf(n));return{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function yf(t,e){return!tr(t)||Tt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Of(t,e){let r=St(t);if(!tr(t))return r;let i=yf(t,e);for(;i&&uf(i)&&Tt(i).position==="static";)i=yf(i,e);return i&&(zr(i)==="html"||zr(i)==="body"&&Tt(i).position==="static"&&!jn(i))?r:i||ff(t)||r}function xx(t){return Tt(t).direction==="rtl"}var lx,vx,Kn,wf,Ef=p(()=>{Xs();Xs();cf();mf();lx=Mr(0);vx=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Of,a=this.getDimensions;return{reference:bx(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};Kn={convertOffsetParentRelativeRectToViewportRelativeRect:dx,getDocumentElement:Ur,getClippingRect:gx,getOffsetParent:Of,getElementRects:vx,getClientRects:px,getDimensions:yx,getScale:vi,isElement:xr,isRTL:xx},wf=(t,e,r)=>{let i=new Map,n={platform:Kn,...r},a={...n.platform,_c:i};return lf(t,e,{...n,platform:a})}});function Rf(t){return Sx(t)}function el(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Sx(t){for(let e=t;e;e=el(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=el(t);e;e=el(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 Af=p(()=>{});async function kf(t,e,r){return wf(t,e,{platform:{...Kn,getOffsetParent:i=>Kn.getOffsetParent(i,Rf)},middleware:[Ys({crossAxis:!0}),Qs({allowedPlacements:[r]})]})}var Lf=p(()=>{"use strict";Ef();Af()});var If,ze,nn,Ct,Oe,tl=p(()=>{"use strict";If=u(A()),ze=u(W()),nn=u(x());Pe();Un();Lf();Ct=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Oe=class extends nn.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new nn.Debouncer,this.revealDebouncer=new nn.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return If.html`
522
+ `});function Ws(t,e,r){return tf(t,ef(e,r))}function zn(t,e){return typeof t=="function"?t(e):t}function gi(t){return t.split("-")[0]}function ro(t){return t.split("-")[1]}function Vs(t){return t==="x"?"y":"x"}function js(t){return t==="y"?"height":"width"}function Un(t){return["top","bottom"].includes(gi(t))?"y":"x"}function Gs(t){return Vs(Un(t))}function rf(t,e,r){r===void 0&&(r=!1);let i=ro(t),n=Gs(t),a=js(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Us(s)),[s,Us(s)]}function of(t){return t.replace(/start|end/g,e=>ex[e])}function Us(t){return t.replace(/left|right|bottom|top/g,e=>Jv[e])}function tx(t){return{top:0,right:0,bottom:0,left:0,...t}}function nf(t){return typeof t!="number"?tx(t):{top:t,right:t,bottom:t,left:t}}function _o(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 Ju,Xu,Hs,ef,tf,Jv,ex,Ks=p(()=>{Ju=["top","right","bottom","left"],Xu=["start","end"],Hs=Ju.reduce((t,e)=>t.concat(e,e+"-"+Xu[0],e+"-"+Xu[1]),[]),ef=Math.min,tf=Math.max,Jv={left:"right",right:"left",bottom:"top",top:"bottom"},ex={start:"end",end:"start"}});function af(t,e,r){let{reference:i,floating:n}=t,a=Un(e),s=Gs(e),l=js(s),u=gi(e),h=a==="y",y=i.x+i.width/2-n.width/2,g=i.y+i.height/2-n.height/2,v=i[l]/2-n[l]/2,O;switch(u){case"top":O={x:y,y:i.y-n.height};break;case"bottom":O={x:y,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y:g};break;case"left":O={x:i.x-n.width,y:g};break;default:O={x:i.x,y:i.y}}switch(ro(e)){case"start":O[s]-=v*(r&&h?-1:1);break;case"end":O[s]+=v*(r&&h?-1:1);break}return O}async function qs(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:v=!1,padding:O=0}=zn(e,t),C=nf(O),_=l[v?g==="floating"?"reference":"floating":g],$=_o(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:u})),P=g==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,H=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),J=await(a.isElement==null?void 0:a.isElement(H))?await(a.getScale==null?void 0:a.getScale(H))||{x:1,y:1}:{x:1,y:1},re=_o(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:H,strategy:u}):P);return{top:($.top-re.top+C.top)/J.y,bottom:(re.bottom-$.bottom+C.bottom)/J.y,left:($.left-re.left+C.left)/J.x,right:(re.right-$.right+C.right)/J.x}}function rx(t,e,r){return(t?[...r.filter(n=>ro(n)===t),...r.filter(n=>ro(n)!==t)]:r.filter(n=>gi(n)===n)).filter(n=>t?ro(n)===t||(e?of(n)!==n:!1):!0)}var sf,Zs,Qs,Ys=p(()=>{Ks();Ks();sf=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:y,y:g}=af(h,i,u),v=i,O={},C=0;for(let R=0;R<l.length;R++){let{name:_,fn:$}=l[R],{x:P,y:H,data:J,reset:re}=await $({x:y,y:g,initialPlacement:i,placement:v,strategy:n,middlewareData:O,rects:h,platform:s,elements:{reference:t,floating:e}});y=P??y,g=H??g,O={...O,[_]:{...O[_],...J}},re&&C<=50&&(C++,typeof re=="object"&&(re.placement&&(v=re.placement),re.rects&&(h=re.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):re.rects),{x:y,y:g}=af(h,v,u)),R=-1)}return{x:y,y:g,placement:v,strategy:n,middlewareData:O}};Zs=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:u,elements:h}=e,{crossAxis:y=!1,alignment:g,allowedPlacements:v=Hs,autoAlignment:O=!0,...C}=zn(t,e),R=g!==void 0||v===Hs?rx(g||null,O,v):v,_=await qs(e,C),$=((r=s.autoPlacement)==null?void 0:r.index)||0,P=R[$];if(P==null)return{};let H=rf(P,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(l!==P)return{reset:{placement:R[0]}};let J=[_[gi(P)],_[H[0]],_[H[1]]],re=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:J}],yt=R[$+1];if(yt)return{data:{index:$+1,overflows:re},reset:{placement:yt}};let hr=re.map(qe=>{let b=ro(qe.placement);return[qe.placement,b&&y?qe.overflows.slice(0,2).reduce((S,D)=>S+D,0):qe.overflows[0],qe.overflows]}).sort((qe,b)=>qe[1]-b[1]),mr=((n=hr.filter(qe=>qe[2].slice(0,ro(qe[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||hr[0][0];return mr!==l?{data:{index:$+1,overflows:re},reset:{placement:mr}}:{}}}},Qs=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:$,y:P}=_;return{x:$,y:P}}},...u}=zn(t,e),h={x:r,y:i},y=await qs(e,u),g=Un(gi(n)),v=Vs(g),O=h[v],C=h[g];if(a){let _=v==="y"?"top":"left",$=v==="y"?"bottom":"right",P=O+y[_],H=O-y[$];O=Ws(P,O,H)}if(s){let _=g==="y"?"top":"left",$=g==="y"?"bottom":"right",P=C+y[_],H=C-y[$];C=Ws(P,C,H)}let R=l.fn({...e,[v]:O,[g]:C});return{...R,data:{x:R.x-r,y:R.y-i,enabled:{[v]:a,[g]:s}}}}}}});var Xs,yi,en,Mr,lf=p(()=>{Xs=Math.min,yi=Math.max,en=Math.round,Mr=t=>({x:t,y:t})});function zr(t){return df(t)?(t.nodeName||"").toLowerCase():"#document"}function St(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ur(t){var e;return(e=(df(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function df(t){return t instanceof Node||t instanceof St(t).Node}function xr(t){return t instanceof Element||t instanceof St(t).Element}function tr(t){return t instanceof HTMLElement||t instanceof St(t).HTMLElement}function cf(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof St(t).ShadowRoot}function bi(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function pf(t){return["table","td","th"].includes(zr(t))}function Wn(t){let e=Vn(),r=Tt(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 uf(t){let e=No(t);for(;tr(e)&&!tn(e);){if(Wn(e))return e;e=No(e)}return null}function Vn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function tn(t){return["html","body","#document"].includes(zr(t))}function Tt(t){return St(t).getComputedStyle(t)}function rn(t){return xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function No(t){if(zr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cf(t)&&t.host||Ur(t);return cf(e)?e.host:e}function ff(t){let e=No(t);return tn(e)?t.ownerDocument?t.ownerDocument.body:t.body:tr(e)&&bi(e)?e:ff(e)}function Hn(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=ff(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=St(n);return a?e.concat(s,s.visualViewport||[],bi(n)?n:[],s.frameElement&&r?Hn(s.frameElement):[]):e.concat(n,Hn(n,[],r))}var hf=p(()=>{});function yf(t){let e=Tt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=tr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=en(r)!==a||en(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function bf(t){return xr(t)?t:t.contextElement}function vi(t){let e=bf(t);if(!tr(e))return Mr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=yf(e),s=(a?en(r.width):r.width)/i,l=(a?en(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function vf(t){let e=St(t);return!Vn()||!e.visualViewport?nx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ax(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==St(t)?!1:e}function on(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=bf(t),s=Mr(1);e&&(i?xr(i)&&(s=vi(i)):s=vi(t));let l=ax(a,r,i)?vf(a):Mr(0),u=(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 v=St(a),O=i&&xr(i)?St(i):i,C=v.frameElement;for(;C&&i&&O!==v;){let R=vi(C),_=C.getBoundingClientRect(),$=Tt(C),P=_.left+(C.clientLeft+parseFloat($.paddingLeft))*R.x,H=_.top+(C.clientTop+parseFloat($.paddingTop))*R.y;u*=R.x,h*=R.y,y*=R.x,g*=R.y,u+=P,h+=H,C=St(C).frameElement}}return _o({width:y,height:g,x:u,y:h})}function sx(t){let{rect:e,offsetParent:r,strategy:i}=t,n=tr(r),a=Ur(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Mr(1),u=Mr(0);if((n||!n&&i!=="fixed")&&((zr(r)!=="body"||bi(a))&&(s=rn(r)),tr(r))){let h=on(r);l=vi(r),u.x=h.x+r.clientLeft,u.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+u.x,y:e.y*l.y-s.scrollTop*l.y+u.y}}function lx(t){return Array.from(t.getClientRects())}function xf(t){return on(Ur(t)).left+rn(t).scrollLeft}function cx(t){let e=Ur(t),r=rn(t),i=t.ownerDocument.body,n=yi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=yi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+xf(t),l=-r.scrollTop;return Tt(i).direction==="rtl"&&(s+=yi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function dx(t,e){let r=St(t),i=Ur(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,u=0;if(n){a=n.width,s=n.height;let h=Vn();(!h||h&&e==="fixed")&&(l=n.offsetLeft,u=n.offsetTop)}return{width:a,height:s,x:l,y:u}}function px(t,e){let r=on(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=tr(t)?vi(t):Mr(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,u=n*a.x,h=i*a.y;return{width:s,height:l,x:u,y:h}}function mf(t,e,r){let i;if(e==="viewport")i=dx(t,r);else if(e==="document")i=cx(Ur(t));else if(xr(e))i=px(e,r);else{let n=vf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return _o(i)}function Sf(t,e){let r=No(t);return r===e||!xr(r)||tn(r)?!1:Tt(r).position==="fixed"||Sf(r,e)}function ux(t,e){let r=e.get(t);if(r)return r;let i=Hn(t,[],!1).filter(l=>xr(l)&&zr(l)!=="body"),n=null,a=Tt(t).position==="fixed",s=a?No(t):t;for(;xr(s)&&!tn(s);){let l=Tt(s),u=Wn(s);!u&&l.position==="fixed"&&(n=null),(a?!u&&!n:!u&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||bi(s)&&!u&&Sf(t,s))?i=i.filter(y=>y!==s):n=l,s=No(s)}return e.set(t,i),i}function fx(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?ux(e,this._c):[].concat(r),i],l=s[0],u=s.reduce((h,y)=>{let g=mf(e,y,n);return h.top=yi(g.top,h.top),h.right=Xs(g.right,h.right),h.bottom=Xs(g.bottom,h.bottom),h.left=yi(g.left,h.left),h},mf(e,l,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function hx(t){return yf(t)}function mx(t,e,r){let i=tr(e),n=Ur(e),a=r==="fixed",s=on(t,!0,a,e),l={scrollLeft:0,scrollTop:0},u=Mr(0);if(i||!i&&!a)if((zr(e)!=="body"||bi(n))&&(l=rn(e)),i){let h=on(e,!0,a,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else n&&(u.x=xf(n));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function gf(t,e){return!tr(t)||Tt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Cf(t,e){let r=St(t);if(!tr(t))return r;let i=gf(t,e);for(;i&&pf(i)&&Tt(i).position==="static";)i=gf(i,e);return i&&(zr(i)==="html"||zr(i)==="body"&&Tt(i).position==="static"&&!Wn(i))?r:i||uf(t)||r}function yx(t){return Tt(t).direction==="rtl"}var nx,gx,jn,Of,wf=p(()=>{Ys();Ys();lf();hf();nx=Mr(0);gx=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Cf,a=this.getDimensions;return{reference:mx(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};jn={convertOffsetParentRelativeRectToViewportRelativeRect:sx,getDocumentElement:Ur,getClippingRect:fx,getOffsetParent:Cf,getElementRects:gx,getClientRects:lx,getDimensions:hx,getScale:vi,isElement:xr,isRTL:yx},Of=(t,e,r)=>{let i=new Map,n={platform:jn,...r},a={...n.platform,_c:i};return sf(t,e,{...n,platform:a})}});function Ef(t){return bx(t)}function Js(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function bx(t){for(let e=t;e;e=Js(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Js(t);e;e=Js(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 Rf=p(()=>{});async function Af(t,e,r){return Of(t,e,{platform:{...jn,getOffsetParent:i=>jn.getOffsetParent(i,Ef)},middleware:[Qs({crossAxis:!0}),Zs({allowedPlacements:[r]})]})}var kf=p(()=>{"use strict";wf();Rf()});var Lf,ze,nn,Ct,Oe,el=p(()=>{"use strict";Lf=f(A()),ze=f(W()),nn=f(x());Pe();Mn();kf();Ct=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},Oe=class extends nn.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new nn.Debouncer,this.revealDebouncer=new nn.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Lf.html`
523
523
  <div part="container"
524
524
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
525
525
  @mouseenter=${this.onHover}
@@ -537,19 +537,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
537
537
  </div>
538
538
  </div>
539
539
  </div>
540
- `}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()}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=e,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!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="",kf(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 var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};Oe.elementDefinitions={"ft-typography":q};Oe.styles=Xu;Ct([(0,ze.property)()],Oe.prototype,"text",void 0);Ct([(0,ze.property)({type:Boolean})],Oe.prototype,"manual",void 0);Ct([(0,ze.property)({type:Boolean})],Oe.prototype,"inline",void 0);Ct([(0,ze.property)({type:Number})],Oe.prototype,"delay",void 0);Ct([(0,ze.property)()],Oe.prototype,"position",void 0);Ct([(0,ze.queryAssignedNodes)()],Oe.prototype,"slotNodes",void 0);Ct([(0,ze.query)(".ft-tooltip--container")],Oe.prototype,"container",void 0);Ct([(0,ze.query)(".ft-tooltip")],Oe.prototype,"tooltip",void 0);Ct([(0,ze.query)(".ft-tooltip--content")],Oe.prototype,"tooltipContent",void 0);Ct([(0,ze.state)()],Oe.prototype,"visible",void 0);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onTouch",null);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onHover",null);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onOut",null);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onClick",null)});var Tf=p(()=>{"use strict"});var $f,qn=p(()=>{"use strict";$f=u(x());tl();tl();Un();Tf();(0,$f.customElement)("ft-tooltip")(Oe)});var Zn=Ro((fR,Pf)=>{Pf.exports=ftGlobals.litUnsafeHTML});function Qn(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=Cx.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=rl.get(c))!==null&&i!==void 0?i:rl.get(e))!==null&&n!==void 0?n:rl.get(s))!==null&&a!==void 0?a:k.UNKNOWN}var Ot,k,rl,Cx,hR,ol=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;"})(Ot||(Ot={}));(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;"})(k||(k={}));rl=new Map([...["abw"].map(t=>[t,k.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,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.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,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.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,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.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,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]),Cx=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"]]);hR={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"}});var je,il=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(je||(je={}))});var an,oo,_f,Nf,sn,fe,nl=p(()=>{"use strict";an=u(A()),oo=u(W()),_f=u(x()),Nf=u(Zn());ol();Lo();il();sn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},fe=class extends _f.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=an.nothing}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,r=e!==je.material||!!this.value;return an.html`
540
+ `}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()}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=e,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!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="",Af(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 var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};Oe.elementDefinitions={"ft-typography":q};Oe.styles=Yu;Ct([(0,ze.property)()],Oe.prototype,"text",void 0);Ct([(0,ze.property)({type:Boolean})],Oe.prototype,"manual",void 0);Ct([(0,ze.property)({type:Boolean})],Oe.prototype,"inline",void 0);Ct([(0,ze.property)({type:Number})],Oe.prototype,"delay",void 0);Ct([(0,ze.property)()],Oe.prototype,"position",void 0);Ct([(0,ze.queryAssignedNodes)()],Oe.prototype,"slotNodes",void 0);Ct([(0,ze.query)(".ft-tooltip--container")],Oe.prototype,"container",void 0);Ct([(0,ze.query)(".ft-tooltip")],Oe.prototype,"tooltip",void 0);Ct([(0,ze.query)(".ft-tooltip--content")],Oe.prototype,"tooltipContent",void 0);Ct([(0,ze.state)()],Oe.prototype,"visible",void 0);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onTouch",null);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onHover",null);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onOut",null);Ct([(0,ze.eventOptions)({passive:!0})],Oe.prototype,"onClick",null)});var If=p(()=>{"use strict"});var Tf,Gn=p(()=>{"use strict";Tf=f(x());el();el();Mn();If();(0,Tf.customElement)("ft-tooltip")(Oe)});var Kn=Ro((pR,$f)=>{$f.exports=ftGlobals.litUnsafeHTML});function qn(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=vx.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=tl.get(l))!==null&&i!==void 0?i:tl.get(e))!==null&&n!==void 0?n:tl.get(s))!==null&&a!==void 0?a:k.UNKNOWN}var Ot,k,tl,vx,uR,rl=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;"})(Ot||(Ot={}));(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;"})(k||(k={}));tl=new Map([...["abw"].map(t=>[t,k.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,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.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,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.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,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.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,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]),vx=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"]]);uR={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"}});var je,ol=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(je||(je={}))});var an,oo,Pf,_f,sn,fe,il=p(()=>{"use strict";an=f(A()),oo=f(W()),Pf=f(x()),_f=f(Kn());rl();Lo();ol();sn=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},fe=class extends Pf.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=an.nothing}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,r=e!==je.material||!!this.value;return an.html`
541
541
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
542
- ${(0,Nf.unsafeHTML)(this.resolvedIcon)}
542
+ ${(0,_f.unsafeHTML)(this.resolvedIcon)}
543
543
  <slot ?hidden=${r}></slot>
544
544
  </i>
545
- `}get textContent(){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.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=(e=k[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case je.material:this.resolvedIcon=this.value||an.nothing;break;default:this.resolvedIcon=(r=Ot[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=Su;sn([(0,oo.property)()],fe.prototype,"variant",void 0);sn([(0,oo.property)()],fe.prototype,"value",void 0);sn([(0,oo.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);sn([(0,oo.state)()],fe.prototype,"resolvedIcon",void 0);sn([(0,oo.query)("slot")],fe.prototype,"slottedContent",void 0)});var Bf,Wt=p(()=>{"use strict";Bf=u(x());nl();Lo();il();nl();ol();(0,Bf.customElement)("ft-icon")(fe)});var Df,Ff,Bo,al=p(()=>{"use strict";Df=u(A()),Ff=u(x());qi();Bo=class extends Ff.FtLitElement{render(){return Df.html`
545
+ `}get textContent(){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.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=(e=k[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case je.material:this.resolvedIcon=this.value||an.nothing;break;default:this.resolvedIcon=(r=Ot[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=xu;sn([(0,oo.property)()],fe.prototype,"variant",void 0);sn([(0,oo.property)()],fe.prototype,"value",void 0);sn([(0,oo.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);sn([(0,oo.state)()],fe.prototype,"resolvedIcon",void 0);sn([(0,oo.query)("slot")],fe.prototype,"slottedContent",void 0)});var Nf,Wt=p(()=>{"use strict";Nf=f(x());il();Lo();ol();il();rl();(0,Nf.customElement)("ft-icon")(fe)});var Bf,Df,Bo,nl=p(()=>{"use strict";Bf=f(A()),Df=f(x());qi();Bo=class extends Df.FtLitElement{render(){return Bf.html`
546
546
  <div class="ft-loader">
547
547
  <div></div>
548
548
  <div></div>
549
549
  <div></div>
550
550
  <div></div>
551
551
  </div>
552
- `}};Bo.styles=vu});var Mf=p(()=>{"use strict"});var zf,Uf=p(()=>{"use strict";zf=u(x());al();qi();Mf();al();(0,zf.customElement)("ft-loader")(Bo)});var no,io,sl,Ue,Ye,we,ll=p(()=>{"use strict";no=u(x());xt();qn();Pe();Wt();Uf();io=u(A()),sl=u(bt()),Ue=u(W()),Ye=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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(0,no.toFtFormComponent)(no.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.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=io.html`
552
+ `}};Bo.styles=bu});var Ff=p(()=>{"use strict"});var Mf,zf=p(()=>{"use strict";Mf=f(x());nl();qi();Ff();nl();(0,Mf.customElement)("ft-loader")(Bo)});var no,io,al,Ue,Ye,we,sl=p(()=>{"use strict";no=f(x());xt();Gn();Pe();Wt();zf();io=f(A()),al=f(bt()),Ue=f(W()),Ye=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(0,no.toFtFormComponent)(no.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.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=io.html`
553
553
  <ft-ripple part="ripple"
554
554
  ?disabled=${this.isDisabled()}
555
555
  ?activated=${this.activated}
@@ -566,14 +566,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
566
566
  <a href="${a}"
567
567
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
568
568
  part="button"
569
- class="${(0,sl.classMap)(this.buttonClasses)}"
569
+ class="${(0,al.classMap)(this.buttonClasses)}"
570
570
  aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
571
571
  ?disabled=${this.isDisabled()}>
572
572
  ${n}
573
573
  </a>
574
574
  `:io.html`
575
575
  <button part="button"
576
- class="${(0,sl.classMap)(this.buttonClasses)}"
576
+ class="${(0,al.classMap)(this.buttonClasses)}"
577
577
  aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
578
578
  ?disabled=${this.isDisabled()}>
579
579
  ${n}
@@ -589,7 +589,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
589
589
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
590
590
  `:io.html`
591
591
  <slot part="icon" name="icon"></slot>
592
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}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.textContent}get textContent(){return(0,no.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};we.elementDefinitions={"ft-ripple":j,"ft-tooltip":Oe,"ft-typography":q,"ft-icon":fe,"ft-loader":Bo};Ye([(0,Ue.property)()],we.prototype,"href",void 0);Ye([(0,Ue.property)()],we.prototype,"target",void 0);Ye([(0,Ue.property)()],we.prototype,"type",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"disabled",void 0);Ye([(0,Ue.property)()],we.prototype,"label",void 0);Ye([(0,Ue.property)()],we.prototype,"icon",void 0);Ye([(0,Ue.property)()],we.prototype,"iconVariant",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"trailingIcon",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"loading",void 0);Ye([(0,Ue.property)({attribute:"aria-label"})],we.prototype,"ariaLabel",void 0);Ye([(0,Ue.property)()],we.prototype,"tooltipPosition",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"hideTooltip",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"forceTooltip",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"activated",void 0);Ye([(0,Ue.query)(".ft-button")],we.prototype,"button",void 0);Ye([(0,Ue.query)(".ft-button--label slot")],we.prototype,"slottedContent",void 0);Ye([(0,Ue.query)("[part=tooltip]")],we.prototype,"tooltip",void 0)});var ln,Hf,Yn,Ie,cl=p(()=>{"use strict";ln=u(W()),Hf=u(x());Io();ll();Yn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 we{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ie.styles=[Hf.safariEllipsisFix,Eu];Yn([(0,ln.property)({type:Boolean})],Ie.prototype,"primary",void 0);Yn([(0,ln.property)({type:Boolean})],Ie.prototype,"outlined",void 0);Yn([(0,ln.property)({type:Boolean})],Ie.prototype,"dense",void 0);Yn([(0,ln.property)({type:Boolean})],Ie.prototype,"round",void 0)});var Wf,E,Ox,Vf,dl=p(()=>{"use strict";Wf=u(A()),E=u(x());_r();qi();Lo();ne();Ox={...m,iconOnlyScale:E.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Vf=[Wf.css`
592
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}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.textContent}get textContent(){return(0,no.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};we.elementDefinitions={"ft-ripple":j,"ft-tooltip":Oe,"ft-typography":q,"ft-icon":fe,"ft-loader":Bo};Ye([(0,Ue.property)()],we.prototype,"href",void 0);Ye([(0,Ue.property)()],we.prototype,"target",void 0);Ye([(0,Ue.property)()],we.prototype,"type",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"disabled",void 0);Ye([(0,Ue.property)()],we.prototype,"label",void 0);Ye([(0,Ue.property)()],we.prototype,"icon",void 0);Ye([(0,Ue.property)()],we.prototype,"iconVariant",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"trailingIcon",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"loading",void 0);Ye([(0,Ue.property)({attribute:"aria-label"})],we.prototype,"ariaLabel",void 0);Ye([(0,Ue.property)()],we.prototype,"tooltipPosition",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"hideTooltip",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"forceTooltip",void 0);Ye([(0,Ue.property)({type:Boolean})],we.prototype,"activated",void 0);Ye([(0,Ue.query)(".ft-button")],we.prototype,"button",void 0);Ye([(0,Ue.query)(".ft-button--label slot")],we.prototype,"slottedContent",void 0);Ye([(0,Ue.query)("[part=tooltip]")],we.prototype,"tooltip",void 0)});var ln,Uf,Zn,Ie,ll=p(()=>{"use strict";ln=f(W()),Uf=f(x());Io();sl();Zn=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 we{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ie.styles=[Uf.safariEllipsisFix,wu];Zn([(0,ln.property)({type:Boolean})],Ie.prototype,"primary",void 0);Zn([(0,ln.property)({type:Boolean})],Ie.prototype,"outlined",void 0);Zn([(0,ln.property)({type:Boolean})],Ie.prototype,"dense",void 0);Zn([(0,ln.property)({type:Boolean})],Ie.prototype,"round",void 0)});var Hf,E,xx,Wf,cl=p(()=>{"use strict";Hf=f(A()),E=f(x());_r();qi();Lo();ne();xx={...m,iconOnlyScale:E.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Wf=[Hf.css`
593
593
  :host {
594
594
  display: inline-block;
595
595
  max-width: 100%;
@@ -672,7 +672,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
672
672
  }
673
673
 
674
674
  .ft-button.ft-button--icon-only ft-icon {
675
- transform: scale(${Ox.iconOnlyScale});
675
+ transform: scale(${xx.iconOnlyScale});
676
676
  }
677
677
 
678
678
  /** Brand Primary styles **/
@@ -1059,7 +1059,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1059
1059
  .ftds--size-small.ft-button--icon-only {
1060
1060
  width: ${m.smallIconOnlyWidth};
1061
1061
  }
1062
- `,E.noTextSelect]});var cn,Jn,Xn,rr,pl=p(()=>{"use strict";ll();cn=u(W());zn();Jn=u(x());dl();ne();Wt();Xn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},rr=class extends(0,Jn.toFtdsBase)(we){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Nn.brand,this.iconVariant=je.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 pt.large:return er.body2medium;case pt.medium:return er.caption1medium;case pt.small:return er.caption2medium}}};rr.styles=[Jn.safariEllipsisFix,Vf];Xn([(0,cn.property)({type:Boolean})],rr.prototype,"primary",void 0);Xn([(0,cn.property)({type:Boolean})],rr.prototype,"secondary",void 0);Xn([(0,cn.property)({type:Boolean})],rr.prototype,"tertiary",void 0);Xn([(0,cn.property)({type:Boolean})],rr.prototype,"round",void 0)});var jf=p(()=>{"use strict"});var Gf=p(()=>{"use strict"});var ul,or=p(()=>{"use strict";ul=u(x());cl();pl();cl();Io();jf();pl();dl();Gf();(0,ul.customElement)("ft-button")(Ie);(0,ul.customElement)("ftds-button")(rr)});var Kf,pe,he,fl,dn=p(()=>{"use strict";Kf=u(A()),pe=u(x());or();qn();he={height:pe.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:pe.FtCssVariableFactory.extend("--ft-search-input-border-radius","",pe.designSystemVariables.borderRadiusS),desktopFiltersHeight:pe.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:pe.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:pe.FtCssVariableFactory.extend("--ft-search-input-background-color","",pe.designSystemVariables.colorSurface),colorOnSurface:pe.FtCssVariableFactory.extend("--ft-search-input-color","",pe.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:pe.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",pe.designSystemVariables.colorOnSurfaceMedium),colorOutline:pe.FtCssVariableFactory.extend("--ft-search-input-outline-color","",pe.designSystemVariables.colorOutline),elevation02:pe.FtCssVariableFactory.extend("--ft-search-input-elevation","",pe.designSystemVariables.elevation02),focusOutlineColor:pe.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",pe.designSystemVariables.colorPrimary),buttonColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-color","",pe.designSystemVariables.colorPrimary),buttonRippleColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",pe.designSystemVariables.colorPrimary)},fl=Kf.css`
1062
+ `,E.noTextSelect]});var cn,Yn,Qn,rr,dl=p(()=>{"use strict";sl();cn=f(W());Fn();Yn=f(x());cl();ne();Wt();Qn=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},rr=class extends(0,Yn.toFtdsBase)(we){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Pn.brand,this.iconVariant=je.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 pt.large:return er.body2medium;case pt.medium:return er.caption1medium;case pt.small:return er.caption2medium}}};rr.styles=[Yn.safariEllipsisFix,Wf];Qn([(0,cn.property)({type:Boolean})],rr.prototype,"primary",void 0);Qn([(0,cn.property)({type:Boolean})],rr.prototype,"secondary",void 0);Qn([(0,cn.property)({type:Boolean})],rr.prototype,"tertiary",void 0);Qn([(0,cn.property)({type:Boolean})],rr.prototype,"round",void 0)});var Vf=p(()=>{"use strict"});var jf=p(()=>{"use strict"});var pl,or=p(()=>{"use strict";pl=f(x());ll();dl();ll();Io();Vf();dl();cl();jf();(0,pl.customElement)("ft-button")(Ie);(0,pl.customElement)("ftds-button")(rr)});var Gf,pe,he,ul,dn=p(()=>{"use strict";Gf=f(A()),pe=f(x());or();Gn();he={height:pe.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:pe.FtCssVariableFactory.extend("--ft-search-input-border-radius","",pe.designSystemVariables.borderRadiusS),desktopFiltersHeight:pe.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:pe.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:pe.FtCssVariableFactory.extend("--ft-search-input-background-color","",pe.designSystemVariables.colorSurface),colorOnSurface:pe.FtCssVariableFactory.extend("--ft-search-input-color","",pe.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:pe.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",pe.designSystemVariables.colorOnSurfaceMedium),colorOutline:pe.FtCssVariableFactory.extend("--ft-search-input-outline-color","",pe.designSystemVariables.colorOutline),elevation02:pe.FtCssVariableFactory.extend("--ft-search-input-elevation","",pe.designSystemVariables.elevation02),focusOutlineColor:pe.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",pe.designSystemVariables.colorPrimary),buttonColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-color","",pe.designSystemVariables.colorPrimary),buttonRippleColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",pe.designSystemVariables.colorPrimary)},ul=Gf.css`
1063
1063
  * {
1064
1064
  box-sizing: border-box;
1065
1065
  ${(0,pe.setVariable)(V.color,he.buttonColor)};
@@ -1135,15 +1135,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1135
1135
  height: 20px;
1136
1136
  border-right: 1px solid ${he.colorOutline};
1137
1137
  }
1138
- `});var qf,Zf,ea,hl,ta=p(()=>{"use strict";qf=u(A()),Zf=u(x()),ea={highlightBackgroundColor:Zf.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},hl=qf.css`
1138
+ `});var Kf,qf,Xn,fl,Jn=p(()=>{"use strict";Kf=f(A()),qf=f(x()),Xn={highlightBackgroundColor:qf.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},fl=Kf.css`
1139
1139
  .kwicmatch {
1140
1140
  font-weight: 700;
1141
- background-color: ${ea.highlightBackgroundColor};
1141
+ background-color: ${Xn.highlightBackgroundColor};
1142
1142
  }
1143
- `});var Qf,Yf,ra,ml,oa=p(()=>{"use strict";Qf=u(A()),Yf=u(x()),ra={highlightBackgroundColor:Yf.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},ml=Qf.css`
1143
+ `});var Zf,Qf,ea,hl,ta=p(()=>{"use strict";Zf=f(A()),Qf=f(x()),ea={highlightBackgroundColor:Qf.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},hl=Zf.css`
1144
1144
  .kwicmatch {
1145
1145
  font-weight: 700;
1146
- background-color: ${ra.highlightBackgroundColor};
1146
+ background-color: ${ea.highlightBackgroundColor};
1147
1147
  }
1148
1148
 
1149
1149
  a {
@@ -1154,20 +1154,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1154
1154
  a:focus {
1155
1155
  outline: revert;
1156
1156
  }
1157
- `});var eh,th,yl=p(()=>{"use strict";eh=u(A()),th=eh.css`
1158
- `});var rh,oh,bl=p(()=>{"use strict";rh=u(A()),oh=rh.css`
1159
- `});var ia,wx,Do,Ex,T,wt=p(()=>{"use strict";ia=u(x()),wx="ft-app-info",Do=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Do.eventName="authentication-change";Ex={session:(t,e)=>{(0,ia.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>T.dispatchEvent(new Do(e.payload)),0))}},T=ia.FtReduxStore.get({name:wx,reducers:Ex,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 Fo,vl=p(()=>{"use strict";wt();Fo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=T.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=T.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var na,ih=p(()=>{"use strict";vl();na=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Fo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Fo.await()}}});var xl,Et,Mo=p(()=>{"use strict";xl=u(x());ih();Et=class extends na{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(([c],[f])=>c.localeCompare(f)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new xl.CacheRegistry,this.cache=e?n.commonCache:new xl.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 aa,Sl=p(()=>{"use strict";wt();Mo();aa=class extends Et{async listMyBookmarks(){let e=T.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Cl,nh=p(()=>{"use strict";wt();Cl=class{addCommand(e,r=!1){T.commands.add(e,r)}consumeCommand(e){return T.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Cl});var Sr,ah,Rx,sa,xi,la,sh=p(()=>{"use strict";wt();Sr=u(x());Mo();Rx=Symbol("clearAfterUnitTest"),sa=class extends Et{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ah]=()=>{this.defaultMessages={},this.cache=new Sr.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=T.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,Sr.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 Sr.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 Sr.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(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>(0,Sr.delay)(0).then(()=>r()).catch(()=>null)))}};ah=Rx;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});xi=window.FluidTopicsI18nService,la=window.FluidTopicsCustomI18nService});var lh,Ol,ch=p(()=>{"use strict";lh=u(x()),Ol=class{highlightHtml(e,r,i){(0,lh.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Ol});var ph=Ro((ao,dh)=>{var ca=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,da=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(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function f(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function h(g){return typeof g!="string"&&(g=String(g)),g}function b(g){var S={next:function(){var D=g.shift();return{done:D===void 0,value:D}}};return n.iterable&&(S[Symbol.iterator]=function(){return S}),S}function y(g){this.map={},g instanceof y?g.forEach(function(S,D){this.append(D,S)},this):Array.isArray(g)?g.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(S){this.append(S,g[S])},this)}y.prototype.append=function(g,S){g=f(g),S=h(S);var D=this.map[g];this.map[g]=D?D+", "+S:S},y.prototype.delete=function(g){delete this.map[f(g)]},y.prototype.get=function(g){return g=f(g),this.has(g)?this.map[g]:null},y.prototype.has=function(g){return this.map.hasOwnProperty(f(g))},y.prototype.set=function(g,S){this.map[f(g)]=h(S)},y.prototype.forEach=function(g,S){for(var D in this.map)this.map.hasOwnProperty(D)&&g.call(S,this.map[D],D,this)},y.prototype.keys=function(){var g=[];return this.forEach(function(S,D){g.push(D)}),b(g)},y.prototype.values=function(){var g=[];return this.forEach(function(S){g.push(S)}),b(g)},y.prototype.entries=function(){var g=[];return this.forEach(function(S,D){g.push([D,S])}),b(g)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function v(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function O(g){return new Promise(function(S,D){g.onload=function(){S(g.result)},g.onerror=function(){D(g.error)}})}function C(g){var S=new FileReader,D=O(S);return S.readAsArrayBuffer(g),D}function R(g){var S=new FileReader,D=O(S),ue=/charset=([A-Za-z0-9_-]+)/.exec(g.type),ke=ue?ue[1]:"utf-8";return S.readAsText(g,ke),D}function _(g){for(var S=new Uint8Array(g),D=new Array(S.length),ue=0;ue<S.length;ue++)D[ue]=String.fromCharCode(S[ue]);return D.join("")}function $(g){if(g.slice)return g.slice(0);var S=new Uint8Array(g.byteLength);return S.set(new Uint8Array(g)),S.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=$(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=$(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="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(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=v(this);if(g)return g;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 g=v(this);return g||(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(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=v(this);if(g)return g;if(this._bodyBlob)return R(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(yt)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function J(g){var S=g.toUpperCase();return H.indexOf(S)>-1?S:g}function re(g,S){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var D=S.body;if(g instanceof re){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,S.headers||(this.headers=new y(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!D&&g._bodyInit!=null&&(D=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new y(S.headers)),this.method=J(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in i){var oe=new AbortController;return oe.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var ue=/([?&])_=[^&]*/;if(ue.test(this.url))this.url=this.url.replace(ue,"$1_="+new Date().getTime());else{var ke=/\?/;this.url+=(ke.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})};function yt(g){var S=new FormData;return g.trim().split("&").forEach(function(D){if(D){var ue=D.split("="),ke=ue.shift().replace(/\+/g," "),oe=ue.join("=").replace(/\+/g," ");S.append(decodeURIComponent(ke),decodeURIComponent(oe))}}),S}function hr(g){var S=new y,D=g.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ue){return ue.indexOf(`
1160
- `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var ke=ue.split(":"),oe=ke.shift().trim();if(oe){var Pn=ke.join(":").trim();try{S.append(oe,Pn)}catch(Os){console.warn("Response "+Os.message)}}}),S}P.call(re.prototype);function dt(g,S){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new y(S.headers),this.url=S.url||"",this._initBody(g)}P.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},dt.error=function(){var g=new dt(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var mr=[301,302,303,307,308];dt.redirect=function(g,S){if(mr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:S,headers:{location:g}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,D){this.message=S,this.name=D;var ue=Error(S);this.stack=ue.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function qe(g,S){return new Promise(function(D,ue){var ke=new re(g,S);if(ke.signal&&ke.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function Pn(){oe.abort()}oe.onload=function(){var Ze={statusText:oe.statusText,headers:hr(oe.getAllResponseHeaders()||"")};ke.url.indexOf("file://")===0&&(oe.status<200||oe.status>599)?Ze.status=200:Ze.status=oe.status,Ze.url="responseURL"in oe?oe.responseURL:Ze.headers.get("X-Request-URL");var Eo="response"in oe?oe.response:oe.responseText;setTimeout(function(){D(new dt(Eo,Ze))},0)},oe.onerror=function(){setTimeout(function(){ue(new TypeError("Network request failed"))},0)},oe.ontimeout=function(){setTimeout(function(){ue(new TypeError("Network request timed out"))},0)},oe.onabort=function(){setTimeout(function(){ue(new r.DOMException("Aborted","AbortError"))},0)};function Os(Ze){try{return Ze===""&&i.location.href?i.location.href:Ze}catch{return Ze}}if(oe.open(ke.method,Os(ke.url),!0),ke.credentials==="include"?oe.withCredentials=!0:ke.credentials==="omit"&&(oe.withCredentials=!1),"responseType"in oe&&(n.blob?oe.responseType="blob":n.arrayBuffer&&(oe.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof y||i.Headers&&S.headers instanceof i.Headers)){var Hd=[];Object.getOwnPropertyNames(S.headers).forEach(function(Ze){Hd.push(f(Ze)),oe.setRequestHeader(Ze,h(S.headers[Ze]))}),ke.headers.forEach(function(Ze,Eo){Hd.indexOf(Eo)===-1&&oe.setRequestHeader(Eo,Ze)})}else ke.headers.forEach(function(Ze,Eo){oe.setRequestHeader(Eo,Ze)});ke.signal&&(ke.signal.addEventListener("abort",Pn),oe.onreadystatechange=function(){oe.readyState===4&&ke.signal.removeEventListener("abort",Pn)}),oe.send(typeof ke._bodyInit>"u"?null:ke._bodyInit)})}return qe.polyfill=!0,i.fetch||(i.fetch=qe,i.Headers=y,i.Request=re,i.Response=dt),r.Headers=y,r.Request=re,r.Response=dt,r.fetch=qe,r}({})})(da);da.fetch.ponyfill=!0;delete da.fetch.polyfill;var Si=ca.fetch?ca:da;ao=Si.fetch;ao.default=Si.fetch;ao.fetch=Si.fetch;ao.Headers=Si.Headers;ao.Request=Si.Request;ao.Response=Si.Response;dh.exports=ao});var wl=p(()=>{});var uh,fh,hh,Ci,mh,gh,zo,yh,bh,vh,xh,Sh,Ch,Oh,wh,Eh,Oi,Rh,pa,Ah,kh,Vt,wi,He,Uo,El=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"})(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.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(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.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Ci||(Ci={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(mh||(mh={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(gh||(gh={}));(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.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",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.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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__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"})(zo||(zo={}));(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"})(yh||(yh={}));(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"})(bh||(bh={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(vh||(vh={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(xh||(xh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Sh||(Sh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ch||(Ch={}));(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"})(Oh||(Oh={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(wh||(wh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Eh||(Eh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Oi||(Oi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Rh||(Rh={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pa||(pa={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ah||(Ah={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(kh||(kh={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Vt||(Vt={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(wi||(wi={}));(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.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(He||(He={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Uo||(Uo={}))});var Lh,Ih,Th,$h=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Lh||(Lh={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ih||(Ih={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Th||(Th={}))});function Ph(t,e){return t===e||(Ax[t]??[]).some(r=>Ph(r,e))}function _h(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=>Ph(i,e))}var Ax,Nh=p(()=>{El();Ax={[He.PERSONAL_BOOK_SHARE_USER]:[He.PERSONAL_BOOK_USER],[He.HTML_EXPORT_USER]:[He.PERSONAL_BOOK_USER],[He.PDF_EXPORT_USER]:[He.PERSONAL_BOOK_USER],[He.KHUB_ADMIN]:[He.CONTENT_PUBLISHER],[He.ADMIN]:[He.KHUB_ADMIN,He.USERS_ADMIN,He.PORTAL_ADMIN],[He.GENERATIVE_AI_EXPORT_USER]:[He.GENERATIVE_AI_USER]}});var Bh=p(()=>{});var kx,Ho=p(()=>{kx=u(ph(),1);wl();El();$h();Nh();Bh();wl()});var ua,Rl=p(()=>{"use strict";wt();Ho();Mo();ua=class extends Et{async listMySearches(){let{session:e}=T.getState();return _h(e,He.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Dh,Al,Fh=p(()=>{"use strict";Dh=u(x());wt();Al=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=T.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Dh.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:T.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Al});var Mh,Hr,kl=p(()=>{"use strict";Mh=u(x());wt();Hr=class{static get(e,r){var i,n,a,s;let c=T.getState(),{lang:f,region:h}=(n=(i=c.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Mh.SearchPlaceConverter(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${f}-${h}`)}}});var fa,zh=p(()=>{"use strict";Mo();fa=class extends Et{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 Ll,Uh=p(()=>{"use strict";kl();Ll=class{urlToSearchRequest(e){return Hr.get().parse(e)}searchRequestToUrl(e){return Hr.get().serialize(e)}};window.FluidTopicsUrlService=new Ll});var Wo,Hh=p(()=>{"use strict";Wo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Wo.eventName="change"});var Il,Wh,Vh=p(()=>{"use strict";Il=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))}},Wh=new Il});var so,ha,jh=p(()=>{"use strict";so=u(x());Hh();Vh();ha=class t extends so.WithEventBus{static build(){return new t(window.history,Wh,()=>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,so.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Wo(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,c])=>{let f=r(),h={...f===this.currentIndex?this.currentState:void 0,...a,index:f,href:typeof c=="string"?c:(c??this.windowLocation()).href};i.apply(n,[h,s,c]),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(Wo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Wo.eventName,e)}currentItem(){return(0,so.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,so.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,so.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 Gh=p(()=>{"use strict";jh();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ha.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 Tl=p(()=>{"use strict";Sl();vl();nh();sh();Mo();ch();Rl();Fh();kl();zh();Uh();Gh()});function qh(t,e){var r;return Kh.getState().authenticationRequired&&!(!((r=Kh.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var Kh,Zh=p(()=>{"use strict";wt();Kh=T});var Qh,Xe,ir,We,ve,$l=p(()=>{"use strict";Qh=u(A()),Xe=u(W()),ir=u(x());bl();wt();Tl();Zh();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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ve=class extends ir.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=()=>Fo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ir.CacheRegistry,this.cleanSessionDebouncer=new ir.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Qh.html`
1157
+ `});var Jf,eh,gl=p(()=>{"use strict";Jf=f(A()),eh=Jf.css`
1158
+ `});var th,rh,yl=p(()=>{"use strict";th=f(A()),rh=th.css`
1159
+ `});var ra,Sx,Do,Cx,T,wt=p(()=>{"use strict";ra=f(x()),Sx="ft-app-info",Do=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Do.eventName="authentication-change";Cx={session:(t,e)=>{(0,ra.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>T.dispatchEvent(new Do(e.payload)),0))}},T=ra.FtReduxStore.get({name:Sx,reducers:Cx,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 Fo,bl=p(()=>{"use strict";wt();Fo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=T.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=T.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var oa,oh=p(()=>{"use strict";bl();oa=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Fo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Fo.await()}}});var vl,Et,Mo=p(()=>{"use strict";vl=f(x());oh();Et=class extends oa{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],[u])=>l.localeCompare(u)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new vl.CacheRegistry,this.cache=e?n.commonCache:new vl.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 ia,xl=p(()=>{"use strict";wt();Mo();ia=class extends Et{async listMyBookmarks(){let e=T.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Sl,ih=p(()=>{"use strict";wt();Sl=class{addCommand(e,r=!1){T.commands.add(e,r)}consumeCommand(e){return T.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Sl});var Sr,nh,Ox,na,xi,aa,ah=p(()=>{"use strict";wt();Sr=f(x());Mo();Ox=Symbol("clearAfterUnitTest"),na=class extends Et{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[nh]=()=>{this.defaultMessages={},this.cache=new Sr.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=T.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,Sr.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 Sr.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 Sr.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(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>(0,Sr.delay)(0).then(()=>r()).catch(()=>null)))}};nh=Ox;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends na{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends na{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});xi=window.FluidTopicsI18nService,aa=window.FluidTopicsCustomI18nService});var sh,Cl,lh=p(()=>{"use strict";sh=f(x()),Cl=class{highlightHtml(e,r,i){(0,sh.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Cl});var dh=Ro((ao,ch)=>{var sa=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,la=function(){function t(){this.fetch=!1,this.DOMException=sa.DOMException}return t.prototype=sa,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 u(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 S={next:function(){var D=b.shift();return{done:D===void 0,value:D}}};return n.iterable&&(S[Symbol.iterator]=function(){return S}),S}function g(b){this.map={},b instanceof g?b.forEach(function(S,D){this.append(D,S)},this):Array.isArray(b)?b.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(S){this.append(S,b[S])},this)}g.prototype.append=function(b,S){b=u(b),S=h(S);var D=this.map[b];this.map[b]=D?D+", "+S:S},g.prototype.delete=function(b){delete this.map[u(b)]},g.prototype.get=function(b){return b=u(b),this.has(b)?this.map[b]:null},g.prototype.has=function(b){return this.map.hasOwnProperty(u(b))},g.prototype.set=function(b,S){this.map[u(b)]=h(S)},g.prototype.forEach=function(b,S){for(var D in this.map)this.map.hasOwnProperty(D)&&b.call(S,this.map[D],D,this)},g.prototype.keys=function(){var b=[];return this.forEach(function(S,D){b.push(D)}),y(b)},g.prototype.values=function(){var b=[];return this.forEach(function(S){b.push(S)}),y(b)},g.prototype.entries=function(){var b=[];return this.forEach(function(S,D){b.push([D,S])}),y(b)},n.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function v(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function O(b){return new Promise(function(S,D){b.onload=function(){S(b.result)},b.onerror=function(){D(b.error)}})}function C(b){var S=new FileReader,D=O(S);return S.readAsArrayBuffer(b),D}function R(b){var S=new FileReader,D=O(S),ue=/charset=([A-Za-z0-9_-]+)/.exec(b.type),ke=ue?ue[1]:"utf-8";return S.readAsText(b,ke),D}function _(b){for(var S=new Uint8Array(b),D=new Array(S.length),ue=0;ue<S.length;ue++)D[ue]=String.fromCharCode(S[ue]);return D.join("")}function $(b){if(b.slice)return b.slice(0);var S=new Uint8Array(b.byteLength);return S.set(new Uint8Array(b)),S.buffer}function P(){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=$(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=$(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=v(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=v(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(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=v(this);if(b)return b;if(this._bodyBlob)return R(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(yt)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function J(b){var S=b.toUpperCase();return H.indexOf(S)>-1?S:b}function re(b,S){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var D=S.body;if(b instanceof re){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,S.headers||(this.headers=new g(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!D&&b._bodyInit!=null&&(D=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new g(S.headers)),this.method=J(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in i){var oe=new AbortController;return oe.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var ue=/([?&])_=[^&]*/;if(ue.test(this.url))this.url=this.url.replace(ue,"$1_="+new Date().getTime());else{var ke=/\?/;this.url+=(ke.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})};function yt(b){var S=new FormData;return b.trim().split("&").forEach(function(D){if(D){var ue=D.split("="),ke=ue.shift().replace(/\+/g," "),oe=ue.join("=").replace(/\+/g," ");S.append(decodeURIComponent(ke),decodeURIComponent(oe))}}),S}function hr(b){var S=new g,D=b.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ue){return ue.indexOf(`
1160
+ `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var ke=ue.split(":"),oe=ke.shift().trim();if(oe){var Tn=ke.join(":").trim();try{S.append(oe,Tn)}catch(Cs){console.warn("Response "+Cs.message)}}}),S}P.call(re.prototype);function dt(b,S){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new g(S.headers),this.url=S.url||"",this._initBody(b)}P.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},dt.error=function(){var b=new dt(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var mr=[301,302,303,307,308];dt.redirect=function(b,S){if(mr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:S,headers:{location:b}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,D){this.message=S,this.name=D;var ue=Error(S);this.stack=ue.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function qe(b,S){return new Promise(function(D,ue){var ke=new re(b,S);if(ke.signal&&ke.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function Tn(){oe.abort()}oe.onload=function(){var Ze={statusText:oe.statusText,headers:hr(oe.getAllResponseHeaders()||"")};ke.url.indexOf("file://")===0&&(oe.status<200||oe.status>599)?Ze.status=200:Ze.status=oe.status,Ze.url="responseURL"in oe?oe.responseURL:Ze.headers.get("X-Request-URL");var Eo="response"in oe?oe.response:oe.responseText;setTimeout(function(){D(new dt(Eo,Ze))},0)},oe.onerror=function(){setTimeout(function(){ue(new TypeError("Network request failed"))},0)},oe.ontimeout=function(){setTimeout(function(){ue(new TypeError("Network request timed out"))},0)},oe.onabort=function(){setTimeout(function(){ue(new r.DOMException("Aborted","AbortError"))},0)};function Cs(Ze){try{return Ze===""&&i.location.href?i.location.href:Ze}catch{return Ze}}if(oe.open(ke.method,Cs(ke.url),!0),ke.credentials==="include"?oe.withCredentials=!0:ke.credentials==="omit"&&(oe.withCredentials=!1),"responseType"in oe&&(n.blob?oe.responseType="blob":n.arrayBuffer&&(oe.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof g||i.Headers&&S.headers instanceof i.Headers)){var Ud=[];Object.getOwnPropertyNames(S.headers).forEach(function(Ze){Ud.push(u(Ze)),oe.setRequestHeader(Ze,h(S.headers[Ze]))}),ke.headers.forEach(function(Ze,Eo){Ud.indexOf(Eo)===-1&&oe.setRequestHeader(Eo,Ze)})}else ke.headers.forEach(function(Ze,Eo){oe.setRequestHeader(Eo,Ze)});ke.signal&&(ke.signal.addEventListener("abort",Tn),oe.onreadystatechange=function(){oe.readyState===4&&ke.signal.removeEventListener("abort",Tn)}),oe.send(typeof ke._bodyInit>"u"?null:ke._bodyInit)})}return qe.polyfill=!0,i.fetch||(i.fetch=qe,i.Headers=g,i.Request=re,i.Response=dt),r.Headers=g,r.Request=re,r.Response=dt,r.fetch=qe,r}({})})(la);la.fetch.ponyfill=!0;delete la.fetch.polyfill;var Si=sa.fetch?sa:la;ao=Si.fetch;ao.default=Si.fetch;ao.fetch=Si.fetch;ao.Headers=Si.Headers;ao.Request=Si.Request;ao.Response=Si.Response;ch.exports=ao});var Ol=p(()=>{});var ph,uh,fh,Ci,hh,mh,zo,gh,yh,bh,vh,xh,Sh,Ch,Oh,wh,Oi,Eh,ca,Rh,Ah,Vt,wi,He,Uo,wl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ph||(ph={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(uh||(uh={}));(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.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(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.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Ci||(Ci={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(hh||(hh={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(mh||(mh={}));(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.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",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.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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__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"})(zo||(zo={}));(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"})(yh||(yh={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(bh||(bh={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(vh||(vh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(xh||(xh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Sh||(Sh={}));(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"})(Ch||(Ch={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Oh||(Oh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(wh||(wh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Oi||(Oi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Eh||(Eh={}));(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"})(Rh||(Rh={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ah||(Ah={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Vt||(Vt={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(wi||(wi={}));(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.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(He||(He={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Uo||(Uo={}))});var kh,Lh,Ih,Th=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(kh||(kh={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Lh||(Lh={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ih||(Ih={}))});function $h(t,e){return t===e||(wx[t]??[]).some(r=>$h(r,e))}function Ph(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=>$h(i,e))}var wx,_h=p(()=>{wl();wx={[He.PERSONAL_BOOK_SHARE_USER]:[He.PERSONAL_BOOK_USER],[He.HTML_EXPORT_USER]:[He.PERSONAL_BOOK_USER],[He.PDF_EXPORT_USER]:[He.PERSONAL_BOOK_USER],[He.KHUB_ADMIN]:[He.CONTENT_PUBLISHER],[He.ADMIN]:[He.KHUB_ADMIN,He.USERS_ADMIN,He.PORTAL_ADMIN],[He.GENERATIVE_AI_EXPORT_USER]:[He.GENERATIVE_AI_USER]}});var Nh=p(()=>{});var Ex,Ho=p(()=>{Ex=f(dh(),1);Ol();wl();Th();_h();Nh();Ol()});var da,El=p(()=>{"use strict";wt();Ho();Mo();da=class extends Et{async listMySearches(){let{session:e}=T.getState();return Ph(e,He.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Bh,Rl,Dh=p(()=>{"use strict";Bh=f(x());wt();Rl=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=T.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 Bh.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:T.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Rl});var Fh,Hr,Al=p(()=>{"use strict";Fh=f(x());wt();Hr=class{static get(e,r){var i,n,a,s;let l=T.getState(),{lang:u,region:h}=(n=(i=l.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Fh.SearchPlaceConverter(l.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,r??`${u}-${h}`)}}});var pa,Mh=p(()=>{"use strict";Mo();pa=class extends Et{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 kl,zh=p(()=>{"use strict";Al();kl=class{urlToSearchRequest(e){return Hr.get().parse(e)}searchRequestToUrl(e){return Hr.get().serialize(e)}};window.FluidTopicsUrlService=new kl});var Wo,Uh=p(()=>{"use strict";Wo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Wo.eventName="change"});var Ll,Hh,Wh=p(()=>{"use strict";Ll=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))}},Hh=new Ll});var so,ua,Vh=p(()=>{"use strict";so=f(x());Uh();Wh();ua=class t extends so.WithEventBus{static build(){return new t(window.history,Hh,()=>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,so.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Wo(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let u=r(),h={...u===this.currentIndex?this.currentState:void 0,...a,index:u,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(Wo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Wo.eventName,e)}currentItem(){return(0,so.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,so.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,so.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 jh=p(()=>{"use strict";Vh();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ua.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 Il=p(()=>{"use strict";xl();bl();ih();ah();Mo();lh();El();Dh();Al();Mh();zh();jh()});function Kh(t,e){var r;return Gh.getState().authenticationRequired&&!(!((r=Gh.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var Gh,qh=p(()=>{"use strict";wt();Gh=T});var Zh,Xe,ir,We,ve,Tl=p(()=>{"use strict";Zh=f(A()),Xe=f(W()),ir=f(x());yl();wt();Il();qh();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},ve=class extends ir.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=()=>Fo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ir.CacheRegistry,this.cleanSessionDebouncer=new ir.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Zh.html`
1161
1161
  <slot></slot>
1162
- `}connectedCallback(){super.connectedCallback(),T.addEventListener(Do.eventName,this.reloadConfiguration)}disconnectedCallback(){T.addEventListener(Do.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,c,f;super.update(e),e.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&T.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&T.actions.noCustom(this.noCustom),e.has("editorMode")&&T.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&T.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(h=>xi.addContext(h)),e.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(T.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),T.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),T.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&T.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&T.actions.availableContentLocales((f=(c=this.availableContentLocales)===null||c===void 0?void 0:c.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",()=>qh(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ve.elementDefinitions={};ve.styles=oh;We([(0,Xe.property)()],ve.prototype,"baseUrl",void 0);We([(0,Xe.property)()],ve.prototype,"apiIntegrationIdentifier",void 0);We([(0,Xe.property)()],ve.prototype,"apiIntegrationAppVersion",void 0);We([(0,Xe.property)()],ve.prototype,"uiLocale",void 0);We([(0,ir.jsonProperty)(null)],ve.prototype,"availableUiLocales",void 0);We([(0,ir.jsonProperty)(null)],ve.prototype,"metadataConfiguration",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"editorMode",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"noCustom",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"openExternalDocumentInNewTab",void 0);We([(0,Xe.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ve.prototype,"noCustomComponent",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"withManualResources",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"navigatorOnline",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"forcedOffline",void 0);We([(0,Xe.property)({type:Object})],ve.prototype,"apiProvider",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"authenticationRequired",void 0);We([(0,ir.jsonProperty)([])],ve.prototype,"messageContexts",void 0);We([(0,ir.jsonProperty)(void 0)],ve.prototype,"session",void 0);We([(0,Xe.state)()],ve.prototype,"localesConfiguration",void 0);We([(0,Xe.state)()],ve.prototype,"availableContentLocales",void 0)});function Lx(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!ma(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(!ma(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(c=>s[c]!=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(!ma(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ma(t,e){try{return Lx(t,e)}catch{return!1}}function ga(t,e){return!ma(t,e)}var ya=p(()=>{"use strict"});var Ix,Yh=p(()=>{"use strict";ya();Ix=u(W(),1)});var ba,Pl=p(()=>{"use strict";ba=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 Jh(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Xh.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:ga,...e??{}})}var Xh,em=p(()=>{"use strict";Xh=u(W(),1);ya()});var va,tm=p(()=>{"use strict";va=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(c){n(c);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 xa,Tx,jk,rm,om=p(()=>{xa=globalThis,Tx=xa.ShadowRoot&&(xa.ShadyCSS===void 0||xa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jk=Symbol(),rm=(t,e)=>{if(Tx)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=xa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var im,Sa,nm=p(()=>{"use strict";im=u(A(),1);om();Sa=class extends im.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 rm(i,e.elementStyles),i}}});function am(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 sm=p(()=>{"use strict"});var Ei,pn,pm,lm,cm,um,dm,Wr,fm=p(()=>{"use strict";Ei=u(W(),1);em();tm();nm();sm();pn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},lm=Symbol("constructorPrototype"),cm=Symbol("constructorName"),um=Symbol("exportpartsDebouncer"),dm=Symbol("dynamicDependenciesLoaded"),Wr=class extends Sa{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[pm]=new va(5),this[cm]=this.constructor.name,this[lm]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[cm]&&Object.setPrototypeOf(this,this[lm])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[dm]||(e[dm]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}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=am(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)}}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[um].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)})}setExportpartsAttribute(e){var r,i,n,a,s,c;let f=v=>v!=null&&v.trim().length>0,h=e.filter(f).map(v=>v.trim());if(h.length===0){this.removeAttribute("exportparts");return}let b=new Set;for(let v of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=v.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(c=(s=v.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(R=>R.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...O,...C).filter(f).map(R=>R.trim()).forEach(R=>b.add(R))}if(b.size===0){this.removeAttribute("exportparts");return}let y=[...b.values()].flatMap(v=>h.map(O=>`${v}:${O}--${v}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};pm=um;pn([(0,Ei.property)()],Wr.prototype,"exportpartsPrefix",void 0);pn([Jh([])],Wr.prototype,"exportpartsPrefixes",void 0);pn([(0,Ei.property)()],Wr.prototype,"customStylesheet",void 0);pn([(0,Ei.property)()],Wr.prototype,"elementToFocus",void 0);pn([(0,Ei.state)()],Wr.prototype,"useAdoptedStyleSheets",void 0)});function un(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ca=p(()=>{"use strict"});var hm,mm,gm,fn,lo,Vo,hn,ym=p(()=>{"use strict";fm();Ca();fn=Symbol("internalReduxEventsUnsubscribers"),lo=Symbol("internalStoresUnsubscribers"),Vo=Symbol("internalStores"),hn=class extends Wr{constructor(){super(...arguments),this[hm]=new Map,this[mm]=new Map,this[gm]=new Map}get reduxConstructor(){return this.constructor}willUpdate(e){super.willUpdate(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Vo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Vo].get(e)}addStore(e,r){var i;r=(i=r??(un(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[Vo].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Vo].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Vo].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[lo].has(e.store):this[lo].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[lo].set(e,r.subscribe(()=>this.updateFromStores())),this[fn].set(e,[]),un(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=c=>this[a](c);r.addEventListener(n.eventName,s),this[fn].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[lo].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[lo].has(e)&&this[lo].get(e)(),this[lo].delete(e),(r=this[fn].get(e))===null||r===void 0||r.forEach(i=>i()),this[fn].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};hm=lo,mm=Vo,gm=fn;hn.reduxProperties=new Map;hn.reduxReactiveProperties=new Set;hn.reduxEventListeners=new Map});function jt(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 Vr(t){return!!t&&!!t[Ee]}function nr(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)===Mx}(t)||Array.isArray(t)||!!t[wm]||!!(!((e=t.constructor)===null||e===void 0)&&e[wm])||Hl(t)||Wl(t))}function jo(t,e,r){r===void 0&&(r=!1),ki(t)===0?(r?Object.keys:Ai)(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[Ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Hl(t)?2:Wl(t)?3:0}function Ri(t,e){return ki(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function $x(t,e){return ki(t)===2?t.get(e):t[e]}function Em(t,e,r){var i=ki(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Rm(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Hl(t){return Dx&&t instanceof Map}function Wl(t){return Fx&&t instanceof Set}function co(t){return t.o||t.t}function Vl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Lm(t);delete e[Ee];for(var r=Ai(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 jl(t,e){return e===void 0&&(e=!1),Gl(t)||Vr(t)||!nr(t)||(ki(t)>1&&(t.set=t.add=t.clear=t.delete=Px),Object.freeze(t),e&&jo(t,function(r,i){return jl(i,!0)},!0)),t}function Px(){jt(2)}function Gl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Cr(t){var e=Ul[t];return e||jt(18,t),e}function _x(t,e){Ul[t]||(Ul[t]=e)}function Fl(){return gn}function _l(t,e){e&&(Cr("Patches"),t.u=[],t.s=[],t.v=e)}function Oa(t){Ml(t),t.p.forEach(Nx),t.p=null}function Ml(t){t===gn&&(gn=t.l)}function bm(t){return gn={p:[],l:gn,h:t,m:!0,_:0}}function Nx(t){var e=t[Ee];e.i===0||e.i===1?e.j():e.g=!0}function Nl(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Cr("ES5").S(e,t,i),i?(r[Ee].P&&(Oa(e),jt(4)),nr(t)&&(t=wa(e,t),e.l||Ea(e,t)),e.u&&Cr("Patches").M(r[Ee].t,t,e.u,e.s)):t=wa(e,r,[]),Oa(e),e.u&&e.v(e.u,e.s),t!==km?t:void 0}function wa(t,e,r){if(Gl(e))return e;var i=e[Ee];if(!i)return jo(e,function(c,f){return vm(t,i,e,c,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Ea(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Vl(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),jo(a,function(c,f){return vm(t,i,n,c,f,r,s)}),Ea(t,n,!1),r&&t.u&&Cr("Patches").N(i,r,t.u,t.s)}return i.o}function vm(t,e,r,i,n,a,s){if(Vr(n)){var c=wa(t,n,a&&e&&e.i!==3&&!Ri(e.R,i)?a.concat(i):void 0);if(Em(r,i,c),!Vr(c))return;t.m=!1}else s&&r.add(n);if(nr(n)&&!Gl(n)){if(!t.h.D&&t._<1)return;wa(t,n),e&&e.A.l||Ea(t,n)}}function Ea(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&jl(e,r)}function Bl(t,e){var r=t[Ee];return(r?co(r):t)[e]}function xm(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 po(t){t.P||(t.P=!0,t.l&&po(t.l))}function Dl(t){t.o||(t.o=Vl(t.t))}function zl(t,e,r){var i=Hl(e)?Cr("MapSet").F(e,r):Wl(e)?Cr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:Fl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=c,h=yn;s&&(f=[c],h=mn);var b=Proxy.revocable(f,h),y=b.revoke,v=b.proxy;return c.k=v,c.j=y,v}(e,r):Cr("ES5").J(e,r);return(r?r.A:Fl()).p.push(i),i}function Bx(t){return Vr(t)||jt(22,t),function e(r){if(!nr(r))return r;var i,n=r[Ee],a=ki(r);if(n){if(!n.P&&(n.i<4||!Cr("ES5").K(n)))return n.t;n.I=!0,i=Sm(r,a),n.I=!1}else i=Sm(r,a);return jo(i,function(s,c){n&&$x(n.t,s)===c||Em(i,s,e(c))}),a===3?new Set(i):i}(t)}function Sm(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vl(t)}function Am(){function t(s,c){var f=a[s];return f?f.enumerable=c:a[s]=f={configurable:!0,enumerable:c,get:function(){var h=this[Ee];return yn.get(h,s)},set:function(h){var b=this[Ee];yn.set(b,s,h)}},f}function e(s){for(var c=s.length-1;c>=0;c--){var f=s[c][Ee];if(!f.P)switch(f.i){case 5:i(f)&&po(f);break;case 4:r(f)&&po(f)}}}function r(s){for(var c=s.t,f=s.k,h=Ai(f),b=h.length-1;b>=0;b--){var y=h[b];if(y!==Ee){var v=c[y];if(v===void 0&&!Ri(c,y))return!0;var O=f[y],C=O&&O[Ee];if(C?C.t!==v:!Rm(O,v))return!0}}var R=!!c[Ee];return h.length!==Ai(c).length+(R?0:1)}function i(s){var c=s.k;if(c.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(c,c.length-1);if(f&&!f.get)return!0;for(var h=0;h<c.length;h++)if(!c.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&jt(3,JSON.stringify(co(s)))}var a={};_x("ES5",{J:function(s,c){var f=Array.isArray(s),h=function(y,v){if(y){for(var O=Array(v.length),C=0;C<v.length;C++)Object.defineProperty(O,""+C,t(C,!0));return O}var R=Lm(v);delete R[Ee];for(var _=Ai(R),$=0;$<_.length;$++){var P=_[$];R[P]=t(P,y||!!R[P].enumerable)}return Object.create(Object.getPrototypeOf(v),R)}(f,s),b={i:f?5:4,A:c?c.A:Fl(),P:!1,I:!1,R:{},l:c,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,Ee,{value:b,writable:!0}),h},S:function(s,c,f){f?Vr(c)&&c[Ee].A===s&&e(s.p):(s.u&&function h(b){if(b&&typeof b=="object"){var y=b[Ee];if(y){var v=y.t,O=y.k,C=y.R,R=y.i;if(R===4)jo(O,function(J){J!==Ee&&(v[J]!==void 0||Ri(v,J)?C[J]||h(O[J]):(C[J]=!0,po(y)))}),jo(v,function(J){O[J]!==void 0||Ri(O,J)||(C[J]=!1,po(y))});else if(R===5){if(i(y)&&(po(y),C.length=!0),O.length<v.length)for(var _=O.length;_<v.length;_++)C[_]=!1;else for(var $=v.length;$<O.length;$++)C[$]=!0;for(var P=Math.min(O.length,v.length),H=0;H<P;H++)O.hasOwnProperty(H)||(C[H]=!0),C[H]===void 0&&h(O[H])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Cm,gn,Kl,Dx,Fx,Om,km,wm,Ee,Mx,Ai,Lm,Ul,yn,mn,zx,$t,Ux,nL,aL,sL,lL,cL,dL,Ra,Aa=p(()=>{Kl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Dx=typeof Map<"u",Fx=typeof Set<"u",Om=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",km=Kl?Symbol.for("immer-nothing"):((Cm={})["immer-nothing"]=!0,Cm),wm=Kl?Symbol.for("immer-draftable"):"__$immer_draftable",Ee=Kl?Symbol.for("immer-state"):"__$immer_state",Mx=""+Object.prototype.constructor,Ai=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Lm=Object.getOwnPropertyDescriptors||function(t){var e={};return Ai(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ul={},yn={get:function(t,e){if(e===Ee)return t;var r=co(t);if(!Ri(r,e))return function(n,a,s){var c,f=xm(a,s);return f?"value"in f?f.value:(c=f.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!nr(i)?i:i===Bl(t.t,e)?(Dl(t),t.o[e]=zl(t.A.h,i,t)):i},has:function(t,e){return e in co(t)},ownKeys:function(t){return Reflect.ownKeys(co(t))},set:function(t,e,r){var i=xm(co(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Bl(co(t),e),a=n?.[Ee];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Rm(r,n)&&(r!==void 0||Ri(t.t,e)))return!0;Dl(t),po(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 Bl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Dl(t),po(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=co(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){jt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){jt(12)}},mn={};jo(yn,function(t,e){mn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),mn.deleteProperty=function(t,e){return mn.set.call(this,t,e,void 0)},mn.set=function(t,e,r){return yn.set.call(this,t[0],e,r,t[0])};zx=function(){function t(r){var i=this;this.O=Om,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var f=i;return function(R){var _=this;R===void 0&&(R=c);for(var $=arguments.length,P=Array($>1?$-1:0),H=1;H<$;H++)P[H-1]=arguments[H];return f.produce(R,function(J){var re;return(re=a).call.apply(re,[_,J].concat(P))})}}var h;if(typeof a!="function"&&jt(6),s!==void 0&&typeof s!="function"&&jt(7),nr(n)){var b=bm(i),y=zl(i,n,void 0),v=!0;try{h=a(y),v=!1}finally{v?Oa(b):Ml(b)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(R){return _l(b,s),Nl(R,b)},function(R){throw Oa(b),R}):(_l(b,s),Nl(h,b))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===km&&(h=void 0),i.D&&jl(h,!0),s){var O=[],C=[];Cr("Patches").M(n,h,O,C),s(O,C)}return h}jt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var b=arguments.length,y=Array(b>1?b-1:0),v=1;v<b;v++)y[v-1]=arguments[v];return i.produceWithPatches(h,function(O){return n.apply(void 0,[O].concat(y))})};var s,c,f=i.produce(n,a,function(h,b){s=h,c=b});return typeof Promise<"u"&&f instanceof Promise?f.then(function(h){return[h,s,c]}):[f,s,c]},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){nr(r)||jt(8),Vr(r)&&(r=Bx(r));var i=bm(this),n=zl(this,r,void 0);return n[Ee].C=!0,Ml(i),n},e.finishDraft=function(r,i){var n=r&&r[Ee],a=n.A;return _l(a,i),Nl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Om&&jt(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=Cr("Patches").$;return Vr(r)?s(r,i):this.produce(r,function(c){return s(c,i)})},t}(),$t=new zx,Ux=$t.produce,nL=$t.produceWithPatches.bind($t),aL=$t.setAutoFreeze.bind($t),sL=$t.setUseProxies.bind($t),lL=$t.applyPatches.bind($t),cL=$t.createDraft.bind($t),dL=$t.finishDraft.bind($t),Ra=Ux});function Go(t){"@babel/helpers - typeof";return Go=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},Go(t)}var ql=p(()=>{});function Im(t,e){if(Go(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Go(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Tm=p(()=>{ql()});function $m(t){var e=Im(t,"string");return Go(e)=="symbol"?e:e+""}var Pm=p(()=>{ql();Tm()});function _m(t,e,r){return(e=$m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nm=p(()=>{Pm()});function Bm(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 Zl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Bm(Object(r),!0).forEach(function(i){_m(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bm(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Dm=p(()=>{Nm()});function ot(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 Hx(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 Yl(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ot(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ot(1));return r(Yl)(t,e)}if(typeof t!="function")throw new Error(ot(2));var n=t,a=e,s=[],c=s,f=!1;function h(){c===s&&(c=s.slice())}function b(){if(f)throw new Error(ot(3));return a}function y(R){if(typeof R!="function")throw new Error(ot(4));if(f)throw new Error(ot(5));var _=!0;return h(),c.push(R),function(){if(_){if(f)throw new Error(ot(6));_=!1,h();var P=c.indexOf(R);c.splice(P,1),s=null}}}function v(R){if(!Hx(R))throw new Error(ot(7));if(typeof R.type>"u")throw new Error(ot(8));if(f)throw new Error(ot(9));try{f=!0,a=n(a,R)}finally{f=!1}for(var _=s=c,$=0;$<_.length;$++){var P=_[$];P()}return R}function O(R){if(typeof R!="function")throw new Error(ot(10));n=R,v({type:ka.REPLACE})}function C(){var R,_=y;return R={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ot(11));function H(){P.next&&P.next(b())}H();var J=_(H);return{unsubscribe:J}}},R[Fm]=function(){return this},R}return v({type:ka.INIT}),i={dispatch:v,subscribe:y,getState:b,replaceReducer:O},i[Fm]=C,i}function Wx(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:ka.INIT});if(typeof i>"u")throw new Error(ot(12));if(typeof r(void 0,{type:ka.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ot(13))})}function Mm(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,c;try{Wx(r)}catch(f){c=f}return function(h,b){if(h===void 0&&(h={}),c)throw c;if(0)var y;for(var v=!1,O={},C=0;C<a.length;C++){var R=a[C],_=r[R],$=h[R],P=_($,b);if(typeof P>"u"){var H=b&&b.type;throw new Error(ot(14))}O[R]=P,v=v||P!==$}return v=v||a.length!==Object.keys(h).length,v?O:h}}function Li(){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 zm(){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(ot(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(f){return f(s)});return a=Li.apply(void 0,c)(n.dispatch),Zl(Zl({},n),{},{dispatch:a})}}}var Fm,Ql,ka,La=p(()=>{Dm();Fm=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ql=function(){return Math.random().toString(36).substring(7).split("").join(".")},ka={INIT:"@@redux/INIT"+Ql(),REPLACE:"@@redux/REPLACE"+Ql(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ql()}}});function Um(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(c){return typeof c=="function"?c(n,a,t):s(c)}}};return e}var Hm,Xl,Wm=p(()=>{Hm=Um();Hm.withExtraArgument=Um;Xl=Hm});function Xx(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 rc(t){return nr(t)?Ra(t,function(){}):t}function t0(t){return typeof t=="boolean"}function r0(){return function(e){return o0(e)}}function o0(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,c=new Jx;if(r&&(t0(r)?c.push(Xl):c.push(Xl.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return c}function Zm(t){var e=r0(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,c=r.devTools,f=c===void 0?!0:c,h=r.preloadedState,b=h===void 0?void 0:h,y=r.enhancers,v=y===void 0?void 0:y,O;if(typeof n=="function")O=n;else if(Xx(n))O=Mm(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 C=s;if(typeof C=="function"&&(C=C(e),!ec&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ec&&C.some(function(J){return typeof J!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=zm.apply(void 0,C),_=Li;f&&(_=Yx(uo({trace:!ec},typeof f=="object"&&f)));var $=new e0(R),P=$;Array.isArray(v)?P=Ii([R],v):typeof v=="function"&&(P=v($));var H=_.apply(void 0,P);return Yl(O,b,H)}function fo(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 uo(uo({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 Qm(t){var e={},r=[],i,n={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=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 i0(t){return typeof t=="function"}function n0(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Qm(e):[e,r,i],a=n[0],s=n[1],c=n[2],f;if(i0(t))f=function(){return rc(t())};else{var h=rc(t);f=function(){return h}}function b(y,v){y===void 0&&(y=f());var O=Ii([a[v.type]],s.filter(function(C){var R=C.matcher;return R(v)}).map(function(C){var R=C.reducer;return R}));return O.filter(function(C){return!!C}).length===0&&(O=[c]),O.reduce(function(C,R){if(R)if(Vr(C)){var _=C,$=R(_,v);return $===void 0?C:$}else{if(nr(C))return Ra(C,function(P){return R(P,v)});var $=R(C,v);if($===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return $}return C},y)}return b.getInitialState=f,b}function a0(t,e){return t+"/"+e}function Ym(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:rc(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(b){var y=i[b],v=a0(e,b),O,C;"reducer"in y?(O=y.reducer,C=y.prepare):O=y,a[b]=O,s[v]=O,c[b]=C?fo(v,C):fo(v)});function f(){var b=typeof t.extraReducers=="function"?Qm(t.extraReducers):[t.extraReducers],y=b[0],v=y===void 0?{}:y,O=b[1],C=O===void 0?[]:O,R=b[2],_=R===void 0?void 0:R,$=uo(uo({},v),s);return n0(r,function(P){for(var H in $)P.addCase(H,$[H]);for(var J=0,re=C;J<re.length;J++){var yt=re[J];P.addMatcher(yt.matcher,yt.reducer)}_&&P.addDefaultCase(_)})}var h;return{name:e,reducer:function(b,y){return h||(h=f()),h(b,y)},actions:c,caseReducers:a,getInitialState:function(){return h||(h=f()),h.getInitialState()}}}function p0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function u0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var qm,Vx,Ii,jx,Gx,Kx,Vm,qx,Zx,jm,uo,Jl,Qx,Yx,kL,Jx,e0,ec,s0,l0,c0,tc,Gm,d0,$L,Xm,Jm,eg,PL,_L,NL,BL,oc,DL,FL,ML,Km,zL,f0,UL,tg=p(()=>{Aa();La();La();La();Wm();Aa();Aa();qm=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)}}(),Vx=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(h){return function(b){return f([h,b])}}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(b){h=[6,b],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Ii=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},jx=Object.defineProperty,Gx=Object.defineProperties,Kx=Object.getOwnPropertyDescriptors,Vm=Object.getOwnPropertySymbols,qx=Object.prototype.hasOwnProperty,Zx=Object.prototype.propertyIsEnumerable,jm=function(t,e,r){return e in t?jx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},uo=function(t,e){for(var r in e||(e={}))qx.call(e,r)&&jm(t,r,e[r]);if(Vm)for(var i=0,n=Vm(e);i<n.length;i++){var r=n[i];Zx.call(e,r)&&jm(t,r,e[r])}return t},Jl=function(t,e){return Gx(t,Kx(e))},Qx=function(t,e,r){return new Promise(function(i,n){var a=function(f){try{c(r.next(f))}catch(h){n(h)}},s=function(f){try{c(r.throw(f))}catch(h){n(h)}},c=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};c((r=r.apply(t,e)).next())})},Yx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Li:Li.apply(null,arguments)},kL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Jx=function(t){qm(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,Ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ii([void 0],r.concat(this))))},e}(Array),e0=function(t){qm(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,Ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ii([void 0],r.concat(this))))},e}(Array);ec=!0;s0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",l0=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=s0[Math.random()*64|0];return e},c0=["name","message","stack","code"],tc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Gm=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),d0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=c0;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},$L=function(){function t(e,r,i){var n=fo(e+"/fulfilled",function(b,y,v,O){return{payload:b,meta:Jl(uo({},O||{}),{arg:v,requestId:y,requestStatus:"fulfilled"})}}),a=fo(e+"/pending",function(b,y,v){return{payload:void 0,meta:Jl(uo({},v||{}),{arg:y,requestId:b,requestStatus:"pending"})}}),s=fo(e+"/rejected",function(b,y,v,O,C){return{payload:O,error:(i&&i.serializeError||d0)(b||"Rejected"),meta:Jl(uo({},C||{}),{arg:v,requestId:y,rejectedWithValue:!!O,requestStatus:"rejected",aborted:b?.name==="AbortError",condition:b?.name==="ConditionError"})}}),c=!1,f=typeof AbortController<"u"?AbortController:function(){function b(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return b.prototype.abort=function(){},b}();function h(b){return function(y,v,O){var C=i?.idGenerator?i.idGenerator(b):l0(),R=new f,_,$=!1;function P(J){_=J,R.abort()}var H=function(){return Qx(this,null,function(){var J,re,yt,hr,dt,mr,qe;return Vx(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),hr=(J=i?.condition)==null?void 0:J.call(i,b,{getState:v,extra:O}),u0(hr)?[4,hr]:[3,2];case 1:hr=g.sent(),g.label=2;case 2:if(hr===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,dt=new Promise(function(S,D){return R.signal.addEventListener("abort",function(){return D({name:"AbortError",message:_||"Aborted"})})}),y(a(C,b,(re=i?.getPendingMeta)==null?void 0:re.call(i,{requestId:C,arg:b},{getState:v,extra:O}))),[4,Promise.race([dt,Promise.resolve(r(b,{dispatch:y,getState:v,extra:O,requestId:C,signal:R.signal,abort:P,rejectWithValue:function(S,D){return new tc(S,D)},fulfillWithValue:function(S,D){return new Gm(S,D)}})).then(function(S){if(S instanceof tc)throw S;return S instanceof Gm?n(S.payload,C,b,S.meta):n(S,C,b)})])];case 3:return yt=g.sent(),[3,5];case 4:return mr=g.sent(),yt=mr instanceof tc?s(null,C,b,mr.payload,mr.meta):s(mr,C,b),[3,5];case 5:return qe=i&&!i.dispatchConditionRejection&&s.match(yt)&&yt.meta.condition,qe||y(yt),[2,yt]}})})}();return Object.assign(H,{abort:P,requestId:C,arg:b,unwrap:function(){return H.then(p0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();Xm="listener",Jm="completed",eg="cancelled",PL="task-"+eg,_L="task-"+Jm,NL=Xm+"-"+eg,BL=Xm+"-"+Jm,oc="listenerMiddleware",DL=fo(oc+"/add"),FL=fo(oc+"/removeAll"),ML=fo(oc+"/remove"),zL=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Km||(Km=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},f0=function(t){return function(e){setTimeout(e,t)}},UL=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:f0(10);Am()});function h0(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)}}}var Ia,rg=p(()=>{"use strict";Ia=class extends h0(Object){}});var og,ig=p(()=>{"use strict";tg();Ca();Pl();rg();window.ftReduxStores||(window.ftReduxStores={});og=class t extends Ia{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(un(a))return a;if(n==null)return;let s=Ym({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=Zm({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,c,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ba;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let f=s,h=a[f];return h?(...b)=>{let y=h(...b.map(n));return this.reduxStore.dispatch(y),y}:b=>{this.setState({[f]:n(b)})}}}),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 ng=p(()=>{"use strict";ya()});var ag=p(()=>{"use strict";Yh();Pl();ym();ig();Ca();ng()});var sg=p(()=>{"use strict"});var m0,lg=p(()=>{"use strict";m0=u(W());ag();sg();wt()});var Ta,cg=p(()=>{"use strict";wt();Mo();Ta=class extends Et{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=T.getState().session;return!!e?.sessionAuthenticated}}});var $a,g0,y0,Gt,ic,nc,Pa=p(()=>{"use strict";Ho();$a=u(x());Rl();Sl();wt();cg();g0="ft-user-assets",y0={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(Uo).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={}}},Gt=$a.FtReduxStore.get({name:g0,reducers:y0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Uo).map(t=>[t,void 0])),bookmarkByMap:{}}}}),ic=class{constructor(e=new Ta){this.assetCountsService=e,this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new aa,this.savedSearchesService=new ua,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=T.getState();(0,$a.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){Gt.actions.clearAssetCount(),Gt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Gt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Gt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Gt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Gt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Gt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Gt.getState().assetCounts.bookmarkByMap).length!==0;e===Uo.BOOKMARKS&&r&&Gt.actions.clearBookmarkCountByMap(),Gt.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;Gt.actions.bookmarks(r)}}},nc=new ic;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=nc)});var dg=p(()=>{"use strict";Ho();Pa()});var pg=p(()=>{"use strict"});var ug,Or=p(()=>{"use strict";ug=u(x());$l();lg();wt();Pa();dg();Tl();bl();pg();$l();(0,ug.customElement)("ft-app-context")(ve)});function fg(t){return t.match(/^[\w-]+\.[\w-]+$/)}var b0,hg=p(()=>{"use strict";bn();b0=u(x())});function Kt(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?la:xi}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let c=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...c)}customI18n(a,s){if(fg(a)){let[c,f]=a.split(".");return this.i18n({custom:!0,context:c,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,c,f)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,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,c;let f=this,h=(b,y,v)=>v?.context&&v.key&&a(b,y,v)?{...v,message:this.i18n({context:v.context,key:v.key,...b})}:v;(s=this[mg])===null||s===void 0||s.forEach((b,y)=>f[y]=h(b,y,f[y])),(c=this[gg])===null||c===void 0||c.forEach((b,y)=>{var v;return f[y]=(v=f[y])===null||v===void 0?void 0:v.map(O=>h(b,y,O))})}updateI18nProperties(a){var s;(s=this[vg])===null||s===void 0||s.forEach((c,f)=>{a(c,f)&&(this[f]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let f=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[_a].set(f,{isCustomContext:c}),this[vn].has(f)||this[vn].set(f,this.getI18nService(c).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(c).prepareContext(f,s)}hasI18nContext(a){return this[_a].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[_a].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[vn].forEach(a=>a()),this[vn].clear()}}return e=_a,r=vn,v0([(0,bg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Ba,bg,v0,mg,gg,vg,_a,vn,yg,Na,bn=p(()=>{"use strict";Ba=u(x());Or();bg=u(W());hg();v0=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},mg=Symbol("i18nAttributes"),gg=Symbol("i18nListAttributes"),vg=Symbol("i18nProperties"),_a=Symbol("i18nContexts"),vn=Symbol("i18nUnsubs");yg=class extends Kt(Ba.FtLitElement){},Na=class extends Kt(Ba.FtLitElementRedux){}});var Da,Fa,Ma,xn,ar,ac=p(()=>{"use strict";Da=u(A()),Fa=u(W()),Ma=u(x());yl();bn();Or();xn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Na{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Da.nothing:Da.html`
1162
+ `}connectedCallback(){super.connectedCallback(),T.addEventListener(Do.eventName,this.reloadConfiguration)}disconnectedCallback(){T.addEventListener(Do.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,u;super.update(e),e.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&T.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&T.actions.noCustom(this.noCustom),e.has("editorMode")&&T.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&T.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(h=>xi.addContext(h)),e.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(T.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),T.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),T.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&T.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&T.actions.availableContentLocales((u=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&u!==void 0?u:[]),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",()=>Kh(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ve.elementDefinitions={};ve.styles=rh;We([(0,Xe.property)()],ve.prototype,"baseUrl",void 0);We([(0,Xe.property)()],ve.prototype,"apiIntegrationIdentifier",void 0);We([(0,Xe.property)()],ve.prototype,"apiIntegrationAppVersion",void 0);We([(0,Xe.property)()],ve.prototype,"uiLocale",void 0);We([(0,ir.jsonProperty)(null)],ve.prototype,"availableUiLocales",void 0);We([(0,ir.jsonProperty)(null)],ve.prototype,"metadataConfiguration",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"editorMode",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"noCustom",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"openExternalDocumentInNewTab",void 0);We([(0,Xe.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ve.prototype,"noCustomComponent",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"withManualResources",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"navigatorOnline",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"forcedOffline",void 0);We([(0,Xe.property)({type:Object})],ve.prototype,"apiProvider",void 0);We([(0,Xe.property)({type:Boolean})],ve.prototype,"authenticationRequired",void 0);We([(0,ir.jsonProperty)([])],ve.prototype,"messageContexts",void 0);We([(0,ir.jsonProperty)(void 0)],ve.prototype,"session",void 0);We([(0,Xe.state)()],ve.prototype,"localesConfiguration",void 0);We([(0,Xe.state)()],ve.prototype,"availableContentLocales",void 0)});function Rx(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!fa(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(!fa(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(!fa(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function fa(t,e){try{return Rx(t,e)}catch{return!1}}function ha(t,e){return!fa(t,e)}var ma=p(()=>{"use strict"});var Ax,Qh=p(()=>{"use strict";ma();Ax=f(W(),1)});var ga,$l=p(()=>{"use strict";ga=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 Xh(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Yh.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:ha,...e??{}})}var Yh,Jh=p(()=>{"use strict";Yh=f(W(),1);ma()});var ya,em=p(()=>{"use strict";ya=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 ba,kx,Wk,tm,rm=p(()=>{ba=globalThis,kx=ba.ShadowRoot&&(ba.ShadyCSS===void 0||ba.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wk=Symbol(),tm=(t,e)=>{if(kx)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=ba.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var om,va,im=p(()=>{"use strict";om=f(A(),1);rm();va=class extends om.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 tm(i,e.elementStyles),i}}});function nm(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 am=p(()=>{"use strict"});var Ei,pn,dm,sm,lm,pm,cm,Wr,um=p(()=>{"use strict";Ei=f(W(),1);Jh();em();im();am();pn=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},sm=Symbol("constructorPrototype"),lm=Symbol("constructorName"),pm=Symbol("exportpartsDebouncer"),cm=Symbol("dynamicDependenciesLoaded"),Wr=class extends va{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[dm]=new ya(5),this[lm]=this.constructor.name,this[sm]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[lm]&&Object.setPrototypeOf(this,this[sm])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[cm]||(e[cm]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}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=nm(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)}}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[pm].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)})}setExportpartsAttribute(e){var r,i,n,a,s,l;let u=v=>v!=null&&v.trim().length>0,h=e.filter(u).map(v=>v.trim());if(h.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let v of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=v.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(l=(s=v.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(R=>R.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...O,...C).filter(u).map(R=>R.trim()).forEach(R=>y.add(R))}if(y.size===0){this.removeAttribute("exportparts");return}let g=[...y.values()].flatMap(v=>h.map(O=>`${v}:${O}--${v}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};dm=pm;pn([(0,Ei.property)()],Wr.prototype,"exportpartsPrefix",void 0);pn([Xh([])],Wr.prototype,"exportpartsPrefixes",void 0);pn([(0,Ei.property)()],Wr.prototype,"customStylesheet",void 0);pn([(0,Ei.property)()],Wr.prototype,"elementToFocus",void 0);pn([(0,Ei.state)()],Wr.prototype,"useAdoptedStyleSheets",void 0)});function xa(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Sa=p(()=>{"use strict"});function Lx(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[Vo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Vo].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Vo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Vo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Vo].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let h=this.getStore(s.store);h&&(s.store?this[lo].has(s.store):this[lo].size>0)&&(this[l]=s.selector(h.getState(),this))}})}subscribeToStore(s,l){var u;this[lo].set(s,l.subscribe(()=>this.updateFromStores())),this[un].set(s,[]),xa(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((h,y)=>{if(typeof this[y]=="function"&&(!h.store||l.name===h.store)){let g=v=>this[y](v);l.addEventListener(h.eventName,g),this[un].get(s).push(()=>l.removeEventListener(h.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[lo].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[lo].has(s)&&this[lo].get(s)(),this[lo].delete(s),(l=this[un].get(s))===null||l===void 0||l.forEach(u=>u()),this[un].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=lo,r=Vo,i=un,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}var un,lo,Vo,fm,hm=p(()=>{"use strict";um();Sa();un=Symbol("internalReduxEventsUnsubscribers"),lo=Symbol("internalStoresUnsubscribers"),Vo=Symbol("internalStores");fm=class extends Lx(Wr){}});function jt(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 Vr(t){return!!t&&!!t[Ee]}function nr(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)===Dx}(t)||Array.isArray(t)||!!t[Sm]||!!(!((e=t.constructor)===null||e===void 0)&&e[Sm])||Ul(t)||Hl(t))}function jo(t,e,r){r===void 0&&(r=!1),ki(t)===0?(r?Object.keys:Ai)(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[Ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ul(t)?2:Hl(t)?3:0}function Ri(t,e){return ki(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ix(t,e){return ki(t)===2?t.get(e):t[e]}function Cm(t,e,r){var i=ki(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Om(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ul(t){return Nx&&t instanceof Map}function Hl(t){return Bx&&t instanceof Set}function co(t){return t.o||t.t}function Wl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Rm(t);delete e[Ee];for(var r=Ai(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 Vl(t,e){return e===void 0&&(e=!1),jl(t)||Vr(t)||!nr(t)||(ki(t)>1&&(t.set=t.add=t.clear=t.delete=Tx),Object.freeze(t),e&&jo(t,function(r,i){return Vl(i,!0)},!0)),t}function Tx(){jt(2)}function jl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Cr(t){var e=zl[t];return e||jt(18,t),e}function $x(t,e){zl[t]||(zl[t]=e)}function Dl(){return hn}function Pl(t,e){e&&(Cr("Patches"),t.u=[],t.s=[],t.v=e)}function Ca(t){Fl(t),t.p.forEach(Px),t.p=null}function Fl(t){t===hn&&(hn=t.l)}function mm(t){return hn={p:[],l:hn,h:t,m:!0,_:0}}function Px(t){var e=t[Ee];e.i===0||e.i===1?e.j():e.g=!0}function _l(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Cr("ES5").S(e,t,i),i?(r[Ee].P&&(Ca(e),jt(4)),nr(t)&&(t=Oa(e,t),e.l||wa(e,t)),e.u&&Cr("Patches").M(r[Ee].t,t,e.u,e.s)):t=Oa(e,r,[]),Ca(e),e.u&&e.v(e.u,e.s),t!==Em?t:void 0}function Oa(t,e,r){if(jl(e))return e;var i=e[Ee];if(!i)return jo(e,function(l,u){return gm(t,i,e,l,u,r)},!0),e;if(i.A!==t)return e;if(!i.P)return wa(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Wl(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),jo(a,function(l,u){return gm(t,i,n,l,u,r,s)}),wa(t,n,!1),r&&t.u&&Cr("Patches").N(i,r,t.u,t.s)}return i.o}function gm(t,e,r,i,n,a,s){if(Vr(n)){var l=Oa(t,n,a&&e&&e.i!==3&&!Ri(e.R,i)?a.concat(i):void 0);if(Cm(r,i,l),!Vr(l))return;t.m=!1}else s&&r.add(n);if(nr(n)&&!jl(n)){if(!t.h.D&&t._<1)return;Oa(t,n),e&&e.A.l||wa(t,n)}}function wa(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Vl(e,r)}function Nl(t,e){var r=t[Ee];return(r?co(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 po(t){t.P||(t.P=!0,t.l&&po(t.l))}function Bl(t){t.o||(t.o=Wl(t.t))}function Ml(t,e,r){var i=Ul(e)?Cr("MapSet").F(e,r):Hl(e)?Cr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Dl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},u=l,h=mn;s&&(u=[l],h=fn);var y=Proxy.revocable(u,h),g=y.revoke,v=y.proxy;return l.k=v,l.j=g,v}(e,r):Cr("ES5").J(e,r);return(r?r.A:Dl()).p.push(i),i}function _x(t){return Vr(t)||jt(22,t),function e(r){if(!nr(r))return r;var i,n=r[Ee],a=ki(r);if(n){if(!n.P&&(n.i<4||!Cr("ES5").K(n)))return n.t;n.I=!0,i=bm(r,a),n.I=!1}else i=bm(r,a);return jo(i,function(s,l){n&&Ix(n.t,s)===l||Cm(i,s,e(l))}),a===3?new Set(i):i}(t)}function bm(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Wl(t)}function wm(){function t(s,l){var u=a[s];return u?u.enumerable=l:a[s]=u={configurable:!0,enumerable:l,get:function(){var h=this[Ee];return mn.get(h,s)},set:function(h){var y=this[Ee];mn.set(y,s,h)}},u}function e(s){for(var l=s.length-1;l>=0;l--){var u=s[l][Ee];if(!u.P)switch(u.i){case 5:i(u)&&po(u);break;case 4:r(u)&&po(u)}}}function r(s){for(var l=s.t,u=s.k,h=Ai(u),y=h.length-1;y>=0;y--){var g=h[y];if(g!==Ee){var v=l[g];if(v===void 0&&!Ri(l,g))return!0;var O=u[g],C=O&&O[Ee];if(C?C.t!==v:!Om(O,v))return!0}}var R=!!l[Ee];return h.length!==Ai(l).length+(R?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var h=0;h<l.length;h++)if(!l.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&jt(3,JSON.stringify(co(s)))}var a={};$x("ES5",{J:function(s,l){var u=Array.isArray(s),h=function(g,v){if(g){for(var O=Array(v.length),C=0;C<v.length;C++)Object.defineProperty(O,""+C,t(C,!0));return O}var R=Rm(v);delete R[Ee];for(var _=Ai(R),$=0;$<_.length;$++){var P=_[$];R[P]=t(P,g||!!R[P].enumerable)}return Object.create(Object.getPrototypeOf(v),R)}(u,s),y={i:u?5:4,A:l?l.A:Dl(),P:!1,I:!1,R:{},l,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,Ee,{value:y,writable:!0}),h},S:function(s,l,u){u?Vr(l)&&l[Ee].A===s&&e(s.p):(s.u&&function h(y){if(y&&typeof y=="object"){var g=y[Ee];if(g){var v=g.t,O=g.k,C=g.R,R=g.i;if(R===4)jo(O,function(J){J!==Ee&&(v[J]!==void 0||Ri(v,J)?C[J]||h(O[J]):(C[J]=!0,po(g)))}),jo(v,function(J){O[J]!==void 0||Ri(O,J)||(C[J]=!1,po(g))});else if(R===5){if(i(g)&&(po(g),C.length=!0),O.length<v.length)for(var _=O.length;_<v.length;_++)C[_]=!1;else for(var $=v.length;$<O.length;$++)C[$]=!0;for(var P=Math.min(O.length,v.length),H=0;H<P;H++)O.hasOwnProperty(H)||(C[H]=!0),C[H]===void 0&&h(O[H])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var vm,hn,Gl,Nx,Bx,xm,Em,Sm,Ee,Dx,Ai,Rm,zl,mn,fn,Fx,$t,Mx,oL,iL,nL,aL,sL,lL,Ea,Ra=p(()=>{Gl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Nx=typeof Map<"u",Bx=typeof Set<"u",xm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Em=Gl?Symbol.for("immer-nothing"):((vm={})["immer-nothing"]=!0,vm),Sm=Gl?Symbol.for("immer-draftable"):"__$immer_draftable",Ee=Gl?Symbol.for("immer-state"):"__$immer_state",Dx=""+Object.prototype.constructor,Ai=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Rm=Object.getOwnPropertyDescriptors||function(t){var e={};return Ai(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},zl={},mn={get:function(t,e){if(e===Ee)return t;var r=co(t);if(!Ri(r,e))return function(n,a,s){var l,u=ym(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!nr(i)?i:i===Nl(t.t,e)?(Bl(t),t.o[e]=Ml(t.A.h,i,t)):i},has:function(t,e){return e in co(t)},ownKeys:function(t){return Reflect.ownKeys(co(t))},set:function(t,e,r){var i=ym(co(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Nl(co(t),e),a=n?.[Ee];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Om(r,n)&&(r!==void 0||Ri(t.t,e)))return!0;Bl(t),po(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 Nl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Bl(t),po(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=co(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){jt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){jt(12)}},fn={};jo(mn,function(t,e){fn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),fn.deleteProperty=function(t,e){return fn.set.call(this,t,e,void 0)},fn.set=function(t,e,r){return mn.set.call(this,t[0],e,r,t[0])};Fx=function(){function t(r){var i=this;this.O=xm,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var u=i;return function(R){var _=this;R===void 0&&(R=l);for(var $=arguments.length,P=Array($>1?$-1:0),H=1;H<$;H++)P[H-1]=arguments[H];return u.produce(R,function(J){var re;return(re=a).call.apply(re,[_,J].concat(P))})}}var h;if(typeof a!="function"&&jt(6),s!==void 0&&typeof s!="function"&&jt(7),nr(n)){var y=mm(i),g=Ml(i,n,void 0),v=!0;try{h=a(g),v=!1}finally{v?Ca(y):Fl(y)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(R){return Pl(y,s),_l(R,y)},function(R){throw Ca(y),R}):(Pl(y,s),_l(h,y))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Em&&(h=void 0),i.D&&Vl(h,!0),s){var O=[],C=[];Cr("Patches").M(n,h,O,C),s(O,C)}return h}jt(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),v=1;v<y;v++)g[v-1]=arguments[v];return i.produceWithPatches(h,function(O){return n.apply(void 0,[O].concat(g))})};var s,l,u=i.produce(n,a,function(h,y){s=h,l=y});return typeof Promise<"u"&&u instanceof Promise?u.then(function(h){return[h,s,l]}):[u,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){nr(r)||jt(8),Vr(r)&&(r=_x(r));var i=mm(this),n=Ml(this,r,void 0);return n[Ee].C=!0,Fl(i),n},e.finishDraft=function(r,i){var n=r&&r[Ee],a=n.A;return Pl(a,i),_l(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!xm&&jt(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=Cr("Patches").$;return Vr(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),$t=new Fx,Mx=$t.produce,oL=$t.produceWithPatches.bind($t),iL=$t.setAutoFreeze.bind($t),nL=$t.setUseProxies.bind($t),aL=$t.applyPatches.bind($t),sL=$t.createDraft.bind($t),lL=$t.finishDraft.bind($t),Ea=Mx});function Go(t){"@babel/helpers - typeof";return Go=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},Go(t)}var Kl=p(()=>{});function Am(t,e){if(Go(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Go(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var km=p(()=>{Kl()});function Lm(t){var e=Am(t,"string");return Go(e)=="symbol"?e:e+""}var Im=p(()=>{Kl();km()});function Tm(t,e,r){return(e=Lm(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $m=p(()=>{Im()});function Pm(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 ql(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Pm(Object(r),!0).forEach(function(i){Tm(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pm(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var _m=p(()=>{$m()});function ot(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 zx(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 Ql(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ot(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ot(1));return r(Ql)(t,e)}if(typeof t!="function")throw new Error(ot(2));var n=t,a=e,s=[],l=s,u=!1;function h(){l===s&&(l=s.slice())}function y(){if(u)throw new Error(ot(3));return a}function g(R){if(typeof R!="function")throw new Error(ot(4));if(u)throw new Error(ot(5));var _=!0;return h(),l.push(R),function(){if(_){if(u)throw new Error(ot(6));_=!1,h();var P=l.indexOf(R);l.splice(P,1),s=null}}}function v(R){if(!zx(R))throw new Error(ot(7));if(typeof R.type>"u")throw new Error(ot(8));if(u)throw new Error(ot(9));try{u=!0,a=n(a,R)}finally{u=!1}for(var _=s=l,$=0;$<_.length;$++){var P=_[$];P()}return R}function O(R){if(typeof R!="function")throw new Error(ot(10));n=R,v({type:Aa.REPLACE})}function C(){var R,_=g;return R={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ot(11));function H(){P.next&&P.next(y())}H();var J=_(H);return{unsubscribe:J}}},R[Nm]=function(){return this},R}return v({type:Aa.INIT}),i={dispatch:v,subscribe:g,getState:y,replaceReducer:O},i[Nm]=C,i}function Ux(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Aa.INIT});if(typeof i>"u")throw new Error(ot(12));if(typeof r(void 0,{type:Aa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ot(13))})}function Bm(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{Ux(r)}catch(u){l=u}return function(h,y){if(h===void 0&&(h={}),l)throw l;if(0)var g;for(var v=!1,O={},C=0;C<a.length;C++){var R=a[C],_=r[R],$=h[R],P=_($,y);if(typeof P>"u"){var H=y&&y.type;throw new Error(ot(14))}O[R]=P,v=v||P!==$}return v=v||a.length!==Object.keys(h).length,v?O:h}}function Li(){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 Dm(){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(ot(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(u){return u(s)});return a=Li.apply(void 0,l)(n.dispatch),ql(ql({},n),{},{dispatch:a})}}}var Nm,Zl,Aa,ka=p(()=>{_m();Nm=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Zl=function(){return Math.random().toString(36).substring(7).split("").join(".")},Aa={INIT:"@@redux/INIT"+Zl(),REPLACE:"@@redux/REPLACE"+Zl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Zl()}}});function Fm(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 Mm,Yl,zm=p(()=>{Mm=Fm();Mm.withExtraArgument=Fm;Yl=Mm});function Qx(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 tc(t){return nr(t)?Ea(t,function(){}):t}function Jx(t){return typeof t=="boolean"}function e0(){return function(e){return t0(e)}}function t0(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 Yx;if(r&&(Jx(r)?l.push(Yl):l.push(Yl.withExtraArgument(r.extraArgument))),0){if(n)var u;if(s)var h}return l}function Gm(t){var e=e0(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,u=l===void 0?!0:l,h=r.preloadedState,y=h===void 0?void 0:h,g=r.enhancers,v=g===void 0?void 0:g,O;if(typeof n=="function")O=n;else if(Qx(n))O=Bm(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 C=s;if(typeof C=="function"&&(C=C(e),!Jl&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Jl&&C.some(function(J){return typeof J!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=Dm.apply(void 0,C),_=Li;u&&(_=Zx(uo({trace:!Jl},typeof u=="object"&&u)));var $=new Xx(R),P=$;Array.isArray(v)?P=Ii([R],v):typeof v=="function"&&(P=v($));var H=_.apply(void 0,P);return Ql(O,y,H)}function fo(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 uo(uo({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 Km(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 r0(t){return typeof t=="function"}function o0(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Km(e):[e,r,i],a=n[0],s=n[1],l=n[2],u;if(r0(t))u=function(){return tc(t())};else{var h=tc(t);u=function(){return h}}function y(g,v){g===void 0&&(g=u());var O=Ii([a[v.type]],s.filter(function(C){var R=C.matcher;return R(v)}).map(function(C){var R=C.reducer;return R}));return O.filter(function(C){return!!C}).length===0&&(O=[l]),O.reduce(function(C,R){if(R)if(Vr(C)){var _=C,$=R(_,v);return $===void 0?C:$}else{if(nr(C))return Ea(C,function(P){return R(P,v)});var $=R(C,v);if($===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return $}return C},g)}return y.getInitialState=u,y}function i0(t,e){return t+"/"+e}function qm(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:tc(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(y){var g=i[y],v=i0(e,y),O,C;"reducer"in g?(O=g.reducer,C=g.prepare):O=g,a[y]=O,s[v]=O,l[y]=C?fo(v,C):fo(v)});function u(){var y=typeof t.extraReducers=="function"?Km(t.extraReducers):[t.extraReducers],g=y[0],v=g===void 0?{}:g,O=y[1],C=O===void 0?[]:O,R=y[2],_=R===void 0?void 0:R,$=uo(uo({},v),s);return o0(r,function(P){for(var H in $)P.addCase(H,$[H]);for(var J=0,re=C;J<re.length;J++){var yt=re[J];P.addMatcher(yt.matcher,yt.reducer)}_&&P.addDefaultCase(_)})}var h;return{name:e,reducer:function(y,g){return h||(h=u()),h(y,g)},actions:l,caseReducers:a,getInitialState:function(){return h||(h=u()),h.getInitialState()}}}function c0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function d0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var jm,Hx,Ii,Wx,Vx,jx,Um,Gx,Kx,Hm,uo,Xl,qx,Zx,RL,Yx,Xx,Jl,n0,a0,s0,ec,Wm,l0,IL,Zm,Qm,Ym,TL,$L,PL,_L,rc,NL,BL,DL,Vm,FL,p0,ML,Xm=p(()=>{Ra();ka();ka();ka();zm();Ra();Ra();jm=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)}}(),Hx=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 u([h,y])}}function u(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}}},Ii=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Wx=Object.defineProperty,Vx=Object.defineProperties,jx=Object.getOwnPropertyDescriptors,Um=Object.getOwnPropertySymbols,Gx=Object.prototype.hasOwnProperty,Kx=Object.prototype.propertyIsEnumerable,Hm=function(t,e,r){return e in t?Wx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},uo=function(t,e){for(var r in e||(e={}))Gx.call(e,r)&&Hm(t,r,e[r]);if(Um)for(var i=0,n=Um(e);i<n.length;i++){var r=n[i];Kx.call(e,r)&&Hm(t,r,e[r])}return t},Xl=function(t,e){return Vx(t,jx(e))},qx=function(t,e,r){return new Promise(function(i,n){var a=function(u){try{l(r.next(u))}catch(h){n(h)}},s=function(u){try{l(r.throw(u))}catch(h){n(h)}},l=function(u){return u.done?i(u.value):Promise.resolve(u.value).then(a,s)};l((r=r.apply(t,e)).next())})},Zx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Li:Li.apply(null,arguments)},RL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Yx=function(t){jm(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,Ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ii([void 0],r.concat(this))))},e}(Array),Xx=function(t){jm(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,Ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ii([void 0],r.concat(this))))},e}(Array);Jl=!0;n0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",a0=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=n0[Math.random()*64|0];return e},s0=["name","message","stack","code"],ec=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wm=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),l0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=s0;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},IL=function(){function t(e,r,i){var n=fo(e+"/fulfilled",function(y,g,v,O){return{payload:y,meta:Xl(uo({},O||{}),{arg:v,requestId:g,requestStatus:"fulfilled"})}}),a=fo(e+"/pending",function(y,g,v){return{payload:void 0,meta:Xl(uo({},v||{}),{arg:g,requestId:y,requestStatus:"pending"})}}),s=fo(e+"/rejected",function(y,g,v,O,C){return{payload:O,error:(i&&i.serializeError||l0)(y||"Rejected"),meta:Xl(uo({},C||{}),{arg:v,requestId:g,rejectedWithValue:!!O,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,u=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,v,O){var C=i?.idGenerator?i.idGenerator(y):a0(),R=new u,_,$=!1;function P(J){_=J,R.abort()}var H=function(){return qx(this,null,function(){var J,re,yt,hr,dt,mr,qe;return Hx(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),hr=(J=i?.condition)==null?void 0:J.call(i,y,{getState:v,extra:O}),d0(hr)?[4,hr]:[3,2];case 1:hr=b.sent(),b.label=2;case 2:if(hr===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,dt=new Promise(function(S,D){return R.signal.addEventListener("abort",function(){return D({name:"AbortError",message:_||"Aborted"})})}),g(a(C,y,(re=i?.getPendingMeta)==null?void 0:re.call(i,{requestId:C,arg:y},{getState:v,extra:O}))),[4,Promise.race([dt,Promise.resolve(r(y,{dispatch:g,getState:v,extra:O,requestId:C,signal:R.signal,abort:P,rejectWithValue:function(S,D){return new ec(S,D)},fulfillWithValue:function(S,D){return new Wm(S,D)}})).then(function(S){if(S instanceof ec)throw S;return S instanceof Wm?n(S.payload,C,y,S.meta):n(S,C,y)})])];case 3:return yt=b.sent(),[3,5];case 4:return mr=b.sent(),yt=mr instanceof ec?s(null,C,y,mr.payload,mr.meta):s(mr,C,y),[3,5];case 5:return qe=i&&!i.dispatchConditionRejection&&s.match(yt)&&yt.meta.condition,qe||g(yt),[2,yt]}})})}();return Object.assign(H,{abort:P,requestId:C,arg:y,unwrap:function(){return H.then(c0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();Zm="listener",Qm="completed",Ym="cancelled",TL="task-"+Ym,$L="task-"+Qm,PL=Zm+"-"+Ym,_L=Zm+"-"+Qm,rc="listenerMiddleware",NL=fo(rc+"/add"),BL=fo(rc+"/removeAll"),DL=fo(rc+"/remove"),FL=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Vm||(Vm=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},p0=function(t){return function(e){setTimeout(e,t)}},ML=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:p0(10);wm()});function u0(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)}}}var La,Jm=p(()=>{"use strict";La=class extends u0(Object){}});var eg,tg=p(()=>{"use strict";Xm();Sa();$l();Jm();window.ftReduxStores||(window.ftReduxStores={});eg=class t extends La{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(xa(a))return a;if(n==null)return;let s=qm({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Gm({reducer:(u,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...h.overwrites}:s.reducer(u,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 ga;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let u=s,h=a[u];return h?(...y)=>{let g=h(...y.map(n));return this.reduxStore.dispatch(g),g}:y=>{this.setState({[u]: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 rg=p(()=>{"use strict";ma()});var og=p(()=>{"use strict";Qh();$l();hm();tg();Sa();rg()});var ig=p(()=>{"use strict"});var f0,ng=p(()=>{"use strict";f0=f(W());og();ig();wt()});var Ia,ag=p(()=>{"use strict";wt();Mo();Ia=class extends Et{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=T.getState().session;return!!e?.sessionAuthenticated}}});var Ta,h0,m0,Gt,oc,ic,$a=p(()=>{"use strict";Ho();Ta=f(x());El();xl();wt();ag();h0="ft-user-assets",m0={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(Uo).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={}}},Gt=Ta.FtReduxStore.get({name:h0,reducers:m0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Uo).map(t=>[t,void 0])),bookmarkByMap:{}}}}),oc=class{constructor(e=new Ia){this.assetCountsService=e,this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ia,this.savedSearchesService=new da,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=T.getState();(0,Ta.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){Gt.actions.clearAssetCount(),Gt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Gt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Gt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Gt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Gt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Gt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Gt.getState().assetCounts.bookmarkByMap).length!==0;e===Uo.BOOKMARKS&&r&&Gt.actions.clearBookmarkCountByMap(),Gt.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;Gt.actions.bookmarks(r)}}},ic=new oc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=ic)});var sg=p(()=>{"use strict";Ho();$a()});var lg=p(()=>{"use strict"});var cg,Or=p(()=>{"use strict";cg=f(x());Tl();ng();wt();$a();sg();Il();yl();lg();Tl();(0,cg.customElement)("ft-app-context")(ve)});function dg(t){return t.match(/^[\w-]+\.[\w-]+$/)}var g0,pg=p(()=>{"use strict";gn();g0=f(x())});function Kt(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?aa:xi}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let l=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...l)}customI18n(a,s){if(dg(a)){let[l,u]=a.split(".");return this.i18n({custom:!0,context:l,key:u,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,u)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,u)=>{var h;return((h=u?.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 u=this,h=(y,g,v)=>v?.context&&v.key&&a(y,g,v)?{...v,message:this.i18n({context:v.context,key:v.key,...y})}:v;(s=this[ug])===null||s===void 0||s.forEach((y,g)=>u[g]=h(y,g,u[g])),(l=this[fg])===null||l===void 0||l.forEach((y,g)=>{var v;return u[g]=(v=u[g])===null||v===void 0?void 0:v.map(O=>h(y,g,O))})}updateI18nProperties(a){var s;(s=this[gg])===null||s===void 0||s.forEach((l,u)=>{a(l,u)&&(this[u]=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 u=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Pa].set(u,{isCustomContext:l}),this[yn].has(u)||this[yn].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,s)}hasI18nContext(a){return this[Pa].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Pa].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[yn].forEach(a=>a()),this[yn].clear()}}return e=Pa,r=yn,y0([(0,mg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Na,mg,y0,ug,fg,gg,Pa,yn,hg,_a,gn=p(()=>{"use strict";Na=f(x());Or();mg=f(W());pg();y0=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},ug=Symbol("i18nAttributes"),fg=Symbol("i18nListAttributes"),gg=Symbol("i18nProperties"),Pa=Symbol("i18nContexts"),yn=Symbol("i18nUnsubs");hg=class extends Kt(Na.FtLitElement){},_a=class extends Kt(Na.FtLitElementRedux){}});var Ba,Da,Fa,bn,ar,nc=p(()=>{"use strict";Ba=f(A()),Da=f(W()),Fa=f(x());gl();gn();Or();bn=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 _a{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ba.nothing:Ba.html`
1163
1163
  <span class="ft-i18n">
1164
1164
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1165
1165
  </span>
1166
- `}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:""})}};ar.elementDefinitions={};ar.styles=th;xn([(0,Ma.redux)()],ar.prototype,"editorMode",void 0);xn([(0,Fa.property)()],ar.prototype,"context",void 0);xn([(0,Fa.property)()],ar.prototype,"key",void 0);xn([(0,Ma.jsonProperty)([])],ar.prototype,"args",void 0);xn([(0,Fa.property)()],ar.prototype,"defaultMessage",void 0)});var wr,xg=p(()=>{"use strict";Or();wr=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?la:xi}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)})}}});var Sg=p(()=>{"use strict";bn()});var Cg=p(()=>{"use strict"});var Og,Er=p(()=>{"use strict";Og=u(x());ac();xg();bn();Sg();yl();Cg();ac();(0,Og.customElement)("ft-i18n")(ar)});var kg,Lg=p(()=>{Bs();kg=t=>t??Be});var Ig=p(()=>{Lg()});function Tg(t){var e,r,i,n,a;return((n=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.openMode)===pa.EXTERNAL}function Ua(t){var e,r,i,n,a;if(Tg(t))return(n=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case Vt.MAP:return t.map.readerUrl;case Vt.DOCUMENT:return t.document.viewerUrl;case Vt.TOPIC:return t.topic.readerUrl}return""}function $g(t,e){return kg(e&&Tg(t)?"_blank":void 0)}var cc=p(()=>{"use strict";Ho();Ig()});var $i,Pi,pc=p(()=>{"use strict";$i=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Pi=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Bg,C0,uc,fc=p(()=>{"use strict";Bg=u(A()),C0={},uc=Bg.css`
1167
- `});var Dg=p(()=>{"use strict"});var Ha,O0,Fg,Mg=p(()=>{"use strict";Ha=u(x()),O0={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,Ha.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},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:[]}},Fg=t=>Ha.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:O0})});var Wa,zg=p(()=>{"use strict";Or();Wa=class extends Et{constructor(e){super(!0,e)}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())}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 Pt,Ug,Cn,_i,hc=p(()=>{"use strict";Pt=u(x());Mg();Ho();zg();Ug=t=>t.request.virtualField===Oi.TITLE_ONLY&&t.request.scope===wi.DOCUMENTS,Cn=class t extends Event{constructor(){super(t.eventName)}};Cn.eventName="search-context-clear-all-filters";_i=class t{static build(e,r){return new t(Fg(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Pt.Debouncer(10),this.searchDebouncer=new Pt.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 Pt.Debouncer(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=r??new Wa,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,Pt.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,Pt.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),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(c=>c.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)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}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(Oi.TITLE_ONLY),this.store.actions.setRequestScope(wi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Oi.EVERYWHERE),this.store.actions.setRequestScope(wi.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Ug(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Cn)}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(c=>!c.rangeFilter),...n.filter(c=>c.rangeFilter&&c.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.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,Pt.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let c=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(c),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 Pt.CanceledPromiseError||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=(0,Pt.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof Pt.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.facets(void 0),this.store.actions.spellcheck(void 0)}}});function R0(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[mc]=0,this[Hg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[mc]>E0?window.clearInterval(this[Hg]):(this[mc]++,this.dispatchEvent(new gc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return w0([(0,Vg.state)()],e.prototype,"stateManager",void 0),e}var Wg,Vg,w0,gc,Hg,mc,E0,qt,qo=p(()=>{"use strict";Wg=u(x()),Vg=u(W());Dg();hc();w0=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},gc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Hg=Symbol("registerInterval"),mc=Symbol("registerAttempts"),E0=40;qt=class extends R0(Wg.FtLitElementRedux){}});function Ni(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Bi(t){var e;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}}var yc=p(()=>{"use strict"});var jg,Va,Gg=p(()=>{"use strict";jg=u(x());Ho();Or();yc();Va=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 fa,this.resultsWatcher=(0,jg.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}=T.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}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}=T.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:zo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ni(e.metadataFilters),facets:e.metadataFilters.map(n=>Bi(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:zo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ni(e.metadataFilters),facets:e.metadataFilters.map(a=>Bi(a))},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Vt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:zo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ni(i.metadataFilters),facets:i.metadataFilters.map(s=>Bi(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==Vt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:zo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ni(i.metadataFilters),facets:i.metadataFilters.map(s=>Bi(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 Vt.MAP:return{id:e.map.mapId,title:e.map.title,type:Ci.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Vt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Ci.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Vt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Ci.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Kg,jr,Zt,it,ja,Ga,Ka,Te,bc=p(()=>{"use strict";Kg=u(A()),jr=u(W()),Zt=u(x());fc();qo();Or();Pa();Gg();it=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ja=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ga=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ka=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Te=class extends Zt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=_i.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 Va(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(T)}render(){return Kg.html`
1166
+ `}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:""})}};ar.elementDefinitions={};ar.styles=eh;bn([(0,Fa.redux)()],ar.prototype,"editorMode",void 0);bn([(0,Da.property)()],ar.prototype,"context",void 0);bn([(0,Da.property)()],ar.prototype,"key",void 0);bn([(0,Fa.jsonProperty)([])],ar.prototype,"args",void 0);bn([(0,Da.property)()],ar.prototype,"defaultMessage",void 0)});var wr,yg=p(()=>{"use strict";Or();wr=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?aa:xi}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)})}}});var bg=p(()=>{"use strict";gn()});var vg=p(()=>{"use strict"});var xg,Er=p(()=>{"use strict";xg=f(x());nc();yg();gn();bg();gl();vg();nc();(0,xg.customElement)("ft-i18n")(ar)});var Eg,Rg=p(()=>{Ns();Eg=t=>t??Be});var Ag=p(()=>{Rg()});function kg(t){var e,r,i,n,a;return((n=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.openMode)===ca.EXTERNAL}function za(t){var e,r,i,n,a;if(kg(t))return(n=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case Vt.MAP:return t.map.readerUrl;case Vt.DOCUMENT:return t.document.viewerUrl;case Vt.TOPIC:return t.topic.readerUrl}return""}function Lg(t,e){return Eg(e&&kg(t)?"_blank":void 0)}var lc=p(()=>{"use strict";Ho();Ag()});var $i,Pi,dc=p(()=>{"use strict";$i=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Pi=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Pg,x0,pc,uc=p(()=>{"use strict";Pg=f(A()),x0={},pc=Pg.css`
1167
+ `});var _g=p(()=>{"use strict"});var Ua,S0,Ng,Bg=p(()=>{"use strict";Ua=f(x()),S0={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,Ua.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},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:[]}},Ng=t=>Ua.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:S0})});var Ha,Dg=p(()=>{"use strict";Or();Ha=class extends Et{constructor(e){super(!0,e)}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())}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 Pt,Fg,xn,_i,fc=p(()=>{"use strict";Pt=f(x());Bg();Ho();Dg();Fg=t=>t.request.virtualField===Oi.TITLE_ONLY&&t.request.scope===wi.DOCUMENTS,xn=class t extends Event{constructor(){super(t.eventName)}};xn.eventName="search-context-clear-all-filters";_i=class t{static build(e,r){return new t(Ng(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Pt.Debouncer(10),this.searchDebouncer=new Pt.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 Pt.Debouncer(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=r??new Ha,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,Pt.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,Pt.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),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)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}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(Oi.TITLE_ONLY),this.store.actions.setRequestScope(wi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Oi.EVERYWHERE),this.store.actions.setRequestScope(wi.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Fg(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new xn)}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.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,Pt.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(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 Pt.CanceledPromiseError||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=(0,Pt.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof Pt.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.facets(void 0),this.store.actions.spellcheck(void 0)}}});function w0(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[hc]=0,this[Mg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[hc]>O0?window.clearInterval(this[Mg]):(this[hc]++,this.dispatchEvent(new mc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return C0([(0,Ug.state)()],e.prototype,"stateManager",void 0),e}var zg,Ug,C0,mc,Mg,hc,O0,qt,qo=p(()=>{"use strict";zg=f(x()),Ug=f(W());_g();fc();C0=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},mc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Mg=Symbol("registerInterval"),hc=Symbol("registerAttempts"),O0=40;qt=class extends w0(zg.FtLitElementRedux){}});function Ni(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Bi(t){var e;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}}var gc=p(()=>{"use strict"});var Hg,Wa,Wg=p(()=>{"use strict";Hg=f(x());Ho();Or();gc();Wa=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 pa,this.resultsWatcher=(0,Hg.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}=T.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}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}=T.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:zo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ni(e.metadataFilters),facets:e.metadataFilters.map(n=>Bi(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:zo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ni(e.metadataFilters),facets:e.metadataFilters.map(a=>Bi(a))},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Vt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:zo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ni(i.metadataFilters),facets:i.metadataFilters.map(s=>Bi(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==Vt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:zo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ni(i.metadataFilters),facets:i.metadataFilters.map(s=>Bi(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 Vt.MAP:return{id:e.map.mapId,title:e.map.title,type:Ci.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Vt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Ci.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Vt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Ci.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Vg,jr,Zt,it,Va,ja,Ga,Te,yc=p(()=>{"use strict";Vg=f(A()),jr=f(W()),Zt=f(x());uc();qo();Or();$a();Wg();it=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},Va=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},ja=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ga=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Te=class extends Zt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=_i.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 Wa(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(T)}render(){return Vg.html`
1168
1168
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
1169
1169
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
1170
- `}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("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("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 Ga(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Ka(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 ja(e))}reloadSavedSearches(){nc.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)}};Te.elementDefinitions={};Te.styles=uc;it([(0,Zt.redux)({store:T.name})],Te.prototype,"session",void 0);it([(0,jr.property)()],Te.prototype,"query",void 0);it([(0,jr.property)()],Te.prototype,"contentLocale",void 0);it([(0,jr.property)({type:Number})],Te.prototype,"pageSize",void 0);it([(0,jr.property)({type:Boolean})],Te.prototype,"searchInDocumentTitlesOnly",void 0);it([(0,jr.property)()],Te.prototype,"scope",void 0);it([(0,jr.property)()],Te.prototype,"virtualField",void 0);it([(0,jr.property)({type:Boolean})],Te.prototype,"ignoreEmptyQuery",void 0);it([(0,Zt.redux)({store:T.name})],Te.prototype,"openExternalDocumentInNewTab",void 0);it([(0,Zt.jsonProperty)([])],Te.prototype,"filters",void 0);it([(0,Zt.jsonProperty)([])],Te.prototype,"sort",void 0);it([(0,Zt.jsonProperty)({})],Te.prototype,"otherQueryParams",void 0);it([(0,Zt.redux)({store:"search"})],Te.prototype,"request",void 0);it([(0,Zt.redux)({store:"search"})],Te.prototype,"paging",void 0);it([(0,Zt.redux)({store:"search",selector:t=>t.spellcheck})],Te.prototype,"autocorrect",void 0);it([(0,jr.property)({attribute:!1})],Te.prototype,"searchServiceProvider",void 0)});var qg=p(()=>{"use strict"});var Qg={};Ao(Qg,{ClearAllFiltersEvent:()=>Cn,FtSearchContext:()=>Te,FtSearchContextCssVariables:()=>C0,FtSearchStateManager:()=>_i,LoadErrorEvent:()=>ja,SearchRequestChangeEvent:()=>Ga,SearchResultsChangeEvent:()=>Ka,convertMetadataFilterToAnalyticsFacet:()=>Bi,getAnalyticsLastUpdate:()=>Ni,searchInDocumentTitlesOnlySelector:()=>Ug,styles:()=>uc});var Zg,Yg=p(()=>{"use strict";Zg=u(x());bc();fc();qg();bc();hc();yc();(0,Zg.customElement)("ft-search-context")(Te)});var ho,vc=p(()=>{"use strict";Er();ho=wr.build("designedSearchInput")});var Gr=Ro((eT,Xg)=>{Xg.exports=ftGlobals.litRepeat});var Qt,xc=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Qt||(Qt={}))});var Jg,ey,Sc=p(()=>{"use strict";Jg=u(A()),ey=Jg.css`
1170
+ `}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("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("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 ja(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Ga(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 Va(e))}reloadSavedSearches(){ic.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)}};Te.elementDefinitions={};Te.styles=pc;it([(0,Zt.redux)({store:T.name})],Te.prototype,"session",void 0);it([(0,jr.property)()],Te.prototype,"query",void 0);it([(0,jr.property)()],Te.prototype,"contentLocale",void 0);it([(0,jr.property)({type:Number})],Te.prototype,"pageSize",void 0);it([(0,jr.property)({type:Boolean})],Te.prototype,"searchInDocumentTitlesOnly",void 0);it([(0,jr.property)()],Te.prototype,"scope",void 0);it([(0,jr.property)()],Te.prototype,"virtualField",void 0);it([(0,jr.property)({type:Boolean})],Te.prototype,"ignoreEmptyQuery",void 0);it([(0,Zt.redux)({store:T.name})],Te.prototype,"openExternalDocumentInNewTab",void 0);it([(0,Zt.jsonProperty)([])],Te.prototype,"filters",void 0);it([(0,Zt.jsonProperty)([])],Te.prototype,"sort",void 0);it([(0,Zt.jsonProperty)({})],Te.prototype,"otherQueryParams",void 0);it([(0,Zt.redux)({store:"search"})],Te.prototype,"request",void 0);it([(0,Zt.redux)({store:"search"})],Te.prototype,"paging",void 0);it([(0,Zt.redux)({store:"search",selector:t=>t.spellcheck})],Te.prototype,"autocorrect",void 0);it([(0,jr.property)({attribute:!1})],Te.prototype,"searchServiceProvider",void 0)});var jg=p(()=>{"use strict"});var Kg={};Ao(Kg,{ClearAllFiltersEvent:()=>xn,FtSearchContext:()=>Te,FtSearchContextCssVariables:()=>x0,FtSearchStateManager:()=>_i,LoadErrorEvent:()=>Va,SearchRequestChangeEvent:()=>ja,SearchResultsChangeEvent:()=>Ga,convertMetadataFilterToAnalyticsFacet:()=>Bi,getAnalyticsLastUpdate:()=>Ni,searchInDocumentTitlesOnlySelector:()=>Fg,styles:()=>pc});var Gg,qg=p(()=>{"use strict";Gg=f(x());yc();uc();jg();yc();fc();gc();(0,Gg.customElement)("ft-search-context")(Te)});var ho,bc=p(()=>{"use strict";Er();ho=wr.build("designedSearchInput")});var Gr=Ro((X1,Zg)=>{Zg.exports=ftGlobals.litRepeat});var Qt,vc=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Qt||(Qt={}))});var Qg,Yg,xc=p(()=>{"use strict";Qg=f(A()),Yg=Qg.css`
1171
1171
  .ft-size-watcher--pixel {
1172
1172
  width: 0;
1173
1173
  height: 0;
@@ -1186,11 +1186,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1186
1186
  .ft-size-watcher--local .ft-size-watcher--watcher {
1187
1187
  width: 100%;
1188
1188
  }
1189
- `});var ty,Zo,qa,On,Cc,_t,Oc=p(()=>{"use strict";ty=u(A()),Zo=u(W()),qa=u(x());xc();Sc();On=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Cc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},_t=class extends qa.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Qt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new qa.Debouncer}render(){return ty.html`
1189
+ `});var Xg,Zo,Ka,Sn,Sc,_t,Cc=p(()=>{"use strict";Xg=f(A()),Zo=f(W()),Ka=f(x());vc();xc();Sn=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},Sc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},_t=class extends Ka.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Qt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Ka.Debouncer}render(){return Xg.html`
1190
1190
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1191
1191
  <div class="ft-size-watcher--watcher"></div>
1192
1192
  </div>
1193
- `}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=Qt.S:this.size<976?this.category=Qt.M:this.size<1024?this.category=Qt.L:this.size<1440?this.category=Qt.XL:this.category=Qt.XXL,this.dispatchEvent(new Cc(this.size,this.category)))},this.debounceTimeout)}};_t.elementDefinitions={};_t.styles=ey;On([(0,Zo.property)({type:Number})],_t.prototype,"debounceTimeout",void 0);On([(0,Zo.property)({type:Boolean})],_t.prototype,"local",void 0);On([(0,Zo.property)({type:Number,reflect:!0})],_t.prototype,"size",void 0);On([(0,Zo.property)({type:String,reflect:!0})],_t.prototype,"category",void 0);On([(0,Zo.query)(".ft-size-watcher--watcher")],_t.prototype,"watcher",void 0)});var ry,oy=p(()=>{"use strict";ry=u(x());Oc();Oc();Sc();xc();(0,ry.customElement)("ft-size-watcher")(_t)});function Za(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function iy(t){return Za(t).split("|").pop()}function ny(t){return Za(t).split("|").join(" > ")}function ay(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>ay(r,t.selected)),value:t.value}}function sy(t){return(0,wc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Ec(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ay(e,!1))}}function ly(t){return(0,wc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var wc,Rc=p(()=>{"use strict";wc=u(x())});var Je,cy,Nt,dy,Ac=p(()=>{"use strict";Je=u(x()),cy=u(A());Pe();xt();Nt={textColor:Je.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Je.designSystemVariables.colorOnSurfaceHigh),fontSize:Je.FtCssVariableFactory.extend("--ft-checkbox-font-size","",I.fontSize),activeColor:Je.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Je.designSystemVariables.colorPrimary),checkColor:Je.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Je.designSystemVariables.colorOnPrimary),borderColor:Je.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Je.designSystemVariables.colorOnSurfaceMedium),disabledColor:Je.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Je.designSystemVariables.colorOnSurfaceDisabled),errorColor:Je.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Je.designSystemVariables.colorError)},dy=cy.css`
1193
+ `}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=Qt.S:this.size<976?this.category=Qt.M:this.size<1024?this.category=Qt.L:this.size<1440?this.category=Qt.XL:this.category=Qt.XXL,this.dispatchEvent(new Sc(this.size,this.category)))},this.debounceTimeout)}};_t.elementDefinitions={};_t.styles=Yg;Sn([(0,Zo.property)({type:Number})],_t.prototype,"debounceTimeout",void 0);Sn([(0,Zo.property)({type:Boolean})],_t.prototype,"local",void 0);Sn([(0,Zo.property)({type:Number,reflect:!0})],_t.prototype,"size",void 0);Sn([(0,Zo.property)({type:String,reflect:!0})],_t.prototype,"category",void 0);Sn([(0,Zo.query)(".ft-size-watcher--watcher")],_t.prototype,"watcher",void 0)});var Jg,ey=p(()=>{"use strict";Jg=f(x());Cc();Cc();xc();vc();(0,Jg.customElement)("ft-size-watcher")(_t)});function qa(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ty(t){return qa(t).split("|").pop()}function ry(t){return qa(t).split("|").join(" > ")}function oy(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>oy(r,t.selected)),value:t.value}}function iy(t){return(0,Oc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function wc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>oy(e,!1))}}function ny(t){return(0,Oc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Oc,Ec=p(()=>{"use strict";Oc=f(x())});var Je,ay,Nt,sy,Rc=p(()=>{"use strict";Je=f(x()),ay=f(A());Pe();xt();Nt={textColor:Je.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Je.designSystemVariables.colorOnSurfaceHigh),fontSize:Je.FtCssVariableFactory.extend("--ft-checkbox-font-size","",I.fontSize),activeColor:Je.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Je.designSystemVariables.colorPrimary),checkColor:Je.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Je.designSystemVariables.colorOnPrimary),borderColor:Je.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Je.designSystemVariables.colorOnSurfaceMedium),disabledColor:Je.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Je.designSystemVariables.colorOnSurfaceDisabled),errorColor:Je.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Je.designSystemVariables.colorError)},sy=ay.css`
1194
1194
  * {
1195
1195
  box-sizing: border-box;
1196
1196
  }
@@ -1283,8 +1283,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1283
1283
  }
1284
1284
  }
1285
1285
  }
1286
- `});var py,Rr,uy,fy,mo,nt,kc=p(()=>{"use strict";py=u(A()),Rr=u(W()),uy=u(x()),fy=u(bt());xt();Pe();Ac();mo=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},nt=class extends uy.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 py.html`
1287
- <label class="${(0,fy.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1286
+ `});var ly,Rr,cy,dy,mo,nt,Ac=p(()=>{"use strict";ly=f(A()),Rr=f(W()),cy=f(x()),dy=f(bt());xt();Pe();Rc();mo=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},nt=class extends cy.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 ly.html`
1287
+ <label class="${(0,dy.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1288
1288
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1289
1289
  <ft-ripple part="checkbox-ripple"
1290
1290
  ?disabled=${this.disabled}
@@ -1310,7 +1310,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1310
1310
  <slot></slot>
1311
1311
  </ft-typography>
1312
1312
  </label>
1313
- `}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)}};nt.elementDefinitions={"ft-ripple":j,"ft-typography":q};nt.styles=dy;mo([(0,Rr.property)()],nt.prototype,"name",void 0);mo([(0,Rr.property)({type:Boolean,reflect:!0})],nt.prototype,"checked",void 0);mo([(0,Rr.property)({type:Boolean})],nt.prototype,"indeterminate",void 0);mo([(0,Rr.property)({type:Boolean})],nt.prototype,"disabled",void 0);mo([(0,Rr.property)({type:Boolean})],nt.prototype,"error",void 0);mo([(0,Rr.query)(".ft-checkbox")],nt.prototype,"container",void 0);mo([(0,Rr.query)("ft-ripple")],nt.prototype,"ripple",void 0);mo([(0,Rr.query)("input")],nt.prototype,"input",void 0)});var hy=p(()=>{"use strict"});var my,gy=p(()=>{"use strict";my=u(x());kc();kc();Ac();hy();(0,my.customElement)("ft-checkbox")(nt)});var yy,At,go,by,Lc=p(()=>{"use strict";yy=u(A()),At=u(x());Pe();go={textColor:At.FtCssVariableFactory.extend("--ft-radio-text-color","",At.designSystemVariables.colorOnSurfaceHigh),fontSize:At.FtCssVariableFactory.extend("--ft-radio-font-size","",I.fontSize),colorPrimary:At.FtCssVariableFactory.external(At.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:At.FtCssVariableFactory.external(At.designSystemVariables.colorOnPrimary,"Design system"),borderColor:At.FtCssVariableFactory.extend("--ft-radio-border-color","",At.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:At.FtCssVariableFactory.external(At.designSystemVariables.colorOnSurfaceDisabled,"Design system")},by=yy.css`
1313
+ `}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)}};nt.elementDefinitions={"ft-ripple":j,"ft-typography":q};nt.styles=sy;mo([(0,Rr.property)()],nt.prototype,"name",void 0);mo([(0,Rr.property)({type:Boolean,reflect:!0})],nt.prototype,"checked",void 0);mo([(0,Rr.property)({type:Boolean})],nt.prototype,"indeterminate",void 0);mo([(0,Rr.property)({type:Boolean})],nt.prototype,"disabled",void 0);mo([(0,Rr.property)({type:Boolean})],nt.prototype,"error",void 0);mo([(0,Rr.query)(".ft-checkbox")],nt.prototype,"container",void 0);mo([(0,Rr.query)("ft-ripple")],nt.prototype,"ripple",void 0);mo([(0,Rr.query)("input")],nt.prototype,"input",void 0)});var py=p(()=>{"use strict"});var uy,fy=p(()=>{"use strict";uy=f(x());Ac();Ac();Rc();py();(0,uy.customElement)("ft-checkbox")(nt)});var hy,At,go,my,kc=p(()=>{"use strict";hy=f(A()),At=f(x());Pe();go={textColor:At.FtCssVariableFactory.extend("--ft-radio-text-color","",At.designSystemVariables.colorOnSurfaceHigh),fontSize:At.FtCssVariableFactory.extend("--ft-radio-font-size","",I.fontSize),colorPrimary:At.FtCssVariableFactory.external(At.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:At.FtCssVariableFactory.external(At.designSystemVariables.colorOnPrimary,"Design system"),borderColor:At.FtCssVariableFactory.extend("--ft-radio-border-color","",At.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:At.FtCssVariableFactory.external(At.designSystemVariables.colorOnSurfaceDisabled,"Design system")},my=hy.css`
1314
1314
  * {
1315
1315
  box-sizing: border-box;
1316
1316
  }
@@ -1399,8 +1399,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1399
1399
  .ft-radio ft-typography {
1400
1400
  padding-right: 2px;
1401
1401
  }
1402
- `});var vy,sr,xy,Sy,Kr,Qa,Ve,Ic=p(()=>{"use strict";vy=u(A()),sr=u(W()),xy=u(x()),Sy=u(bt());xt();Pe();Lc();Kr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Qa=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Ve=class extends xy.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return vy.html`
1403
- <div class="${(0,Sy.classMap)(e)}">
1402
+ `});var gy,sr,yy,by,Kr,Za,Ve,Lc=p(()=>{"use strict";gy=f(A()),sr=f(W()),yy=f(x()),by=f(bt());xt();Pe();kc();Kr=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},Za=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Ve=class extends yy.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return gy.html`
1403
+ <div class="${(0,by.classMap)(e)}">
1404
1404
  <div class="ft-radio--box-container">
1405
1405
  <ft-ripple
1406
1406
  ?disabled=${this.disabled}
@@ -1424,7 +1424,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1424
1424
  </ft-typography>
1425
1425
  </label>
1426
1426
  </div>
1427
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Qa(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 Qa(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;(r=this.ripple)===null||r===void 0||r.forceFocusUpdate()},0)}};Ve.elementDefinitions={"ft-ripple":j,"ft-typography":q};Ve.styles=by;Kr([(0,sr.property)()],Ve.prototype,"value",void 0);Kr([(0,sr.property)()],Ve.prototype,"name",void 0);Kr([(0,sr.property)({type:Boolean,reflect:!0})],Ve.prototype,"checked",void 0);Kr([(0,sr.property)({attribute:"aria-checked",reflect:!0})],Ve.prototype,"ariaChecked",void 0);Kr([(0,sr.property)({type:Boolean})],Ve.prototype,"disabled",void 0);Kr([(0,sr.property)({reflect:!0,attribute:"role"})],Ve.prototype,"role",void 0);Kr([(0,sr.query)(".ft-radio")],Ve.prototype,"container",void 0);Kr([(0,sr.query)("ft-ripple")],Ve.prototype,"ripple",void 0);Kr([(0,sr.query)("input")],Ve.prototype,"input",void 0)});var Cy,Oy,Tc=p(()=>{"use strict";Cy=u(A()),Oy=Cy.css`
1427
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Za(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 Za(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;(r=this.ripple)===null||r===void 0||r.forceFocusUpdate()},0)}};Ve.elementDefinitions={"ft-ripple":j,"ft-typography":q};Ve.styles=my;Kr([(0,sr.property)()],Ve.prototype,"value",void 0);Kr([(0,sr.property)()],Ve.prototype,"name",void 0);Kr([(0,sr.property)({type:Boolean,reflect:!0})],Ve.prototype,"checked",void 0);Kr([(0,sr.property)({attribute:"aria-checked",reflect:!0})],Ve.prototype,"ariaChecked",void 0);Kr([(0,sr.property)({type:Boolean})],Ve.prototype,"disabled",void 0);Kr([(0,sr.property)({reflect:!0,attribute:"role"})],Ve.prototype,"role",void 0);Kr([(0,sr.query)(".ft-radio")],Ve.prototype,"container",void 0);Kr([(0,sr.query)("ft-ripple")],Ve.prototype,"ripple",void 0);Kr([(0,sr.query)("input")],Ve.prototype,"input",void 0)});var vy,xy,Ic=p(()=>{"use strict";vy=f(A()),xy=vy.css`
1428
1428
  :host {
1429
1429
  display: block;
1430
1430
  }
@@ -1432,12 +1432,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1432
1432
  :host(:focus-visible) {
1433
1433
  outline: none;
1434
1434
  }
1435
- `});var wy,qr,Ey,Di,kt,$c=p(()=>{"use strict";wy=u(x()),qr=u(W()),Ey=u(A());Tc();Di=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},kt=class extends wy.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&r!==void 0?r:[]}render(){return Ey.html`
1435
+ `});var Sy,qr,Cy,Di,kt,Tc=p(()=>{"use strict";Sy=f(x()),qr=f(W()),Cy=f(A());Ic();Di=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},kt=class extends Sy.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&r!==void 0?r:[]}render(){return Cy.html`
1436
1436
  <slot @slotchange=${this.onSlotChange}
1437
1437
  @change=${this.onChange}
1438
1438
  @keydown=${this.onKeyDown}
1439
1439
  ></slot>
1440
- `}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}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};kt.elementDefinitions={};kt.styles=Oy;Di([(0,qr.property)()],kt.prototype,"name",void 0);Di([(0,qr.property)({reflect:!0,attribute:"role"})],kt.prototype,"role",void 0);Di([(0,qr.property)({reflect:!0})],kt.prototype,"tabIndex",void 0);Di([(0,qr.property)({reflect:!0,attribute:"aria-labelledby"})],kt.prototype,"ariaLabelledBy",void 0);Di([(0,qr.queryAssignedElements)()],kt.prototype,"assignedElements",void 0);Di([(0,qr.state)()],kt.prototype,"currentSelectedIndex",void 0)});var Ry=p(()=>{"use strict"});var Ay=p(()=>{"use strict"});var Pc,_c=p(()=>{"use strict";Pc=u(x());Ic();$c();Ic();Lc();Ry();$c();Tc();Ay();(0,Pc.customElement)("ft-radio")(Ve);(0,Pc.customElement)("ft-radio-group")(kt)});var ky,me,wn,Ly,Nc=p(()=>{"use strict";ky=u(A()),me=u(x());Io();Ht();wn={buttonMoreColor:me.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",me.designSystemVariables.colorOnSurface),borderRadiusM:me.FtCssVariableFactory.external(me.designSystemVariables.borderRadiusM,"Design system"),colorOutline:me.FtCssVariableFactory.external(me.designSystemVariables.colorOutline,"Design system"),colorOnSurface:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:me.FtCssVariableFactory.external(Me.fontFamily,"Body2 typography"),fontSize:me.FtCssVariableFactory.external(Me.fontSize,"Body2 typography"),fontWeight:me.FtCssVariableFactory.external(Me.fontWeight,"Body2 typography"),letterSpacing:me.FtCssVariableFactory.external(Me.letterSpacing,"Body2 typography"),lineHeight:me.FtCssVariableFactory.external(Me.lineHeight,"Body2 typography"),textTransform:me.FtCssVariableFactory.external(Me.textTransform,"Body2 typography")},Ly=ky.css`
1440
+ `}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}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};kt.elementDefinitions={};kt.styles=xy;Di([(0,qr.property)()],kt.prototype,"name",void 0);Di([(0,qr.property)({reflect:!0,attribute:"role"})],kt.prototype,"role",void 0);Di([(0,qr.property)({reflect:!0})],kt.prototype,"tabIndex",void 0);Di([(0,qr.property)({reflect:!0,attribute:"aria-labelledby"})],kt.prototype,"ariaLabelledBy",void 0);Di([(0,qr.queryAssignedElements)()],kt.prototype,"assignedElements",void 0);Di([(0,qr.state)()],kt.prototype,"currentSelectedIndex",void 0)});var Oy=p(()=>{"use strict"});var wy=p(()=>{"use strict"});var $c,Pc=p(()=>{"use strict";$c=f(x());Lc();Tc();Lc();kc();Oy();Tc();Ic();wy();(0,$c.customElement)("ft-radio")(Ve);(0,$c.customElement)("ft-radio-group")(kt)});var Ey,me,Cn,Ry,_c=p(()=>{"use strict";Ey=f(A()),me=f(x());Io();Ht();Cn={buttonMoreColor:me.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",me.designSystemVariables.colorOnSurface),borderRadiusM:me.FtCssVariableFactory.external(me.designSystemVariables.borderRadiusM,"Design system"),colorOutline:me.FtCssVariableFactory.external(me.designSystemVariables.colorOutline,"Design system"),colorOnSurface:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:me.FtCssVariableFactory.external(Me.fontFamily,"Body2 typography"),fontSize:me.FtCssVariableFactory.external(Me.fontSize,"Body2 typography"),fontWeight:me.FtCssVariableFactory.external(Me.fontWeight,"Body2 typography"),letterSpacing:me.FtCssVariableFactory.external(Me.letterSpacing,"Body2 typography"),lineHeight:me.FtCssVariableFactory.external(Me.lineHeight,"Body2 typography"),textTransform:me.FtCssVariableFactory.external(Me.textTransform,"Body2 typography")},Ry=Ey.css`
1441
1441
  .ft-filter-level--container {
1442
1442
  display: flex;
1443
1443
  flex-direction: column;
@@ -1451,14 +1451,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1451
1451
  flex-shrink: 0;
1452
1452
  text-decoration: none;
1453
1453
  position: relative;
1454
- border-radius: ${wn.borderRadiusM};
1454
+ border-radius: ${Cn.borderRadiusM};
1455
1455
  overflow: hidden;
1456
1456
  display: flex;
1457
1457
  align-items: center;
1458
1458
  padding: 4px 4px;
1459
1459
  gap: 4px;
1460
1460
  cursor: pointer;
1461
- color: ${wn.colorOnSurface};
1461
+ color: ${Cn.colorOnSurface};
1462
1462
  }
1463
1463
 
1464
1464
  .ft-filter-level--go-back:focus {
@@ -1487,11 +1487,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1487
1487
  }
1488
1488
 
1489
1489
  ft-button {
1490
- ${(0,me.setVariable)(V.color,wn.colorOnSurface)};
1490
+ ${(0,me.setVariable)(V.color,Cn.colorOnSurface)};
1491
1491
  }
1492
1492
 
1493
1493
  ft-button.ft-filter-level--display-more {
1494
- ${(0,me.setVariable)(V.color,wn.buttonMoreColor)};
1494
+ ${(0,me.setVariable)(V.color,Cn.buttonMoreColor)};
1495
1495
  }
1496
1496
 
1497
1497
  ft-radio, ft-checkbox {
@@ -1505,9 +1505,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1505
1505
 
1506
1506
  .ft-filter-level--no-values {
1507
1507
  margin: 10px 0;
1508
- color: ${wn.colorOnSurfaceMedium};
1508
+ color: ${Cn.colorOnSurfaceMedium};
1509
1509
  }
1510
- `});var Bt,Ge,Iy,Ya,ut,_e,Ty=p(()=>{"use strict";Bt=u(A()),Ge=u(W()),Iy=u(Gr()),Ya=u(x());or();Pe();xt();Wt();gy();_c();Nc();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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Ya.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}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"]'}}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return Bt.html`
1510
+ `});var Bt,Ge,Ay,Qa,ut,_e,ky=p(()=>{"use strict";Bt=f(A()),Ge=f(W()),Ay=f(Gr()),Qa=f(x());or();Pe();xt();Wt();fy();Pc();_c();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},_e=class extends Qa.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}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"]'}}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return Bt.html`
1511
1511
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1512
1512
  ${this.parent==null?null:Bt.html`
1513
1513
  <div tabindex="0"
@@ -1528,7 +1528,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1528
1528
  ${this.noValuesLabel}
1529
1529
  </ft-typography>
1530
1530
  `:Bt.nothing}
1531
- ${(0,Iy.repeat)(r,i=>i.value,i=>{var n;return Bt.html`
1531
+ ${(0,Ay.repeat)(r,i=>i.value,i=>{var n;return Bt.html`
1532
1532
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1533
1533
  ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1534
1534
  ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Bt.nothing:Bt.html`
@@ -1559,7 +1559,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1559
1559
  data-value="${e.value}"
1560
1560
  .checked=${e.selected}
1561
1561
  .disabled=${this.disabled}
1562
- .indeterminate=${(0,Ya.flatDeep)((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1562
+ .indeterminate=${(0,Qa.flatDeep)((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1563
1563
  @change=${i=>this.optionsChanged(i,e)}>
1564
1564
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1565
1565
  </ft-checkbox>
@@ -1574,7 +1574,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1574
1574
  @change=${r=>this.optionsChanged(r,e)}>
1575
1575
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1576
1576
  </ft-radio>
1577
- `}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}))}};_e.elementDefinitions={"ft-button":Ie,"ft-ripple":j,"ft-typography":q,"ft-checkbox":nt,"ft-icon":fe,"ft-radio":Ve};_e.styles=Ly;ut([(0,Ge.property)({type:String})],_e.prototype,"filterId",void 0);ut([(0,Ge.property)({type:Object})],_e.prototype,"parent",void 0);ut([(0,Ge.property)({type:Array})],_e.prototype,"options",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"multivalued",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"disabled",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"hideSelectedOptions",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"displayCount",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"preventNavigation",void 0);ut([(0,Ge.property)({type:String})],_e.prototype,"filter",void 0);ut([(0,Ge.property)({type:String})],_e.prototype,"moreValuesButtonLabel",void 0);ut([(0,Ge.property)({type:String})],_e.prototype,"noValuesLabel",void 0);ut([(0,Ge.property)({type:Number})],_e.prototype,"displayedValuesLimit",void 0);ut([(0,Ge.query)(".ft-filter-level--container")],_e.prototype,"container",void 0);ut([(0,Ge.state)()],_e.prototype,"radios",void 0);ut([(0,Ge.state)()],_e.prototype,"displayedPages",void 0)});var $y,lr,ft,Py,Xa=p(()=>{"use strict";$y=u(A()),lr=u(x());Io();ft={buttonsColor:lr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",lr.designSystemVariables.colorPrimary),buttonsZIndex:lr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:lr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:lr.FtCssVariableFactory.external(lr.designSystemVariables.colorSurface,"Design system")},Py=$y.css`
1577
+ `}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}))}};_e.elementDefinitions={"ft-button":Ie,"ft-ripple":j,"ft-typography":q,"ft-checkbox":nt,"ft-icon":fe,"ft-radio":Ve};_e.styles=Ry;ut([(0,Ge.property)({type:String})],_e.prototype,"filterId",void 0);ut([(0,Ge.property)({type:Object})],_e.prototype,"parent",void 0);ut([(0,Ge.property)({type:Array})],_e.prototype,"options",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"multivalued",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"disabled",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"hideSelectedOptions",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"displayCount",void 0);ut([(0,Ge.property)({type:Boolean})],_e.prototype,"preventNavigation",void 0);ut([(0,Ge.property)({type:String})],_e.prototype,"filter",void 0);ut([(0,Ge.property)({type:String})],_e.prototype,"moreValuesButtonLabel",void 0);ut([(0,Ge.property)({type:String})],_e.prototype,"noValuesLabel",void 0);ut([(0,Ge.property)({type:Number})],_e.prototype,"displayedValuesLimit",void 0);ut([(0,Ge.query)(".ft-filter-level--container")],_e.prototype,"container",void 0);ut([(0,Ge.state)()],_e.prototype,"radios",void 0);ut([(0,Ge.state)()],_e.prototype,"displayedPages",void 0)});var Ly,lr,ft,Iy,Ya=p(()=>{"use strict";Ly=f(A()),lr=f(x());Io();ft={buttonsColor:lr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",lr.designSystemVariables.colorPrimary),buttonsZIndex:lr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:lr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:lr.FtCssVariableFactory.external(lr.designSystemVariables.colorSurface,"Design system")},Iy=Ly.css`
1578
1578
  .ft-snap-scroll {
1579
1579
  box-sizing: border-box;
1580
1580
  position: relative;
@@ -1699,7 +1699,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1699
1699
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1700
1700
  background-color: ${ft.colorSurface};
1701
1701
  }
1702
- `});var _y,Dt,Qo,Ny,Ar,Bc,De,Dc=p(()=>{"use strict";_y=u(A()),Dt=u(W()),Qo=u(x());or();Ny=u(bt());Xa();Ar=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Bc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends Qo.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 Qo.Debouncer(200),this.updateScrollDebouncer=new Qo.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,Ny.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":Qo.isSafari}),r=this.controls&&this.withScroll;return _y.html`
1702
+ `});var Ty,Dt,Qo,$y,Ar,Nc,De,Bc=p(()=>{"use strict";Ty=f(A()),Dt=f(W()),Qo=f(x());or();$y=f(bt());Ya();Ar=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},Nc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends Qo.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 Qo.Debouncer(200),this.updateScrollDebouncer=new Qo.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,$y.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":Qo.isSafari}),r=this.controls&&this.withScroll;return Ty.html`
1703
1703
  <div part="container" class="${e}">
1704
1704
  <ft-button
1705
1705
  class="ft-snap-scroll--previous"
@@ -1723,7 +1723,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1723
1723
  @click=${this.next}
1724
1724
  ></ft-button>
1725
1725
  </div>
1726
- `}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 Bc(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)}};De.elementDefinitions={"ft-button":Ie};De.styles=Py;Ar([(0,Dt.property)({type:Boolean})],De.prototype,"horizontal",void 0);Ar([(0,Dt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Ar([(0,Dt.property)({type:Boolean})],De.prototype,"controls",void 0);Ar([(0,Dt.property)({type:Boolean})],De.prototype,"limitSize",void 0);Ar([(0,Dt.state)()],De.prototype,"elements",void 0);Ar([(0,Dt.state)()],De.prototype,"currentElement",void 0);Ar([(0,Dt.state)()],De.prototype,"withScroll",void 0);Ar([(0,Dt.state)()],De.prototype,"startReached",void 0);Ar([(0,Dt.state)()],De.prototype,"endReached",void 0);Ar([(0,Dt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var By=p(()=>{"use strict"});var Dy,Ja=p(()=>{"use strict";Dy=u(x());Dc();Dc();Xa();By();(0,Dy.customElement)("ft-snap-scroll")(De)});var Fy,xe,Lt,My,es=p(()=>{"use strict";Fy=u(A()),xe=u(x());Ht();Io();Lt={colorOutline:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorPrimary,"Design system"),colorSurface:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorSurface,"Design system"),transitionDuration:xe.FtCssVariableFactory.external(xe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:xe.FtCssVariableFactory.external(xe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:xe.FtCssVariableFactory.extend("--ft-filter-label-color","",xe.designSystemVariables.colorOnSurface),labelFontSize:xe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",I.fontSize,"16px")},My=[yr,xe.noTextInputDefaultClearButton,Fy.css`
1726
+ `}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 Nc(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)}};De.elementDefinitions={"ft-button":Ie};De.styles=Iy;Ar([(0,Dt.property)({type:Boolean})],De.prototype,"horizontal",void 0);Ar([(0,Dt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Ar([(0,Dt.property)({type:Boolean})],De.prototype,"controls",void 0);Ar([(0,Dt.property)({type:Boolean})],De.prototype,"limitSize",void 0);Ar([(0,Dt.state)()],De.prototype,"elements",void 0);Ar([(0,Dt.state)()],De.prototype,"currentElement",void 0);Ar([(0,Dt.state)()],De.prototype,"withScroll",void 0);Ar([(0,Dt.state)()],De.prototype,"startReached",void 0);Ar([(0,Dt.state)()],De.prototype,"endReached",void 0);Ar([(0,Dt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var Py=p(()=>{"use strict"});var _y,Xa=p(()=>{"use strict";_y=f(x());Bc();Bc();Ya();Py();(0,_y.customElement)("ft-snap-scroll")(De)});var Ny,xe,Lt,By,Ja=p(()=>{"use strict";Ny=f(A()),xe=f(x());Ht();Io();Lt={colorOutline:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorPrimary,"Design system"),colorSurface:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorSurface,"Design system"),transitionDuration:xe.FtCssVariableFactory.external(xe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:xe.FtCssVariableFactory.external(xe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:xe.FtCssVariableFactory.extend("--ft-filter-label-color","",xe.designSystemVariables.colorOnSurface),labelFontSize:xe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",I.fontSize,"16px")},By=[yr,xe.noTextInputDefaultClearButton,Ny.css`
1727
1727
  :host {
1728
1728
  display: flex;
1729
1729
  max-height: 100%;
@@ -1840,7 +1840,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1840
1840
  slot:not([name]) {
1841
1841
  display: none;
1842
1842
  }
1843
- `]});var Yo,ge,at,Re,Fc,ae,Mc=p(()=>{"use strict";Yo=u(A()),ge=u(W()),at=u(x());Pe();Ty();or();Ja();es();Re=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Fc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ae=class extends at.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 at.Debouncer(300),this.changeDebouncer=new at.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,at.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,at.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 Yo.html`
1843
+ `]});var Yo,ge,at,Re,Dc,ae,Fc=p(()=>{"use strict";Yo=f(A()),ge=f(W()),at=f(x());Pe();ky();or();Xa();Ja();Re=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},Dc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ae=class extends at.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 at.Debouncer(300),this.changeDebouncer=new at.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,at.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,at.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 Yo.html`
1844
1844
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1845
1845
  part="container">
1846
1846
  ${!this.label&&!e?null:Yo.html`
@@ -1880,7 +1880,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1880
1880
  @slotchange=${this.updateOptionsFromSlot}
1881
1881
  @option-change=${this.optionsChanged}></slot>
1882
1882
  </div>
1883
- `}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,c;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=(c=(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&&c!==void 0?c:!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 Yo.html`
1883
+ `}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 Yo.html`
1884
1884
  ${this.raiseSelectedOptions&&r.length>0?Yo.html`
1885
1885
  <ft-filter-level
1886
1886
  filterId="${this.id}"
@@ -1899,7 +1899,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1899
1899
  class="ft-filter--levels"
1900
1900
  @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1901
1901
  ${this.renderLevel(n,this.options)}
1902
- ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var c;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,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
1902
+ ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let u=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(u,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
1903
1903
  </ft-snap-scroll>
1904
1904
  `}renderLevel(e,r,i){return Yo.html`
1905
1905
  <ft-filter-level
@@ -1921,17 +1921,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1921
1921
  .exportpartsPrefixes=${["values","available-values"]}
1922
1922
  noValuesLabel="${this.noValuesLabel}"
1923
1923
  ></ft-filter-level>
1924
- `}goBack(e){this.slideOut=e.detail.value,(0,at.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,at.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,at.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.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,at.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Fc(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)}};ae.elementDefinitions={"ft-button":Ie,"ft-filter-level":_e,"ft-snap-scroll":De,"ft-typography":q};ae.styles=My;Re([(0,ge.property)({type:String})],ae.prototype,"id",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"label",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"filterPlaceHolder",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"clearButtonLabel",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Re([(0,at.jsonProperty)([])],ae.prototype,"options",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"disabled",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"raiseSelectedOptions",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Re([(0,ge.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"hideClearButton",void 0);Re([(0,ge.query)(".ft-filter--slot")],ae.prototype,"slotElement",void 0);Re([(0,ge.query)(".ft-filter--container")],ae.prototype,"container",void 0);Re([(0,ge.query)(".ft-filter--values")],ae.prototype,"valuesContainer",void 0);Re([(0,ge.query)(".ft-filter--levels")],ae.prototype,"levelsContainer",void 0);Re([(0,ge.state)()],ae.prototype,"lastLevelHasHiddenvalues",void 0);Re([(0,ge.query)(".ft-filter--filter input")],ae.prototype,"filterInput",void 0);Re([(0,ge.queryAll)(".ft-filter--levels ft-filter-level")],ae.prototype,"levels",void 0);Re([(0,ge.state)()],ae.prototype,"withScroll",void 0);Re([(0,ge.state)()],ae.prototype,"filter",void 0);Re([(0,ge.state)()],ae.prototype,"slideIn",void 0);Re([(0,ge.state)()],ae.prototype,"slideOut",void 0)});var ts,Xo,zy,Fi,Ft,zc=p(()=>{"use strict";ts=u(x()),Xo=u(W()),zy=u(A()),Fi=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ft=class extends ts.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return zy.html`
1924
+ `}goBack(e){this.slideOut=e.detail.value,(0,at.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,at.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,at.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.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,at.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Dc(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)}};ae.elementDefinitions={"ft-button":Ie,"ft-filter-level":_e,"ft-snap-scroll":De,"ft-typography":q};ae.styles=By;Re([(0,ge.property)({type:String})],ae.prototype,"id",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"label",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"filterPlaceHolder",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"clearButtonLabel",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Re([(0,ge.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Re([(0,at.jsonProperty)([])],ae.prototype,"options",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"disabled",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"raiseSelectedOptions",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Re([(0,ge.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Re([(0,ge.property)({type:Boolean})],ae.prototype,"hideClearButton",void 0);Re([(0,ge.query)(".ft-filter--slot")],ae.prototype,"slotElement",void 0);Re([(0,ge.query)(".ft-filter--container")],ae.prototype,"container",void 0);Re([(0,ge.query)(".ft-filter--values")],ae.prototype,"valuesContainer",void 0);Re([(0,ge.query)(".ft-filter--levels")],ae.prototype,"levelsContainer",void 0);Re([(0,ge.state)()],ae.prototype,"lastLevelHasHiddenvalues",void 0);Re([(0,ge.query)(".ft-filter--filter input")],ae.prototype,"filterInput",void 0);Re([(0,ge.queryAll)(".ft-filter--levels ft-filter-level")],ae.prototype,"levels",void 0);Re([(0,ge.state)()],ae.prototype,"withScroll",void 0);Re([(0,ge.state)()],ae.prototype,"filter",void 0);Re([(0,ge.state)()],ae.prototype,"slideIn",void 0);Re([(0,ge.state)()],ae.prototype,"slideOut",void 0)});var es,Xo,Dy,Fi,Ft,Mc=p(()=>{"use strict";es=f(x()),Xo=f(W()),Dy=f(A()),Fi=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},Ft=class extends es.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Dy.html`
1925
1925
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1926
- `}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}))}};Ft.elementDefinitions={};Fi([(0,Xo.property)({type:String})],Ft.prototype,"label",void 0);Fi([(0,Xo.property)({type:Object,converter:t=>t})],Ft.prototype,"value",void 0);Fi([(0,Xo.property)({type:Boolean,reflect:!0})],Ft.prototype,"selected",void 0);Fi([(0,Xo.property)({type:Object})],Ft.prototype,"subOptions",void 0);Fi([(0,ts.jsonProperty)({})],Ft.prototype,"renderOption",void 0);Fi([(0,Xo.query)(".ft-filter-option--slot")],Ft.prototype,"slotElement",void 0)});var Uy=p(()=>{"use strict"});var Hy=p(()=>{"use strict"});var Uc,Wy=p(()=>{"use strict";Uc=u(x());Mc();zc();Nc();Mc();es();Uy();zc();Hy();(0,Uc.customElement)("ft-filter")(ae);(0,Uc.customElement)("ft-filter-option")(Ft)});var Vy,jy,Hc=p(()=>{"use strict";Vy=u(A()),jy=Vy.css`
1926
+ `}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}))}};Ft.elementDefinitions={};Fi([(0,Xo.property)({type:String})],Ft.prototype,"label",void 0);Fi([(0,Xo.property)({type:Object,converter:t=>t})],Ft.prototype,"value",void 0);Fi([(0,Xo.property)({type:Boolean,reflect:!0})],Ft.prototype,"selected",void 0);Fi([(0,Xo.property)({type:Object})],Ft.prototype,"subOptions",void 0);Fi([(0,es.jsonProperty)({})],Ft.prototype,"renderOption",void 0);Fi([(0,Xo.query)(".ft-filter-option--slot")],Ft.prototype,"slotElement",void 0)});var Fy=p(()=>{"use strict"});var My=p(()=>{"use strict"});var zc,zy=p(()=>{"use strict";zc=f(x());Fc();Mc();_c();Fc();Ja();Fy();Mc();My();(0,zc.customElement)("ft-filter")(ae);(0,zc.customElement)("ft-filter-option")(Ft)});var Uy,Hy,Uc=p(()=>{"use strict";Uy=f(A()),Hy=Uy.css`
1927
1927
  .ft-accordion {
1928
1928
  box-sizing: border-box;
1929
1929
  }
1930
- `});var Ky,rs,qy,Gy,kr,Wc=p(()=>{"use strict";Ky=u(A()),rs=u(W()),qy=u(x());Hc();Gy=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},kr=class extends qy.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Ky.html`
1930
+ `});var Vy,ts,jy,Wy,kr,Hc=p(()=>{"use strict";Vy=f(A()),ts=f(W()),jy=f(x());Uc();Wy=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},kr=class extends jy.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Vy.html`
1931
1931
  <div class="ft-accordion">
1932
1932
  <slot @activated=${this.onChange}></slot>
1933
1933
  </div>
1934
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};kr.elementDefinitions={};kr.styles=jy;Gy([(0,rs.property)({type:Boolean})],kr.prototype,"multi",void 0);Gy([(0,rs.query)("slot")],kr.prototype,"content",void 0)});var Zy,ei,Jo,Qy,Vc=p(()=>{"use strict";Zy=u(A()),ei=u(x()),Jo={horizontalSpacing:ei.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:ei.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:ei.FtCssVariableFactory.external(ei.designSystemVariables.colorOutline,"Design system"),backgroundColor:ei.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Qy=Zy.css`
1934
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};kr.elementDefinitions={};kr.styles=Hy;Wy([(0,ts.property)({type:Boolean})],kr.prototype,"multi",void 0);Wy([(0,ts.query)("slot")],kr.prototype,"content",void 0)});var Gy,ei,Jo,Ky,Wc=p(()=>{"use strict";Gy=f(A()),ei=f(x()),Jo={horizontalSpacing:ei.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:ei.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:ei.FtCssVariableFactory.external(ei.designSystemVariables.colorOutline,"Design system"),backgroundColor:ei.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Ky=Gy.css`
1935
1935
  .ft-accordion-item {
1936
1936
  display: flex;
1937
1937
  flex-direction: column;
@@ -1977,7 +1977,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1977
1977
  .ft-accordion-item--separator {
1978
1978
  border-bottom: 1px solid ${Jo.colorOutline};
1979
1979
  }
1980
- `});var En,Rn,Yy,os,Yt,jc=p(()=>{"use strict";En=u(A()),Rn=u(W()),Yy=u(x());xt();Pe();Wt();Vc();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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Yt=class extends Yy.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return En.html`
1980
+ `});var On,wn,qy,rs,Yt,Vc=p(()=>{"use strict";On=f(A()),wn=f(W()),qy=f(x());xt();Pe();Wt();Wc();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},Yt=class extends qy.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return On.html`
1981
1981
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1982
1982
  <div class="ft-accordion-item--toggle"
1983
1983
  part="toggle"
@@ -1988,13 +1988,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1988
1988
  aria-controls="ft-accordion-item-content"
1989
1989
  aria-expanded="${this.active}">
1990
1990
  <ft-ripple part="toggle-ripple"></ft-ripple>
1991
- ${this.icon?En.html`
1991
+ ${this.icon?On.html`
1992
1992
  <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
1993
1993
  `:null}
1994
- ${this.label?En.html`
1994
+ ${this.label?On.html`
1995
1995
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
1996
1996
  </ft-typography>
1997
- `:En.html`
1997
+ `:On.html`
1998
1998
  <slot class="ft-accordion-item--label" name="toggle" part="label"></slot>
1999
1999
  `}
2000
2000
  <ft-icon variant="material">${this.active?"expand_less":"expand_more"}</ft-icon>
@@ -2007,7 +2007,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2007
2007
  </div>
2008
2008
  <div class="ft-accordion-item--separator" part="separator"></div>
2009
2009
  </div>
2010
- `}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)}};Yt.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe};Yt.styles=Qy;os([(0,Rn.property)()],Yt.prototype,"icon",void 0);os([(0,Rn.property)()],Yt.prototype,"iconVariant",void 0);os([(0,Rn.property)()],Yt.prototype,"label",void 0);os([(0,Rn.property)({type:Boolean,reflect:!0})],Yt.prototype,"active",void 0)});var Xy=p(()=>{"use strict"});var Jy=p(()=>{"use strict"});var Gc,eb=p(()=>{"use strict";Gc=u(x());Wc();jc();Wc();Hc();Xy();jc();Vc();Jy();(0,Gc.customElement)("ft-accordion")(kr);(0,Gc.customElement)("ft-accordion-item")(Yt)});var is,Z,tb,st,rb,Kc,ob,ib,qc=p(()=>{"use strict";is=u(A()),Z=u(x());_r();Ht();Lo();or();tb=Z.FtCssVariableFactory.extend("--ft-chip-color","",Z.designSystemVariables.colorOnSurface),st={backgroundColor:Z.FtCssVariableFactory.extend("--ft-chip-background-color","",Z.designSystemVariables.colorSurface),color:tb,fontSize:Z.FtCssVariableFactory.extend("--ft-chip-font-size","",Me.fontSize),fontWeight:Z.FtCssVariableFactory.extend("--ft-chip-font-weight","",Me.fontWeight),iconSize:Z.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:Z.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:Z.FtCssVariableFactory.extend("--ft-chip-ripple-color","",tb),horizontalPadding:Z.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Z.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:Z.FtCssVariableFactory.extend("--ft-chip-border-color","",Z.designSystemVariables.colorOutline),opacityDisabled:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOpacityDisabled,"Design system")},rb=Z.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Z.FtCssVariableFactory.extend("--ft-chip-color","",Z.designSystemVariables.colorOnPrimary)),Kc={backgroundColor:Z.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Z.FtCssVariableFactory.extend("--ft-chip-background-color","",Z.designSystemVariables.colorPrimary)),color:rb,rippleColor:Z.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",rb)},ob={horizontalPadding:Z.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Z.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ib=[Z.noTextSelect,is.css`
2010
+ `}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)}};Yt.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe};Yt.styles=Ky;rs([(0,wn.property)()],Yt.prototype,"icon",void 0);rs([(0,wn.property)()],Yt.prototype,"iconVariant",void 0);rs([(0,wn.property)()],Yt.prototype,"label",void 0);rs([(0,wn.property)({type:Boolean,reflect:!0})],Yt.prototype,"active",void 0)});var Zy=p(()=>{"use strict"});var Qy=p(()=>{"use strict"});var jc,Yy=p(()=>{"use strict";jc=f(x());Hc();Vc();Hc();Uc();Zy();Vc();Wc();Qy();(0,jc.customElement)("ft-accordion")(kr);(0,jc.customElement)("ft-accordion-item")(Yt)});var os,Z,Xy,st,Jy,Gc,eb,tb,Kc=p(()=>{"use strict";os=f(A()),Z=f(x());_r();Ht();Lo();or();Xy=Z.FtCssVariableFactory.extend("--ft-chip-color","",Z.designSystemVariables.colorOnSurface),st={backgroundColor:Z.FtCssVariableFactory.extend("--ft-chip-background-color","",Z.designSystemVariables.colorSurface),color:Xy,fontSize:Z.FtCssVariableFactory.extend("--ft-chip-font-size","",Me.fontSize),fontWeight:Z.FtCssVariableFactory.extend("--ft-chip-font-weight","",Me.fontWeight),iconSize:Z.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:Z.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:Z.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Xy),horizontalPadding:Z.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Z.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:Z.FtCssVariableFactory.extend("--ft-chip-border-color","",Z.designSystemVariables.colorOutline),opacityDisabled:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOpacityDisabled,"Design system")},Jy=Z.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Z.FtCssVariableFactory.extend("--ft-chip-color","",Z.designSystemVariables.colorOnPrimary)),Gc={backgroundColor:Z.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Z.FtCssVariableFactory.extend("--ft-chip-background-color","",Z.designSystemVariables.colorPrimary)),color:Jy,rippleColor:Z.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Jy)},eb={horizontalPadding:Z.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Z.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},tb=[Z.noTextSelect,os.css`
2011
2011
  :host {
2012
2012
  display: inline-block;
2013
2013
  max-width: 100%;
@@ -2035,7 +2035,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2035
2035
  border: 1px solid ${st.borderColor};
2036
2036
  color: ${st.color};
2037
2037
  ${(0,Z.setVariable)(w.color,st.rippleColor)};
2038
- border-radius: var(${(0,is.unsafeCSS)(st.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
2038
+ border-radius: var(${(0,os.unsafeCSS)(st.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
2039
2039
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
2040
2040
  background-color: ${st.backgroundColor};
2041
2041
  line-height: var(--ft-chip-internal-content-height);
@@ -2047,8 +2047,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2047
2047
 
2048
2048
  .ft-chip--dense {
2049
2049
  --ft-chip-internal-icon-padding: 3px;
2050
- --ft-chip-internal-vertical-padding: ${ob.verticalPadding};
2051
- --ft-chip-internal-horizontal-padding: ${ob.horizontalPadding};
2050
+ --ft-chip-internal-vertical-padding: ${eb.verticalPadding};
2051
+ --ft-chip-internal-horizontal-padding: ${eb.horizontalPadding};
2052
2052
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
2053
2053
  }
2054
2054
 
@@ -2066,9 +2066,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2066
2066
  .ft-chip--highlighted {
2067
2067
  border: none;
2068
2068
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
2069
- background-color: ${Kc.backgroundColor};
2070
- ${(0,Z.setVariable)(w.color,Kc.rippleColor)};
2071
- color: ${Kc.color};
2069
+ background-color: ${Gc.backgroundColor};
2070
+ ${(0,Z.setVariable)(w.color,Gc.rippleColor)};
2071
+ color: ${Gc.color};
2072
2072
  }
2073
2073
 
2074
2074
  .ft-chip--clickable {
@@ -2147,8 +2147,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2147
2147
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2148
2148
  order: -1;
2149
2149
  }
2150
- `]});var ns,lt,nb,Mi,It,as,$e,Zc=p(()=>{"use strict";ns=u(A()),lt=u(W()),nb=u(bt()),Mi=u(x());xt();Pe();Wt();qc();or();It=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},as=class extends CustomEvent{constructor(){super("icon-click")}},$e=class extends Mi.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":Mi.isSafari};return ns.html`
2151
- <div class="${(0,nb.classMap)(e)}"
2150
+ `]});var is,lt,rb,Mi,It,ns,$e,qc=p(()=>{"use strict";is=f(A()),lt=f(W()),rb=f(bt()),Mi=f(x());xt();Pe();Wt();Kc();or();It=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},ns=class extends CustomEvent{constructor(){super("icon-click")}},$e=class extends Mi.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":Mi.isSafari};return is.html`
2151
+ <div class="${(0,rb.classMap)(e)}"
2152
2152
  aria-label="${this.getLabel()}"
2153
2153
  tabindex="${this.interactionsOnChip?0:-1}"
2154
2154
  @keyup=${this.onKeyUp}
@@ -2159,7 +2159,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2159
2159
  </ft-typography>
2160
2160
  ${this.internalIcon?this.renderIcon():null}
2161
2161
  </div>
2162
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?ns.html`
2162
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?is.html`
2163
2163
  <ft-button round
2164
2164
  class="ft-chip--icon-button"
2165
2165
  @click=${this.onIconClick}
@@ -2170,11 +2170,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2170
2170
  part="icon-button"
2171
2171
  ?hideTooltip=${this.hideIconTooltip}
2172
2172
  ></ft-button>
2173
- `:ns.html`
2173
+ `:is.html`
2174
2174
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2175
2175
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2176
2176
  </div>
2177
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new as))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new as))}getLabel(){return this.label||this.textContent}get textContent(){return(0,Mi.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};$e.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe,"ft-button":Ie};$e.styles=ib;It([(0,lt.property)({type:Boolean})],$e.prototype,"highlighted",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"removable",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"disabled",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"clickable",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"iconClickable",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"dense",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"multiLine",void 0);It([(0,lt.property)()],$e.prototype,"label",void 0);It([(0,lt.property)()],$e.prototype,"iconLabel",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"hideIconTooltip",void 0);It([(0,lt.property)()],$e.prototype,"icon",void 0);It([(0,lt.property)()],$e.prototype,"iconVariant",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"trailingIcon",void 0);It([(0,lt.query)("ft-typography slot")],$e.prototype,"slottedContent",void 0)});var ab,ss,sb,Qc=p(()=>{"use strict";ab=u(A());ne();ss=u(x());Wt();sb=[ab.css`
2177
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ns))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ns))}getLabel(){return this.label||this.textContent}get textContent(){return(0,Mi.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};$e.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe,"ft-button":Ie};$e.styles=tb;It([(0,lt.property)({type:Boolean})],$e.prototype,"highlighted",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"removable",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"disabled",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"clickable",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"iconClickable",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"dense",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"multiLine",void 0);It([(0,lt.property)()],$e.prototype,"label",void 0);It([(0,lt.property)()],$e.prototype,"iconLabel",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"hideIconTooltip",void 0);It([(0,lt.property)()],$e.prototype,"icon",void 0);It([(0,lt.property)()],$e.prototype,"iconVariant",void 0);It([(0,lt.property)({type:Boolean})],$e.prototype,"trailingIcon",void 0);It([(0,lt.query)("ft-typography slot")],$e.prototype,"slottedContent",void 0)});var ob,as,ib,Zc=p(()=>{"use strict";ob=f(A());ne();as=f(x());Wt();ib=[ob.css`
2178
2178
  :host {
2179
2179
  display: inline-block;
2180
2180
  max-width: 100%;
@@ -2213,7 +2213,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2213
2213
  border-radius: ${F.smallBorderRadius};
2214
2214
  border-width: ${F.smallBorderWidth};
2215
2215
  border-style: solid;
2216
- ${(0,ss.setVariable)(Le.size,F.smallIconSize)}
2216
+ ${(0,as.setVariable)(Le.size,F.smallIconSize)}
2217
2217
  }
2218
2218
 
2219
2219
  .ftds--size-small.ftds-chip--with-action {
@@ -2252,7 +2252,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2252
2252
  border-width: ${F.mediumBorderWidth};
2253
2253
  border-style: solid;
2254
2254
  gap: ${F.mediumGap};
2255
- ${(0,ss.setVariable)(Le.size,F.mediumIconSize)}
2255
+ ${(0,as.setVariable)(Le.size,F.mediumIconSize)}
2256
2256
  }
2257
2257
 
2258
2258
  .ftds--size-medium.ftds-chip--with-action {
@@ -2271,7 +2271,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2271
2271
  border-width: ${F.largeBorderWidth};
2272
2272
  border-style: solid;
2273
2273
  gap: ${F.largeGap};
2274
- ${(0,ss.setVariable)(Le.size,F.largeIconSize)}
2274
+ ${(0,as.setVariable)(Le.size,F.largeIconSize)}
2275
2275
  }
2276
2276
 
2277
2277
  .ftds--size-large.ftds-chip--with-action {
@@ -2341,8 +2341,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2341
2341
  .ftds--family-error .ftds-chip--icon-container {
2342
2342
  color: ${F.errorIconColor};
2343
2343
  }
2344
- `]});var yo,bo,lb,ls,zi,Yc,Xt,Xc=p(()=>{"use strict";yo=u(A()),bo=u(W()),lb=u(bt()),ls=u(x());Pe();Wt();Qc();ne();or();zi=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Yc=class extends CustomEvent{constructor(){super("remove")}},Xt=class extends ls.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 yo.html`
2345
- <div class="${(0,lb.classMap)(e)}"
2344
+ `]});var yo,bo,nb,ss,zi,Qc,Xt,Yc=p(()=>{"use strict";yo=f(A()),bo=f(W()),nb=f(bt()),ss=f(x());Pe();Wt();Zc();ne();or();zi=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},Qc=class extends CustomEvent{constructor(){super("remove")}},Xt=class extends ss.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 yo.html`
2345
+ <div class="${(0,nb.classMap)(e)}"
2346
2346
  aria-label="${this.getLabel()}"
2347
2347
  part="chip">
2348
2348
  ${this.renderIcon()}
@@ -2361,13 +2361,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2361
2361
  @click=${this.dispatchRemoveEvent}
2362
2362
  icon=${Ot.X_MARK}
2363
2363
  label=${this.removeButtonLabel}
2364
- family=${ls.DesignSystemFamily.neutral}
2364
+ family=${ss.DesignSystemFamily.neutral}
2365
2365
  size=${this.resolveButtonSize()}
2366
2366
  part="icon-button"
2367
2367
  ></ftds-button>
2368
2368
  `:this.withAction?yo.html`
2369
2369
  <slot name="action"></slot>
2370
- `:yo.nothing}resolveButtonSize(){switch(this.size){case pt.large:return pt.medium;case pt.medium:case pt.small:return pt.small}}getLabel(){return this.label||this.textContent}get textContent(){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 Yc)}typographyVariant(){switch(this.size){case pt.large:return er.body2medium;case pt.medium:case pt.small:return er.caption1medium}}};Xt.elementDefinitions={"ft-typography":q,"ft-icon":fe,"ftds-button":rr};Xt.styles=sb;zi([(0,bo.property)({type:Boolean})],Xt.prototype,"withAction",void 0);zi([(0,bo.property)({type:Boolean})],Xt.prototype,"removable",void 0);zi([(0,bo.property)()],Xt.prototype,"removeButtonLabel",void 0);zi([(0,bo.property)()],Xt.prototype,"label",void 0);zi([(0,bo.property)()],Xt.prototype,"icon",void 0);zi([(0,bo.query)("ft-typography slot")],Xt.prototype,"slottedContent",void 0)});var cb=p(()=>{"use strict"});var db=p(()=>{"use strict"});var Jc,ed=p(()=>{"use strict";Jc=u(x());Zc();Xc();Zc();qc();cb();Xc();Qc();db();(0,Jc.customElement)("ft-chip")($e);(0,Jc.customElement)("ftds-chip")(Xt)});var pb,Se,U,ub,Ui=p(()=>{"use strict";pb=u(A()),Se=u(x());Ht();U={fontSize:Se.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Se.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Se.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Se.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Se.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Se.FtCssVariableFactory.extend("--ft-input-label-border-color","",Se.designSystemVariables.colorOutline),textColor:Se.FtCssVariableFactory.extend("--ft-input-label-text-color","",Se.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Se.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Se.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Se.FtCssVariableFactory.extend("--ft-input-label-background-color","",Se.designSystemVariables.colorSurface),borderRadius:Se.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Se.designSystemVariables.borderRadiusS),colorError:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorError,"Design system")},ub=pb.css`
2370
+ `:yo.nothing}resolveButtonSize(){switch(this.size){case pt.large:return pt.medium;case pt.medium:case pt.small:return pt.small}}getLabel(){return this.label||this.textContent}get textContent(){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 Qc)}typographyVariant(){switch(this.size){case pt.large:return er.body2medium;case pt.medium:case pt.small:return er.caption1medium}}};Xt.elementDefinitions={"ft-typography":q,"ft-icon":fe,"ftds-button":rr};Xt.styles=ib;zi([(0,bo.property)({type:Boolean})],Xt.prototype,"withAction",void 0);zi([(0,bo.property)({type:Boolean})],Xt.prototype,"removable",void 0);zi([(0,bo.property)()],Xt.prototype,"removeButtonLabel",void 0);zi([(0,bo.property)()],Xt.prototype,"label",void 0);zi([(0,bo.property)()],Xt.prototype,"icon",void 0);zi([(0,bo.query)("ft-typography slot")],Xt.prototype,"slottedContent",void 0)});var ab=p(()=>{"use strict"});var sb=p(()=>{"use strict"});var Xc,Jc=p(()=>{"use strict";Xc=f(x());qc();Yc();qc();Kc();ab();Yc();Zc();sb();(0,Xc.customElement)("ft-chip")($e);(0,Xc.customElement)("ftds-chip")(Xt)});var lb,Se,U,cb,Ui=p(()=>{"use strict";lb=f(A()),Se=f(x());Ht();U={fontSize:Se.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Se.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Se.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Se.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Se.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Se.FtCssVariableFactory.extend("--ft-input-label-border-color","",Se.designSystemVariables.colorOutline),textColor:Se.FtCssVariableFactory.extend("--ft-input-label-text-color","",Se.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Se.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Se.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Se.FtCssVariableFactory.extend("--ft-input-label-background-color","",Se.designSystemVariables.colorSurface),borderRadius:Se.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Se.designSystemVariables.borderRadiusS),colorError:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorError,"Design system")},cb=lb.css`
2371
2371
  .ft-input-label {
2372
2372
  position: absolute;
2373
2373
  inset: 0;
@@ -2489,16 +2489,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2489
2489
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2490
2490
  border-top: none;
2491
2491
  }
2492
- `});function fb(t,e,r){return t?e(t):r?.(t)}var hb=p(()=>{});var mb=p(()=>{hb()});var td,rd,yb,bb,gb,Zr,od=p(()=>{"use strict";td=u(A()),rd=u(W());mb();yb=u(bt()),bb=u(x()),gb=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 bb.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return td.html`
2493
- <div class="${(0,yb.classMap)(this.inputLabelClasses)}">
2494
- ${fb(this.text,()=>td.html`
2492
+ `});function db(t,e,r){return t?e(t):r?.(t)}var pb=p(()=>{});var ub=p(()=>{pb()});var ed,td,hb,mb,fb,Zr,rd=p(()=>{"use strict";ed=f(A()),td=f(W());ub();hb=f(bt()),mb=f(x()),fb=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 mb.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return ed.html`
2493
+ <div class="${(0,hb.classMap)(this.inputLabelClasses)}">
2494
+ ${db(this.text,()=>ed.html`
2495
2495
  <div class="ft-input-label--text ft-typography--caption">
2496
2496
  <label class="ft-input-label--floating-text">${this.text}</label>
2497
2497
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
2498
2498
  </div>
2499
2499
  `)}
2500
2500
  </div>
2501
- `}};Zr.elementDefinitions={};gb([(0,rd.property)({type:String})],Zr.prototype,"text",void 0);gb([(0,rd.property)({type:Boolean})],Zr.prototype,"raised",void 0)});var cs,id,cr,nd=p(()=>{"use strict";cs=u(W());Ht();Ui();od();id=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},cr=class extends Zr{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}}};cr.elementDefinitions={};cr.styles=[yr,ub];id([(0,cs.property)({type:Boolean})],cr.prototype,"outlined",void 0);id([(0,cs.property)({type:Boolean})],cr.prototype,"error",void 0);id([(0,cs.property)({type:Boolean})],cr.prototype,"disabled",void 0)});var vb,Fe,ct,xb,ad=p(()=>{"use strict";vb=u(A());ne();Ht();Ui();Fe=u(x()),ct={fontSize:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size","",si.fontSize),fontSizeRaised:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",ko.fontSize),lineHeight:Fe.FtCssVariableFactory.extend("--ft-input-label-line-height","",ko.lineHeight),color:Fe.FtCssVariableFactory.extend("--ft-input-label-color","",Fe.semantic.contentGlobalSubtle),largeFieldHeight:Fe.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:Fe.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",l.spacing05),largeFieldHorizontalPadding:Fe.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",l.spacing4),mediumFieldHeight:Fe.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:Fe.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:Fe.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",l.spacing4),additionalPaddingLeft:Fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:Fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},xb=[vb.css`
2501
+ `}};Zr.elementDefinitions={};fb([(0,td.property)({type:String})],Zr.prototype,"text",void 0);fb([(0,td.property)({type:Boolean})],Zr.prototype,"raised",void 0)});var ls,od,cr,id=p(()=>{"use strict";ls=f(W());Ht();Ui();rd();od=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},cr=class extends Zr{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}}};cr.elementDefinitions={};cr.styles=[yr,cb];od([(0,ls.property)({type:Boolean})],cr.prototype,"outlined",void 0);od([(0,ls.property)({type:Boolean})],cr.prototype,"error",void 0);od([(0,ls.property)({type:Boolean})],cr.prototype,"disabled",void 0)});var gb,Fe,ct,yb,nd=p(()=>{"use strict";gb=f(A());ne();Ht();Ui();Fe=f(x()),ct={fontSize:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size","",si.fontSize),fontSizeRaised:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",ko.fontSize),lineHeight:Fe.FtCssVariableFactory.extend("--ft-input-label-line-height","",ko.lineHeight),color:Fe.FtCssVariableFactory.extend("--ft-input-label-color","",Fe.semantic.contentGlobalSubtle),largeFieldHeight:Fe.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:Fe.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:Fe.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:Fe.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:Fe.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:Fe.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:Fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:Fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},yb=[gb.css`
2502
2502
 
2503
2503
  :root {
2504
2504
  --field-height: ${ct.largeFieldHeight};
@@ -2580,7 +2580,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2580
2580
  top: var(--input-content-vertical-padding);
2581
2581
  }
2582
2582
 
2583
- `]});var Sb,An,sd=p(()=>{"use strict";od();Sb=u(x());ad();Pe();An=class extends(0,Sb.toFtdsBase)(Zr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};An.styles=[yr,xb]});var Cb=p(()=>{"use strict"});var Ob=p(()=>{"use strict"});var ld,wb=p(()=>{"use strict";ld=u(x());nd();sd();nd();Ui();Cb();sd();ad();Ob();(0,ld.customElement)("ft-input-label")(cr);(0,ld.customElement)("ftds-input-label")(An)});var Eb,G,Q,Rb,ds=p(()=>{"use strict";Eb=u(A()),G=u(x());Ui();Ht();_r();Lo();Q={labelSize:G.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:G.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:G.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:G.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:G.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:G.FtCssVariableFactory.extend("--ft-select-selected-option-color","",G.designSystemVariables.colorOnSurface),helperColor:G.FtCssVariableFactory.extend("--ft-select-helper-color","",G.designSystemVariables.colorOnSurfaceMedium),optionsColor:G.FtCssVariableFactory.extend("--ft-select-options-color","",G.designSystemVariables.colorOnSurface),optionsZIndex:G.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:G.FtCssVariableFactory.extend("--ft-select-background-color","",G.designSystemVariables.colorSurface),colorOnSurfaceDisabled:G.FtCssVariableFactory.external(G.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:G.FtCssVariableFactory.external(G.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:G.FtCssVariableFactory.external(G.designSystemVariables.borderRadiusS,"Design system"),elevation02:G.FtCssVariableFactory.external(G.designSystemVariables.elevation02,"Design system"),colorError:G.FtCssVariableFactory.external(G.designSystemVariables.colorError,"Design system")},Rb=Eb.css`
2583
+ `]});var bb,En,ad=p(()=>{"use strict";rd();bb=f(x());nd();Pe();En=class extends(0,bb.toFtdsBase)(Zr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};En.styles=[yr,yb]});var vb=p(()=>{"use strict"});var xb=p(()=>{"use strict"});var sd,Sb=p(()=>{"use strict";sd=f(x());id();ad();id();Ui();vb();ad();nd();xb();(0,sd.customElement)("ft-input-label")(cr);(0,sd.customElement)("ftds-input-label")(En)});var Cb,G,Q,Ob,cs=p(()=>{"use strict";Cb=f(A()),G=f(x());Ui();Ht();_r();Lo();Q={labelSize:G.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:G.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:G.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:G.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:G.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:G.FtCssVariableFactory.extend("--ft-select-selected-option-color","",G.designSystemVariables.colorOnSurface),helperColor:G.FtCssVariableFactory.extend("--ft-select-helper-color","",G.designSystemVariables.colorOnSurfaceMedium),optionsColor:G.FtCssVariableFactory.extend("--ft-select-options-color","",G.designSystemVariables.colorOnSurface),optionsZIndex:G.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:G.FtCssVariableFactory.extend("--ft-select-background-color","",G.designSystemVariables.colorSurface),colorOnSurfaceDisabled:G.FtCssVariableFactory.external(G.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:G.FtCssVariableFactory.external(G.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:G.FtCssVariableFactory.external(G.designSystemVariables.borderRadiusS,"Design system"),elevation02:G.FtCssVariableFactory.external(G.designSystemVariables.elevation02,"Design system"),colorError:G.FtCssVariableFactory.external(G.designSystemVariables.colorError,"Design system")},Ob=Cb.css`
2584
2584
  *:focus {
2585
2585
  outline: none;
2586
2586
  }
@@ -2726,26 +2726,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2726
2726
  .ft-select--in-error .ft-select--helper-text {
2727
2727
  color: ${Q.colorError};
2728
2728
  }
2729
- `});var ti,ye,cd,Ab,ri,Ae,Lr,ce,dd=p(()=>{"use strict";ti=u(A()),ye=u(W()),cd=u(bt()),Ab=u(Gr()),ri=u(x());Pe();wb();xt();Wt();ds();Ae=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Lr=class extends ri.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ti.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Lr.elementDefinitions={};Ae([(0,ye.property)({type:String})],Lr.prototype,"label",void 0);Ae([(0,ye.property)({type:Object,converter:t=>t})],Lr.prototype,"value",void 0);Ae([(0,ye.property)({type:Boolean,reflect:!0})],Lr.prototype,"selected",void 0);ce=class t extends ri.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",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,c=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":c,"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 ti.html`
2730
- <div class="${(0,cd.classMap)(h)}" part="container">
2729
+ `});var ti,ye,ld,wb,ri,Ae,Lr,ce,cd=p(()=>{"use strict";ti=f(A()),ye=f(W()),ld=f(bt()),wb=f(Gr()),ri=f(x());Pe();Sb();xt();Wt();cs();Ae=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},Lr=class extends ri.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ti.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Lr.elementDefinitions={};Ae([(0,ye.property)({type:String})],Lr.prototype,"label",void 0);Ae([(0,ye.property)({type:Object,converter:t=>t})],Lr.prototype,"value",void 0);Ae([(0,ye.property)({type:Boolean,reflect:!0})],Lr.prototype,"selected",void 0);ce=class t extends ri.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",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,u=((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":u,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ti.html`
2730
+ <div class="${(0,ld.classMap)(h)}" part="container">
2731
2731
  <div class="ft-select--main-panel" part="main-panel">
2732
2732
  <ft-input-label text="${this.label}"
2733
2733
  part="label"
2734
- ?disabled=${c}
2734
+ ?disabled=${l}
2735
2735
  ?outlined=${this.outlined}
2736
- ?raised=${f||s}
2736
+ ?raised=${u||s}
2737
2737
  ?error=${this.error}
2738
2738
  ></ft-input-label>
2739
2739
  <div class="ft-select--input-panel"
2740
2740
  part="selected-value"
2741
- tabindex="${c?"-1":"0"}"
2741
+ tabindex="${l?"-1":"0"}"
2742
2742
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
2743
2743
  @keydown=${this.onMainPanelKeyDown}
2744
2744
  aria-label="${this.ariaLabel}"
2745
2745
  aria-haspopup="listbox"
2746
2746
  aria-expanded="${s}"
2747
2747
  role="combobox">
2748
- <ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
2748
+ <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
2749
2749
  <ft-typography variant="body1" class="ft-select--selected-option">
2750
2750
  ${(a=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:""}
2751
2751
  </ft-typography>
@@ -2755,7 +2755,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2755
2755
  part="options"
2756
2756
  @keydown=${this.onOptionsKeyDown}
2757
2757
  innerrole="listbox">
2758
- ${(0,Ab.repeat)(this.options,b=>b.value,b=>this.renderOption(b))}
2758
+ ${(0,wb.repeat)(this.options,y=>y.value,y=>this.renderOption(y))}
2759
2759
  </div>
2760
2760
  </div>
2761
2761
  <slot name="helper" part="helper">
@@ -2768,7 +2768,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2768
2768
  @option-change=${this.updateOptionsFromSlot}
2769
2769
  ></slot>
2770
2770
  `}renderOption(e){let r=this.selectedOption===e;return ti.html`
2771
- <div class="${(0,cd.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
2771
+ <div class="${(0,ld.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
2772
2772
  part="option"
2773
2773
  tabindex="0"
2774
2774
  data-value="${e.value}"
@@ -2777,7 +2777,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2777
2777
  <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
2778
2778
  <span>${e.label}</span>
2779
2779
  </div>
2780
- `}update(e){super.update(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,ri.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Q.optionsHeight.name,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 c;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(),c=(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(),c=(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)&&(c=this.handleAlphanumericPress(e.key));break}c?.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(c=>{var f;return((f=c.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())}selectOption(e){var r,i;if(!(0,ri.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)}};ce.elementDefinitions={"ft-input-label":cr,"ft-typography":q,"ft-ripple":j,"ft-icon":fe};ce.searchTimeoutMilliseconds=2e3;ce.styles=[eo,yr,Rb];Ae([(0,ye.property)({type:String})],ce.prototype,"label",void 0);Ae([(0,ye.property)({type:String})],ce.prototype,"ariaLabel",void 0);Ae([(0,ye.property)({type:String})],ce.prototype,"helper",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"outlined",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"disabled",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"error",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);Ae([(0,ye.property)({type:Array})],ce.prototype,"options",void 0);Ae([(0,ye.state)()],ce.prototype,"selectedOption",void 0);Ae([(0,ye.state)()],ce.prototype,"optionsDisplayed",void 0);Ae([(0,ye.state)()],ce.prototype,"focusOptions",void 0);Ae([(0,ye.state)()],ce.prototype,"currentSearch",void 0);Ae([(0,ye.state)()],ce.prototype,"lastSearchInputDate",void 0);Ae([(0,ye.query)(".ft-select")],ce.prototype,"container",void 0);Ae([(0,ye.query)(".ft-select--options")],ce.prototype,"optionsMenu",void 0);Ae([(0,ye.query)(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);Ae([(0,ye.query)(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);Ae([(0,ye.query)(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);Ae([(0,ye.query)(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);Ae([(0,ye.query)(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);Ae([(0,ye.query)("slot:not([name])")],ce.prototype,"optionsSlot",void 0)});var kb=p(()=>{"use strict"});var pd,Lb=p(()=>{"use strict";pd=u(x());dd();dd();ds();kb();(0,pd.customElement)("ft-select")(ce);(0,pd.customElement)("ft-select-option")(Lr)});var Ib,dr,et,Tb,ps=p(()=>{"use strict";Ib=u(A()),dr=u(x()),et={display:dr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:dr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:dr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:dr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:dr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:dr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:dr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:dr.FtCssVariableFactory.external(dr.designSystemVariables.borderRadiusM,"Design system")},Tb=Ib.css`
2780
+ `}update(e){super.update(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,ri.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Q.optionsHeight.name,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 u;return((u=l.label)===null||u===void 0?void 0:u.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())}selectOption(e){var r,i;if(!(0,ri.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)}};ce.elementDefinitions={"ft-input-label":cr,"ft-typography":q,"ft-ripple":j,"ft-icon":fe};ce.searchTimeoutMilliseconds=2e3;ce.styles=[eo,yr,Ob];Ae([(0,ye.property)({type:String})],ce.prototype,"label",void 0);Ae([(0,ye.property)({type:String})],ce.prototype,"ariaLabel",void 0);Ae([(0,ye.property)({type:String})],ce.prototype,"helper",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"outlined",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"disabled",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"error",void 0);Ae([(0,ye.property)({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);Ae([(0,ye.property)({type:Array})],ce.prototype,"options",void 0);Ae([(0,ye.state)()],ce.prototype,"selectedOption",void 0);Ae([(0,ye.state)()],ce.prototype,"optionsDisplayed",void 0);Ae([(0,ye.state)()],ce.prototype,"focusOptions",void 0);Ae([(0,ye.state)()],ce.prototype,"currentSearch",void 0);Ae([(0,ye.state)()],ce.prototype,"lastSearchInputDate",void 0);Ae([(0,ye.query)(".ft-select")],ce.prototype,"container",void 0);Ae([(0,ye.query)(".ft-select--options")],ce.prototype,"optionsMenu",void 0);Ae([(0,ye.query)(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);Ae([(0,ye.query)(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);Ae([(0,ye.query)(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);Ae([(0,ye.query)(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);Ae([(0,ye.query)(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);Ae([(0,ye.query)("slot:not([name])")],ce.prototype,"optionsSlot",void 0)});var Eb=p(()=>{"use strict"});var dd,Rb=p(()=>{"use strict";dd=f(x());cd();cd();cs();Eb();(0,dd.customElement)("ft-select")(ce);(0,dd.customElement)("ft-select-option")(Lr)});var Ab,dr,et,kb,ds=p(()=>{"use strict";Ab=f(A()),dr=f(x()),et={display:dr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:dr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:dr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:dr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:dr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:dr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:dr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:dr.FtCssVariableFactory.external(dr.designSystemVariables.borderRadiusM,"Design system")},kb=Ab.css`
2781
2781
  :host {
2782
2782
  width: ${et.width};
2783
2783
  height: ${et.height};
@@ -2804,7 +2804,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2804
2804
  background-position: calc(100vw + ${et.glareWidth}) 0, calc(${et.glareWidth} * -1) 0;
2805
2805
  }
2806
2806
  }
2807
- `});var z,ud,B,$b,Pb,us=p(()=>{"use strict";z=u(x()),ud=u(A());Io();Ui();ds();ps();Un();Xa();es();Ht();B={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(V.color,"Button"),buttonRippleColor:z.FtCssVariableFactory.external(V.rippleColor,"Button"),activeItemBorderColor:z.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",z.designSystemVariables.colorPrimary)},$b=ud.css`
2807
+ `});var z,pd,B,Lb,Ib,ps=p(()=>{"use strict";z=f(x()),pd=f(A());Io();Ui();cs();ds();Mn();Ya();Ja();Ht();B={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(V.color,"Button"),buttonRippleColor:z.FtCssVariableFactory.external(V.rippleColor,"Button"),activeItemBorderColor:z.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",z.designSystemVariables.colorPrimary)},Lb=pd.css`
2808
2808
  * {
2809
2809
  box-sizing: border-box;
2810
2810
  }
@@ -2999,7 +2999,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2999
2999
  ${(0,z.setVariable)(I.fontWeight,"bold")};
3000
3000
  }
3001
3001
 
3002
- `,Pb=ud.css`
3002
+ `,Ib=pd.css`
3003
3003
  .ft-search-bar--presets {
3004
3004
  min-width: 200px;
3005
3005
  }
@@ -3160,14 +3160,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3160
3160
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3161
3161
  margin: 0;
3162
3162
  }
3163
- `});var _b,Nb,vo,fd=p(()=>{"use strict";_b=u(A()),Nb=u(x());ps();vo=class extends Nb.FtLitElement{render(){return _b.html`
3164
- `}};vo.elementDefinitions={};vo.styles=Tb});var Bb=p(()=>{"use strict"});var Db,Fb=p(()=>{"use strict";Db=u(x());fd();fd();ps();Bb();(0,Db.customElement)("ft-skeleton")(vo)});var Ir,hd,Hi,Tr,fs=p(()=>{"use strict";Ir=u(A()),hd=u(Gr());Wt();Hi=u(x());us();xt();Tr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new Hi.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Ir.html`
3163
+ `});var Tb,$b,vo,ud=p(()=>{"use strict";Tb=f(A()),$b=f(x());ds();vo=class extends $b.FtLitElement{render(){return Tb.html`
3164
+ `}};vo.elementDefinitions={};vo.styles=kb});var Pb=p(()=>{"use strict"});var _b,Nb=p(()=>{"use strict";_b=f(x());ud();ud();ds();Pb();(0,_b.customElement)("ft-skeleton")(vo)});var Ir,fd,Hi,Tr,us=p(()=>{"use strict";Ir=f(A()),fd=f(Gr());Wt();Hi=f(x());ps();xt();Tr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new Hi.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Ir.html`
3165
3165
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3166
3166
  id="${this.listboxId}"
3167
3167
  role="listbox"
3168
3168
  aria-label="${this.searchBar.labelResolver.resolve("suggestionsAriaLabel")}"
3169
3169
  part="suggestions-container">
3170
- ${(0,hd.repeat)(e.slice(0,5),r=>r,(r,i)=>Ir.html`
3170
+ ${(0,fd.repeat)(e.slice(0,5),r=>r,(r,i)=>Ir.html`
3171
3171
  <div part="suggestion-container"
3172
3172
  class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Ir.nothing}>
3173
3173
  <a href="${this.getRequestWithQuery(r)}"
@@ -3196,7 +3196,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3196
3196
  </ft-button>
3197
3197
  </div>
3198
3198
  `)}
3199
- ${(0,hd.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Ir.html`
3199
+ ${(0,fd.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Ir.html`
3200
3200
  <div part="suggestion-container"
3201
3201
  class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Ir.nothing}>
3202
3202
  <a href="${this.getRequestWithQuery(r.value)}"
@@ -3214,7 +3214,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3214
3214
  </div>
3215
3215
  `)}
3216
3216
  </div>
3217
- `}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"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=Qn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Ot.TOPICS;break}return Ir.html`
3217
+ `}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"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=qn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Ot.TOPICS;break}return Ir.html`
3218
3218
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3219
3219
  `}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()))}};Tr.styles=[Hi.wordWrap,Ir.css`
3220
3220
  .ft-search-bar--mobile .ft-search-bar--suggestions {
@@ -3306,7 +3306,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3306
3306
  ft-ripple {
3307
3307
  ${(0,Hi.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3308
3308
  }
3309
- `]});var ht,md,hs,$r,ms=p(()=>{"use strict";ht=u(A()),md=u(Gr());Rc();hs=u(x());Ja();ed();$r=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ht.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=ht.html`
3309
+ `]});var ht,hd,fs,$r,hs=p(()=>{"use strict";ht=f(A()),hd=f(Gr());Ec();fs=f(x());Xa();Jc();$r=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ht.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=ht.html`
3310
3310
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?ht.html`
3311
3311
  <ft-chip part="selected-filters selected-filter-ft-locale"
3312
3312
  ?dense=${this.searchBar.dense&&!e}
@@ -3317,23 +3317,23 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3317
3317
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3318
3318
  </ft-chip>
3319
3319
  `:null}
3320
- ${(0,md.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ly(n);return(0,md.repeat)(a,s=>{let c=n.label+": "+ny(s),f=n.key.replace(":","-"),h=ht.html`
3320
+ ${(0,hd.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ny(n);return(0,hd.repeat)(a,s=>{let l=n.label+": "+ry(s),u=n.key.replace(":","-"),h=ht.html`
3321
3321
  <ft-chip
3322
- part="selected-filters selected-filter-${f}"
3322
+ part="selected-filters selected-filter-${u}"
3323
3323
  ?dense=${this.searchBar.dense&&!e}
3324
3324
  ?clickable=${e}
3325
3325
  ?removable=${!e}
3326
3326
  icon=${e?ht.nothing:"close"}
3327
- label="${c}"
3328
- title=${r?c:ht.nothing}
3327
+ label="${l}"
3328
+ title=${r?l:ht.nothing}
3329
3329
  @click=${()=>this.openMobileFilters(n.key)}
3330
- @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(b=>b!==s))}
3330
+ @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(y=>y!==s))}
3331
3331
  data-key="${n.key}"
3332
3332
  data-value="${s}">
3333
- ${iy(s)}
3333
+ ${ty(s)}
3334
3334
  </ft-chip>
3335
3335
  `;return r?h:ht.html`
3336
- <ft-tooltip inline text="${c}">
3336
+ <ft-tooltip inline text="${l}">
3337
3337
  ${h}
3338
3338
  </ft-tooltip>
3339
3339
  `})})}
@@ -3367,7 +3367,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3367
3367
 
3368
3368
  ft-snap-scroll.ft-search-bar--selected-filters {
3369
3369
  overflow: hidden;
3370
- ${(0,hs.setVariable)(ft.gap,"4px")};
3370
+ ${(0,fs.setVariable)(ft.gap,"4px")};
3371
3371
  }
3372
3372
 
3373
3373
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -3375,8 +3375,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3375
3375
  }
3376
3376
 
3377
3377
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
3378
- ${(0,hs.setVariable)(st.iconSize,"17px")};
3379
- ${(0,hs.setVariable)(st.fontSize,"12px")};
3378
+ ${(0,fs.setVariable)(st.iconSize,"17px")};
3379
+ ${(0,fs.setVariable)(st.fontSize,"12px")};
3380
3380
  }
3381
3381
 
3382
3382
  .ft-search-bar--selected-filters * {
@@ -3386,8 +3386,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3386
3386
  .ft-search-bar--selected-filters ft-chip {
3387
3387
  flex-grow: 0;
3388
3388
  }
3389
- `});var pr,Mb,kn,zb=p(()=>{"use strict";pr=u(A());ms();fs();Mb=u(bt()),kn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new Tr(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 pr.html`
3390
- <div class="${(0,Mb.classMap)(r)}" part="container" tabindex="-1">
3389
+ `});var pr,Bb,Rn,Db=p(()=>{"use strict";pr=f(A());hs();us();Bb=f(bt()),Rn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new Tr(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 pr.html`
3390
+ <div class="${(0,Bb.classMap)(r)}" part="container" tabindex="-1">
3391
3391
  <div class="ft-search-bar" role="search">
3392
3392
  <div class="ft-search-bar--input-container" part="input-container">
3393
3393
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -3443,10 +3443,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3443
3443
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
3444
3444
  ></ft-button>
3445
3445
  </div>
3446
- `}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}};kn.styles=pr.css`
3446
+ `}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}};Rn.styles=pr.css`
3447
3447
 
3448
- `});var mt,Ub,Hb,Ln,Wb=p(()=>{"use strict";mt=u(A()),Ub=u(Gr());ms();fs();Hb=u(bt()),Ln=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new Tr(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 mt.html`
3449
- <div class="${(0,Hb.classMap)(r)}" part="container" tabindex="-1">
3448
+ `});var mt,Fb,Mb,An,zb=p(()=>{"use strict";mt=f(A()),Fb=f(Gr());hs();us();Mb=f(bt()),An=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new Tr(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 mt.html`
3449
+ <div class="${(0,Mb.classMap)(r)}" part="container" tabindex="-1">
3450
3450
  <div class="ft-search-bar" part="search-bar" role="search">
3451
3451
  ${this.renderSearchBarLeftAction()}
3452
3452
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -3493,7 +3493,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3493
3493
  ariaLabel="${this.searchBar.labelResolver.resolve("selectLocale")}"
3494
3494
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
3495
3495
  @change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
3496
- ${(0,Ub.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>mt.html`
3496
+ ${(0,Fb.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>mt.html`
3497
3497
  <ft-select-option .value=${e.lang}
3498
3498
  label="${e.label}"
3499
3499
  ?selected=${e.lang==this.searchBar.contentLocale}>
@@ -3522,9 +3522,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3522
3522
  @click=${()=>this.searchBar.onLaunchSearch()}
3523
3523
  ></ft-button>
3524
3524
  </div>
3525
- `}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)}};Ln.styles=mt.css`
3525
+ `}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)}};An.styles=mt.css`
3526
3526
 
3527
- `});var le,X,In,be,Y,Vb,gd,A0,M,yd=p(()=>{"use strict";le=u(A()),X=u(W()),In=u(Gr()),be=u(x());oy();Pe();Rc();Wy();Wt();eb();or();ed();Lb();Ja();qn();xt();us();Fb();fs();ms();zb();Wb();_c();Or();Y=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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");Vb={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"},gd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},A0=()=>{},M=class extends be.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 be.ParametrizedLabelResolver(Vb,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new be.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Qt.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 Tr(this),this.selectedFacetsManager=new $r(this),this.desktopSearchBarManager=new Ln(this),this.mobileSearchBarManager=new kn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new be.Debouncer(10),this.updateLocalesDebouncer=new be.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 be.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===Qt.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,be.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 le.html`
3527
+ `});var le,X,kn,be,Y,Ub,md,E0,M,gd=p(()=>{"use strict";le=f(A()),X=f(W()),kn=f(Gr()),be=f(x());ey();Pe();Ec();zy();Wt();Yy();or();Jc();Rb();Xa();Gn();xt();ps();Nb();us();hs();Db();zb();Pc();Or();Y=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");Ub={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"},md=class extends CustomEvent{constructor(e){super("change",{detail:e})}},E0=()=>{},M=class extends be.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 be.ParametrizedLabelResolver(Ub,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new be.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Qt.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 Tr(this),this.selectedFacetsManager=new $r(this),this.desktopSearchBarManager=new An(this),this.mobileSearchBarManager=new Rn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new be.Debouncer(10),this.updateLocalesDebouncer=new be.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 be.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===Qt.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,be.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 le.html`
3528
3528
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3529
3529
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3530
3530
  ${this.renderLiveText()}
@@ -3552,7 +3552,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3552
3552
  </div>
3553
3553
  </ft-accordion-item>
3554
3554
  `:null}
3555
- ${(0,In.repeat)(this.facets,r=>r.key,r=>{let i=Ec(r),n=r.key.replace(":","-"),a=sy(i);return r.rootNodes.length>0?le.html`
3555
+ ${(0,kn.repeat)(this.facets,r=>r.key,r=>{let i=wc(r),n=r.key.replace(":","-"),a=iy(i);return r.rootNodes.length>0?le.html`
3556
3556
  <ft-accordion-item data-facet-key="${r.key}">
3557
3557
  <div class="ft-search-bar--filter-label" slot="toggle">
3558
3558
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -3582,7 +3582,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3582
3582
  `}getContentLocaleRadioGroup(){var e;return le.html`
3583
3583
  <ft-radio-group aria-labelledby="content_locale_radio_group_label"
3584
3584
  @change=${r=>{this.contentLocale=r.detail==="all"?void 0:r.detail,this.clearFilters()}}>
3585
- ${(0,In.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var i;return le.html`
3585
+ ${(0,kn.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var i;return le.html`
3586
3586
  <ft-radio value="${(i=r.lang)!==null&&i!==void 0?i:"all"}"
3587
3587
  ?checked=${r.lang==this.contentLocale}>
3588
3588
  ${r.label}
@@ -3613,7 +3613,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3613
3613
  label="${this.labelResolver.resolve("presetsSelector")}"
3614
3614
  outlined
3615
3615
  @change=${r=>this.selectedPreset=r.detail}>
3616
- ${(0,In.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>le.html`
3616
+ ${(0,kn.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>le.html`
3617
3617
  <ft-select-option value="${r.name}"
3618
3618
  label="${r.name}"
3619
3619
  ?selected=${r.name===this.selectedPreset}>
@@ -3645,7 +3645,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3645
3645
  ${this.getContentLocaleRadioGroup()}
3646
3646
  </div>
3647
3647
  `:le.nothing}
3648
- ${(0,In.repeat)(this.facets,e=>e.key,e=>{let r=Ec(e),i=r.options.some(a=>{var s,c;return((c=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&c!==void 0?c:0)>0}),n=e.key.replace(":","-");return le.html`
3648
+ ${(0,kn.repeat)(this.facets,e=>e.key,e=>{let r=wc(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 le.html`
3649
3649
  <ft-filter
3650
3650
  class="${i?"ft-search-bar--hierarchical-filter":""}"
3651
3651
  part="filters filter filter-${n}"
@@ -3664,14 +3664,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3664
3664
  ></ft-filter>
3665
3665
  `})}
3666
3666
  </ft-snap-scroll>
3667
- `:le.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 be.ParametrizedLabelResolver(Vb,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 c=f=>this.availableContentLocales.some(h=>h.lang==f);c(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&c(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(c=>c.metadataFilters.forEach(f=>{f.valueFilter&&(f.valueFilter.values=f.valueFilter.values.map(h=>Za(h)))})),e.has("presets")||e.has("selectedPreset")){let c=((n=this.presets)!==null&&n!==void 0?n:[]).find(f=>f.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(c=>e.has(c))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(c=>this.compareRequests(c,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(c=>e.has(c))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(c=>e.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(c=>e.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(c=>e.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new gd(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(A0)),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&&!be.isTouchScreen&&this.focusInput(),T.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),T.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,be.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,be.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?le.nothing:le.html`
3667
+ `:le.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 be.ParametrizedLabelResolver(Ub,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=u=>this.availableContentLocales.some(h=>h.lang==u);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(u=>{u.valueFilter&&(u.valueFilter.values=u.valueFilter.values.map(h=>qa(h)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(u=>u.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 md(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(E0)),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&&!be.isTouchScreen&&this.focusInput(),T.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),T.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,be.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,be.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?le.nothing:le.html`
3668
3668
  <div class="ft-search-bar--floating-panel"
3669
3669
  id="ft-search-bar-floating-panel"
3670
3670
  @keyup=${this.onFloatingContainerKeyUp}
3671
3671
  part="floating-panel"
3672
3672
  tabindex="-1">
3673
3673
  ${this.renderDesktopMenu()}
3674
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};M.elementDefinitions={"ft-accordion":kr,"ft-accordion-item":Yt,"ft-button":Ie,"ft-chip":$e,"ft-filter":ae,"ft-filter-option":Ft,"ft-icon":fe,"ft-ripple":j,"ft-select":ce,"ft-select-option":Lr,"ft-size-watcher":_t,"ft-skeleton":vo,"ft-snap-scroll":De,"ft-tooltip":Oe,"ft-typography":q,"ft-radio-group":kt,"ft-radio":Ve};M.styles=[eo,be.noTextInputDefaultClearButton,$b,Pb,$r.styles,Tr.styles,be.screenReaderStyles];Y([(0,X.property)({type:Boolean})],M.prototype,"dense",void 0);Y([(0,X.property)()],M.prototype,"mode",void 0);Y([(0,X.property)({type:Boolean})],M.prototype,"forceMobileMenuOpen",void 0);Y([(0,X.property)({type:Boolean})],M.prototype,"forceMenuOpen",void 0);Y([(0,X.property)()],M.prototype,"baseUrl",void 0);Y([(0,X.property)()],M.prototype,"apiIntegrationIdentifier",void 0);Y([(0,X.property)()],M.prototype,"contentLocale",void 0);Y([(0,X.state)()],M.prototype,"availableContentLocales",void 0);Y([(0,X.state)()],M.prototype,"availableContentLocalesInitialized",void 0);Y([(0,X.property)()],M.prototype,"uiLocale",void 0);Y([(0,be.jsonProperty)({})],M.prototype,"labels",void 0);Y([(0,be.jsonProperty)([])],M.prototype,"displayedFilters",void 0);Y([(0,be.jsonProperty)([])],M.prototype,"presets",void 0);Y([(0,X.property)({type:String,reflect:!0})],M.prototype,"selectedPreset",void 0);Y([(0,be.jsonProperty)([])],M.prototype,"priors",void 0);Y([(0,X.property)()],M.prototype,"searchRequestSerializer",void 0);Y([(0,X.property)({type:Boolean})],M.prototype,"focusOnDisplay",void 0);Y([(0,X.state)()],M.prototype,"metadataFilters",void 0);Y([(0,X.state)()],M.prototype,"sizeCategory",void 0);Y([(0,X.state)()],M.prototype,"displayFacets",void 0);Y([(0,X.state)()],M.prototype,"mobileMenuOpen",void 0);Y([(0,X.state)()],M.prototype,"facets",void 0);Y([(0,X.state)()],M.prototype,"facetsInitialized",void 0);Y([(0,X.query)(".ft-search-bar--container")],M.prototype,"container",void 0);Y([(0,X.query)(".ft-search-bar--filters-opener")],M.prototype,"filtersOpener",void 0);Y([(0,X.query)(".ft-search-bar--floating-panel")],M.prototype,"floatingContainer",void 0);Y([(0,X.query)("ft-snap-scroll.ft-search-bar--filters-container")],M.prototype,"scrollingFiltersContainer",void 0);Y([(0,X.query)(".ft-search-bar--input")],M.prototype,"input",void 0);Y([(0,X.query)(".ft-search-bar--launch-search")],M.prototype,"launchSearchButton",void 0);Y([(0,X.state)()],M.prototype,"query",void 0);Y([(0,X.state)()],M.prototype,"suggestions",void 0);Y([(0,X.state)()],M.prototype,"recentSearches",void 0);Y([(0,X.state)()],M.prototype,"scrollToFacet",void 0);Y([(0,X.state)()],M.prototype,"api",void 0);Y([(0,X.state)()],M.prototype,"displaySuggestListbox",void 0);Y([(0,X.state)()],M.prototype,"selectedSuggestOptionId",void 0);Y([(0,X.state)()],M.prototype,"selectedSuggestRemoveRecent",void 0);Y([(0,X.state)()],M.prototype,"facetsLoaded",void 0)});var jb=p(()=>{"use strict"});var Gb,Kb=p(()=>{"use strict";Gb=u(x());yd();yd();us();jb();(0,Gb.customElement)("ft-search-bar")(M)});var qb,Zb,Qb,Yb=p(()=>{"use strict";qb=u(A());dn();Zb=u(x());xt();Kb();Qb=qb.css`
3674
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};M.elementDefinitions={"ft-accordion":kr,"ft-accordion-item":Yt,"ft-button":Ie,"ft-chip":$e,"ft-filter":ae,"ft-filter-option":Ft,"ft-icon":fe,"ft-ripple":j,"ft-select":ce,"ft-select-option":Lr,"ft-size-watcher":_t,"ft-skeleton":vo,"ft-snap-scroll":De,"ft-tooltip":Oe,"ft-typography":q,"ft-radio-group":kt,"ft-radio":Ve};M.styles=[eo,be.noTextInputDefaultClearButton,Lb,Ib,$r.styles,Tr.styles,be.screenReaderStyles];Y([(0,X.property)({type:Boolean})],M.prototype,"dense",void 0);Y([(0,X.property)()],M.prototype,"mode",void 0);Y([(0,X.property)({type:Boolean})],M.prototype,"forceMobileMenuOpen",void 0);Y([(0,X.property)({type:Boolean})],M.prototype,"forceMenuOpen",void 0);Y([(0,X.property)()],M.prototype,"baseUrl",void 0);Y([(0,X.property)()],M.prototype,"apiIntegrationIdentifier",void 0);Y([(0,X.property)()],M.prototype,"contentLocale",void 0);Y([(0,X.state)()],M.prototype,"availableContentLocales",void 0);Y([(0,X.state)()],M.prototype,"availableContentLocalesInitialized",void 0);Y([(0,X.property)()],M.prototype,"uiLocale",void 0);Y([(0,be.jsonProperty)({})],M.prototype,"labels",void 0);Y([(0,be.jsonProperty)([])],M.prototype,"displayedFilters",void 0);Y([(0,be.jsonProperty)([])],M.prototype,"presets",void 0);Y([(0,X.property)({type:String,reflect:!0})],M.prototype,"selectedPreset",void 0);Y([(0,be.jsonProperty)([])],M.prototype,"priors",void 0);Y([(0,X.property)()],M.prototype,"searchRequestSerializer",void 0);Y([(0,X.property)({type:Boolean})],M.prototype,"focusOnDisplay",void 0);Y([(0,X.state)()],M.prototype,"metadataFilters",void 0);Y([(0,X.state)()],M.prototype,"sizeCategory",void 0);Y([(0,X.state)()],M.prototype,"displayFacets",void 0);Y([(0,X.state)()],M.prototype,"mobileMenuOpen",void 0);Y([(0,X.state)()],M.prototype,"facets",void 0);Y([(0,X.state)()],M.prototype,"facetsInitialized",void 0);Y([(0,X.query)(".ft-search-bar--container")],M.prototype,"container",void 0);Y([(0,X.query)(".ft-search-bar--filters-opener")],M.prototype,"filtersOpener",void 0);Y([(0,X.query)(".ft-search-bar--floating-panel")],M.prototype,"floatingContainer",void 0);Y([(0,X.query)("ft-snap-scroll.ft-search-bar--filters-container")],M.prototype,"scrollingFiltersContainer",void 0);Y([(0,X.query)(".ft-search-bar--input")],M.prototype,"input",void 0);Y([(0,X.query)(".ft-search-bar--launch-search")],M.prototype,"launchSearchButton",void 0);Y([(0,X.state)()],M.prototype,"query",void 0);Y([(0,X.state)()],M.prototype,"suggestions",void 0);Y([(0,X.state)()],M.prototype,"recentSearches",void 0);Y([(0,X.state)()],M.prototype,"scrollToFacet",void 0);Y([(0,X.state)()],M.prototype,"api",void 0);Y([(0,X.state)()],M.prototype,"displaySuggestListbox",void 0);Y([(0,X.state)()],M.prototype,"selectedSuggestOptionId",void 0);Y([(0,X.state)()],M.prototype,"selectedSuggestRemoveRecent",void 0);Y([(0,X.state)()],M.prototype,"facetsLoaded",void 0)});var Hb=p(()=>{"use strict"});var Wb,Vb=p(()=>{"use strict";Wb=f(x());gd();gd();ps();Hb();(0,Wb.customElement)("ft-search-bar")(M)});var jb,Gb,Kb,qb=p(()=>{"use strict";jb=f(A());dn();Gb=f(x());xt();Vb();Kb=jb.css`
3675
3675
  * {
3676
3676
  box-sizing: border-box;
3677
3677
  }
@@ -3718,22 +3718,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3718
3718
  }
3719
3719
 
3720
3720
  ft-ripple {
3721
- ${(0,Zb.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3721
+ ${(0,Gb.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3722
3722
  }
3723
- `});var Xb,Wi,Jb,xo,ev=p(()=>{"use strict";Xb=u(x()),Wi=u(A());Yb();Jb=u(Gr());Wt();xt();Pe();Or();vc();xo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Hr.get();return Wi.html`
3723
+ `});var Zb,Wi,Qb,xo,Yb=p(()=>{"use strict";Zb=f(x()),Wi=f(A());qb();Qb=f(Gr());Wt();xt();Pe();Or();bc();xo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Hr.get();return Wi.html`
3724
3724
  <div class="ft-search-input-suggestion ft-word-wrap"
3725
3725
  id="${this.listboxId}"
3726
3726
  role="listbox"
3727
3727
  aria-label="${ho.messages.suggestionsLabel()}"
3728
3728
  part="container">
3729
- ${(0,Jb.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3729
+ ${(0,Qb.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3730
3730
  </div>
3731
3731
  `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=Wi.html`
3732
3732
  <ft-ripple ?activated=${this.ftSearchInput.selectedSuggestOptionId===n}></ft-ripple>
3733
3733
  ${this.getIcon(r)}
3734
3734
  <ft-typography variant="body1">${r.value}</ft-typography>
3735
- `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},c=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return Wi.html`
3736
- <a href="${c}"
3735
+ `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},l=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return Wi.html`
3736
+ <a href="${l}"
3737
3737
  part="suggestion"
3738
3738
  class="ft-search-input-suggestion--suggestion"
3739
3739
  role="option"
@@ -3754,10 +3754,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3754
3754
  @click=${()=>this.onSuggestSelected(r.value)}>
3755
3755
  ${a}
3756
3756
  </div>
3757
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=Qn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Ot.TOPICS;break}return Wi.html`
3757
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?je.file_format:je.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=qn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Ot.TOPICS;break}return Wi.html`
3758
3758
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3759
- `}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)}};xo.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe};xo.styles=[Xb.wordWrap,Qb]});var oi,So,fr,tv,ur,Ke,bd=p(()=>{"use strict";oi=u(A()),So=u(x());dn();qo();Er();vc();fr=u(W()),tv=u(bt());ev();or();Pe();Or();ur=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ke=class extends Kt(qt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new xo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(ho)}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,c=Hr.get().serializeToCurrentPageIfPossible(a,s);return oi.html`
3760
- <div class="${(0,tv.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3759
+ `}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)}};xo.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe};xo.styles=[Zb.wordWrap,Kb]});var oi,So,fr,Xb,ur,Ke,yd=p(()=>{"use strict";oi=f(A()),So=f(x());dn();qo();Er();bc();fr=f(W()),Xb=f(bt());Yb();or();Pe();Or();ur=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},Ke=class extends Kt(qt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new xo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(ho)}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=Hr.get().serializeToCurrentPageIfPossible(a,s);return oi.html`
3760
+ <div class="${(0,Xb.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3761
3761
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3762
3762
  <div class="ft-search-input--input-outline" part="input-outline">
3763
3763
  <input class="ft-search-input--input ft-typography--body2"
@@ -3770,11 +3770,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3770
3770
  aria-controls="${this.suggestions.listboxId}"
3771
3771
  aria-expanded="${this.displaySuggestListbox}"
3772
3772
  aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:oi.nothing}"
3773
- @input=${f=>this.onInput(f)}
3773
+ @input=${u=>this.onInput(u)}
3774
3774
  @click="${()=>this.onClick()}"
3775
3775
  @focus="${()=>this.onFocus()}"
3776
- @keydown=${f=>this.onSearchBarKeyDown(f)}
3777
- @keyup=${f=>this.onSearchBarKeyUp(f)}>
3776
+ @keydown=${u=>this.onSearchBarKeyDown(u)}
3777
+ @keyup=${u=>this.onSearchBarKeyUp(u)}>
3778
3778
  </div>
3779
3779
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3780
3780
  ${this.renderLiveText()}
@@ -3798,64 +3798,64 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3798
3798
  icon="search"
3799
3799
  round dense
3800
3800
  label="${ho.messages.searchButton()}"
3801
- href="${this.useCustomSearchPath?c:""}"
3801
+ href="${this.useCustomSearchPath?l:""}"
3802
3802
  @click=${()=>this.launchSearch(this.liveQuery)}
3803
3803
  ></ft-button>
3804
3804
  </div>
3805
3805
  </div>
3806
- `}renderLiveText(){return this.shouldDisplaySuggestions?ho.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["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(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):oi.nothing,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.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ke.elementDefinitions={"ft-button":Ie,...xo.elementDefinitions};Ke.styles=[eo,So.noTextInputDefaultClearButton,fl,...xo.styles,So.screenReaderStyles];ur([(0,So.redux)()],Ke.prototype,"request",void 0);ur([(0,So.redux)()],Ke.prototype,"liveQuery",void 0);ur([(0,So.redux)()],Ke.prototype,"suggestResults",void 0);ur([(0,fr.state)()],Ke.prototype,"forceCloseSuggestion",void 0);ur([(0,fr.state)()],Ke.prototype,"displaySuggestListbox",void 0);ur([(0,fr.state)()],Ke.prototype,"selectedSuggestOptionId",void 0);ur([(0,fr.property)()],Ke.prototype,"launchSearchPath",void 0);ur([(0,fr.property)({type:Boolean})],Ke.prototype,"useCustomSearchPath",void 0);ur([(0,fr.property)({type:Boolean})],Ke.prototype,"triggerSearchOnClear",void 0);ur([(0,fr.query)(".ft-search-input--input")],Ke.prototype,"input",void 0);ur([(0,fr.query)('[part="launch-search-in-input"]')],Ke.prototype,"launchSearchButton",void 0)});var rv=p(()=>{"use strict"});var iv={};Ao(iv,{FtSearchInput:()=>Ke,FtSearchInputCssVariables:()=>he,styles:()=>fl});var ov,nv=p(()=>{"use strict";ov=u(x());bd();dn();rv();bd();(0,ov.customElement)("ft-search-input")(Ke)});var av,k0,vd,xd=p(()=>{"use strict";av=u(A()),k0={},vd=av.css`
3807
- `});var Sd,sv=p(()=>{"use strict";Er();Sd=wr.fromGwt("designedActionBlockAriaLabels")});var gs,Cd,lv,Qr,Od=p(()=>{"use strict";gs=u(A()),Cd=u(x());xd();or();qo();Er();sv();lv=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Qr=class extends Kt(qt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Sd)}render(){return this.isLastPage?gs.nothing:gs.html`
3806
+ `}renderLiveText(){return this.shouldDisplaySuggestions?ho.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["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(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):oi.nothing,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.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ke.elementDefinitions={"ft-button":Ie,...xo.elementDefinitions};Ke.styles=[eo,So.noTextInputDefaultClearButton,ul,...xo.styles,So.screenReaderStyles];ur([(0,So.redux)()],Ke.prototype,"request",void 0);ur([(0,So.redux)()],Ke.prototype,"liveQuery",void 0);ur([(0,So.redux)()],Ke.prototype,"suggestResults",void 0);ur([(0,fr.state)()],Ke.prototype,"forceCloseSuggestion",void 0);ur([(0,fr.state)()],Ke.prototype,"displaySuggestListbox",void 0);ur([(0,fr.state)()],Ke.prototype,"selectedSuggestOptionId",void 0);ur([(0,fr.property)()],Ke.prototype,"launchSearchPath",void 0);ur([(0,fr.property)({type:Boolean})],Ke.prototype,"useCustomSearchPath",void 0);ur([(0,fr.property)({type:Boolean})],Ke.prototype,"triggerSearchOnClear",void 0);ur([(0,fr.query)(".ft-search-input--input")],Ke.prototype,"input",void 0);ur([(0,fr.query)('[part="launch-search-in-input"]')],Ke.prototype,"launchSearchButton",void 0)});var Jb=p(()=>{"use strict"});var tv={};Ao(tv,{FtSearchInput:()=>Ke,FtSearchInputCssVariables:()=>he,styles:()=>ul});var ev,rv=p(()=>{"use strict";ev=f(x());yd();dn();Jb();yd();(0,ev.customElement)("ft-search-input")(Ke)});var ov,R0,bd,vd=p(()=>{"use strict";ov=f(A()),R0={},bd=ov.css`
3807
+ `});var xd,iv=p(()=>{"use strict";Er();xd=wr.fromGwt("designedActionBlockAriaLabels")});var ms,Sd,nv,Qr,Cd=p(()=>{"use strict";ms=f(A()),Sd=f(x());vd();or();qo();Er();iv();nv=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},Qr=class extends Kt(qt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(xd)}render(){return this.isLastPage?ms.nothing:ms.html`
3808
3808
  <ft-button @click="${this.loadMore}">
3809
- ${Sd.messages.searchPageLoadMore()}
3809
+ ${xd.messages.searchPageLoadMore()}
3810
3810
  </ft-button>
3811
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Qr.elementDefinitions={"ft-button":Ie};Qr.styles=vd;lv([(0,Cd.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}})],Qr.prototype,"currentPage",void 0);lv([(0,Cd.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}})],Qr.prototype,"isLastPage",void 0)});var cv=p(()=>{"use strict"});var pv={};Ao(pv,{FtSearchLoadMoreButton:()=>Qr,FtSearchLoadMoreButtonCssVariables:()=>k0,styles:()=>vd});var dv,uv=p(()=>{"use strict";dv=u(x());Od();xd();cv();Od();(0,dv.customElement)("ft-search-load-more-button")(Qr)});function L0(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[wd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[wd]):this.dispatchEvent(new Ed)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=wd,ys([(0,Tn.property)({attribute:!1})],r.prototype,"cluster",void 0),ys([(0,Tn.property)({attribute:!1})],r.prototype,"result",void 0),ys([(0,Tn.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),ys([(0,Tn.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var Tn,ys,Ed,wd,Vi,Rd=p(()=>{"use strict";qo();Tn=u(W()),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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Ed=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},wd=Symbol("registerInterval");Vi=class extends L0(qt){}});var Ad,fv,ii,kd=p(()=>{"use strict";Ad=u(A());Rd();ta();fv=u(Zn());Pe();ii=class extends Vi{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Ad.html`
3812
- <ft-typography variant="body1" part="text">${(0,fv.unsafeHTML)(e)}</ft-typography>
3813
- `:Ad.html`
3811
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Qr.elementDefinitions={"ft-button":Ie};Qr.styles=bd;nv([(0,Sd.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}})],Qr.prototype,"currentPage",void 0);nv([(0,Sd.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}})],Qr.prototype,"isLastPage",void 0)});var av=p(()=>{"use strict"});var lv={};Ao(lv,{FtSearchLoadMoreButton:()=>Qr,FtSearchLoadMoreButtonCssVariables:()=>R0,styles:()=>bd});var sv,cv=p(()=>{"use strict";sv=f(x());Cd();vd();av();Cd();(0,sv.customElement)("ft-search-load-more-button")(Qr)});function A0(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[Od]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Od]):this.dispatchEvent(new wd)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Od,gs([(0,Ln.property)({attribute:!1})],r.prototype,"cluster",void 0),gs([(0,Ln.property)({attribute:!1})],r.prototype,"result",void 0),gs([(0,Ln.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),gs([(0,Ln.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var Ln,gs,wd,Od,Vi,Ed=p(()=>{"use strict";qo();Ln=f(W()),gs=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-search-result-component",{bubbles:!0,composed:!0})}},Od=Symbol("registerInterval");Vi=class extends A0(qt){}});var Rd,dv,ii,Ad=p(()=>{"use strict";Rd=f(A());Ed();Jn();dv=f(Kn());Pe();ii=class extends Vi{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Rd.html`
3812
+ <ft-typography variant="body1" part="text">${(0,dv.unsafeHTML)(e)}</ft-typography>
3813
+ `:Rd.html`
3814
3814
  <style>
3815
3815
  :host {
3816
3816
  display: none !important;
3817
3817
  }
3818
3818
  </style>
3819
- `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};ii.elementDefinitions={"ft-typography":q};ii.styles=hl});var hv=p(()=>{"use strict"});var gv={};Ao(gv,{FtSearchResultAbstract:()=>ii,FtSearchResultAbstractCssVariables:()=>ea,styles:()=>hl});var mv,Ld=p(()=>{"use strict";mv=u(x());kd();ta();hv();kd();(0,mv.customElement)("ft-search-result-abstract")(ii)});var $n,yv,bv,I0,Co,Id=p(()=>{"use strict";$n=u(A()),yv=u(W());Rd();oa();Pe();bv=u(Zn());cc();pc();I0=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Co=class extends Vi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():$n.html`
3820
- <a href="${Ua(this.result)}"
3819
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};ii.elementDefinitions={"ft-typography":q};ii.styles=fl});var pv=p(()=>{"use strict"});var fv={};Ao(fv,{FtSearchResultAbstract:()=>ii,FtSearchResultAbstractCssVariables:()=>Xn,styles:()=>fl});var uv,kd=p(()=>{"use strict";uv=f(x());Ad();Jn();pv();Ad();(0,uv.customElement)("ft-search-result-abstract")(ii)});var In,hv,mv,k0,Co,Ld=p(()=>{"use strict";In=f(A()),hv=f(W());Ed();ta();Pe();mv=f(Kn());lc();dc();k0=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},Co=class extends Vi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():In.html`
3820
+ <a href="${za(this.result)}"
3821
3821
  @click=${this.onResultClick}
3822
3822
  @auxclick=${r=>this.onAuxClick(r)}
3823
3823
  @contextmenu=${this.onContextMenu}
3824
- target="${$g(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3824
+ target="${Lg(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3825
3825
  part="link">
3826
3826
  ${this.renderTitle()}
3827
3827
  </a>
3828
- `:$n.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return $n.html`
3829
- <ft-typography variant="title" part="text">${(0,bv.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3830
- `}onResultClick(){this.dispatchEvent(new $i(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Pi(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}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"})}};Co.elementDefinitions={"ft-typography":q};Co.styles=ml;I0([(0,yv.property)({type:Boolean})],Co.prototype,"withoutLink",void 0)});var vv=p(()=>{"use strict"});var Sv={};Ao(Sv,{FtSearchResultTitle:()=>Co,FtSearchResultTitleCssVariables:()=>ra,styles:()=>ml});var xv,Td=p(()=>{"use strict";xv=u(x());Id();oa();vv();Id();(0,xv.customElement)("ft-search-result-title")(Co)});var Cv,T0,$d,Pd=p(()=>{"use strict";Cv=u(A()),T0={},$d=Cv.css`
3828
+ `:In.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return In.html`
3829
+ <ft-typography variant="title" part="text">${(0,mv.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3830
+ `}onResultClick(){this.dispatchEvent(new $i(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Pi(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}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"})}};Co.elementDefinitions={"ft-typography":q};Co.styles=hl;k0([(0,hv.property)({type:Boolean})],Co.prototype,"withoutLink",void 0)});var gv=p(()=>{"use strict"});var bv={};Ao(bv,{FtSearchResultTitle:()=>Co,FtSearchResultTitleCssVariables:()=>ea,styles:()=>hl});var yv,Id=p(()=>{"use strict";yv=f(x());Ld();ta();gv();Ld();(0,yv.customElement)("ft-search-result-title")(Co)});var vv,L0,Td,$d=p(()=>{"use strict";vv=f(A()),L0={},Td=vv.css`
3831
3831
  [part="no-results-message"] {
3832
3832
  text-align: center;
3833
3833
  padding: 12px;
3834
3834
  }
3835
- `});var Ov,wv,_d=p(()=>{"use strict";Ov=u(A()),wv=Ov.css`
3835
+ `});var xv,Sv,Pd=p(()=>{"use strict";xv=f(A()),Sv=xv.css`
3836
3836
  a {
3837
3837
  color: inherit;
3838
3838
  text-decoration: inherit;
3839
3839
  }
3840
- `});var bs,Ev=p(()=>{"use strict";bs=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 Rv,ji,Av,vs,Nd,Pr,Bd=p(()=>{"use strict";Rv=u(A()),ji=u(W()),Av=u(x());_d();Ev();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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Nd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Pr=class extends Av.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new bs(e=>this.onResultSelected(e))}render(){return Rv.html`
3840
+ `});var ys,Cv=p(()=>{"use strict";ys=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 Ov,ji,wv,bs,_d,Pr,Nd=p(()=>{"use strict";Ov=f(A()),ji=f(W()),wv=f(x());Pd();Cv();bs=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},_d=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Pr=class extends wv.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new ys(e=>this.onResultSelected(e))}render(){return Ov.html`
3841
3841
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3842
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Nd(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()}};Pr.elementDefinitions={};Pr.styles=wv;vs([(0,ji.property)({attribute:!1})],Pr.prototype,"cluster",void 0);vs([(0,ji.property)({attribute:!1,type:Boolean})],Pr.prototype,"openResultInNewTab",void 0);vs([(0,ji.state)()],Pr.prototype,"result",void 0);vs([(0,ji.property)()],Pr.prototype,"index",void 0)});var kv=p(()=>{"use strict"});var Lv,Iv=p(()=>{"use strict";Lv=u(x());Bd();_d();kv();Bd();(0,Lv.customElement)("ft-search-result-context")(Pr)});var Gi,Tv,Dd=p(()=>{"use strict";Er();Gi=wr.build("searchResultsNumber"),Tv={results:"{0} results","results[\\=1]":"1 result"}});var xs,$v,Ss,Oo,ni,Mt,Fd=p(()=>{"use strict";xs=u(A()),$v=u(Gr()),Ss=u(W()),Oo=u(x());Pd();qo();Iv();Td();Ld();Er();Dd();ni=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Mt=class extends Kt(qt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>xs.html`
3842
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new _d(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()}};Pr.elementDefinitions={};Pr.styles=Sv;bs([(0,ji.property)({attribute:!1})],Pr.prototype,"cluster",void 0);bs([(0,ji.property)({attribute:!1,type:Boolean})],Pr.prototype,"openResultInNewTab",void 0);bs([(0,ji.state)()],Pr.prototype,"result",void 0);bs([(0,ji.property)()],Pr.prototype,"index",void 0)});var Ev=p(()=>{"use strict"});var Rv,Av=p(()=>{"use strict";Rv=f(x());Nd();Pd();Ev();Nd();(0,Rv.customElement)("ft-search-result-context")(Pr)});var Gi,kv,Bd=p(()=>{"use strict";Er();Gi=wr.build("searchResultsNumber"),kv={results:"{0} results","results[\\=1]":"1 result"}});var vs,Lv,xs,Oo,ni,Mt,Dd=p(()=>{"use strict";vs=f(A()),Lv=f(Gr()),xs=f(W()),Oo=f(x());$d();qo();Av();Id();kd();Er();Bd();ni=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},Mt=class extends Kt(qt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>vs.html`
3843
3843
  <ft-search-result-title></ft-search-result-title>
3844
3844
  <ft-search-result-abstract></ft-search-result-abstract>
3845
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Gi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return xs.html`
3845
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Gi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return vs.html`
3846
3846
  <ft-typography part="no-results-message" variant="body1">${Gi.messages.results(0)}</ft-typography>
3847
- `;let e=this.buildClusters();return(0,$v.repeat)(e,r=>r.id,(r,i)=>{var n;return xs.html`
3847
+ `;let e=this.buildClusters();return(0,Lv.repeat)(e,r=>r.id,(r,i)=>{var n;return vs.html`
3848
3848
  <ft-search-result-context .cluster=${r} index="${i}"
3849
3849
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
3850
3850
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],i)}
3851
3851
  </ft-search-result-context>
3852
- `})}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&&Oo.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:this.clusterId(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:this.clusterId(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}clusterId(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};Mt.styles=$d;ni([(0,Ss.property)({type:String,attribute:"cluster-policy"})],Mt.prototype,"clusterPolicy",void 0);ni([(0,Ss.property)({type:Boolean})],Mt.prototype,"displayNoResultsMessage",void 0);ni([(0,Ss.property)({attribute:!1})],Mt.prototype,"renderResult",void 0);ni([(0,Oo.jsonProperty)([])],Mt.prototype,"clusterSortCriterion",void 0);ni([(0,Oo.redux)({selector:t=>({...t.request,paging:void 0})})],Mt.prototype,"requestWithoutPaging",void 0);ni([(0,Oo.redux)({selector:t=>t.request.paging})],Mt.prototype,"paging",void 0);ni([(0,Oo.redux)()],Mt.prototype,"results",void 0)});var Pv=p(()=>{"use strict"});var Nv={};Ao(Nv,{FtSearchResults:()=>Mt,FtSearchResultsCssVariables:()=>T0,styles:()=>$d});var _v,Bv=p(()=>{"use strict";_v=u(x());Fd();Pd();Pv();Fd();(0,_v.customElement)("ft-search-results")(Mt)});var Dv,$0,Md,zd=p(()=>{"use strict";Dv=u(A()),$0={},Md=Dv.css`
3852
+ `})}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&&Oo.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:this.clusterId(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:this.clusterId(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}clusterId(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};Mt.styles=Td;ni([(0,xs.property)({type:String,attribute:"cluster-policy"})],Mt.prototype,"clusterPolicy",void 0);ni([(0,xs.property)({type:Boolean})],Mt.prototype,"displayNoResultsMessage",void 0);ni([(0,xs.property)({attribute:!1})],Mt.prototype,"renderResult",void 0);ni([(0,Oo.jsonProperty)([])],Mt.prototype,"clusterSortCriterion",void 0);ni([(0,Oo.redux)({selector:t=>({...t.request,paging:void 0})})],Mt.prototype,"requestWithoutPaging",void 0);ni([(0,Oo.redux)({selector:t=>t.request.paging})],Mt.prototype,"paging",void 0);ni([(0,Oo.redux)()],Mt.prototype,"results",void 0)});var Iv=p(()=>{"use strict"});var $v={};Ao($v,{FtSearchResults:()=>Mt,FtSearchResultsCssVariables:()=>L0,styles:()=>Td});var Tv,Pv=p(()=>{"use strict";Tv=f(x());Dd();$d();Iv();Dd();(0,Tv.customElement)("ft-search-results")(Mt)});var _v,I0,Fd,Md=p(()=>{"use strict";_v=f(A()),I0={},Fd=_v.css`
3853
3853
 
3854
- `});var Cs,Fv,P0,wo,Ud=p(()=>{"use strict";Cs=u(A()),Fv=u(x());zd();qo();Er();Dd();Pe();P0=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},wo=class extends Kt(qt){constructor(){super(),this.addI18nContext(Gi,Tv)}render(){return this.paging==null?Cs.nothing:Cs.html`
3854
+ `});var Ss,Nv,T0,wo,zd=p(()=>{"use strict";Ss=f(A()),Nv=f(x());Md();qo();Er();Bd();Pe();T0=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},wo=class extends Kt(qt){constructor(){super(),this.addI18nContext(Gi,kv)}render(){return this.paging==null?Ss.nothing:Ss.html`
3855
3855
  <ft-typography variant="body1">
3856
3856
  ${Gi.messages.results(this.paging.totalClustersCount)}
3857
3857
  </ft-typography>
3858
- `}};wo.elementDefinitions={"ft-typography":q};wo.styles=Md;P0([(0,Fv.redux)()],wo.prototype,"paging",void 0)});var Mv=p(()=>{"use strict"});var Uv={};Ao(Uv,{FtSearchResultsNumber:()=>wo,FtSearchResultsNumberCssVariables:()=>$0,styles:()=>Md});var zv,Hv=p(()=>{"use strict";zv=u(x());Ud();zd();Mv();Ud();(0,zv.customElement)("ft-search-results-number")(wo)});var Wv=u(x());var zt=u(A()),ai=u(x());var gl=u(A()),N=u(x());var Xd=u(A()),ie=u(x());_r();var de={padding:ie.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ie.FtCssVariableFactory.extend("--ft-card-border-radius","",ie.designSystemVariables.borderRadiusM),borderStyle:ie.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ie.FtCssVariableFactory.extend("--ft-card-border-color","",ie.designSystemVariables.colorOutline),hoverBorderColor:ie.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ie.designSystemVariables.colorPrimary),outlineStyle:ie.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ie.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ie.FtCssVariableFactory.extend("--ft-card-outline-color","",ie.designSystemVariables.colorPrimary),selectedOutlineStyle:ie.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ie.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ie.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ie.designSystemVariables.colorPrimary),selectedBorderRadius:ie.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ie.designSystemVariables.borderRadiusM),colorSurface:ie.FtCssVariableFactory.extend("--ft-card-background-color","",ie.designSystemVariables.colorSurface),colorOnSurfaceMedium:ie.FtCssVariableFactory.extend("--ft-card-content-color","",ie.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ie.FtCssVariableFactory.extend("--ft-card-title-color","",ie.designSystemVariables.colorOnSurfaceHigh),elevation02:ie.FtCssVariableFactory.extend("--ft-card-elevation","",ie.designSystemVariables.elevation02),elevation04:ie.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ie.designSystemVariables.elevation04)},Jd=Xd.css`
3858
+ `}};wo.elementDefinitions={"ft-typography":q};wo.styles=Fd;T0([(0,Nv.redux)()],wo.prototype,"paging",void 0)});var Bv=p(()=>{"use strict"});var Fv={};Ao(Fv,{FtSearchResultsNumber:()=>wo,FtSearchResultsNumberCssVariables:()=>I0,styles:()=>Fd});var Dv,Mv=p(()=>{"use strict";Dv=f(x());zd();Md();Bv();zd();(0,Dv.customElement)("ft-search-results-number")(wo)});var zv=f(x());var zt=f(A()),ai=f(x());var ml=f(A()),N=f(x());var Yd=f(A()),ie=f(x());_r();var de={padding:ie.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ie.FtCssVariableFactory.extend("--ft-card-border-radius","",ie.designSystemVariables.borderRadiusM),borderStyle:ie.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ie.FtCssVariableFactory.extend("--ft-card-border-color","",ie.designSystemVariables.colorOutline),hoverBorderColor:ie.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ie.designSystemVariables.colorPrimary),outlineStyle:ie.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ie.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ie.FtCssVariableFactory.extend("--ft-card-outline-color","",ie.designSystemVariables.colorPrimary),selectedOutlineStyle:ie.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ie.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ie.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ie.designSystemVariables.colorPrimary),selectedBorderRadius:ie.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ie.designSystemVariables.borderRadiusM),colorSurface:ie.FtCssVariableFactory.extend("--ft-card-background-color","",ie.designSystemVariables.colorSurface),colorOnSurfaceMedium:ie.FtCssVariableFactory.extend("--ft-card-content-color","",ie.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ie.FtCssVariableFactory.extend("--ft-card-title-color","",ie.designSystemVariables.colorOnSurfaceHigh),elevation02:ie.FtCssVariableFactory.extend("--ft-card-elevation","",ie.designSystemVariables.elevation02),elevation04:ie.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ie.designSystemVariables.elevation04)},Xd=Yd.css`
3859
3859
  :host {
3860
3860
  display: block;
3861
3861
  }
@@ -3944,7 +3944,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3944
3944
  #action {
3945
3945
  grid-area: actions;
3946
3946
  }
3947
- `;dn();ta();_r();oa();var rt={searchFieldBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",N.designSystemVariables.colorSurface),searchFieldBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",N.designSystemVariables.colorOutline),searchFieldTextColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",N.designSystemVariables.colorOnSurface),searchFieldBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",N.designSystemVariables.borderRadiusS),searchButtonColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",N.designSystemVariables.colorPrimary),resultsNumberColor:N.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",N.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",N.designSystemVariables.colorSurface),resultBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",N.designSystemVariables.colorOutline),resultBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",N.designSystemVariables.borderRadiusS),resultTitleTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",N.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",N.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",N.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:N.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",N.designSystemVariables.colorPrimary),resultHoverBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",N.designSystemVariables.colorPrimary)},Xf=gl.css`
3947
+ `;dn();Jn();_r();ta();var rt={searchFieldBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",N.designSystemVariables.colorSurface),searchFieldBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",N.designSystemVariables.colorOutline),searchFieldTextColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",N.designSystemVariables.colorOnSurface),searchFieldBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",N.designSystemVariables.borderRadiusS),searchButtonColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",N.designSystemVariables.colorPrimary),resultsNumberColor:N.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",N.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",N.designSystemVariables.colorSurface),resultBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",N.designSystemVariables.colorOutline),resultBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",N.designSystemVariables.borderRadiusS),resultTitleTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",N.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",N.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",N.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:N.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",N.designSystemVariables.colorPrimary),resultHoverBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",N.designSystemVariables.colorPrimary)},Yf=ml.css`
3948
3948
  .ft-search-in-doc--container {
3949
3949
  display: flex;
3950
3950
  flex-direction: column;
@@ -3970,7 +3970,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3970
3970
  ft-search-load-more-button {
3971
3971
  margin: auto;
3972
3972
  }
3973
- `,Jf=gl.css`
3973
+ `,Xf=ml.css`
3974
3974
  ft-card {
3975
3975
  margin-bottom: 8px;
3976
3976
  ${(0,N.setVariable)(de.elevation04,"none")};
@@ -3984,7 +3984,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3984
3984
 
3985
3985
  ft-search-result-title {
3986
3986
  color: ${rt.resultTitleTextColor};
3987
- ${(0,N.setVariable)(ra.highlightBackgroundColor,rt.resultHighlightBackgroundColor)};
3987
+ ${(0,N.setVariable)(ea.highlightBackgroundColor,rt.resultHighlightBackgroundColor)};
3988
3988
  }
3989
3989
 
3990
3990
  .breadcrumb {
@@ -3993,7 +3993,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3993
3993
 
3994
3994
  ft-search-result-abstract {
3995
3995
  color: ${rt.resultContentTextColor};
3996
- ${(0,N.setVariable)(ea.highlightBackgroundColor,rt.resultHighlightBackgroundColor)};
3996
+ ${(0,N.setVariable)(Xn.highlightBackgroundColor,rt.resultHighlightBackgroundColor)};
3997
3997
  }
3998
3998
 
3999
3999
  ft-card:hover {
@@ -4011,11 +4011,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4011
4011
  text-decoration: none;
4012
4012
  color: inherit;
4013
4013
  }
4014
- `;Er();var Rg=u(x()),Ag=u(W());var wg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(wg||(wg={}));var Eg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Eg||(Eg={}));var x0=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},lc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},sc=Symbol("registerInterval");function S0(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[sc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[sc]):this.dispatchEvent(new lc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=sc,x0([(0,Ag.state)()],r.prototype,"stateManager",void 0),r}var za=class extends S0(Rg.FtLitElementRedux){};var Xr=u(W());cc();Er();var dc=wr.build("designedReaderSearchInDocument");var Ng=u(x());var Sn=u(A()),Ko=u(W()),Pg=u(x());xt();Pe();var _g=u(bt()),Ti=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Pg.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 Sn.html`
4015
- <div id="container" part="container" class=${(0,_g.classMap)(e)}>
4016
- ${this.clickable?Sn.html`
4014
+ `;Er();var Og=f(x()),wg=f(W());var Sg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(Sg||(Sg={}));var Cg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Cg||(Cg={}));var b0=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},sc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ac=Symbol("registerInterval");function v0(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[ac]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ac]):this.dispatchEvent(new sc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ac,b0([(0,wg.state)()],r.prototype,"stateManager",void 0),r}var Ma=class extends v0(Og.FtLitElementRedux){};var Xr=f(W());lc();Er();var cc=wr.build("designedReaderSearchInDocument");var $g=f(x());var vn=f(A()),Ko=f(W()),Ig=f(x());xt();Pe();var Tg=f(bt()),Ti=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 Ig.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 vn.html`
4015
+ <div id="container" part="container" class=${(0,Tg.classMap)(e)}>
4016
+ ${this.clickable?vn.html`
4017
4017
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
4018
- `:Sn.nothing}
4018
+ `:vn.nothing}
4019
4019
  <div id="header" part="header">
4020
4020
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
4021
4021
  <slot name="header"></slot>
@@ -4029,9 +4029,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4029
4029
  </ft-typography>
4030
4030
  </div>
4031
4031
  </div>
4032
- `}};Rt.elementDefinitions={"ft-ripple":j,"ft-typography":q};Rt.styles=Jd;Ti([(0,Ko.property)()],Rt.prototype,"title",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"clickable",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"selected",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"noHeader",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"noContent",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"oneLineHeader",void 0);(0,Ng.customElement)("ft-card")(Rt);pc();var Yr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},gt=class t extends Kt(za){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=(0,ai.randomId)(6,"search-in-document-"),this.addI18nContext(dc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return zt.html`
4033
- <style> ${Jf}</style>
4034
- <a href="${Ua(e)}" @click=${()=>this.onLinkClick(e,r)}
4032
+ `}};Rt.elementDefinitions={"ft-ripple":j,"ft-typography":q};Rt.styles=Xd;Ti([(0,Ko.property)()],Rt.prototype,"title",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"clickable",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"selected",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"noHeader",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"noContent",void 0);Ti([(0,Ko.property)({type:Boolean})],Rt.prototype,"oneLineHeader",void 0);(0,$g.customElement)("ft-card")(Rt);dc();var Yr=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},gt=class t extends Kt(Ma){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=(0,ai.randomId)(6,"search-in-document-"),this.addI18nContext(cc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return zt.html`
4033
+ <style> ${Xf}</style>
4034
+ <a href="${za(e)}" @click=${()=>this.onLinkClick(e,r)}
4035
4035
  @auxclick=${n=>this.onAuxClick(n,e,r)}
4036
4036
  @contextmenu=${()=>this.onContextMenu(e,r)}>
4037
4037
  <ft-card clickable noheader>
@@ -4056,7 +4056,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4056
4056
  scope="ALL_TOPICS"
4057
4057
  ignoreEmptyQuery>
4058
4058
  <div class="ft-search-in-doc--container">
4059
- <ft-search-input placeholder="${dc.messages.placeholder()}"
4059
+ <ft-search-input placeholder="${cc.messages.placeholder()}"
4060
4060
  ?triggerSearchOnClear=${this.emptyResultOnClear}
4061
4061
  @change=${e=>{var r;(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}></ft-search-input>
4062
4062
  ${this.hideResultsNumber?zt.nothing:zt.html`
@@ -4071,7 +4071,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4071
4071
  </slot>
4072
4072
  </div>
4073
4073
  </ft-search-context>
4074
- `:zt.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,ai.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 $i(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Yg(),Qg)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(nv(),iv)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(uv(),pv)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Ld(),gv)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Td(),Sv)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Bv(),Nv)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Hv(),Uv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};gt.elementDefinitions={"ft-card":Rt};gt.styles=Xf;Yr([(0,ai.redux)()],gt.prototype,"map",void 0);Yr([(0,ai.redux)()],gt.prototype,"searchInDocumentQuery",void 0);Yr([(0,Xr.query)("ft-search-results")],gt.prototype,"searchResults",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultTitle",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultBreadcrumb",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultAbstract",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultsNumber",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"emptyResultOnClear",void 0);Yr([(0,Xr.query)('[part="search-context"]')],gt.prototype,"searchContext",void 0);(0,Wv.customElement)("ft-reader-search-in-document")(gt);})();
4074
+ `:zt.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,ai.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 $i(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(qg(),Kg)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(rv(),tv)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(cv(),lv)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(kd(),fv)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Id(),bv)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Pv(),$v)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Mv(),Fv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};gt.elementDefinitions={"ft-card":Rt};gt.styles=Yf;Yr([(0,ai.redux)()],gt.prototype,"map",void 0);Yr([(0,ai.redux)()],gt.prototype,"searchInDocumentQuery",void 0);Yr([(0,Xr.query)("ft-search-results")],gt.prototype,"searchResults",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultTitle",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultBreadcrumb",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultAbstract",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"hideResultsNumber",void 0);Yr([(0,Xr.property)({type:Boolean})],gt.prototype,"emptyResultOnClear",void 0);Yr([(0,Xr.query)('[part="search-context"]')],gt.prototype,"searchContext",void 0);(0,zv.customElement)("ft-reader-search-in-document")(gt);})();
4075
4075
  /*! Bundled license information:
4076
4076
 
4077
4077
  lit-html/lit-html.js: