@fluid-topics/ft-reader-search-in-document 1.3.0 → 1.3.1

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 Dx=Object.create;var vs=Object.defineProperty;var Fx=Object.getOwnPropertyDescriptor;var Mx=Object.getOwnPropertyNames;var zx=Object.getPrototypeOf,Ux=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Eo=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ro=(t,e)=>{for(var r in e)vs(t,r,{get:e[r],enumerable:!0})},Hx=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Mx(e))!Ux.call(t,n)&&n!==r&&vs(t,n,{get:()=>e[n],enumerable:!(i=Fx(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?Dx(zx(t)):{},Hx(e||!t||!t.__esModule?vs(r,"default",{value:t,enumerable:!0}):r,t));var v=Eo((R0,Hd)=>{Hd.exports=ftGlobals.wcUtils});var A=Eo((A0,Wd)=>{Wd.exports=ftGlobals.lit});var Zd,Ne,Vd,w,jd,Gd,Kd,qd,Qd,Pr=p(()=>{"use strict";Zd=u(A()),Ne=u(v()),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`
1
+ "use strict";(()=>{var Fx=Object.create;var Cs=Object.defineProperty;var Mx=Object.getOwnPropertyDescriptor;var zx=Object.getOwnPropertyNames;var Ux=Object.getPrototypeOf,Hx=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Eo=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ro=(t,e)=>{for(var r in e)Cs(t,r,{get:e[r],enumerable:!0})},Wx=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of zx(e))!Hx.call(t,n)&&n!==r&&Cs(t,n,{get:()=>e[n],enumerable:!(i=Mx(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?Fx(Ux(t)):{},Wx(e||!t||!t.__esModule?Cs(r,"default",{value:t,enumerable:!0}):r,t));var v=Eo((A0,Hd)=>{Hd.exports=ftGlobals.wcUtils});var A=Eo((L0,Wd)=>{Wd.exports=ftGlobals.lit});var Zd,Ne,Vd,w,jd,Gd,Kd,qd,Qd,Pr=p(()=>{"use strict";Zd=u(A()),Ne=u(v()),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
  }
@@ -110,8 +110,8 @@
110
110
  opacity: ${w.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `});var H=Eo(($0,Jd)=>{Jd.exports=ftGlobals.litDecorators});var _r,Qr,o,J=p(()=>{_r=u(A(),1),Qr=t=>typeof t=="string"?(0,_r.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Qr(c??n),s=_r.css`var(${Qr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>_r.css`var(${Qr(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=c=>i.get(c??n),s=_r.css`var(${Qr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>_r.css`var(${Qr(e)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Qr(a??e.lastResortDefaultValue()),n=_r.css`var(${Qr(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.get=a=>_r.css`var(${Qr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var l,ep,tp,rp,op,ip,np,ap,sp,ti,Wx,lp,cp,dp,pp,up,fp,hp,mp,gp,yp,Ao,bp,xp,vp,Sp,Cp,$n,ee=p(()=>{J();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)")},ep={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")},tp={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")},rp={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")},op={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")},ip={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")},np={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")},ap={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")},sp={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")},ti={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")},Wx={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")},lp={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")},cp={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")},dp={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")},pp={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")},up={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")},fp={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")},hp={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")},mp={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")},gp={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")},yp={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")},Ao={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")},bp={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")},vp={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")},Sp={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")},Cp={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:ep,"title-1":tp,"title-2":rp,"title-3":op,"body-1-regular":ip,"body-1-medium":np,"body-1-semibold":ap,"body-2-regular":sp,"body-2-medium":ti,"body-2-medium-underline":Wx,"body-2-semibold":lp,"label-1-medium":cp,"label-1-semibold":dp,"label-1-bold":pp,"label-2-medium":up,"label-2-semibold":fp,"label-2-bold":hp,"caption-1-medium":mp,"caption-1-semibold":gp,"caption-1-bold":yp,"caption-2-medium":Ao,"caption-2-semibold":bp,"caption-2-bold":xp,"caption-3-medium":vp,"caption-3-semibold":Sp,"caption-3-bold":Cp}});var d,se=p(()=>{J();ee();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,Op=p(()=>{J();ee();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 j0,wp=p(()=>{J();ee();se();j0={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 Q0,Ep=p(()=>{J();ee();se();Q0={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 tS,Rp=p(()=>{J();ee();se();tS={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 te,Ap=p(()=>{J();ee();se();te={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 dS,Ip=p(()=>{J();ee();se();dS={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 mS,Lp=p(()=>{J();ee();se();mS={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 vS,kp=p(()=>{J();ee();se();vS={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 ES,$p=p(()=>{J();ee();se();ES={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 kS,Tp=p(()=>{J();ee();se();kS={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 NS,Pp=p(()=>{J();ee();se();NS={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 MS,_p=p(()=>{J();ee();MS={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var VS,Np=p(()=>{J();ee();se();VS={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 ZS,Bp=p(()=>{J();ee();se();ZS={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 eC,Dp=p(()=>{J();ee();se();eC={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 nC,Fp=p(()=>{J();ee();se();nC={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 dC,Mp=p(()=>{J();ee();se();dC={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 mC,zp=p(()=>{J();ee();se();mC={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 vC,Up=p(()=>{J();ee();se();vC={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 EC,Hp=p(()=>{J();ee();se();EC={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 kC,Wp=p(()=>{J();ee();se();kC={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 NC,Vp=p(()=>{J();ee();se();NC={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,jp=p(()=>{J();ee();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 VC,Gp=p(()=>{J();ee();VC={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 qC,Kp=p(()=>{J();ee();qC={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 JC,qp=p(()=>{J();ee();se();JC={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 iO,Zp=p(()=>{J();ee();se();iO={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 cO,Qp=p(()=>{J();ee();se();cO={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 hO,Yp=p(()=>{J();ee();se();hO={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 xO,Xp=p(()=>{J();ee();se();xO={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 wO,Jp=p(()=>{J();ee();se();wO={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 LO,eu=p(()=>{J();ee();se();LO={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.contentInfoPrimary),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.contentInfoPrimary),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.contentInfoPrimary),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.contentInfoPrimary),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 tu=p(()=>{ee();se();Op();wp();Ep();Rp();Ap();Ip();Lp();kp();$p();Tp();Pp();_p();Np();Bp();Dp();Fp();Mp();zp();Up();Hp();Wp();Vp();jp();Gp();Kp();qp();Zp();Qp();Yp();Xp();Jp();eu()});var Tn,dt,ru=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tn||(Tn={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(dt||(dt={}))});var ie=p(()=>{J();tu();ru()});function ou(t){let e=$n[t];return Pn.css`
113
+ `});var W=Eo((T0,Jd)=>{Jd.exports=ftGlobals.litDecorators});var _r,Qr,o,ee=p(()=>{_r=u(A(),1),Qr=t=>typeof t=="string"?(0,_r.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Qr(c??n),s=_r.css`var(${Qr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>_r.css`var(${Qr(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=c=>i.get(c??n),s=_r.css`var(${Qr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>_r.css`var(${Qr(e)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Qr(a??e.lastResortDefaultValue()),n=_r.css`var(${Qr(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.get=a=>_r.css`var(${Qr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var l,ep,tp,rp,op,ip,np,ap,sp,ti,Vx,lp,cp,dp,pp,up,fp,hp,mp,gp,yp,Ao,bp,xp,vp,Sp,Cp,$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)")},ep={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")},tp={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")},rp={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")},op={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")},ip={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")},np={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")},ap={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")},sp={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")},ti={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")},Vx={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")},lp={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")},cp={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")},dp={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")},pp={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")},up={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")},fp={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")},hp={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")},mp={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")},gp={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")},yp={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")},Ao={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")},bp={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")},vp={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")},Sp={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")},Cp={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:ep,"title-1":tp,"title-2":rp,"title-3":op,"body-1-regular":ip,"body-1-medium":np,"body-1-semibold":ap,"body-2-regular":sp,"body-2-medium":ti,"body-2-medium-underline":Vx,"body-2-semibold":lp,"label-1-medium":cp,"label-1-semibold":dp,"label-1-bold":pp,"label-2-medium":up,"label-2-semibold":fp,"label-2-bold":hp,"caption-1-medium":mp,"caption-1-semibold":gp,"caption-1-bold":yp,"caption-2-medium":Ao,"caption-2-semibold":bp,"caption-2-bold":xp,"caption-3-medium":vp,"caption-3-semibold":Sp,"caption-3-bold":Cp}});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,Op=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 G0,wp=p(()=>{ee();te();se();G0={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 Y0,Ep=p(()=>{ee();te();se();Y0={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 rS,Rp=p(()=>{ee();te();se();rS={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,Ap=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 pS,Lp=p(()=>{ee();te();se();pS={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 gS,Ip=p(()=>{ee();te();se();gS={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 SS,kp=p(()=>{ee();te();se();SS={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 RS,$p=p(()=>{ee();te();se();RS={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 $S,Tp=p(()=>{ee();te();se();$S={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 BS,Pp=p(()=>{ee();te();se();BS={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 zS,_p=p(()=>{ee();te();zS={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var jS,Np=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 QS,Bp=p(()=>{ee();te();se();QS={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 tC,Dp=p(()=>{ee();te();se();tC={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 aC,Fp=p(()=>{ee();te();se();aC={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 pC,Mp=p(()=>{ee();te();se();pC={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 gC,zp=p(()=>{ee();te();se();gC={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 SC,Up=p(()=>{ee();te();se();SC={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 RC,Hp=p(()=>{ee();te();se();RC={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 $C,Wp=p(()=>{ee();te();se();$C={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 BC,Vp=p(()=>{ee();te();se();BC={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 UC,jp=p(()=>{ee();te();se();UC={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,Gp=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 ZC,Kp=p(()=>{ee();te();ZC={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 eO,qp=p(()=>{ee();te();se();eO={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 nO,Zp=p(()=>{ee();te();se();nO={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 dO,Qp=p(()=>{ee();te();se();dO={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 mO,Yp=p(()=>{ee();te();se();mO={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 vO,Xp=p(()=>{ee();te();se();vO={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 EO,Jp=p(()=>{ee();te();se();EO={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 kO,eu=p(()=>{ee();te();se();kO={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.contentInfoPrimary),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.contentInfoPrimary),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.contentInfoPrimary),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.contentInfoPrimary),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 tu=p(()=>{te();se();Op();wp();Ep();Rp();Ap();Lp();Ip();kp();$p();Tp();Pp();_p();Np();Bp();Dp();Fp();Mp();zp();Up();Hp();Wp();Vp();jp();Gp();Kp();qp();Zp();Qp();Yp();Xp();Jp();eu()});var Tn,dt,ru=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tn||(Tn={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(dt||(dt={}))});var ie=p(()=>{ee();tu();ru()});function ou(t){let e=$n[t];return Pn.css`
115
115
  .ft-typography--${(0,Pn.unsafeCSS)(t)} {
116
116
  font-family: ${e.fontFamily};
117
117
  font-size: ${e.fontSize};
@@ -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 Pn,iu=p(()=>{"use strict";Pn=u(A());ie()});var Mt,L,nu,Br,k,ri,oi,ii,ni,Nr,Me,Je,ai,si,hr,au,su,lu,cu,du,Yr,mr,pu,uu,fu,hu,mu,zt=p(()=>{"use strict";Mt=u(A()),L=u(v());ie();iu();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();nu=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.titleFont),Br=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.contentFont),k={fontFamily:Br,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")},ri={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nu),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},oi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nu),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},ii={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},ni={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Nr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},Me={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},Je={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},ai={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},si={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},hr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Br),fontSize:L.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},au=Mt.css`
123
+ `}var Pn,iu=p(()=>{"use strict";Pn=u(A());ie()});var Mt,I,nu,Br,k,ri,oi,ii,ni,Nr,Me,Je,ai,si,hr,au,su,lu,cu,du,Yr,mr,pu,uu,fu,hu,mu,zt=p(()=>{"use strict";Mt=u(A()),I=u(v());ie();iu();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();ie();nu=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.titleFont),Br=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.contentFont),k={fontFamily:Br,fontSize:I.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:I.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:I.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:I.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:I.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ri={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nu),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},oi={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nu),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},ii={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},ni={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Nr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},Me={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},Je={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},ai={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},si={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},hr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Br),fontSize:I.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},au=Mt.css`
124
124
  .ft-typography--title {
125
125
  font-family: ${ri.fontFamily};
126
126
  font-size: ${ri.fontSize};
@@ -284,7 +284,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
284
284
  transform: translate(calc(0.35 * ${Se.size}), 0);
285
285
  }
286
286
  }
287
- `});var bu,Xt,ke,xu,Io=p(()=>{"use strict";bu=u(A()),Xt=u(v()),ke={size:Xt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Xt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Xt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Xt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Xt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Xt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Xt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Xt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xu=[bu.css`
287
+ `});var bu,Yt,Le,xu,Lo=p(()=>{"use strict";bu=u(A()),Yt=u(v()),Le={size:Yt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Yt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xu=[bu.css`
288
288
  :host, i.ft-icon {
289
289
  display: inline-flex;
290
290
  align-items: center;
@@ -293,14 +293,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
293
293
  }
294
294
 
295
295
  :host {
296
- width: ${ke.size};
297
- height: ${ke.size};
296
+ width: ${Le.size};
297
+ height: ${Le.size};
298
298
  }
299
299
 
300
300
  i.ft-icon {
301
301
  width: 100%;
302
302
  height: 100%;
303
- font-size: ${ke.size};
303
+ font-size: ${Le.size};
304
304
  line-height: 1;
305
305
  font-weight: normal;
306
306
  text-transform: none;
@@ -311,28 +311,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
311
311
  text-rendering: auto;
312
312
  -webkit-font-smoothing: antialiased;
313
313
  -moz-osx-font-smoothing: grayscale;
314
- vertical-align: ${ke.verticalAlign};
314
+ vertical-align: ${Le.verticalAlign};
315
315
  }
316
316
 
317
317
  i.ft-icon.ft-icon--fluid-topics {
318
- font-family: ${ke.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
318
+ font-family: ${Le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
319
319
 
320
320
  /* Ugly fix because font is broken */
321
- font-size: calc(0.75 * ${ke.size});
322
- line-height: ${ke.size};
321
+ font-size: calc(0.75 * ${Le.size});
322
+ line-height: ${Le.size};
323
323
  position: relative;
324
324
  top: -4%;
325
325
  justify-content: center;
326
326
  }
327
327
 
328
328
  .ft-icon--file-format {
329
- font-family: ${ke.fileFormatFontFamily}, ft-mime, sans-serif;
329
+ font-family: ${Le.fileFormatFontFamily}, ft-mime, sans-serif;
330
330
  }
331
331
 
332
332
  .ft-icon--material {
333
- font-family: ${ke.materialFontFamily}, "Material Icons", sans-serif;
333
+ font-family: ${Le.materialFontFamily}, "Material Icons", sans-serif;
334
334
  }
335
- `,Xt.noTextSelect]});var Cu,G,vu,W,Su,Ss,gr,Ou,Lo=p(()=>{"use strict";Cu=u(A()),G=u(v());Pr();zt();Wi();Io();vu=G.FtCssVariableFactory.extend("--ft-button-color","",G.designSystemVariables.colorPrimary),W={backgroundColor:G.FtCssVariableFactory.extend("--ft-button-background-color","",G.designSystemVariables.colorSurface),borderRadius:G.FtCssVariableFactory.extend("--ft-button-border-radius","",G.designSystemVariables.borderRadiusL),color:vu,fontSize:G.FtCssVariableFactory.extend("--ft-button-font-size","",hr.fontSize),iconSize:G.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:G.FtCssVariableFactory.extend("--ft-button-ripple-color","",vu),verticalPadding:G.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:G.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:G.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:G.FtCssVariableFactory.external(G.designSystemVariables.colorOpacityDisabled,"Design system")},Su=G.FtCssVariableFactory.extend("--ft-button-primary-color","",G.FtCssVariableFactory.extend("--ft-button-color","",G.designSystemVariables.colorOnPrimary)),Ss={backgroundColor:G.FtCssVariableFactory.extend("--ft-button-primary-background-color","",G.FtCssVariableFactory.extend("--ft-button-background-color","",G.designSystemVariables.colorPrimary)),color:Su,rippleColor:G.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Su)},gr={borderRadius:G.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",G.FtCssVariableFactory.extend("--ft-button-border-radius","",G.designSystemVariables.borderRadiusM)),verticalPadding:G.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:G.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:G.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ou=[Cu.css`
335
+ `,Yt.noTextSelect]});var Cu,K,vu,V,Su,Os,gr,Ou,Io=p(()=>{"use strict";Cu=u(A()),K=u(v());Pr();zt();Wi();Lo();vu=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:vu,fontSize:K.FtCssVariableFactory.extend("--ft-button-font-size","",hr.fontSize),iconSize:K.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:K.FtCssVariableFactory.extend("--ft-button-ripple-color","",vu),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")},Su=K.FtCssVariableFactory.extend("--ft-button-primary-color","",K.FtCssVariableFactory.extend("--ft-button-color","",K.designSystemVariables.colorOnPrimary)),Os={backgroundColor:K.FtCssVariableFactory.extend("--ft-button-primary-background-color","",K.FtCssVariableFactory.extend("--ft-button-background-color","",K.designSystemVariables.colorPrimary)),color:Su,rippleColor:K.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Su)},gr={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")},Ou=[Cu.css`
336
336
  :host {
337
337
  display: inline-block;
338
338
  max-width: 100%;
@@ -343,7 +343,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
343
343
  box-shadow: 0px 0px 0px transparent;
344
344
  border: 0px solid transparent;
345
345
  text-shadow: 0px 0px 0px transparent;
346
- font-size: ${W.fontSize};
346
+ font-size: ${V.fontSize};
347
347
  text-decoration: none;
348
348
  }
349
349
 
@@ -373,21 +373,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
373
373
  border: none;
374
374
  pointer-events: auto;
375
375
 
376
- --ft-button-internal-line-height: max(calc(${W.fontSize} + 2px), ${W.iconSize});
377
- --ft-button-internal-color: ${W.color};
378
- ${(0,G.setVariable)(ke.size,W.iconSize)};
379
- ${(0,G.setVariable)(w.color,W.rippleColor)};
376
+ --ft-button-internal-line-height: max(calc(${V.fontSize} + 2px), ${V.iconSize});
377
+ --ft-button-internal-color: ${V.color};
378
+ ${(0,K.setVariable)(Le.size,V.iconSize)};
379
+ ${(0,K.setVariable)(w.color,V.rippleColor)};
380
380
 
381
- border-radius: ${W.borderRadius};
382
- padding: ${W.verticalPadding} ${W.horizontalPadding};
383
- background-color: ${W.backgroundColor};
381
+ border-radius: ${V.borderRadius};
382
+ padding: ${V.verticalPadding} ${V.horizontalPadding};
383
+ background-color: ${V.backgroundColor};
384
384
  color: var(--ft-button-internal-color);
385
385
  -webkit-mask-image: radial-gradient(white, black);
386
386
  }
387
387
 
388
388
  .ft-button.ft-button--outlined {
389
389
  border: 1px solid var(--ft-button-internal-color);
390
- padding: calc(${W.verticalPadding} - 1px) calc(${W.horizontalPadding} - 1px);
390
+ padding: calc(${V.verticalPadding} - 1px) calc(${V.horizontalPadding} - 1px);
391
391
  }
392
392
 
393
393
  .ft-button.ft-button--dense {
@@ -405,7 +405,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
405
405
  }
406
406
 
407
407
  .ft-button--round {
408
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${W.verticalPadding});
408
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${V.verticalPadding});
409
409
  }
410
410
 
411
411
  .ft-button--round.ft-button--dense {
@@ -414,13 +414,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
414
414
 
415
415
  .ft-button[disabled] {
416
416
  filter: grayscale(1);
417
- opacity: ${W.opacityDisabled};
417
+ opacity: ${V.opacityDisabled};
418
418
  }
419
419
 
420
420
  .ft-button.ft-button--primary {
421
- background-color: ${Ss.backgroundColor};
422
- --ft-button-internal-color: ${Ss.color};
423
- ${(0,G.setVariable)(w.color,Ss.rippleColor)};
421
+ background-color: ${Os.backgroundColor};
422
+ --ft-button-internal-color: ${Os.color};
423
+ ${(0,K.setVariable)(w.color,Os.rippleColor)};
424
424
  }
425
425
 
426
426
  .ft-button:focus {
@@ -433,9 +433,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
433
433
  white-space: nowrap;
434
434
  text-overflow: ellipsis;
435
435
  display: block;
436
- margin: 0 ${W.iconPadding};
437
- ${(0,G.setVariable)(hr.fontSize,"1em")};
438
- ${(0,G.setVariable)(hr.lineHeight,"var(--ft-button-internal-line-height)")};
436
+ margin: 0 ${V.iconPadding};
437
+ ${(0,K.setVariable)(hr.fontSize,"1em")};
438
+ ${(0,K.setVariable)(hr.lineHeight,"var(--ft-button-internal-line-height)")};
439
439
  }
440
440
 
441
441
  .ft-button--dense .ft-button--label {
@@ -452,8 +452,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
452
452
  }
453
453
 
454
454
  .ft-button--label[hidden] + [part="icon"] {
455
- margin: 0 calc(${W.horizontalPadding} * -1);
456
- padding: 0 ${W.verticalPadding};
455
+ margin: 0 calc(${V.horizontalPadding} * -1);
456
+ padding: 0 ${V.verticalPadding};
457
457
  }
458
458
 
459
459
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -466,10 +466,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
466
466
  }
467
467
 
468
468
  ft-loader {
469
- ${(0,G.setVariable)(Se.size,W.iconSize)};
470
- ${(0,G.setVariable)(Se.color,"var(--ft-button-internal-color)")};
469
+ ${(0,K.setVariable)(Se.size,V.iconSize)};
470
+ ${(0,K.setVariable)(Se.color,"var(--ft-button-internal-color)")};
471
471
  }
472
- `,G.noTextSelect]});var gt=Eo((eE,wu)=>{wu.exports=ftGlobals.litClassMap});var Eu,Ze,Ru,Vi,yt,V,Cs=p(()=>{"use strict";Eu=u(A()),Ze=u(H()),Ru=u(gt()),Vi=u(v());Pr();yt=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},V=class extends Vi.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 Vi.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 Vi.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 Eu.html`
472
+ `,K.noTextSelect]});var gt=Eo((tE,wu)=>{wu.exports=ftGlobals.litClassMap});var Eu,Ze,Ru,Vi,yt,j,ws=p(()=>{"use strict";Eu=u(A()),Ze=u(W()),Ru=u(gt()),Vi=u(v());Pr();yt=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 Vi.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 Vi.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 Vi.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 Eu.html`
473
473
  <style>
474
474
  .ft-ripple .ft-ripple--effect {
475
475
  left: ${this.originX}px;
@@ -480,17 +480,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
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()}};V.elementDefinitions={};V.styles=Qd;yt([(0,Ze.property)({type:Boolean})],V.prototype,"primary",void 0);yt([(0,Ze.property)({type:Boolean})],V.prototype,"secondary",void 0);yt([(0,Ze.property)({type:Boolean})],V.prototype,"unbounded",void 0);yt([(0,Ze.property)({type:Boolean})],V.prototype,"activated",void 0);yt([(0,Ze.property)({type:Boolean})],V.prototype,"selected",void 0);yt([(0,Ze.property)({type:Boolean})],V.prototype,"disabled",void 0);yt([(0,Ze.state)()],V.prototype,"hovered",void 0);yt([(0,Ze.state)()],V.prototype,"focused",void 0);yt([(0,Ze.state)()],V.prototype,"pressed",void 0);yt([(0,Ze.state)()],V.prototype,"rippling",void 0);yt([(0,Ze.state)()],V.prototype,"originX",void 0);yt([(0,Ze.state)()],V.prototype,"originY",void 0);yt([(0,Ze.query)(".ft-ripple")],V.prototype,"ripple",void 0);yt([(0,Ze.query)(".ft-ripple--effect")],V.prototype,"rippleEffect",void 0)});var Au=p(()=>{"use strict"});var Iu,bt=p(()=>{"use strict";Iu=u(v());Cs();Cs();Pr();Au();(0,Iu.customElement)("ft-ripple")(V)});function Uu(t,e){if(!ks(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lu!==void 0?Lu.createHTML(e):e}function li(t,e,r=t,i){if(e===Ki)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Gi(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=li(t,n._$AS(t,e.values),n,i)),e}var Ls,_n,Lu,Nu,Xr,Bu,Vx,To,Nn,Gi,ks,jx,Os,ji,ku,$u,ko,Tu,Pu,Du,$s,Fu,Mu,zu,Ki,Be,_u,$o,Gx,qi,ws,Bn,ci,Es,Rs,As,Is,Kx,Ts=p(()=>{Ls=globalThis,_n=Ls.trustedTypes,Lu=_n?_n.createPolicy("lit-html",{createHTML:t=>t}):void 0,Nu="$lit$",Xr=`lit$${Math.random().toFixed(9).slice(2)}$`,Bu="?"+Xr,Vx=`<${Bu}>`,To=document,Nn=()=>To.createComment(""),Gi=t=>t===null||typeof t!="object"&&typeof t!="function",ks=Array.isArray,jx=t=>ks(t)||typeof t?.[Symbol.iterator]=="function",Os=`[
484
- \f\r]`,ji=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ku=/-->/g,$u=/>/g,ko=RegExp(`>|${Os}(?:([^\\s"'>=/]+)(${Os}*=${Os}*(?:[^
485
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Tu=/'/g,Pu=/"/g,Du=/^(?:script|style|textarea|title)$/i,$s=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Fu=$s(1),Mu=$s(2),zu=$s(3),Ki=Symbol.for("lit-noChange"),Be=Symbol.for("lit-nothing"),_u=new WeakMap,$o=To.createTreeWalker(To,129);Gx=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=ji;for(let c=0;c<r;c++){let f=t[c],h,b,y=-1,x=0;for(;x<f.length&&(s.lastIndex=x,b=s.exec(f),b!==null);)x=s.lastIndex,s===ji?b[1]==="!--"?s=ku:b[1]!==void 0?s=$u:b[2]!==void 0?(Du.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=ko):b[3]!==void 0&&(s=ko):s===ko?b[0]===">"?(s=n??ji,y=-1):b[1]===void 0?y=-2:(y=s.lastIndex-b[2].length,h=b[1],s=b[3]===void 0?ko:b[3]==='"'?Pu:Tu):s===Pu||s===Tu?s=ko:s===ku||s===$u?s=ji:(s=ko,n=void 0);let O=s===ko&&t[c+1].startsWith("/>")?" ":"";a+=s===ji?f+Vx:y>=0?(i.push(h),f.slice(0,y)+Nu+f.slice(y)+Xr+O):f+Xr+(y===-2?c:O)}return[Uu(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},qi=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]=Gx(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(Nu)){let x=b[s++],O=n.getAttribute(y).split(Xr),C=/([.?@])?(.*)/.exec(x);f.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?Es:C[1]==="?"?Rs:C[1]==="@"?As:ci}),n.removeAttribute(y)}else y.startsWith(Xr)&&(f.push({type:6,index:a}),n.removeAttribute(y));if(Du.test(n.tagName)){let y=n.textContent.split(Xr),x=y.length-1;if(x>0){n.textContent=_n?_n.emptyScript:"";for(let O=0;O<x;O++)n.append(y[O],Nn()),$o.nextNode(),f.push({type:2,index:++a});n.append(y[x],Nn())}}}else if(n.nodeType===8)if(n.data===Bu)f.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(Xr,y+1))!==-1;)f.push({type:7,index:a}),y+=Xr.length-1}a++}}static createElement(e,r){let i=To.createElement("template");return i.innerHTML=e,i}};ws=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??To).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 Bn(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new Is(a,this,e)),this._$AV.push(h),f=i[++c]}s!==f?.index&&(a=$o.nextNode(),s++)}return $o.currentNode=To,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++}},Bn=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=li(this,e,r),Gi(e)?e===Be||e==null||e===""?(this._$AH!==Be&&this._$AR(),this._$AH=Be):e!==this._$AH&&e!==Ki&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):jx(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&&Gi(this._$AH)?this._$AA.nextSibling.data=e:this.T(To.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=qi.createElement(Uu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new ws(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=_u.get(e.strings);return r===void 0&&_u.set(e.strings,r=new qi(e)),r}k(e){ks(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(Nn()),this.O(Nn()),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))}},ci=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=li(this,e,r,0),s=!Gi(e)||e!==this._$AH&&e!==Ki,s&&(this._$AH=e);else{let c=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=li(this,c[i+f],r,f),h===Ki&&(h=this._$AH[f]),s||=!Gi(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??"")}},Es=class extends ci{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Be?void 0:e}},Rs=class extends ci{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Be)}},As=class extends ci{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=li(this,e,r,0)??Be)===Ki)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)}},Is=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){li(this,e)}},Kx=Ls.litHtmlPolyfillSupport;Kx?.(qi,Bn),(Ls.litHtmlVersions??=[]).push("3.3.0")});var Wu,qx,Ps,Hu,_s,Ns,dE,pE,Vu=p(()=>{Ts();Wu=Symbol.for(""),qx=t=>{if(t?.r===Wu)return t?._$litStatic$},Ps=t=>({_$litStatic$:t,r:Wu}),Hu=new Map,_s=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=qx(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=Hu.get(y))===void 0&&(s.raw=s,Hu.set(y,e=s)),r=c}return t(e,...r)},Ns=_s(Fu),dE=_s(Mu),pE=_s(zu)});var ju=p(()=>{Vu()});var Ut,Dn=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"})(Ut||(Ut={}))});var Bs,Ku,Gu,K,Ds=p(()=>{"use strict";ju();Bs=u(H()),Ku=u(v());Dn();zt();Gu=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},K=class extends Ku.FtLitElement{constructor(){super(...arguments),this.variant=Ut.body1}render(){return this.element?Ns`
486
- <${Ps(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=(...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=Qd;yt([(0,Ze.property)({type:Boolean})],j.prototype,"primary",void 0);yt([(0,Ze.property)({type:Boolean})],j.prototype,"secondary",void 0);yt([(0,Ze.property)({type:Boolean})],j.prototype,"unbounded",void 0);yt([(0,Ze.property)({type:Boolean})],j.prototype,"activated",void 0);yt([(0,Ze.property)({type:Boolean})],j.prototype,"selected",void 0);yt([(0,Ze.property)({type:Boolean})],j.prototype,"disabled",void 0);yt([(0,Ze.state)()],j.prototype,"hovered",void 0);yt([(0,Ze.state)()],j.prototype,"focused",void 0);yt([(0,Ze.state)()],j.prototype,"pressed",void 0);yt([(0,Ze.state)()],j.prototype,"rippling",void 0);yt([(0,Ze.state)()],j.prototype,"originX",void 0);yt([(0,Ze.state)()],j.prototype,"originY",void 0);yt([(0,Ze.query)(".ft-ripple")],j.prototype,"ripple",void 0);yt([(0,Ze.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0)});var Au=p(()=>{"use strict"});var Lu,bt=p(()=>{"use strict";Lu=u(v());ws();ws();Pr();Au();(0,Lu.customElement)("ft-ripple")(j)});function Uu(t,e){if(!Ts(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Iu!==void 0?Iu.createHTML(e):e}function li(t,e,r=t,i){if(e===Ki)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Gi(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=li(t,n._$AS(t,e.values),n,i)),e}var $s,_n,Iu,Nu,Xr,Bu,jx,To,Nn,Gi,Ts,Gx,Es,ji,ku,$u,ko,Tu,Pu,Du,Ps,Fu,Mu,zu,Ki,Be,_u,$o,Kx,qi,Rs,Bn,ci,As,Ls,Is,ks,qx,_s=p(()=>{$s=globalThis,_n=$s.trustedTypes,Iu=_n?_n.createPolicy("lit-html",{createHTML:t=>t}):void 0,Nu="$lit$",Xr=`lit$${Math.random().toFixed(9).slice(2)}$`,Bu="?"+Xr,jx=`<${Bu}>`,To=document,Nn=()=>To.createComment(""),Gi=t=>t===null||typeof t!="object"&&typeof t!="function",Ts=Array.isArray,Gx=t=>Ts(t)||typeof t?.[Symbol.iterator]=="function",Es=`[
484
+ \f\r]`,ji=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ku=/-->/g,$u=/>/g,ko=RegExp(`>|${Es}(?:([^\\s"'>=/]+)(${Es}*=${Es}*(?:[^
485
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Tu=/'/g,Pu=/"/g,Du=/^(?:script|style|textarea|title)$/i,Ps=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Fu=Ps(1),Mu=Ps(2),zu=Ps(3),Ki=Symbol.for("lit-noChange"),Be=Symbol.for("lit-nothing"),_u=new WeakMap,$o=To.createTreeWalker(To,129);Kx=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=ji;for(let c=0;c<r;c++){let f=t[c],h,b,y=-1,x=0;for(;x<f.length&&(s.lastIndex=x,b=s.exec(f),b!==null);)x=s.lastIndex,s===ji?b[1]==="!--"?s=ku:b[1]!==void 0?s=$u:b[2]!==void 0?(Du.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=ko):b[3]!==void 0&&(s=ko):s===ko?b[0]===">"?(s=n??ji,y=-1):b[1]===void 0?y=-2:(y=s.lastIndex-b[2].length,h=b[1],s=b[3]===void 0?ko:b[3]==='"'?Pu:Tu):s===Pu||s===Tu?s=ko:s===ku||s===$u?s=ji:(s=ko,n=void 0);let O=s===ko&&t[c+1].startsWith("/>")?" ":"";a+=s===ji?f+jx:y>=0?(i.push(h),f.slice(0,y)+Nu+f.slice(y)+Xr+O):f+Xr+(y===-2?c:O)}return[Uu(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},qi=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]=Kx(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(Nu)){let x=b[s++],O=n.getAttribute(y).split(Xr),C=/([.?@])?(.*)/.exec(x);f.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?As:C[1]==="?"?Ls:C[1]==="@"?Is:ci}),n.removeAttribute(y)}else y.startsWith(Xr)&&(f.push({type:6,index:a}),n.removeAttribute(y));if(Du.test(n.tagName)){let y=n.textContent.split(Xr),x=y.length-1;if(x>0){n.textContent=_n?_n.emptyScript:"";for(let O=0;O<x;O++)n.append(y[O],Nn()),$o.nextNode(),f.push({type:2,index:++a});n.append(y[x],Nn())}}}else if(n.nodeType===8)if(n.data===Bu)f.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(Xr,y+1))!==-1;)f.push({type:7,index:a}),y+=Xr.length-1}a++}}static createElement(e,r){let i=To.createElement("template");return i.innerHTML=e,i}};Rs=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??To).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 Bn(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new ks(a,this,e)),this._$AV.push(h),f=i[++c]}s!==f?.index&&(a=$o.nextNode(),s++)}return $o.currentNode=To,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++}},Bn=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=li(this,e,r),Gi(e)?e===Be||e==null||e===""?(this._$AH!==Be&&this._$AR(),this._$AH=Be):e!==this._$AH&&e!==Ki&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Gx(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&&Gi(this._$AH)?this._$AA.nextSibling.data=e:this.T(To.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=qi.createElement(Uu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Rs(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=_u.get(e.strings);return r===void 0&&_u.set(e.strings,r=new qi(e)),r}k(e){Ts(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(Nn()),this.O(Nn()),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))}},ci=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=li(this,e,r,0),s=!Gi(e)||e!==this._$AH&&e!==Ki,s&&(this._$AH=e);else{let c=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=li(this,c[i+f],r,f),h===Ki&&(h=this._$AH[f]),s||=!Gi(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??"")}},As=class extends ci{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Be?void 0:e}},Ls=class extends ci{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Be)}},Is=class extends ci{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=li(this,e,r,0)??Be)===Ki)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)}},ks=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){li(this,e)}},qx=$s.litHtmlPolyfillSupport;qx?.(qi,Bn),($s.litHtmlVersions??=[]).push("3.3.0")});var Wu,Zx,Ns,Hu,Bs,Ds,pE,uE,Vu=p(()=>{_s();Wu=Symbol.for(""),Zx=t=>{if(t?.r===Wu)return t?._$litStatic$},Ns=t=>({_$litStatic$:t,r:Wu}),Hu=new Map,Bs=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=Zx(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=Hu.get(y))===void 0&&(s.raw=s,Hu.set(y,e=s)),r=c}return t(e,...r)},Ds=Bs(Fu),pE=Bs(Mu),uE=Bs(zu)});var ju=p(()=>{Vu()});var Xt,Dn=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"})(Xt||(Xt={}))});var Fs,Ku,Gu,q,Ms=p(()=>{"use strict";ju();Fs=u(W()),Ku=u(v());Dn();zt();Gu=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 Ku.FtLitElement{constructor(){super(...arguments),this.variant=Xt.body1}render(){return this.element?Ds`
486
+ <${Ns(this.element)}
487
487
  part="text"
488
488
  class="ft-typography ft-typography--${this.variant}">
489
489
  <slot></slot>
490
- </${Ps(this.element)}>
491
- `:Ns`
490
+ </${Ns(this.element)}>
491
+ `:Ds`
492
492
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
493
- `}};K.styles=[au,su,lu,cu,du,Yr,mr,pu,uu,fu,hu,...mu];Gu([(0,Bs.property)()],K.prototype,"element",void 0);Gu([(0,Bs.property)()],K.prototype,"variant",void 0)});var qu,Pe=p(()=>{"use strict";qu=u(v());Ds();Ds();zt();Dn();(0,qu.customElement)("ft-typography")(K)});var Zu,Dr,yr,Qu,Fn=p(()=>{"use strict";Zu=u(A()),Dr=u(v()),yr={distance:Dr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Dr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Dr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Dr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Dr.FtCssVariableFactory.external(Dr.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Dr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Qu=Zu.css`
493
+ `}};q.styles=[au,su,lu,cu,du,Yr,mr,pu,uu,fu,hu,...mu];Gu([(0,Fs.property)()],q.prototype,"element",void 0);Gu([(0,Fs.property)()],q.prototype,"variant",void 0)});var qu,Pe=p(()=>{"use strict";qu=u(v());Ms();Ms();zt();Dn();(0,qu.customElement)("ft-typography")(q)});var Zu,Dr,yr,Qu,Fn=p(()=>{"use strict";Zu=u(A()),Dr=u(v()),yr={distance:Dr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Dr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Dr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Dr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Dr.FtCssVariableFactory.external(Dr.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Dr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Qu=Zu.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 zs(t,e,r){return ef(t,Ju(e,r))}function Mn(t,e){return typeof t=="function"?t(e):t}function di(t){return t.split("-")[0]}function Jr(t){return t.split("-")[1]}function Us(t){return t==="x"?"y":"x"}function Hs(t){return t==="y"?"height":"width"}function zn(t){return["top","bottom"].includes(di(t))?"y":"x"}function Ws(t){return Us(zn(t))}function tf(t,e,r){r===void 0&&(r=!1);let i=Jr(t),n=Ws(t),a=Hs(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Fs(s)),[s,Fs(s)]}function rf(t){return t.replace(/start|end/g,e=>Qx[e])}function Fs(t){return t.replace(/left|right|bottom|top/g,e=>Zx[e])}function Yx(t){return{top:0,right:0,bottom:0,left:0,...t}}function of(t){return typeof t!="number"?Yx(t):{top:t,right:t,bottom:t,left:t}}function Po(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 Xu,Yu,Ms,Ju,ef,Zx,Qx,Vs=p(()=>{Xu=["top","right","bottom","left"],Yu=["start","end"],Ms=Xu.reduce((t,e)=>t.concat(e,e+"-"+Yu[0],e+"-"+Yu[1]),[]),Ju=Math.min,ef=Math.max,Zx={left:"right",right:"left",bottom:"top",top:"bottom"},Qx={start:"end",end:"start"}});function nf(t,e,r){let{reference:i,floating:n}=t,a=zn(e),s=Ws(e),c=Hs(s),f=di(e),h=a==="y",b=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,x=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(Jr(e)){case"start":O[s]-=x*(r&&h?-1:1);break;case"end":O[s]+=x*(r&&h?-1:1);break}return O}async function js(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:x=!1,padding:O=0}=Mn(e,t),C=of(O),P=c[x?y==="floating"?"reference":"floating":y],$=Po(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:b,strategy:f})),T=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,U=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),X=await(a.isElement==null?void 0:a.isElement(U))?await(a.getScale==null?void 0:a.getScale(U))||{x:1,y:1}:{x:1,y:1},re=Po(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:U,strategy:f}):T);return{top:($.top-re.top+C.top)/X.y,bottom:(re.bottom-$.bottom+C.bottom)/X.y,left:($.left-re.left+C.left)/X.x,right:(re.right-$.right+C.right)/X.x}}function Xx(t,e,r){return(t?[...r.filter(n=>Jr(n)===t),...r.filter(n=>Jr(n)!==t)]:r.filter(n=>di(n)===n)).filter(n=>t?Jr(n)===t||(e?rf(n)!==n:!1):!0)}var af,Gs,Ks,qs=p(()=>{Vs();Vs();af=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}=nf(h,i,f),x=i,O={},C=0;for(let E=0;E<c.length;E++){let{name:P,fn:$}=c[E],{x:T,y:U,data:X,reset:re}=await $({x:b,y,initialPlacement:i,placement:x,strategy:n,middlewareData:O,rects:h,platform:s,elements:{reference:t,floating:e}});b=T??b,y=U??y,O={...O,[P]:{...O[P],...X}},re&&C<=50&&(C++,typeof re=="object"&&(re.placement&&(x=re.placement),re.rects&&(h=re.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):re.rects),{x:b,y}=nf(h,x,f)),E=-1)}return{x:b,y,placement:x,strategy:n,middlewareData:O}};Gs=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:x=Ms,autoAlignment:O=!0,...C}=Mn(t,e),E=y!==void 0||x===Ms?Xx(y||null,O,x):x,P=await js(e,C),$=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[$];if(T==null)return{};let U=tf(T,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==T)return{reset:{placement:E[0]}};let X=[P[di(T)],P[U[0]],P[U[1]]],re=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:X}],mt=E[$+1];if(mt)return{data:{index:$+1,overflows:re},reset:{placement:mt}};let ur=re.map(Ke=>{let g=Jr(Ke.placement);return[Ke.placement,g&&b?Ke.overflows.slice(0,2).reduce((S,D)=>S+D,0):Ke.overflows[0],Ke.overflows]}).sort((Ke,g)=>Ke[1]-g[1]),fr=((n=ur.filter(Ke=>Ke[2].slice(0,Jr(Ke[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||ur[0][0];return fr!==c?{data:{index:$+1,overflows:re},reset:{placement:fr}}:{}}}},Ks=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:P=>{let{x:$,y:T}=P;return{x:$,y:T}}},...f}=Mn(t,e),h={x:r,y:i},b=await js(e,f),y=zn(di(n)),x=Us(y),O=h[x],C=h[y];if(a){let P=x==="y"?"top":"left",$=x==="y"?"bottom":"right",T=O+b[P],U=O-b[$];O=zs(T,O,U)}if(s){let P=y==="y"?"top":"left",$=y==="y"?"bottom":"right",T=C+b[P],U=C-b[$];C=zs(T,C,U)}let E=c.fn({...e,[x]:O,[y]:C});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[x]:a,[y]:s}}}}}}});var Zs,pi,Zi,Fr,sf=p(()=>{Zs=Math.min,pi=Math.max,Zi=Math.round,Fr=t=>({x:t,y:t})});function Mr(t){return cf(t)?(t.nodeName||"").toLowerCase():"#document"}function xt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function zr(t){var e;return(e=(cf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function cf(t){return t instanceof Node||t instanceof xt(t).Node}function br(t){return t instanceof Element||t instanceof xt(t).Element}function Jt(t){return t instanceof HTMLElement||t instanceof xt(t).HTMLElement}function lf(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof xt(t).ShadowRoot}function ui(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Lt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function df(t){return["table","td","th"].includes(Mr(t))}function Hn(t){let e=Wn(),r=Lt(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 pf(t){let e=_o(t);for(;Jt(e)&&!Qi(e);){if(Hn(e))return e;e=_o(e)}return null}function Wn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qi(t){return["html","body","#document"].includes(Mr(t))}function Lt(t){return xt(t).getComputedStyle(t)}function Yi(t){return br(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _o(t){if(Mr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||lf(t)&&t.host||zr(t);return lf(e)?e.host:e}function uf(t){let e=_o(t);return Qi(e)?t.ownerDocument?t.ownerDocument.body:t.body:Jt(e)&&ui(e)?e:uf(e)}function Un(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=uf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=xt(n);return a?e.concat(s,s.visualViewport||[],ui(n)?n:[],s.frameElement&&r?Un(s.frameElement):[]):e.concat(n,Un(n,[],r))}var ff=p(()=>{});function gf(t){let e=Lt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Jt(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,c=Zi(r)!==a||Zi(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function yf(t){return br(t)?t:t.contextElement}function fi(t){let e=yf(t);if(!Jt(e))return Fr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=gf(e),s=(a?Zi(r.width):r.width)/i,c=(a?Zi(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function bf(t){let e=xt(t);return!Wn()||!e.visualViewport?tv:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rv(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==xt(t)?!1:e}function Xi(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=yf(t),s=Fr(1);e&&(i?br(i)&&(s=fi(i)):s=fi(t));let c=rv(a,r,i)?bf(a):Fr(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 x=xt(a),O=i&&br(i)?xt(i):i,C=x.frameElement;for(;C&&i&&O!==x;){let E=fi(C),P=C.getBoundingClientRect(),$=Lt(C),T=P.left+(C.clientLeft+parseFloat($.paddingLeft))*E.x,U=P.top+(C.clientTop+parseFloat($.paddingTop))*E.y;f*=E.x,h*=E.y,b*=E.x,y*=E.y,f+=T,h+=U,C=xt(C).frameElement}}return Po({width:b,height:y,x:f,y:h})}function ov(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Jt(r),a=zr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=Fr(1),f=Fr(0);if((n||!n&&i!=="fixed")&&((Mr(r)!=="body"||ui(a))&&(s=Yi(r)),Jt(r))){let h=Xi(r);c=fi(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 iv(t){return Array.from(t.getClientRects())}function xf(t){return Xi(zr(t)).left+Yi(t).scrollLeft}function nv(t){let e=zr(t),r=Yi(t),i=t.ownerDocument.body,n=pi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=pi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+xf(t),c=-r.scrollTop;return Lt(i).direction==="rtl"&&(s+=pi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function av(t,e){let r=xt(t),i=zr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,f=0;if(n){a=n.width,s=n.height;let h=Wn();(!h||h&&e==="fixed")&&(c=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:c,y:f}}function sv(t,e){let r=Xi(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=Jt(t)?fi(t):Fr(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 hf(t,e,r){let i;if(e==="viewport")i=av(t,r);else if(e==="document")i=nv(zr(t));else if(br(e))i=sv(e,r);else{let n=bf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Po(i)}function vf(t,e){let r=_o(t);return r===e||!br(r)||Qi(r)?!1:Lt(r).position==="fixed"||vf(r,e)}function lv(t,e){let r=e.get(t);if(r)return r;let i=Un(t,[],!1).filter(c=>br(c)&&Mr(c)!=="body"),n=null,a=Lt(t).position==="fixed",s=a?_o(t):t;for(;br(s)&&!Qi(s);){let c=Lt(s),f=Hn(s);!f&&c.position==="fixed"&&(n=null),(a?!f&&!n:!f&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ui(s)&&!f&&vf(t,s))?i=i.filter(b=>b!==s):n=c,s=_o(s)}return e.set(t,i),i}function cv(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?lv(e,this._c):[].concat(r),i],c=s[0],f=s.reduce((h,b)=>{let y=hf(e,b,n);return h.top=pi(y.top,h.top),h.right=Zs(y.right,h.right),h.bottom=Zs(y.bottom,h.bottom),h.left=pi(y.left,h.left),h},hf(e,c,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function dv(t){return gf(t)}function pv(t,e,r){let i=Jt(e),n=zr(e),a=r==="fixed",s=Xi(t,!0,a,e),c={scrollLeft:0,scrollTop:0},f=Fr(0);if(i||!i&&!a)if((Mr(e)!=="body"||ui(n))&&(c=Yi(e)),i){let h=Xi(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=xf(n));return{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function mf(t,e){return!Jt(t)||Lt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Sf(t,e){let r=xt(t);if(!Jt(t))return r;let i=mf(t,e);for(;i&&df(i)&&Lt(i).position==="static";)i=mf(i,e);return i&&(Mr(i)==="html"||Mr(i)==="body"&&Lt(i).position==="static"&&!Hn(i))?r:i||pf(t)||r}function fv(t){return Lt(t).direction==="rtl"}var tv,uv,Vn,Cf,Of=p(()=>{qs();qs();sf();ff();tv=Fr(0);uv=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Sf,a=this.getDimensions;return{reference:pv(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};Vn={convertOffsetParentRelativeRectToViewportRelativeRect:ov,getDocumentElement:zr,getClippingRect:cv,getOffsetParent:Sf,getElementRects:uv,getClientRects:iv,getDimensions:dv,getScale:fi,isElement:br,isRTL:fv},Cf=(t,e,r)=>{let i=new Map,n={platform:Vn,...r},a={...n.platform,_c:i};return af(t,e,{...n,platform:a})}});function wf(t){return hv(t)}function Qs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function hv(t){for(let e=t;e;e=Qs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Qs(t);e;e=Qs(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 Ef=p(()=>{});async function Rf(t,e,r){return Cf(t,e,{platform:{...Vn,getOffsetParent:i=>Vn.getOffsetParent(i,wf)},middleware:[Ks({crossAxis:!0}),Gs({allowedPlacements:[r]})]})}var Af=p(()=>{"use strict";Of();Ef()});var If,ze,Ji,vt,Ce,Ys=p(()=>{"use strict";If=u(A()),ze=u(H()),Ji=u(v());Pe();Fn();Af();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},Ce=class extends Ji.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 Ji.Debouncer,this.revealDebouncer=new Ji.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return If.html`
522
+ `});function Hs(t,e,r){return ef(t,Ju(e,r))}function Mn(t,e){return typeof t=="function"?t(e):t}function di(t){return t.split("-")[0]}function Jr(t){return t.split("-")[1]}function Ws(t){return t==="x"?"y":"x"}function Vs(t){return t==="y"?"height":"width"}function zn(t){return["top","bottom"].includes(di(t))?"y":"x"}function js(t){return Ws(zn(t))}function tf(t,e,r){r===void 0&&(r=!1);let i=Jr(t),n=js(t),a=Vs(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=zs(s)),[s,zs(s)]}function rf(t){return t.replace(/start|end/g,e=>Yx[e])}function zs(t){return t.replace(/left|right|bottom|top/g,e=>Qx[e])}function Xx(t){return{top:0,right:0,bottom:0,left:0,...t}}function of(t){return typeof t!="number"?Xx(t):{top:t,right:t,bottom:t,left:t}}function Po(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 Xu,Yu,Us,Ju,ef,Qx,Yx,Gs=p(()=>{Xu=["top","right","bottom","left"],Yu=["start","end"],Us=Xu.reduce((t,e)=>t.concat(e,e+"-"+Yu[0],e+"-"+Yu[1]),[]),Ju=Math.min,ef=Math.max,Qx={left:"right",right:"left",bottom:"top",top:"bottom"},Yx={start:"end",end:"start"}});function nf(t,e,r){let{reference:i,floating:n}=t,a=zn(e),s=js(e),c=Vs(s),f=di(e),h=a==="y",b=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,x=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(Jr(e)){case"start":O[s]-=x*(r&&h?-1:1);break;case"end":O[s]+=x*(r&&h?-1:1);break}return O}async function Ks(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:x=!1,padding:O=0}=Mn(e,t),C=of(O),P=c[x?y==="floating"?"reference":"floating":y],$=Po(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:b,strategy:f})),T=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=Po(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:H,strategy:f}):T);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 Jx(t,e,r){return(t?[...r.filter(n=>Jr(n)===t),...r.filter(n=>Jr(n)!==t)]:r.filter(n=>di(n)===n)).filter(n=>t?Jr(n)===t||(e?rf(n)!==n:!1):!0)}var af,qs,Zs,Qs=p(()=>{Gs();Gs();af=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}=nf(h,i,f),x=i,O={},C=0;for(let E=0;E<c.length;E++){let{name:P,fn:$}=c[E],{x:T,y:H,data:J,reset:re}=await $({x:b,y,initialPlacement:i,placement:x,strategy:n,middlewareData:O,rects:h,platform:s,elements:{reference:t,floating:e}});b=T??b,y=H??y,O={...O,[P]:{...O[P],...J}},re&&C<=50&&(C++,typeof re=="object"&&(re.placement&&(x=re.placement),re.rects&&(h=re.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):re.rects),{x:b,y}=nf(h,x,f)),E=-1)}return{x:b,y,placement:x,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:x=Us,autoAlignment:O=!0,...C}=Mn(t,e),E=y!==void 0||x===Us?Jx(y||null,O,x):x,P=await Ks(e,C),$=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[$];if(T==null)return{};let H=tf(T,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==T)return{reset:{placement:E[0]}};let J=[P[di(T)],P[H[0]],P[H[1]]],re=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:J}],mt=E[$+1];if(mt)return{data:{index:$+1,overflows:re},reset:{placement:mt}};let ur=re.map(Ke=>{let g=Jr(Ke.placement);return[Ke.placement,g&&b?Ke.overflows.slice(0,2).reduce((S,D)=>S+D,0):Ke.overflows[0],Ke.overflows]}).sort((Ke,g)=>Ke[1]-g[1]),fr=((n=ur.filter(Ke=>Ke[2].slice(0,Jr(Ke[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||ur[0][0];return fr!==c?{data:{index:$+1,overflows:re},reset:{placement:fr}}:{}}}},Zs=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:P=>{let{x:$,y:T}=P;return{x:$,y:T}}},...f}=Mn(t,e),h={x:r,y:i},b=await Ks(e,f),y=zn(di(n)),x=Ws(y),O=h[x],C=h[y];if(a){let P=x==="y"?"top":"left",$=x==="y"?"bottom":"right",T=O+b[P],H=O-b[$];O=Hs(T,O,H)}if(s){let P=y==="y"?"top":"left",$=y==="y"?"bottom":"right",T=C+b[P],H=C-b[$];C=Hs(T,C,H)}let E=c.fn({...e,[x]:O,[y]:C});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[x]:a,[y]:s}}}}}}});var Ys,pi,Zi,Fr,sf=p(()=>{Ys=Math.min,pi=Math.max,Zi=Math.round,Fr=t=>({x:t,y:t})});function Mr(t){return cf(t)?(t.nodeName||"").toLowerCase():"#document"}function xt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function zr(t){var e;return(e=(cf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function cf(t){return t instanceof Node||t instanceof xt(t).Node}function br(t){return t instanceof Element||t instanceof xt(t).Element}function Jt(t){return t instanceof HTMLElement||t instanceof xt(t).HTMLElement}function lf(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof xt(t).ShadowRoot}function ui(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=It(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function df(t){return["table","td","th"].includes(Mr(t))}function Hn(t){let e=Wn(),r=It(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 pf(t){let e=_o(t);for(;Jt(e)&&!Qi(e);){if(Hn(e))return e;e=_o(e)}return null}function Wn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qi(t){return["html","body","#document"].includes(Mr(t))}function It(t){return xt(t).getComputedStyle(t)}function Yi(t){return br(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _o(t){if(Mr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||lf(t)&&t.host||zr(t);return lf(e)?e.host:e}function uf(t){let e=_o(t);return Qi(e)?t.ownerDocument?t.ownerDocument.body:t.body:Jt(e)&&ui(e)?e:uf(e)}function Un(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=uf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=xt(n);return a?e.concat(s,s.visualViewport||[],ui(n)?n:[],s.frameElement&&r?Un(s.frameElement):[]):e.concat(n,Un(n,[],r))}var ff=p(()=>{});function gf(t){let e=It(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Jt(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,c=Zi(r)!==a||Zi(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function yf(t){return br(t)?t:t.contextElement}function fi(t){let e=yf(t);if(!Jt(e))return Fr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=gf(e),s=(a?Zi(r.width):r.width)/i,c=(a?Zi(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function bf(t){let e=xt(t);return!Wn()||!e.visualViewport?rv:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ov(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==xt(t)?!1:e}function Xi(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=yf(t),s=Fr(1);e&&(i?br(i)&&(s=fi(i)):s=fi(t));let c=ov(a,r,i)?bf(a):Fr(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 x=xt(a),O=i&&br(i)?xt(i):i,C=x.frameElement;for(;C&&i&&O!==x;){let E=fi(C),P=C.getBoundingClientRect(),$=It(C),T=P.left+(C.clientLeft+parseFloat($.paddingLeft))*E.x,H=P.top+(C.clientTop+parseFloat($.paddingTop))*E.y;f*=E.x,h*=E.y,b*=E.x,y*=E.y,f+=T,h+=H,C=xt(C).frameElement}}return Po({width:b,height:y,x:f,y:h})}function iv(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Jt(r),a=zr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=Fr(1),f=Fr(0);if((n||!n&&i!=="fixed")&&((Mr(r)!=="body"||ui(a))&&(s=Yi(r)),Jt(r))){let h=Xi(r);c=fi(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 nv(t){return Array.from(t.getClientRects())}function xf(t){return Xi(zr(t)).left+Yi(t).scrollLeft}function av(t){let e=zr(t),r=Yi(t),i=t.ownerDocument.body,n=pi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=pi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+xf(t),c=-r.scrollTop;return It(i).direction==="rtl"&&(s+=pi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function sv(t,e){let r=xt(t),i=zr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,f=0;if(n){a=n.width,s=n.height;let h=Wn();(!h||h&&e==="fixed")&&(c=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:c,y:f}}function lv(t,e){let r=Xi(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=Jt(t)?fi(t):Fr(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 hf(t,e,r){let i;if(e==="viewport")i=sv(t,r);else if(e==="document")i=av(zr(t));else if(br(e))i=lv(e,r);else{let n=bf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Po(i)}function vf(t,e){let r=_o(t);return r===e||!br(r)||Qi(r)?!1:It(r).position==="fixed"||vf(r,e)}function cv(t,e){let r=e.get(t);if(r)return r;let i=Un(t,[],!1).filter(c=>br(c)&&Mr(c)!=="body"),n=null,a=It(t).position==="fixed",s=a?_o(t):t;for(;br(s)&&!Qi(s);){let c=It(s),f=Hn(s);!f&&c.position==="fixed"&&(n=null),(a?!f&&!n:!f&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ui(s)&&!f&&vf(t,s))?i=i.filter(b=>b!==s):n=c,s=_o(s)}return e.set(t,i),i}function dv(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?cv(e,this._c):[].concat(r),i],c=s[0],f=s.reduce((h,b)=>{let y=hf(e,b,n);return h.top=pi(y.top,h.top),h.right=Ys(y.right,h.right),h.bottom=Ys(y.bottom,h.bottom),h.left=pi(y.left,h.left),h},hf(e,c,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function pv(t){return gf(t)}function uv(t,e,r){let i=Jt(e),n=zr(e),a=r==="fixed",s=Xi(t,!0,a,e),c={scrollLeft:0,scrollTop:0},f=Fr(0);if(i||!i&&!a)if((Mr(e)!=="body"||ui(n))&&(c=Yi(e)),i){let h=Xi(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=xf(n));return{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function mf(t,e){return!Jt(t)||It(t).position==="fixed"?null:e?e(t):t.offsetParent}function Sf(t,e){let r=xt(t);if(!Jt(t))return r;let i=mf(t,e);for(;i&&df(i)&&It(i).position==="static";)i=mf(i,e);return i&&(Mr(i)==="html"||Mr(i)==="body"&&It(i).position==="static"&&!Hn(i))?r:i||pf(t)||r}function hv(t){return It(t).direction==="rtl"}var rv,fv,Vn,Cf,Of=p(()=>{Qs();Qs();sf();ff();rv=Fr(0);fv=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Sf,a=this.getDimensions;return{reference:uv(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};Vn={convertOffsetParentRelativeRectToViewportRelativeRect:iv,getDocumentElement:zr,getClippingRect:dv,getOffsetParent:Sf,getElementRects:fv,getClientRects:nv,getDimensions:pv,getScale:fi,isElement:br,isRTL:hv},Cf=(t,e,r)=>{let i=new Map,n={platform:Vn,...r},a={...n.platform,_c:i};return af(t,e,{...n,platform:a})}});function wf(t){return mv(t)}function Xs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function mv(t){for(let e=t;e;e=Xs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Xs(t);e;e=Xs(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 Ef=p(()=>{});async function Rf(t,e,r){return Cf(t,e,{platform:{...Vn,getOffsetParent:i=>Vn.getOffsetParent(i,wf)},middleware:[Zs({crossAxis:!0}),qs({allowedPlacements:[r]})]})}var Af=p(()=>{"use strict";Of();Ef()});var Lf,ze,Ji,vt,Ce,Js=p(()=>{"use strict";Lf=u(A()),ze=u(W()),Ji=u(v());Pe();Fn();Af();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},Ce=class extends Ji.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 Ji.Debouncer,this.revealDebouncer=new Ji.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="",Rf(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))}};Ce.elementDefinitions={"ft-typography":K};Ce.styles=Qu;vt([(0,ze.property)()],Ce.prototype,"text",void 0);vt([(0,ze.property)({type:Boolean})],Ce.prototype,"manual",void 0);vt([(0,ze.property)({type:Boolean})],Ce.prototype,"inline",void 0);vt([(0,ze.property)({type:Number})],Ce.prototype,"delay",void 0);vt([(0,ze.property)()],Ce.prototype,"position",void 0);vt([(0,ze.queryAssignedNodes)()],Ce.prototype,"slotNodes",void 0);vt([(0,ze.query)(".ft-tooltip--container")],Ce.prototype,"container",void 0);vt([(0,ze.query)(".ft-tooltip")],Ce.prototype,"tooltip",void 0);vt([(0,ze.query)(".ft-tooltip--content")],Ce.prototype,"tooltipContent",void 0);vt([(0,ze.state)()],Ce.prototype,"visible",void 0);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onTouch",null);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onHover",null);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onOut",null);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onClick",null)});var Lf=p(()=>{"use strict"});var kf,jn=p(()=>{"use strict";kf=u(v());Ys();Ys();Fn();Lf();(0,kf.customElement)("ft-tooltip")(Ce)});var Gn=Eo((iR,$f)=>{$f.exports=ftGlobals.litUnsafeHTML});function Kn(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=mv.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Xs.get(c))!==null&&i!==void 0?i:Xs.get(e))!==null&&n!==void 0?n:Xs.get(s))!==null&&a!==void 0?a:I.UNKNOWN}var St,I,Xs,mv,nR,Js=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;"})(St||(St={}));(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;"})(I||(I={}));Xs=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]),mv=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"]]);nR={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"}});var Ve,el=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ve||(Ve={}))});var en,eo,Tf,Pf,tn,fe,tl=p(()=>{"use strict";en=u(A()),eo=u(H()),Tf=u(v()),Pf=u(Gn());Js();Io();el();tn=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 Tf.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=en.nothing}render(){let e=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,r=e!==Ve.material||!!this.value;return en.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="",Rf(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))}};Ce.elementDefinitions={"ft-typography":q};Ce.styles=Qu;vt([(0,ze.property)()],Ce.prototype,"text",void 0);vt([(0,ze.property)({type:Boolean})],Ce.prototype,"manual",void 0);vt([(0,ze.property)({type:Boolean})],Ce.prototype,"inline",void 0);vt([(0,ze.property)({type:Number})],Ce.prototype,"delay",void 0);vt([(0,ze.property)()],Ce.prototype,"position",void 0);vt([(0,ze.queryAssignedNodes)()],Ce.prototype,"slotNodes",void 0);vt([(0,ze.query)(".ft-tooltip--container")],Ce.prototype,"container",void 0);vt([(0,ze.query)(".ft-tooltip")],Ce.prototype,"tooltip",void 0);vt([(0,ze.query)(".ft-tooltip--content")],Ce.prototype,"tooltipContent",void 0);vt([(0,ze.state)()],Ce.prototype,"visible",void 0);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onTouch",null);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onHover",null);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onOut",null);vt([(0,ze.eventOptions)({passive:!0})],Ce.prototype,"onClick",null)});var If=p(()=>{"use strict"});var kf,jn=p(()=>{"use strict";kf=u(v());Js();Js();Fn();If();(0,kf.customElement)("ft-tooltip")(Ce)});var Gn=Eo((nR,$f)=>{$f.exports=ftGlobals.litUnsafeHTML});function Kn(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=gv.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=el.get(c))!==null&&i!==void 0?i:el.get(e))!==null&&n!==void 0?n:el.get(s))!==null&&a!==void 0?a:L.UNKNOWN}var St,L,el,gv,aR,tl=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;"})(St||(St={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(L||(L={}));el=new Map([...["abw"].map(t=>[t,L.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,L.AUDIO]),...["avi"].map(t=>[t,L.AVI]),...["chm","xhs"].map(t=>[t,L.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,L.CODE]),...["csv"].map(t=>[t,L.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,L.DITA]),...["epub"].map(t=>[t,L.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,L.EXCEL]),...["flac"].map(t=>[t,L.FLAC]),...["gif"].map(t=>[t,L.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,L.GZIP]),...["html","htm","xhtml"].map(t=>[t,L.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,L.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,L.JPEG]),...["json"].map(t=>[t,L.JSON]),...["m4a","m4p"].map(t=>[t,L.M4A]),...["mov","qt"].map(t=>[t,L.MOV]),...["mp3"].map(t=>[t,L.MP3]),...["mp4","m4v"].map(t=>[t,L.MP4]),...["ogg","oga"].map(t=>[t,L.OGG]),...["pdf","ps"].map(t=>[t,L.PDF]),...["png"].map(t=>[t,L.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,L.POWERPOINT]),...["rar"].map(t=>[t,L.RAR]),...["stp"].map(t=>[t,L.STP]),...["txt","rtf","md","mdown"].map(t=>[t,L.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,L.VIDEO]),...["wav"].map(t=>[t,L.WAV]),...["wma"].map(t=>[t,L.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,L.WORD]),...["xml","xsl","rdf"].map(t=>[t,L.XML]),...["yaml","yml","x-yaml"].map(t=>[t,L.YAML]),...["zip"].map(t=>[t,L.ZIP])]),gv=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"]]);aR={[L.ABW]:"#91ABC6",[L.AUDIO]:"#1795E3",[L.AVI]:"#E63324",[L.CHM]:"#71C3EB",[L.CODE]:"#71C3EB",[L.CSV]:"#1F7345",[L.DITA]:"#71C3EB",[L.EPUB]:"#85B926",[L.EXCEL]:"#1F7345",[L.FLAC]:"#1795E3",[L.GIF]:"#59B031",[L.GZIP]:"#F8AB36",[L.HTML]:"#71C3EB",[L.IMAGE]:"#59B031",[L.JPEG]:"#59B031",[L.JSON]:"#71C3EB",[L.M4A]:"#1795E3",[L.MOV]:"#E63324",[L.MP3]:"#1795E3",[L.MP4]:"#E63324",[L.OGG]:"#1795E3",[L.PDF]:"#E44948",[L.PNG]:"#59B031",[L.POWERPOINT]:"#B54A2B",[L.RAR]:"#F8AB36",[L.STP]:"#3764B1",[L.TEXT]:"#3162AB",[L.UNKNOWN]:"#999999",[L.VIDEO]:"#E63324",[L.WAV]:"#1795E3",[L.WMA]:"#1795E3",[L.WORD]:"#3162AB",[L.XML]:"#71C3EB",[L.YAML]:"#71C3EB",[L.ZIP]:"#F8AB36"}});var Ve,rl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ve||(Ve={}))});var en,eo,Tf,Pf,tn,fe,ol=p(()=>{"use strict";en=u(A()),eo=u(W()),Tf=u(v()),Pf=u(Gn());tl();Lo();rl();tn=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 Tf.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=en.nothing}render(){let e=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,r=e!==Ve.material||!!this.value;return en.html`
541
541
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
542
542
  ${(0,Pf.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 Ve.file_format:this.resolvedIcon=(e=I[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ve.material:this.resolvedIcon=this.value||en.nothing;break;default:this.resolvedIcon=(r=St[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=xu;tn([(0,eo.property)()],fe.prototype,"variant",void 0);tn([(0,eo.property)()],fe.prototype,"value",void 0);tn([(0,eo.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);tn([(0,eo.state)()],fe.prototype,"resolvedIcon",void 0);tn([(0,eo.query)("slot")],fe.prototype,"slottedContent",void 0)});var _f,Ht=p(()=>{"use strict";_f=u(v());tl();Io();el();tl();Js();(0,_f.customElement)("ft-icon")(fe)});var Nf,Bf,No,rl=p(()=>{"use strict";Nf=u(A()),Bf=u(v());Wi();No=class extends Bf.FtLitElement{render(){return Nf.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 Ve.file_format:this.resolvedIcon=(e=L[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ve.material:this.resolvedIcon=this.value||en.nothing;break;default:this.resolvedIcon=(r=St[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=xu;tn([(0,eo.property)()],fe.prototype,"variant",void 0);tn([(0,eo.property)()],fe.prototype,"value",void 0);tn([(0,eo.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);tn([(0,eo.state)()],fe.prototype,"resolvedIcon",void 0);tn([(0,eo.query)("slot")],fe.prototype,"slottedContent",void 0)});var _f,Ut=p(()=>{"use strict";_f=u(v());ol();Lo();rl();ol();tl();(0,_f.customElement)("ft-icon")(fe)});var Nf,Bf,No,il=p(()=>{"use strict";Nf=u(A()),Bf=u(v());Wi();No=class extends Bf.FtLitElement{render(){return Nf.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
- `}};No.styles=yu});var Df=p(()=>{"use strict"});var Ff,Mf=p(()=>{"use strict";Ff=u(v());rl();Wi();Df();rl();(0,Ff.customElement)("ft-loader")(No)});var ro,to,ol,Ue,Qe,Oe,il=p(()=>{"use strict";ro=u(v());bt();jn();Pe();Ht();Mf();to=u(A()),ol=u(gt()),Ue=u(H()),Qe=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(0,ro.toFtFormComponent)(ro.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.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=to.html`
552
+ `}};No.styles=yu});var Df=p(()=>{"use strict"});var Ff,Mf=p(()=>{"use strict";Ff=u(v());il();Wi();Df();il();(0,Ff.customElement)("ft-loader")(No)});var ro,to,nl,Ue,Qe,Oe,al=p(()=>{"use strict";ro=u(v());bt();jn();Pe();Ut();Mf();to=u(A()),nl=u(gt()),Ue=u(W()),Qe=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(0,ro.toFtFormComponent)(ro.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.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=to.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,ol.classMap)(this.buttonClasses)}"
569
+ class="${(0,nl.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
  `:to.html`
575
575
  <button part="button"
576
- class="${(0,ol.classMap)(this.buttonClasses)}"
576
+ class="${(0,nl.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
  `:to.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,ro.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Oe.elementDefinitions={"ft-ripple":V,"ft-tooltip":Ce,"ft-typography":K,"ft-icon":fe,"ft-loader":No};Qe([(0,Ue.property)()],Oe.prototype,"href",void 0);Qe([(0,Ue.property)()],Oe.prototype,"target",void 0);Qe([(0,Ue.property)()],Oe.prototype,"type",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"disabled",void 0);Qe([(0,Ue.property)()],Oe.prototype,"label",void 0);Qe([(0,Ue.property)()],Oe.prototype,"icon",void 0);Qe([(0,Ue.property)()],Oe.prototype,"iconVariant",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"trailingIcon",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"loading",void 0);Qe([(0,Ue.property)({attribute:"aria-label"})],Oe.prototype,"ariaLabel",void 0);Qe([(0,Ue.property)()],Oe.prototype,"tooltipPosition",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"hideTooltip",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"forceTooltip",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"activated",void 0);Qe([(0,Ue.query)(".ft-button")],Oe.prototype,"button",void 0);Qe([(0,Ue.query)(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0);Qe([(0,Ue.query)("[part=tooltip]")],Oe.prototype,"tooltip",void 0)});var rn,zf,qn,Ie,nl=p(()=>{"use strict";rn=u(H()),zf=u(v());Lo();il();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 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 Oe{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=[zf.safariEllipsisFix,Ou];qn([(0,rn.property)({type:Boolean})],Ie.prototype,"primary",void 0);qn([(0,rn.property)({type:Boolean})],Ie.prototype,"outlined",void 0);qn([(0,rn.property)({type:Boolean})],Ie.prototype,"dense",void 0);qn([(0,rn.property)({type:Boolean})],Ie.prototype,"round",void 0)});var Uf,R,Hf,al=p(()=>{"use strict";Uf=u(A()),R=u(v());Pr();Wi();Io();ie();ie();Hf=[Uf.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,ro.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Oe.elementDefinitions={"ft-ripple":j,"ft-tooltip":Ce,"ft-typography":q,"ft-icon":fe,"ft-loader":No};Qe([(0,Ue.property)()],Oe.prototype,"href",void 0);Qe([(0,Ue.property)()],Oe.prototype,"target",void 0);Qe([(0,Ue.property)()],Oe.prototype,"type",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"disabled",void 0);Qe([(0,Ue.property)()],Oe.prototype,"label",void 0);Qe([(0,Ue.property)()],Oe.prototype,"icon",void 0);Qe([(0,Ue.property)()],Oe.prototype,"iconVariant",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"trailingIcon",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"loading",void 0);Qe([(0,Ue.property)({attribute:"aria-label"})],Oe.prototype,"ariaLabel",void 0);Qe([(0,Ue.property)()],Oe.prototype,"tooltipPosition",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"hideTooltip",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"forceTooltip",void 0);Qe([(0,Ue.property)({type:Boolean})],Oe.prototype,"activated",void 0);Qe([(0,Ue.query)(".ft-button")],Oe.prototype,"button",void 0);Qe([(0,Ue.query)(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0);Qe([(0,Ue.query)("[part=tooltip]")],Oe.prototype,"tooltip",void 0)});var rn,zf,qn,Ie,sl=p(()=>{"use strict";rn=u(W()),zf=u(v());Io();al();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 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 Oe{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=[zf.safariEllipsisFix,Ou];qn([(0,rn.property)({type:Boolean})],Ie.prototype,"primary",void 0);qn([(0,rn.property)({type:Boolean})],Ie.prototype,"outlined",void 0);qn([(0,rn.property)({type:Boolean})],Ie.prototype,"dense",void 0);qn([(0,rn.property)({type:Boolean})],Ie.prototype,"round",void 0)});var Uf,R,Hf,ll=p(()=>{"use strict";Uf=u(A()),R=u(v());Pr();Wi();Lo();ie();ie();Hf=[Uf.css`
593
593
  :host {
594
594
  display: inline-block;
595
595
  max-width: 100%;
@@ -992,7 +992,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
992
992
  /** Large styles **/
993
993
 
994
994
  .ftds--size-large {
995
- ${(0,R.setVariable)(ke.size,m.largeIconSize)};
995
+ ${(0,R.setVariable)(Le.size,m.largeIconSize)};
996
996
  ${(0,R.setVariable)(Se.size,m.largeIconSize)};
997
997
 
998
998
  height: ${m.largeHeight};
@@ -1014,7 +1014,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1014
1014
  /** Small styles **/
1015
1015
 
1016
1016
  .ftds--size-medium {
1017
- ${(0,R.setVariable)(ke.size,m.mediumIconSize)};
1017
+ ${(0,R.setVariable)(Le.size,m.mediumIconSize)};
1018
1018
  ${(0,R.setVariable)(Se.size,m.mediumIconSize)};
1019
1019
 
1020
1020
  height: ${m.mediumHeight};
@@ -1037,7 +1037,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1037
1037
  /** Small styles **/
1038
1038
 
1039
1039
  .ftds--size-small {
1040
- ${(0,R.setVariable)(ke.size,m.smallIconSize)};
1040
+ ${(0,R.setVariable)(Le.size,m.smallIconSize)};
1041
1041
  ${(0,R.setVariable)(Se.size,m.smallIconSize)};
1042
1042
 
1043
1043
  height: ${m.smallHeight};
@@ -1055,11 +1055,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1055
1055
  .ftds--size-small.ft-button--icon-only {
1056
1056
  width: ${m.smallIconOnlyWidth};
1057
1057
  }
1058
- `,R.noTextSelect]});var on,Qn,Zn,er,sl=p(()=>{"use strict";il();on=u(H());Dn();Qn=u(v());al();ie();Ht();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 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},er=class extends(0,Qn.toFtdsBase)(Oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Tn.brand,this.iconVariant=Ve.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 dt.large:return Ut.body2medium;case dt.medium:return Ut.caption1medium;case dt.small:return Ut.caption2medium}}};er.styles=[Qn.safariEllipsisFix,Hf];Zn([(0,on.property)({type:Boolean})],er.prototype,"primary",void 0);Zn([(0,on.property)({type:Boolean})],er.prototype,"secondary",void 0);Zn([(0,on.property)({type:Boolean})],er.prototype,"tertiary",void 0);Zn([(0,on.property)({type:Boolean})],er.prototype,"round",void 0)});var Wf=p(()=>{"use strict"});var Vf=p(()=>{"use strict"});var ll,tr=p(()=>{"use strict";ll=u(v());nl();sl();nl();Lo();Wf();sl();al();Vf();(0,ll.customElement)("ft-button")(Ie);(0,ll.customElement)("ftds-button")(er)});var jf,pe,he,cl,nn=p(()=>{"use strict";jf=u(A()),pe=u(v());tr();jn();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)},cl=jf.css`
1058
+ `,R.noTextSelect]});var on,Qn,Zn,er,cl=p(()=>{"use strict";al();on=u(W());Dn();Qn=u(v());ll();ie();Ut();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 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},er=class extends(0,Qn.toFtdsBase)(Oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Tn.brand,this.iconVariant=Ve.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 dt.large:return Xt.body2medium;case dt.medium:return Xt.caption1medium;case dt.small:return Xt.caption2medium}}};er.styles=[Qn.safariEllipsisFix,Hf];Zn([(0,on.property)({type:Boolean})],er.prototype,"primary",void 0);Zn([(0,on.property)({type:Boolean})],er.prototype,"secondary",void 0);Zn([(0,on.property)({type:Boolean})],er.prototype,"tertiary",void 0);Zn([(0,on.property)({type:Boolean})],er.prototype,"round",void 0)});var Wf=p(()=>{"use strict"});var Vf=p(()=>{"use strict"});var dl,tr=p(()=>{"use strict";dl=u(v());sl();cl();sl();Io();Wf();cl();ll();Vf();(0,dl.customElement)("ft-button")(Ie);(0,dl.customElement)("ftds-button")(er)});var jf,pe,he,pl,nn=p(()=>{"use strict";jf=u(A()),pe=u(v());tr();jn();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)},pl=jf.css`
1059
1059
  * {
1060
1060
  box-sizing: border-box;
1061
- ${(0,pe.setVariable)(W.color,he.buttonColor)};
1062
- ${(0,pe.setVariable)(W.rippleColor,he.buttonRippleColor)};
1061
+ ${(0,pe.setVariable)(V.color,he.buttonColor)};
1062
+ ${(0,pe.setVariable)(V.rippleColor,he.buttonRippleColor)};
1063
1063
  }
1064
1064
 
1065
1065
  .ft-search-input {
@@ -1119,7 +1119,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1119
1119
  .ft-search-input > ft-button,
1120
1120
  .ft-search-input--actions ft-button {
1121
1121
  flex-shrink: 0;
1122
- ${(0,pe.setVariable)(W.backgroundColor,"transparent")};
1122
+ ${(0,pe.setVariable)(V.backgroundColor,"transparent")};
1123
1123
  }
1124
1124
 
1125
1125
  .ft-search-input .ft-search-input--launch-search,
@@ -1131,12 +1131,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1131
1131
  height: 20px;
1132
1132
  border-right: 1px solid ${he.colorOutline};
1133
1133
  }
1134
- `});var Gf,Kf,Yn,dl,Xn=p(()=>{"use strict";Gf=u(A()),Kf=u(v()),Yn={highlightBackgroundColor:Kf.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},dl=Gf.css`
1134
+ `});var Gf,Kf,Yn,ul,Xn=p(()=>{"use strict";Gf=u(A()),Kf=u(v()),Yn={highlightBackgroundColor:Kf.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},ul=Gf.css`
1135
1135
  .kwicmatch {
1136
1136
  font-weight: 700;
1137
1137
  background-color: ${Yn.highlightBackgroundColor};
1138
1138
  }
1139
- `});var qf,Zf,Jn,pl,ea=p(()=>{"use strict";qf=u(A()),Zf=u(v()),Jn={highlightBackgroundColor:Zf.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},pl=qf.css`
1139
+ `});var qf,Zf,Jn,fl,ea=p(()=>{"use strict";qf=u(A()),Zf=u(v()),Jn={highlightBackgroundColor:Zf.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},fl=qf.css`
1140
1140
  .kwicmatch {
1141
1141
  font-weight: 700;
1142
1142
  background-color: ${Jn.highlightBackgroundColor};
@@ -1150,20 +1150,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1150
1150
  a:focus {
1151
1151
  outline: revert;
1152
1152
  }
1153
- `});var Xf,Jf,fl=p(()=>{"use strict";Xf=u(A()),Jf=Xf.css`
1154
- `});var eh,th,hl=p(()=>{"use strict";eh=u(A()),th=eh.css`
1155
- `});var ta,gv,ml,yv,_,Wt=p(()=>{"use strict";ta=u(v()),gv="ft-app-info",ml=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},yv={session:(t,e)=>{(0,ta.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.dispatchEvent(new ml(e.payload)),0))}},_=ta.FtReduxStore.get({name:gv,reducers:yv,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],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}})});var Bo,ra=p(()=>{"use strict";Wt();Bo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=_.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=_.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var hi,gl=p(()=>{"use strict";ra();hi=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Bo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Bo.await()}}});var yl,xr,an=p(()=>{"use strict";yl=u(v());gl();xr=class extends hi{constructor(e=!0,r){var i;super(r);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new yl.CacheRegistry,this.cache=e?n.commonCache:new yl.CacheRegistry}clearCache(){this.cache.clearAll()}}});var vr,rh,bv,oa,mi,ia,bl=p(()=>{"use strict";Wt();vr=u(v());an();bv=Symbol("clearAfterUnitTest"),oa=class extends xr{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[rh]=()=>{this.defaultMessages={},this.cache=new vr.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.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,vr.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 vr.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))}catch(n){!(n instanceof vr.CanceledPromiseError)&&r&&console.error(n)}return r&&await this.notify(e),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,vr.delay)(0).then(()=>r()).catch(()=>null)))}};rh=bv;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends oa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends oa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});mi=window.FluidTopicsI18nService,ia=window.FluidTopicsCustomI18nService});var oh,Ct,rr,tt,$e,xl=p(()=>{"use strict";oh=u(A()),Ct=u(H()),rr=u(v());hl();Wt();bl();ra();tt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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 rr.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Bo.get(),this.messageContexts=[],this.cache=new rr.CacheRegistry,this.cleanSessionDebouncer=new rr.Debouncer}render(){return oh.html`
1153
+ `});var Xf,Jf,ml=p(()=>{"use strict";Xf=u(A()),Jf=Xf.css`
1154
+ `});var eh,th,gl=p(()=>{"use strict";eh=u(A()),th=eh.css`
1155
+ `});var ra,yv,ta,bv,_,Ht=p(()=>{"use strict";ra=u(v()),yv="ft-app-info",ta=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};ta.eventName="authentication-change";bv={session:(t,e)=>{(0,ra.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.dispatchEvent(new ta(e.payload)),0))}},_=ra.FtReduxStore.get({name:yv,reducers:bv,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],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}})});var Bo,oa=p(()=>{"use strict";Ht();Bo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=_.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=_.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var hi,yl=p(()=>{"use strict";oa();hi=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Bo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Bo.await()}}});var bl,xr,an=p(()=>{"use strict";bl=u(v());yl();xr=class extends hi{constructor(e=!0,r){var i;super(r);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new bl.CacheRegistry,this.cache=e?n.commonCache:new bl.CacheRegistry}clearCache(){this.cache.clearAll()}}});var vr,rh,xv,ia,mi,na,xl=p(()=>{"use strict";Ht();vr=u(v());an();xv=Symbol("clearAfterUnitTest"),ia=class extends xr{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[rh]=()=>{this.defaultMessages={},this.cache=new vr.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.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,vr.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 vr.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))}catch(n){!(n instanceof vr.CanceledPromiseError)&&r&&console.error(n)}return r&&await this.notify(e),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,vr.delay)(0).then(()=>r()).catch(()=>null)))}};rh=xv;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ia{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ia{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});mi=window.FluidTopicsI18nService,na=window.FluidTopicsCustomI18nService});var oh,Ct,rr,tt,$e,vl=p(()=>{"use strict";oh=u(A()),Ct=u(W()),rr=u(v());gl();Ht();xl();oa();tt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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 rr.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Bo.get(),this.messageContexts=[],this.cache=new rr.CacheRegistry,this.cleanSessionDebouncer=new rr.Debouncer}render(){return oh.html`
1156
1156
  <slot></slot>
1157
- `}update(e){var r,i,n,a,s;super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>mi.addContext(c)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(_.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),_.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),_.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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())}};$e.elementDefinitions={};$e.styles=th;tt([(0,Ct.property)()],$e.prototype,"baseUrl",void 0);tt([(0,Ct.property)()],$e.prototype,"apiIntegrationIdentifier",void 0);tt([(0,Ct.property)()],$e.prototype,"uiLocale",void 0);tt([(0,rr.jsonProperty)(null)],$e.prototype,"availableUiLocales",void 0);tt([(0,rr.jsonProperty)(null)],$e.prototype,"metadataConfiguration",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"editorMode",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"noCustom",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"openExternalDocumentInNewTab",void 0);tt([(0,Ct.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],$e.prototype,"noCustomComponent",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"withManualResources",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"navigatorOnline",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"forcedOffline",void 0);tt([(0,Ct.property)({type:Object})],$e.prototype,"apiProvider",void 0);tt([(0,rr.jsonProperty)([])],$e.prototype,"messageContexts",void 0);tt([(0,rr.jsonProperty)(void 0)],$e.prototype,"session",void 0);tt([(0,Ct.state)()],$e.prototype,"localesConfiguration",void 0)});function xv(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(!na(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(!na(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(!na(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function na(t,e){try{return xv(t,e)}catch{return!1}}function aa(t,e){return!na(t,e)}var sa=p(()=>{"use strict"});var vv,ih=p(()=>{"use strict";sa();vv=u(H(),1)});var la,vl=p(()=>{"use strict";la=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function ah(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,nh.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:aa,...e??{}})}var nh,sh=p(()=>{"use strict";nh=u(H(),1);sa()});var ca,lh=p(()=>{"use strict";ca=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 da,Sv,FA,ch,dh=p(()=>{da=globalThis,Sv=da.ShadowRoot&&(da.ShadyCSS===void 0||da.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,FA=Symbol(),ch=(t,e)=>{if(Sv)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=da.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var ph,pa,uh=p(()=>{"use strict";ph=u(A(),1);dh();pa=class extends ph.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 ch(i,e.elementStyles),i}}});function fh(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 hh=p(()=>{"use strict"});var gi,sn,bh,mh,gh,xh,yh,Ur,vh=p(()=>{"use strict";gi=u(H(),1);sh();lh();uh();hh();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},mh=Symbol("constructorPrototype"),gh=Symbol("constructorName"),xh=Symbol("exportpartsDebouncer"),yh=Symbol("dynamicDependenciesLoaded"),Ur=class extends pa{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[bh]=new ca(5),this[gh]=this.constructor.name,this[mh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gh]&&Object.setPrototypeOf(this,this[mh])}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[yh]||(e[yh]=!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=fh(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[xh].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=x=>x!=null&&x.trim().length>0,h=e.filter(f).map(x=>x.trim());if(h.length===0){this.removeAttribute("exportparts");return}let b=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(c=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...O,...C).filter(f).map(E=>E.trim()).forEach(E=>b.add(E))}if(b.size===0){this.removeAttribute("exportparts");return}let y=[...b.values()].flatMap(x=>h.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};bh=xh;sn([(0,gi.property)()],Ur.prototype,"exportpartsPrefix",void 0);sn([ah([])],Ur.prototype,"exportpartsPrefixes",void 0);sn([(0,gi.property)()],Ur.prototype,"customStylesheet",void 0);sn([(0,gi.property)()],Ur.prototype,"elementToFocus",void 0);sn([(0,gi.state)()],Ur.prototype,"useAdoptedStyleSheets",void 0)});function ln(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ua=p(()=>{"use strict"});var Sh,Ch,Oh,cn,oo,Do,dn,wh=p(()=>{"use strict";vh();ua();cn=Symbol("internalReduxEventsUnsubscribers"),oo=Symbol("internalStoresUnsubscribers"),Do=Symbol("internalStores"),dn=class extends Ur{constructor(){super(...arguments),this[Sh]=new Map,this[Ch]=new Map,this[Oh]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Do].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Do].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Do].get(e)}addStore(e,r){var i;r=(i=r??(ln(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[Do].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Do].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Do].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[oo].has(e.store):this[oo].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[oo].set(e,r.subscribe(()=>this.updateFromStores())),this[cn].set(e,[]),ln(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[cn].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[oo].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[oo].has(e)&&this[oo].get(e)(),this[oo].delete(e),(r=this[cn].get(e))===null||r===void 0||r.forEach(i=>i()),this[cn].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Sh=oo,Ch=Do,Oh=cn;dn.reduxProperties=new Map;dn.reduxReactiveProperties=new Set;dn.reduxEventListeners=new Map});function Vt(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 Hr(t){return!!t&&!!t[we]}function or(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)===Lv}(t)||Array.isArray(t)||!!t[$h]||!!(!((e=t.constructor)===null||e===void 0)&&e[$h])||Ll(t)||kl(t))}function Fo(t,e,r){r===void 0&&(r=!1),xi(t)===0?(r?Object.keys:bi)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function xi(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ll(t)?2:kl(t)?3:0}function yi(t,e){return xi(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Cv(t,e){return xi(t)===2?t.get(e):t[e]}function Th(t,e,r){var i=xi(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Ph(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ll(t){return Av&&t instanceof Map}function kl(t){return Iv&&t instanceof Set}function io(t){return t.o||t.t}function $l(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Bh(t);delete e[we];for(var r=bi(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 Tl(t,e){return e===void 0&&(e=!1),Pl(t)||Hr(t)||!or(t)||(xi(t)>1&&(t.set=t.add=t.clear=t.delete=Ov),Object.freeze(t),e&&Fo(t,function(r,i){return Tl(i,!0)},!0)),t}function Ov(){Vt(2)}function Pl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Sr(t){var e=Il[t];return e||Vt(18,t),e}function wv(t,e){Il[t]||(Il[t]=e)}function El(){return un}function Sl(t,e){e&&(Sr("Patches"),t.u=[],t.s=[],t.v=e)}function fa(t){Rl(t),t.p.forEach(Ev),t.p=null}function Rl(t){t===un&&(un=t.l)}function Eh(t){return un={p:[],l:un,h:t,m:!0,_:0}}function Ev(t){var e=t[we];e.i===0||e.i===1?e.j():e.g=!0}function Cl(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Sr("ES5").S(e,t,i),i?(r[we].P&&(fa(e),Vt(4)),or(t)&&(t=ha(e,t),e.l||ma(e,t)),e.u&&Sr("Patches").M(r[we].t,t,e.u,e.s)):t=ha(e,r,[]),fa(e),e.u&&e.v(e.u,e.s),t!==Nh?t:void 0}function ha(t,e,r){if(Pl(e))return e;var i=e[we];if(!i)return Fo(e,function(c,f){return Rh(t,i,e,c,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return ma(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=$l(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Fo(a,function(c,f){return Rh(t,i,n,c,f,r,s)}),ma(t,n,!1),r&&t.u&&Sr("Patches").N(i,r,t.u,t.s)}return i.o}function Rh(t,e,r,i,n,a,s){if(Hr(n)){var c=ha(t,n,a&&e&&e.i!==3&&!yi(e.R,i)?a.concat(i):void 0);if(Th(r,i,c),!Hr(c))return;t.m=!1}else s&&r.add(n);if(or(n)&&!Pl(n)){if(!t.h.D&&t._<1)return;ha(t,n),e&&e.A.l||ma(t,n)}}function ma(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Tl(e,r)}function Ol(t,e){var r=t[we];return(r?io(r):t)[e]}function Ah(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 no(t){t.P||(t.P=!0,t.l&&no(t.l))}function wl(t){t.o||(t.o=$l(t.t))}function Al(t,e,r){var i=Ll(e)?Sr("MapSet").F(e,r):kl(e)?Sr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:El(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=c,h=fn;s&&(f=[c],h=pn);var b=Proxy.revocable(f,h),y=b.revoke,x=b.proxy;return c.k=x,c.j=y,x}(e,r):Sr("ES5").J(e,r);return(r?r.A:El()).p.push(i),i}function Rv(t){return Hr(t)||Vt(22,t),function e(r){if(!or(r))return r;var i,n=r[we],a=xi(r);if(n){if(!n.P&&(n.i<4||!Sr("ES5").K(n)))return n.t;n.I=!0,i=Ih(r,a),n.I=!1}else i=Ih(r,a);return Fo(i,function(s,c){n&&Cv(n.t,s)===c||Th(i,s,e(c))}),a===3?new Set(i):i}(t)}function Ih(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $l(t)}function _h(){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[we];return fn.get(h,s)},set:function(h){var b=this[we];fn.set(b,s,h)}},f}function e(s){for(var c=s.length-1;c>=0;c--){var f=s[c][we];if(!f.P)switch(f.i){case 5:i(f)&&no(f);break;case 4:r(f)&&no(f)}}}function r(s){for(var c=s.t,f=s.k,h=bi(f),b=h.length-1;b>=0;b--){var y=h[b];if(y!==we){var x=c[y];if(x===void 0&&!yi(c,y))return!0;var O=f[y],C=O&&O[we];if(C?C.t!==x:!Ph(O,x))return!0}}var E=!!c[we];return h.length!==bi(c).length+(E?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&&Vt(3,JSON.stringify(io(s)))}var a={};wv("ES5",{J:function(s,c){var f=Array.isArray(s),h=function(y,x){if(y){for(var O=Array(x.length),C=0;C<x.length;C++)Object.defineProperty(O,""+C,t(C,!0));return O}var E=Bh(x);delete E[we];for(var P=bi(E),$=0;$<P.length;$++){var T=P[$];E[T]=t(T,y||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(x),E)}(f,s),b={i:f?5:4,A:c?c.A:El(),P:!1,I:!1,R:{},l:c,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,we,{value:b,writable:!0}),h},S:function(s,c,f){f?Hr(c)&&c[we].A===s&&e(s.p):(s.u&&function h(b){if(b&&typeof b=="object"){var y=b[we];if(y){var x=y.t,O=y.k,C=y.R,E=y.i;if(E===4)Fo(O,function(X){X!==we&&(x[X]!==void 0||yi(x,X)?C[X]||h(O[X]):(C[X]=!0,no(y)))}),Fo(x,function(X){O[X]!==void 0||yi(O,X)||(C[X]=!1,no(y))});else if(E===5){if(i(y)&&(no(y),C.length=!0),O.length<x.length)for(var P=O.length;P<x.length;P++)C[P]=!1;else for(var $=x.length;$<O.length;$++)C[$]=!0;for(var T=Math.min(O.length,x.length),U=0;U<T;U++)O.hasOwnProperty(U)||(C[U]=!0),C[U]===void 0&&h(O[U])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Lh,un,_l,Av,Iv,kh,Nh,$h,we,Lv,bi,Bh,Il,fn,pn,kv,kt,$v,XA,JA,eI,tI,rI,oI,ga,ya=p(()=>{_l=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Av=typeof Map<"u",Iv=typeof Set<"u",kh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Nh=_l?Symbol.for("immer-nothing"):((Lh={})["immer-nothing"]=!0,Lh),$h=_l?Symbol.for("immer-draftable"):"__$immer_draftable",we=_l?Symbol.for("immer-state"):"__$immer_state",Lv=""+Object.prototype.constructor,bi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bh=Object.getOwnPropertyDescriptors||function(t){var e={};return bi(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Il={},fn={get:function(t,e){if(e===we)return t;var r=io(t);if(!yi(r,e))return function(n,a,s){var c,f=Ah(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||!or(i)?i:i===Ol(t.t,e)?(wl(t),t.o[e]=Al(t.A.h,i,t)):i},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,r){var i=Ah(io(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Ol(io(t),e),a=n?.[we];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ph(r,n)&&(r!==void 0||yi(t.t,e)))return!0;wl(t),no(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 Ol(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,wl(t),no(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=io(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},pn={};Fo(fn,function(t,e){pn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),pn.deleteProperty=function(t,e){return pn.set.call(this,t,e,void 0)},pn.set=function(t,e,r){return fn.set.call(this,t[0],e,r,t[0])};kv=function(){function t(r){var i=this;this.O=kh,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(E){var P=this;E===void 0&&(E=c);for(var $=arguments.length,T=Array($>1?$-1:0),U=1;U<$;U++)T[U-1]=arguments[U];return f.produce(E,function(X){var re;return(re=a).call.apply(re,[P,X].concat(T))})}}var h;if(typeof a!="function"&&Vt(6),s!==void 0&&typeof s!="function"&&Vt(7),or(n)){var b=Eh(i),y=Al(i,n,void 0),x=!0;try{h=a(y),x=!1}finally{x?fa(b):Rl(b)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(E){return Sl(b,s),Cl(E,b)},function(E){throw fa(b),E}):(Sl(b,s),Cl(h,b))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Nh&&(h=void 0),i.D&&Tl(h,!0),s){var O=[],C=[];Sr("Patches").M(n,h,O,C),s(O,C)}return h}Vt(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),x=1;x<b;x++)y[x-1]=arguments[x];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){or(r)||Vt(8),Hr(r)&&(r=Rv(r));var i=Eh(this),n=Al(this,r,void 0);return n[we].C=!0,Rl(i),n},e.finishDraft=function(r,i){var n=r&&r[we],a=n.A;return Sl(a,i),Cl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!kh&&Vt(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=Sr("Patches").$;return Hr(r)?s(r,i):this.produce(r,function(c){return s(c,i)})},t}(),kt=new kv,$v=kt.produce,XA=kt.produceWithPatches.bind(kt),JA=kt.setAutoFreeze.bind(kt),eI=kt.setUseProxies.bind(kt),tI=kt.applyPatches.bind(kt),rI=kt.createDraft.bind(kt),oI=kt.finishDraft.bind(kt),ga=$v});function Mo(t){"@babel/helpers - typeof";return Mo=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},Mo(t)}var Nl=p(()=>{});function Dh(t,e){if(Mo(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Mo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Fh=p(()=>{Nl()});function Mh(t){var e=Dh(t,"string");return Mo(e)=="symbol"?e:e+""}var zh=p(()=>{Nl();Fh()});function Uh(t,e,r){return(e=Mh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hh=p(()=>{zh()});function Wh(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 Bl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Wh(Object(r),!0).forEach(function(i){Uh(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wh(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Vh=p(()=>{Hh()});function rt(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 Tv(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 Fl(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(rt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(rt(1));return r(Fl)(t,e)}if(typeof t!="function")throw new Error(rt(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(rt(3));return a}function y(E){if(typeof E!="function")throw new Error(rt(4));if(f)throw new Error(rt(5));var P=!0;return h(),c.push(E),function(){if(P){if(f)throw new Error(rt(6));P=!1,h();var T=c.indexOf(E);c.splice(T,1),s=null}}}function x(E){if(!Tv(E))throw new Error(rt(7));if(typeof E.type>"u")throw new Error(rt(8));if(f)throw new Error(rt(9));try{f=!0,a=n(a,E)}finally{f=!1}for(var P=s=c,$=0;$<P.length;$++){var T=P[$];T()}return E}function O(E){if(typeof E!="function")throw new Error(rt(10));n=E,x({type:ba.REPLACE})}function C(){var E,P=y;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(rt(11));function U(){T.next&&T.next(b())}U();var X=P(U);return{unsubscribe:X}}},E[jh]=function(){return this},E}return x({type:ba.INIT}),i={dispatch:x,subscribe:y,getState:b,replaceReducer:O},i[jh]=C,i}function Pv(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:ba.INIT});if(typeof i>"u")throw new Error(rt(12));if(typeof r(void 0,{type:ba.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(rt(13))})}function Gh(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{Pv(r)}catch(f){c=f}return function(h,b){if(h===void 0&&(h={}),c)throw c;if(0)var y;for(var x=!1,O={},C=0;C<a.length;C++){var E=a[C],P=r[E],$=h[E],T=P($,b);if(typeof T>"u"){var U=b&&b.type;throw new Error(rt(14))}O[E]=T,x=x||T!==$}return x=x||a.length!==Object.keys(h).length,x?O:h}}function vi(){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 Kh(){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(rt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(f){return f(s)});return a=vi.apply(void 0,c)(n.dispatch),Bl(Bl({},n),{},{dispatch:a})}}}var jh,Dl,ba,xa=p(()=>{Vh();jh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Dl=function(){return Math.random().toString(36).substring(7).split("").join(".")},ba={INIT:"@@redux/INIT"+Dl(),REPLACE:"@@redux/REPLACE"+Dl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Dl()}}});function qh(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 Zh,Ml,Qh=p(()=>{Zh=qh();Zh.withExtraArgument=qh;Ml=Zh});function Hv(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 Wl(t){return or(t)?ga(t,function(){}):t}function jv(t){return typeof t=="boolean"}function Gv(){return function(e){return Kv(e)}}function Kv(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 Wv;if(r&&(jv(r)?c.push(Ml):c.push(Ml.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return c}function rm(t){var e=Gv(),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,x=y===void 0?void 0:y,O;if(typeof n=="function")O=n;else if(Hv(n))O=Gh(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),!Ul&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ul&&C.some(function(X){return typeof X!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Kh.apply(void 0,C),P=vi;f&&(P=Uv(ao({trace:!Ul},typeof f=="object"&&f)));var $=new Vv(E),T=$;Array.isArray(x)?T=Si([E],x):typeof x=="function"&&(T=x($));var U=P.apply(void 0,T);return Fl(O,b,U)}function so(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 ao(ao({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 om(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 qv(t){return typeof t=="function"}function Zv(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?om(e):[e,r,i],a=n[0],s=n[1],c=n[2],f;if(qv(t))f=function(){return Wl(t())};else{var h=Wl(t);f=function(){return h}}function b(y,x){y===void 0&&(y=f());var O=Si([a[x.type]],s.filter(function(C){var E=C.matcher;return E(x)}).map(function(C){var E=C.reducer;return E}));return O.filter(function(C){return!!C}).length===0&&(O=[c]),O.reduce(function(C,E){if(E)if(Hr(C)){var P=C,$=E(P,x);return $===void 0?C:$}else{if(or(C))return ga(C,function(T){return E(T,x)});var $=E(C,x);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 Qv(t,e){return t+"/"+e}function im(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:Wl(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(b){var y=i[b],x=Qv(e,b),O,C;"reducer"in y?(O=y.reducer,C=y.prepare):O=y,a[b]=O,s[x]=O,c[b]=C?so(x,C):so(x)});function f(){var b=typeof t.extraReducers=="function"?om(t.extraReducers):[t.extraReducers],y=b[0],x=y===void 0?{}:y,O=b[1],C=O===void 0?[]:O,E=b[2],P=E===void 0?void 0:E,$=ao(ao({},x),s);return Zv(r,function(T){for(var U in $)T.addCase(U,$[U]);for(var X=0,re=C;X<re.length;X++){var mt=re[X];T.addMatcher(mt.matcher,mt.reducer)}P&&T.addDefaultCase(P)})}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 t0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function r0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var tm,_v,Si,Nv,Bv,Dv,Yh,Fv,Mv,Xh,ao,zl,zv,Uv,SI,Wv,Vv,Ul,Yv,Xv,Jv,Hl,Jh,e0,EI,nm,am,sm,RI,AI,II,LI,Vl,kI,$I,TI,em,PI,o0,_I,lm=p(()=>{ya();xa();xa();xa();Qh();ya();ya();tm=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)}}(),_v=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}}},Si=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Nv=Object.defineProperty,Bv=Object.defineProperties,Dv=Object.getOwnPropertyDescriptors,Yh=Object.getOwnPropertySymbols,Fv=Object.prototype.hasOwnProperty,Mv=Object.prototype.propertyIsEnumerable,Xh=function(t,e,r){return e in t?Nv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},ao=function(t,e){for(var r in e||(e={}))Fv.call(e,r)&&Xh(t,r,e[r]);if(Yh)for(var i=0,n=Yh(e);i<n.length;i++){var r=n[i];Mv.call(e,r)&&Xh(t,r,e[r])}return t},zl=function(t,e){return Bv(t,Dv(e))},zv=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())})},Uv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?vi:vi.apply(null,arguments)},SI=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Wv=function(t){tm(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,Si([void 0],r[0].concat(this)))):new(e.bind.apply(e,Si([void 0],r.concat(this))))},e}(Array),Vv=function(t){tm(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,Si([void 0],r[0].concat(this)))):new(e.bind.apply(e,Si([void 0],r.concat(this))))},e}(Array);Ul=!0;Yv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xv=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Yv[Math.random()*64|0];return e},Jv=["name","message","stack","code"],Hl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Jh=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),e0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Jv;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},EI=function(){function t(e,r,i){var n=so(e+"/fulfilled",function(b,y,x,O){return{payload:b,meta:zl(ao({},O||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),a=so(e+"/pending",function(b,y,x){return{payload:void 0,meta:zl(ao({},x||{}),{arg:y,requestId:b,requestStatus:"pending"})}}),s=so(e+"/rejected",function(b,y,x,O,C){return{payload:O,error:(i&&i.serializeError||e0)(b||"Rejected"),meta:zl(ao({},C||{}),{arg:x,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,x,O){var C=i?.idGenerator?i.idGenerator(b):Xv(),E=new f,P,$=!1;function T(X){P=X,E.abort()}var U=function(){return zv(this,null,function(){var X,re,mt,ur,ct,fr,Ke;return _v(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),ur=(X=i?.condition)==null?void 0:X.call(i,b,{getState:x,extra:O}),r0(ur)?[4,ur]:[3,2];case 1:ur=g.sent(),g.label=2;case 2:if(ur===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,ct=new Promise(function(S,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:P||"Aborted"})})}),y(a(C,b,(re=i?.getPendingMeta)==null?void 0:re.call(i,{requestId:C,arg:b},{getState:x,extra:O}))),[4,Promise.race([ct,Promise.resolve(r(b,{dispatch:y,getState:x,extra:O,requestId:C,signal:E.signal,abort:T,rejectWithValue:function(S,D){return new Hl(S,D)},fulfillWithValue:function(S,D){return new Jh(S,D)}})).then(function(S){if(S instanceof Hl)throw S;return S instanceof Jh?n(S.payload,C,b,S.meta):n(S,C,b)})])];case 3:return mt=g.sent(),[3,5];case 4:return fr=g.sent(),mt=fr instanceof Hl?s(null,C,b,fr.payload,fr.meta):s(fr,C,b),[3,5];case 5:return Ke=i&&!i.dispatchConditionRejection&&s.match(mt)&&mt.meta.condition,Ke||y(mt),[2,mt]}})})}();return Object.assign(U,{abort:T,requestId:C,arg:b,unwrap:function(){return U.then(t0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();nm="listener",am="completed",sm="cancelled",RI="task-"+sm,AI="task-"+am,II=nm+"-"+sm,LI=nm+"-"+am,Vl="listenerMiddleware",kI=so(Vl+"/add"),$I=so(Vl+"/removeAll"),TI=so(Vl+"/remove"),PI=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(em||(em=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},o0=function(t){return function(e){setTimeout(e,t)}},_I=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:o0(10);_h()});function i0(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 va,cm=p(()=>{"use strict";va=class extends i0(Object){}});var dm,pm=p(()=>{"use strict";lm();ua();vl();cm();window.ftReduxStores||(window.ftReduxStores={});dm=class t extends va{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(ln(a))return a;if(n==null)return;let s=im({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=rm({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 la;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 um=p(()=>{"use strict";sa()});var fm=p(()=>{"use strict";ih();vl();wh();pm();ua();um()});var hm=p(()=>{"use strict"});var n0,mm=p(()=>{"use strict";n0=u(H());fm();hm();Wt()});var ym=Eo((lo,gm)=>{var Sa=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Ca=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(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 x(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 E(g){var S=new FileReader,D=O(S),ue=/charset=([A-Za-z0-9_-]+)/.exec(g.type),Ae=ue?ue[1]:"utf-8";return S.readAsText(g,Ae),D}function P(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 T(){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=x(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=x(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=x(this);if(g)return g;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(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(mt)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function X(g){var S=g.toUpperCase();return U.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=X(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 Ae=/\?/;this.url+=(Ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})};function mt(g){var S=new FormData;return g.trim().split("&").forEach(function(D){if(D){var ue=D.split("="),Ae=ue.shift().replace(/\+/g," "),oe=ue.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Ae),decodeURIComponent(oe))}}),S}function ur(g){var S=new y,D=g.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ue){return ue.indexOf(`
1158
- `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var Ae=ue.split(":"),oe=Ae.shift().trim();if(oe){var kn=Ae.join(":").trim();try{S.append(oe,kn)}catch(xs){console.warn("Response "+xs.message)}}}),S}T.call(re.prototype);function ct(g,S){if(!(this instanceof ct))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)}T.call(ct.prototype),ct.prototype.clone=function(){return new ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},ct.error=function(){var g=new ct(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var fr=[301,302,303,307,308];ct.redirect=function(g,S){if(fr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new ct(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 Ke(g,S){return new Promise(function(D,ue){var Ae=new re(g,S);if(Ae.signal&&Ae.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function kn(){oe.abort()}oe.onload=function(){var qe={statusText:oe.statusText,headers:ur(oe.getAllResponseHeaders()||"")};Ae.url.indexOf("file://")===0&&(oe.status<200||oe.status>599)?qe.status=200:qe.status=oe.status,qe.url="responseURL"in oe?oe.responseURL:qe.headers.get("X-Request-URL");var wo="response"in oe?oe.response:oe.responseText;setTimeout(function(){D(new ct(wo,qe))},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 xs(qe){try{return qe===""&&i.location.href?i.location.href:qe}catch{return qe}}if(oe.open(Ae.method,xs(Ae.url),!0),Ae.credentials==="include"?oe.withCredentials=!0:Ae.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 Ud=[];Object.getOwnPropertyNames(S.headers).forEach(function(qe){Ud.push(f(qe)),oe.setRequestHeader(qe,h(S.headers[qe]))}),Ae.headers.forEach(function(qe,wo){Ud.indexOf(wo)===-1&&oe.setRequestHeader(wo,qe)})}else Ae.headers.forEach(function(qe,wo){oe.setRequestHeader(wo,qe)});Ae.signal&&(Ae.signal.addEventListener("abort",kn),oe.onreadystatechange=function(){oe.readyState===4&&Ae.signal.removeEventListener("abort",kn)}),oe.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}return Ke.polyfill=!0,i.fetch||(i.fetch=Ke,i.Headers=y,i.Request=re,i.Response=ct),r.Headers=y,r.Request=re,r.Response=ct,r.fetch=Ke,r}({})})(Ca);Ca.fetch.ponyfill=!0;delete Ca.fetch.polyfill;var Ci=Sa.fetch?Sa:Ca;lo=Ci.fetch;lo.default=Ci.fetch;lo.fetch=Ci.fetch;lo.Headers=Ci.Headers;lo.Request=Ci.Request;lo.Response=Ci.Response;gm.exports=lo});var jl=p(()=>{});var bm,xm,vm,Oi,Sm,Cm,zo,Om,wm,Em,Rm,Am,Im,Lm,km,$m,wi,Tm,Oa,Pm,_m,jt,Ei,He,Gl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(bm||(bm={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(xm||(xm={}));(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"})(vm||(vm={}));(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"})(Oi||(Oi={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Sm||(Sm={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Cm||(Cm={}));(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"})(Om||(Om={}));(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"})(wm||(wm={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Em||(Em={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Rm||(Rm={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Am||(Am={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Im||(Im={}));(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"})(Lm||(Lm={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(km||(km={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})($m||($m={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(wi||(wi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Tm||(Tm={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Oa||(Oa={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Pm||(Pm={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(_m||(_m={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jt||(jt={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ei||(Ei={}));(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={}))});var Nm,Bm,Dm,Fm=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Nm||(Nm={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Bm||(Bm={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Dm||(Dm={}))});function Mm(t,e){return t===e||(a0[t]??[]).some(r=>Mm(r,e))}function zm(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=>Mm(i,e))}var a0,Um=p(()=>{Gl();a0={[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 Hm=p(()=>{});var s0,hn=p(()=>{s0=u(ym(),1);jl();Gl();Fm();Um();Hm();jl()});var wa,Kl=p(()=>{"use strict";Wt();hn();an();wa=class extends xr{async listMySearches(){let{session:e}=_.getState();return zm(e,He.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Ea,ql=p(()=>{"use strict";Wt();an();Ea=class extends xr{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Aa,l0,Ra,Zl,Wm,Ql=p(()=>{"use strict";Aa=u(v());Kl();ql();Wt();l0="ft-user-assets",Ra=Aa.FtReduxStore.get({name:l0,initialState:{savedSearches:void 0,bookmarks:void 0}}),Zl=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ea,this.savedSearchesService=new wa,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();(0,Aa.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ra.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ra.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ra.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}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;Ra.actions.bookmarks(r)}}},Wm=new Zl});var Yl,Vm=p(()=>{"use strict";Wt();Yl=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Yl});var jm,Xl,Gm=p(()=>{"use strict";jm=u(v()),Xl=class{highlightHtml(e,r,i){(0,jm.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Xl});var Km,Jl,qm=p(()=>{"use strict";Km=u(v());Wt();Jl=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=_.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 Km.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:_.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Jl});var Zm,Wr,ec=p(()=>{"use strict";Zm=u(v());Wt();Wr=class{static get(e,r){var i,n,a,s;let c=_.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 Zm.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 Ia,Qm=p(()=>{"use strict";gl();Ia=class extends hi{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(r)})}}});var tc,Ym=p(()=>{"use strict";ec();tc=class{urlToSearchRequest(e){return Wr.get().parse(e)}searchRequestToUrl(e){return Wr.get().serialize(e)}};window.FluidTopicsUrlService=new tc});var Uo,Xm=p(()=>{"use strict";Uo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Uo.eventName="change"});var rc,Jm,eg=p(()=>{"use strict";rc=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))}},Jm=new rc});var co,La,tg=p(()=>{"use strict";co=u(v());Xm();eg();La=class t extends co.WithEventBus{static build(){return new t(window.history,Jm,()=>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,co.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Uo(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(Uo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Uo.eventName,e)}currentItem(){return(0,co.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,co.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,co.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 rg=p(()=>{"use strict";tg();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=La.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var og=p(()=>{"use strict";ql();ra();Vm();bl();an();Gm();Kl();qm();ec();Qm();Ym();rg()});var ig=p(()=>{"use strict"});var ng,Cr=p(()=>{"use strict";ng=u(v());xl();mm();Wt();Ql();og();hl();ig();xl();(0,ng.customElement)("ft-app-context")($e)});function ag(t){return t.match(/^[\w-]+\.[\w-]+$/)}var c0,sg=p(()=>{"use strict";mn();c0=u(v())});function Gt(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?ia:mi}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(ag(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,x)=>x?.context&&x.key&&a(b,y,x)?{...x,message:this.i18n({context:x.context,key:x.key,...b})}:x;(s=this[lg])===null||s===void 0||s.forEach((b,y)=>f[y]=h(b,y,f[y])),(c=this[cg])===null||c===void 0||c.forEach((b,y)=>{var x;return f[y]=(x=f[y])===null||x===void 0?void 0:x.map(O=>h(b,y,O))})}updateI18nProperties(a){var s;(s=this[ug])===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[ka].set(f,{isCustomContext:c}),this[gn].has(f)||this[gn].set(f,this.getI18nService(c).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(c).prepareContext(f,s)}hasI18nContext(a){return this[ka].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ka].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[gn].forEach(a=>a()),this[gn].clear()}}return e=ka,r=gn,d0([(0,pg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Ta,pg,d0,lg,cg,ug,ka,gn,dg,$a,mn=p(()=>{"use strict";Ta=u(v());Cr();pg=u(H());sg();d0=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},lg=Symbol("i18nAttributes"),cg=Symbol("i18nListAttributes"),ug=Symbol("i18nProperties"),ka=Symbol("i18nContexts"),gn=Symbol("i18nUnsubs");dg=class extends Gt(Ta.FtLitElement){},$a=class extends Gt(Ta.FtLitElementRedux){}});var Pa,_a,Na,yn,ir,oc=p(()=>{"use strict";Pa=u(A()),_a=u(H()),Na=u(v());fl();mn();Cr();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},ir=class extends $a{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Pa.nothing:Pa.html`
1157
+ `}update(e){var r,i,n,a,s;super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>mi.addContext(c)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(_.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),_.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),_.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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())}};$e.elementDefinitions={};$e.styles=th;tt([(0,Ct.property)()],$e.prototype,"baseUrl",void 0);tt([(0,Ct.property)()],$e.prototype,"apiIntegrationIdentifier",void 0);tt([(0,Ct.property)()],$e.prototype,"uiLocale",void 0);tt([(0,rr.jsonProperty)(null)],$e.prototype,"availableUiLocales",void 0);tt([(0,rr.jsonProperty)(null)],$e.prototype,"metadataConfiguration",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"editorMode",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"noCustom",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"openExternalDocumentInNewTab",void 0);tt([(0,Ct.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],$e.prototype,"noCustomComponent",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"withManualResources",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"navigatorOnline",void 0);tt([(0,Ct.property)({type:Boolean})],$e.prototype,"forcedOffline",void 0);tt([(0,Ct.property)({type:Object})],$e.prototype,"apiProvider",void 0);tt([(0,rr.jsonProperty)([])],$e.prototype,"messageContexts",void 0);tt([(0,rr.jsonProperty)(void 0)],$e.prototype,"session",void 0);tt([(0,Ct.state)()],$e.prototype,"localesConfiguration",void 0)});function vv(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(!aa(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!aa(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(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(!aa(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function aa(t,e){try{return vv(t,e)}catch{return!1}}function sa(t,e){return!aa(t,e)}var la=p(()=>{"use strict"});var Sv,ih=p(()=>{"use strict";la();Sv=u(W(),1)});var ca,Sl=p(()=>{"use strict";ca=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 ah(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,nh.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:sa,...e??{}})}var nh,sh=p(()=>{"use strict";nh=u(W(),1);la()});var da,lh=p(()=>{"use strict";da=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 pa,Cv,MA,ch,dh=p(()=>{pa=globalThis,Cv=pa.ShadowRoot&&(pa.ShadyCSS===void 0||pa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,MA=Symbol(),ch=(t,e)=>{if(Cv)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=pa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var ph,ua,uh=p(()=>{"use strict";ph=u(A(),1);dh();ua=class extends ph.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 ch(i,e.elementStyles),i}}});function fh(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 hh=p(()=>{"use strict"});var gi,sn,bh,mh,gh,xh,yh,Ur,vh=p(()=>{"use strict";gi=u(W(),1);sh();lh();uh();hh();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},mh=Symbol("constructorPrototype"),gh=Symbol("constructorName"),xh=Symbol("exportpartsDebouncer"),yh=Symbol("dynamicDependenciesLoaded"),Ur=class extends ua{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[bh]=new da(5),this[gh]=this.constructor.name,this[mh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gh]&&Object.setPrototypeOf(this,this[mh])}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[yh]||(e[yh]=!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=fh(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[xh].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=x=>x!=null&&x.trim().length>0,h=e.filter(f).map(x=>x.trim());if(h.length===0){this.removeAttribute("exportparts");return}let b=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(c=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...O,...C).filter(f).map(E=>E.trim()).forEach(E=>b.add(E))}if(b.size===0){this.removeAttribute("exportparts");return}let y=[...b.values()].flatMap(x=>h.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};bh=xh;sn([(0,gi.property)()],Ur.prototype,"exportpartsPrefix",void 0);sn([ah([])],Ur.prototype,"exportpartsPrefixes",void 0);sn([(0,gi.property)()],Ur.prototype,"customStylesheet",void 0);sn([(0,gi.property)()],Ur.prototype,"elementToFocus",void 0);sn([(0,gi.state)()],Ur.prototype,"useAdoptedStyleSheets",void 0)});function ln(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fa=p(()=>{"use strict"});var Sh,Ch,Oh,cn,oo,Do,dn,wh=p(()=>{"use strict";vh();fa();cn=Symbol("internalReduxEventsUnsubscribers"),oo=Symbol("internalStoresUnsubscribers"),Do=Symbol("internalStores"),dn=class extends Ur{constructor(){super(...arguments),this[Sh]=new Map,this[Ch]=new Map,this[Oh]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Do].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Do].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Do].get(e)}addStore(e,r){var i;r=(i=r??(ln(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[Do].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Do].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Do].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[oo].has(e.store):this[oo].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[oo].set(e,r.subscribe(()=>this.updateFromStores())),this[cn].set(e,[]),ln(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[cn].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[oo].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[oo].has(e)&&this[oo].get(e)(),this[oo].delete(e),(r=this[cn].get(e))===null||r===void 0||r.forEach(i=>i()),this[cn].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Sh=oo,Ch=Do,Oh=cn;dn.reduxProperties=new Map;dn.reduxReactiveProperties=new Set;dn.reduxEventListeners=new Map});function Wt(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 Hr(t){return!!t&&!!t[we]}function or(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)===kv}(t)||Array.isArray(t)||!!t[$h]||!!(!((e=t.constructor)===null||e===void 0)&&e[$h])||kl(t)||$l(t))}function Fo(t,e,r){r===void 0&&(r=!1),xi(t)===0?(r?Object.keys:bi)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function xi(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:kl(t)?2:$l(t)?3:0}function yi(t,e){return xi(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ov(t,e){return xi(t)===2?t.get(e):t[e]}function Th(t,e,r){var i=xi(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Ph(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function kl(t){return Lv&&t instanceof Map}function $l(t){return Iv&&t instanceof Set}function io(t){return t.o||t.t}function Tl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Bh(t);delete e[we];for(var r=bi(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 Pl(t,e){return e===void 0&&(e=!1),_l(t)||Hr(t)||!or(t)||(xi(t)>1&&(t.set=t.add=t.clear=t.delete=wv),Object.freeze(t),e&&Fo(t,function(r,i){return Pl(i,!0)},!0)),t}function wv(){Wt(2)}function _l(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Sr(t){var e=Il[t];return e||Wt(18,t),e}function Ev(t,e){Il[t]||(Il[t]=e)}function Rl(){return un}function Cl(t,e){e&&(Sr("Patches"),t.u=[],t.s=[],t.v=e)}function ha(t){Al(t),t.p.forEach(Rv),t.p=null}function Al(t){t===un&&(un=t.l)}function Eh(t){return un={p:[],l:un,h:t,m:!0,_:0}}function Rv(t){var e=t[we];e.i===0||e.i===1?e.j():e.g=!0}function Ol(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Sr("ES5").S(e,t,i),i?(r[we].P&&(ha(e),Wt(4)),or(t)&&(t=ma(e,t),e.l||ga(e,t)),e.u&&Sr("Patches").M(r[we].t,t,e.u,e.s)):t=ma(e,r,[]),ha(e),e.u&&e.v(e.u,e.s),t!==Nh?t:void 0}function ma(t,e,r){if(_l(e))return e;var i=e[we];if(!i)return Fo(e,function(c,f){return Rh(t,i,e,c,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return ga(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Tl(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Fo(a,function(c,f){return Rh(t,i,n,c,f,r,s)}),ga(t,n,!1),r&&t.u&&Sr("Patches").N(i,r,t.u,t.s)}return i.o}function Rh(t,e,r,i,n,a,s){if(Hr(n)){var c=ma(t,n,a&&e&&e.i!==3&&!yi(e.R,i)?a.concat(i):void 0);if(Th(r,i,c),!Hr(c))return;t.m=!1}else s&&r.add(n);if(or(n)&&!_l(n)){if(!t.h.D&&t._<1)return;ma(t,n),e&&e.A.l||ga(t,n)}}function ga(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Pl(e,r)}function wl(t,e){var r=t[we];return(r?io(r):t)[e]}function Ah(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 no(t){t.P||(t.P=!0,t.l&&no(t.l))}function El(t){t.o||(t.o=Tl(t.t))}function Ll(t,e,r){var i=kl(e)?Sr("MapSet").F(e,r):$l(e)?Sr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:Rl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=c,h=fn;s&&(f=[c],h=pn);var b=Proxy.revocable(f,h),y=b.revoke,x=b.proxy;return c.k=x,c.j=y,x}(e,r):Sr("ES5").J(e,r);return(r?r.A:Rl()).p.push(i),i}function Av(t){return Hr(t)||Wt(22,t),function e(r){if(!or(r))return r;var i,n=r[we],a=xi(r);if(n){if(!n.P&&(n.i<4||!Sr("ES5").K(n)))return n.t;n.I=!0,i=Lh(r,a),n.I=!1}else i=Lh(r,a);return Fo(i,function(s,c){n&&Ov(n.t,s)===c||Th(i,s,e(c))}),a===3?new Set(i):i}(t)}function Lh(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Tl(t)}function _h(){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[we];return fn.get(h,s)},set:function(h){var b=this[we];fn.set(b,s,h)}},f}function e(s){for(var c=s.length-1;c>=0;c--){var f=s[c][we];if(!f.P)switch(f.i){case 5:i(f)&&no(f);break;case 4:r(f)&&no(f)}}}function r(s){for(var c=s.t,f=s.k,h=bi(f),b=h.length-1;b>=0;b--){var y=h[b];if(y!==we){var x=c[y];if(x===void 0&&!yi(c,y))return!0;var O=f[y],C=O&&O[we];if(C?C.t!==x:!Ph(O,x))return!0}}var E=!!c[we];return h.length!==bi(c).length+(E?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&&Wt(3,JSON.stringify(io(s)))}var a={};Ev("ES5",{J:function(s,c){var f=Array.isArray(s),h=function(y,x){if(y){for(var O=Array(x.length),C=0;C<x.length;C++)Object.defineProperty(O,""+C,t(C,!0));return O}var E=Bh(x);delete E[we];for(var P=bi(E),$=0;$<P.length;$++){var T=P[$];E[T]=t(T,y||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(x),E)}(f,s),b={i:f?5:4,A:c?c.A:Rl(),P:!1,I:!1,R:{},l:c,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,we,{value:b,writable:!0}),h},S:function(s,c,f){f?Hr(c)&&c[we].A===s&&e(s.p):(s.u&&function h(b){if(b&&typeof b=="object"){var y=b[we];if(y){var x=y.t,O=y.k,C=y.R,E=y.i;if(E===4)Fo(O,function(J){J!==we&&(x[J]!==void 0||yi(x,J)?C[J]||h(O[J]):(C[J]=!0,no(y)))}),Fo(x,function(J){O[J]!==void 0||yi(O,J)||(C[J]=!1,no(y))});else if(E===5){if(i(y)&&(no(y),C.length=!0),O.length<x.length)for(var P=O.length;P<x.length;P++)C[P]=!1;else for(var $=x.length;$<O.length;$++)C[$]=!0;for(var T=Math.min(O.length,x.length),H=0;H<T;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 Ih,un,Nl,Lv,Iv,kh,Nh,$h,we,kv,bi,Bh,Il,fn,pn,$v,kt,Tv,JA,eL,tL,rL,oL,iL,ya,ba=p(()=>{Nl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Lv=typeof Map<"u",Iv=typeof Set<"u",kh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Nh=Nl?Symbol.for("immer-nothing"):((Ih={})["immer-nothing"]=!0,Ih),$h=Nl?Symbol.for("immer-draftable"):"__$immer_draftable",we=Nl?Symbol.for("immer-state"):"__$immer_state",kv=""+Object.prototype.constructor,bi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bh=Object.getOwnPropertyDescriptors||function(t){var e={};return bi(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Il={},fn={get:function(t,e){if(e===we)return t;var r=io(t);if(!yi(r,e))return function(n,a,s){var c,f=Ah(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||!or(i)?i:i===wl(t.t,e)?(El(t),t.o[e]=Ll(t.A.h,i,t)):i},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,r){var i=Ah(io(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=wl(io(t),e),a=n?.[we];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ph(r,n)&&(r!==void 0||yi(t.t,e)))return!0;El(t),no(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 wl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,El(t),no(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=io(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Wt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Wt(12)}},pn={};Fo(fn,function(t,e){pn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),pn.deleteProperty=function(t,e){return pn.set.call(this,t,e,void 0)},pn.set=function(t,e,r){return fn.set.call(this,t[0],e,r,t[0])};$v=function(){function t(r){var i=this;this.O=kh,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(E){var P=this;E===void 0&&(E=c);for(var $=arguments.length,T=Array($>1?$-1:0),H=1;H<$;H++)T[H-1]=arguments[H];return f.produce(E,function(J){var re;return(re=a).call.apply(re,[P,J].concat(T))})}}var h;if(typeof a!="function"&&Wt(6),s!==void 0&&typeof s!="function"&&Wt(7),or(n)){var b=Eh(i),y=Ll(i,n,void 0),x=!0;try{h=a(y),x=!1}finally{x?ha(b):Al(b)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(E){return Cl(b,s),Ol(E,b)},function(E){throw ha(b),E}):(Cl(b,s),Ol(h,b))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Nh&&(h=void 0),i.D&&Pl(h,!0),s){var O=[],C=[];Sr("Patches").M(n,h,O,C),s(O,C)}return h}Wt(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),x=1;x<b;x++)y[x-1]=arguments[x];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){or(r)||Wt(8),Hr(r)&&(r=Av(r));var i=Eh(this),n=Ll(this,r,void 0);return n[we].C=!0,Al(i),n},e.finishDraft=function(r,i){var n=r&&r[we],a=n.A;return Cl(a,i),Ol(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!kh&&Wt(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=Sr("Patches").$;return Hr(r)?s(r,i):this.produce(r,function(c){return s(c,i)})},t}(),kt=new $v,Tv=kt.produce,JA=kt.produceWithPatches.bind(kt),eL=kt.setAutoFreeze.bind(kt),tL=kt.setUseProxies.bind(kt),rL=kt.applyPatches.bind(kt),oL=kt.createDraft.bind(kt),iL=kt.finishDraft.bind(kt),ya=Tv});function Mo(t){"@babel/helpers - typeof";return Mo=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},Mo(t)}var Bl=p(()=>{});function Dh(t,e){if(Mo(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Mo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Fh=p(()=>{Bl()});function Mh(t){var e=Dh(t,"string");return Mo(e)=="symbol"?e:e+""}var zh=p(()=>{Bl();Fh()});function Uh(t,e,r){return(e=Mh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hh=p(()=>{zh()});function Wh(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 Dl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Wh(Object(r),!0).forEach(function(i){Uh(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wh(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Vh=p(()=>{Hh()});function rt(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 Pv(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 Ml(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(rt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(rt(1));return r(Ml)(t,e)}if(typeof t!="function")throw new Error(rt(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(rt(3));return a}function y(E){if(typeof E!="function")throw new Error(rt(4));if(f)throw new Error(rt(5));var P=!0;return h(),c.push(E),function(){if(P){if(f)throw new Error(rt(6));P=!1,h();var T=c.indexOf(E);c.splice(T,1),s=null}}}function x(E){if(!Pv(E))throw new Error(rt(7));if(typeof E.type>"u")throw new Error(rt(8));if(f)throw new Error(rt(9));try{f=!0,a=n(a,E)}finally{f=!1}for(var P=s=c,$=0;$<P.length;$++){var T=P[$];T()}return E}function O(E){if(typeof E!="function")throw new Error(rt(10));n=E,x({type:xa.REPLACE})}function C(){var E,P=y;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(rt(11));function H(){T.next&&T.next(b())}H();var J=P(H);return{unsubscribe:J}}},E[jh]=function(){return this},E}return x({type:xa.INIT}),i={dispatch:x,subscribe:y,getState:b,replaceReducer:O},i[jh]=C,i}function _v(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:xa.INIT});if(typeof i>"u")throw new Error(rt(12));if(typeof r(void 0,{type:xa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(rt(13))})}function Gh(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{_v(r)}catch(f){c=f}return function(h,b){if(h===void 0&&(h={}),c)throw c;if(0)var y;for(var x=!1,O={},C=0;C<a.length;C++){var E=a[C],P=r[E],$=h[E],T=P($,b);if(typeof T>"u"){var H=b&&b.type;throw new Error(rt(14))}O[E]=T,x=x||T!==$}return x=x||a.length!==Object.keys(h).length,x?O:h}}function vi(){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 Kh(){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(rt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(f){return f(s)});return a=vi.apply(void 0,c)(n.dispatch),Dl(Dl({},n),{},{dispatch:a})}}}var jh,Fl,xa,va=p(()=>{Vh();jh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fl=function(){return Math.random().toString(36).substring(7).split("").join(".")},xa={INIT:"@@redux/INIT"+Fl(),REPLACE:"@@redux/REPLACE"+Fl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Fl()}}});function qh(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 Zh,zl,Qh=p(()=>{Zh=qh();Zh.withExtraArgument=qh;zl=Zh});function Wv(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 Vl(t){return or(t)?ya(t,function(){}):t}function Gv(t){return typeof t=="boolean"}function Kv(){return function(e){return qv(e)}}function qv(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 Vv;if(r&&(Gv(r)?c.push(zl):c.push(zl.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return c}function rm(t){var e=Kv(),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,x=y===void 0?void 0:y,O;if(typeof n=="function")O=n;else if(Wv(n))O=Gh(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),!Hl&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hl&&C.some(function(J){return typeof J!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Kh.apply(void 0,C),P=vi;f&&(P=Hv(ao({trace:!Hl},typeof f=="object"&&f)));var $=new jv(E),T=$;Array.isArray(x)?T=Si([E],x):typeof x=="function"&&(T=x($));var H=P.apply(void 0,T);return Ml(O,b,H)}function so(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 ao(ao({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 om(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 Zv(t){return typeof t=="function"}function Qv(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?om(e):[e,r,i],a=n[0],s=n[1],c=n[2],f;if(Zv(t))f=function(){return Vl(t())};else{var h=Vl(t);f=function(){return h}}function b(y,x){y===void 0&&(y=f());var O=Si([a[x.type]],s.filter(function(C){var E=C.matcher;return E(x)}).map(function(C){var E=C.reducer;return E}));return O.filter(function(C){return!!C}).length===0&&(O=[c]),O.reduce(function(C,E){if(E)if(Hr(C)){var P=C,$=E(P,x);return $===void 0?C:$}else{if(or(C))return ya(C,function(T){return E(T,x)});var $=E(C,x);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 Yv(t,e){return t+"/"+e}function im(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:Vl(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(b){var y=i[b],x=Yv(e,b),O,C;"reducer"in y?(O=y.reducer,C=y.prepare):O=y,a[b]=O,s[x]=O,c[b]=C?so(x,C):so(x)});function f(){var b=typeof t.extraReducers=="function"?om(t.extraReducers):[t.extraReducers],y=b[0],x=y===void 0?{}:y,O=b[1],C=O===void 0?[]:O,E=b[2],P=E===void 0?void 0:E,$=ao(ao({},x),s);return Qv(r,function(T){for(var H in $)T.addCase(H,$[H]);for(var J=0,re=C;J<re.length;J++){var mt=re[J];T.addMatcher(mt.matcher,mt.reducer)}P&&T.addDefaultCase(P)})}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 r0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function o0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var tm,Nv,Si,Bv,Dv,Fv,Yh,Mv,zv,Xh,ao,Ul,Uv,Hv,CL,Vv,jv,Hl,Xv,Jv,e0,Wl,Jh,t0,RL,nm,am,sm,AL,LL,IL,kL,jl,$L,TL,PL,em,_L,i0,NL,lm=p(()=>{ba();va();va();va();Qh();ba();ba();tm=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)}}(),Nv=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}}},Si=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Bv=Object.defineProperty,Dv=Object.defineProperties,Fv=Object.getOwnPropertyDescriptors,Yh=Object.getOwnPropertySymbols,Mv=Object.prototype.hasOwnProperty,zv=Object.prototype.propertyIsEnumerable,Xh=function(t,e,r){return e in t?Bv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},ao=function(t,e){for(var r in e||(e={}))Mv.call(e,r)&&Xh(t,r,e[r]);if(Yh)for(var i=0,n=Yh(e);i<n.length;i++){var r=n[i];zv.call(e,r)&&Xh(t,r,e[r])}return t},Ul=function(t,e){return Dv(t,Fv(e))},Uv=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())})},Hv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?vi:vi.apply(null,arguments)},CL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Vv=function(t){tm(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,Si([void 0],r[0].concat(this)))):new(e.bind.apply(e,Si([void 0],r.concat(this))))},e}(Array),jv=function(t){tm(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,Si([void 0],r[0].concat(this)))):new(e.bind.apply(e,Si([void 0],r.concat(this))))},e}(Array);Hl=!0;Xv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Jv=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Xv[Math.random()*64|0];return e},e0=["name","message","stack","code"],Wl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Jh=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),t0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=e0;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},RL=function(){function t(e,r,i){var n=so(e+"/fulfilled",function(b,y,x,O){return{payload:b,meta:Ul(ao({},O||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),a=so(e+"/pending",function(b,y,x){return{payload:void 0,meta:Ul(ao({},x||{}),{arg:y,requestId:b,requestStatus:"pending"})}}),s=so(e+"/rejected",function(b,y,x,O,C){return{payload:O,error:(i&&i.serializeError||t0)(b||"Rejected"),meta:Ul(ao({},C||{}),{arg:x,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,x,O){var C=i?.idGenerator?i.idGenerator(b):Jv(),E=new f,P,$=!1;function T(J){P=J,E.abort()}var H=function(){return Uv(this,null,function(){var J,re,mt,ur,ct,fr,Ke;return Nv(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),ur=(J=i?.condition)==null?void 0:J.call(i,b,{getState:x,extra:O}),o0(ur)?[4,ur]:[3,2];case 1:ur=g.sent(),g.label=2;case 2:if(ur===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,ct=new Promise(function(S,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:P||"Aborted"})})}),y(a(C,b,(re=i?.getPendingMeta)==null?void 0:re.call(i,{requestId:C,arg:b},{getState:x,extra:O}))),[4,Promise.race([ct,Promise.resolve(r(b,{dispatch:y,getState:x,extra:O,requestId:C,signal:E.signal,abort:T,rejectWithValue:function(S,D){return new Wl(S,D)},fulfillWithValue:function(S,D){return new Jh(S,D)}})).then(function(S){if(S instanceof Wl)throw S;return S instanceof Jh?n(S.payload,C,b,S.meta):n(S,C,b)})])];case 3:return mt=g.sent(),[3,5];case 4:return fr=g.sent(),mt=fr instanceof Wl?s(null,C,b,fr.payload,fr.meta):s(fr,C,b),[3,5];case 5:return Ke=i&&!i.dispatchConditionRejection&&s.match(mt)&&mt.meta.condition,Ke||y(mt),[2,mt]}})})}();return Object.assign(H,{abort:T,requestId:C,arg:b,unwrap:function(){return H.then(r0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();nm="listener",am="completed",sm="cancelled",AL="task-"+sm,LL="task-"+am,IL=nm+"-"+sm,kL=nm+"-"+am,jl="listenerMiddleware",$L=so(jl+"/add"),TL=so(jl+"/removeAll"),PL=so(jl+"/remove"),_L=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(em||(em=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},i0=function(t){return function(e){setTimeout(e,t)}},NL=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:i0(10);_h()});function n0(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 Sa,cm=p(()=>{"use strict";Sa=class extends n0(Object){}});var dm,pm=p(()=>{"use strict";lm();fa();Sl();cm();window.ftReduxStores||(window.ftReduxStores={});dm=class t extends Sa{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(ln(a))return a;if(n==null)return;let s=im({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=rm({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 ca;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 um=p(()=>{"use strict";la()});var fm=p(()=>{"use strict";ih();Sl();wh();pm();fa();um()});var hm=p(()=>{"use strict"});var a0,mm=p(()=>{"use strict";a0=u(W());fm();hm();Ht()});var ym=Eo((lo,gm)=>{var Ca=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Oa=function(){function t(){this.fetch=!1,this.DOMException=Ca.DOMException}return t.prototype=Ca,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(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 x(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 E(g){var S=new FileReader,D=O(S),ue=/charset=([A-Za-z0-9_-]+)/.exec(g.type),Ae=ue?ue[1]:"utf-8";return S.readAsText(g,Ae),D}function P(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 T(){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=x(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=x(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=x(this);if(g)return g;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(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(mt)}),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 Ae=/\?/;this.url+=(Ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})};function mt(g){var S=new FormData;return g.trim().split("&").forEach(function(D){if(D){var ue=D.split("="),Ae=ue.shift().replace(/\+/g," "),oe=ue.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Ae),decodeURIComponent(oe))}}),S}function ur(g){var S=new y,D=g.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ue){return ue.indexOf(`
1158
+ `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var Ae=ue.split(":"),oe=Ae.shift().trim();if(oe){var kn=Ae.join(":").trim();try{S.append(oe,kn)}catch(Ss){console.warn("Response "+Ss.message)}}}),S}T.call(re.prototype);function ct(g,S){if(!(this instanceof ct))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)}T.call(ct.prototype),ct.prototype.clone=function(){return new ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},ct.error=function(){var g=new ct(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var fr=[301,302,303,307,308];ct.redirect=function(g,S){if(fr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new ct(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 Ke(g,S){return new Promise(function(D,ue){var Ae=new re(g,S);if(Ae.signal&&Ae.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function kn(){oe.abort()}oe.onload=function(){var qe={statusText:oe.statusText,headers:ur(oe.getAllResponseHeaders()||"")};Ae.url.indexOf("file://")===0&&(oe.status<200||oe.status>599)?qe.status=200:qe.status=oe.status,qe.url="responseURL"in oe?oe.responseURL:qe.headers.get("X-Request-URL");var wo="response"in oe?oe.response:oe.responseText;setTimeout(function(){D(new ct(wo,qe))},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 Ss(qe){try{return qe===""&&i.location.href?i.location.href:qe}catch{return qe}}if(oe.open(Ae.method,Ss(Ae.url),!0),Ae.credentials==="include"?oe.withCredentials=!0:Ae.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 Ud=[];Object.getOwnPropertyNames(S.headers).forEach(function(qe){Ud.push(f(qe)),oe.setRequestHeader(qe,h(S.headers[qe]))}),Ae.headers.forEach(function(qe,wo){Ud.indexOf(wo)===-1&&oe.setRequestHeader(wo,qe)})}else Ae.headers.forEach(function(qe,wo){oe.setRequestHeader(wo,qe)});Ae.signal&&(Ae.signal.addEventListener("abort",kn),oe.onreadystatechange=function(){oe.readyState===4&&Ae.signal.removeEventListener("abort",kn)}),oe.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}return Ke.polyfill=!0,i.fetch||(i.fetch=Ke,i.Headers=y,i.Request=re,i.Response=ct),r.Headers=y,r.Request=re,r.Response=ct,r.fetch=Ke,r}({})})(Oa);Oa.fetch.ponyfill=!0;delete Oa.fetch.polyfill;var Ci=Ca.fetch?Ca:Oa;lo=Ci.fetch;lo.default=Ci.fetch;lo.fetch=Ci.fetch;lo.Headers=Ci.Headers;lo.Request=Ci.Request;lo.Response=Ci.Response;gm.exports=lo});var Gl=p(()=>{});var bm,xm,vm,Oi,Sm,Cm,zo,Om,wm,Em,Rm,Am,Lm,Im,km,$m,wi,Tm,wa,Pm,_m,Vt,Ei,He,Nm,Kl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(bm||(bm={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(xm||(xm={}));(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"})(vm||(vm={}));(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"})(Oi||(Oi={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Sm||(Sm={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Cm||(Cm={}));(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"})(Om||(Om={}));(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"})(wm||(wm={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Em||(Em={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Rm||(Rm={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Am||(Am={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Lm||(Lm={}));(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"})(Im||(Im={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(km||(km={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})($m||($m={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(wi||(wi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Tm||(Tm={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(wa||(wa={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Pm||(Pm={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(_m||(_m={}));(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"})(Ei||(Ei={}));(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"})(Nm||(Nm={}))});var Bm,Dm,Fm,Mm=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Bm||(Bm={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Dm||(Dm={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Fm||(Fm={}))});function zm(t,e){return t===e||(s0[t]??[]).some(r=>zm(r,e))}function Um(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>zm(i,e))}var s0,Hm=p(()=>{Kl();s0={[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 Wm=p(()=>{});var l0,hn=p(()=>{l0=u(ym(),1);Gl();Kl();Mm();Hm();Wm();Gl()});var Ea,ql=p(()=>{"use strict";Ht();hn();an();Ea=class extends xr{async listMySearches(){let{session:e}=_.getState();return Um(e,He.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Ra,Zl=p(()=>{"use strict";Ht();an();Ra=class extends xr{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var La,c0,Aa,Ql,Vm,Yl=p(()=>{"use strict";La=u(v());ql();Zl();Ht();c0="ft-user-assets",Aa=La.FtReduxStore.get({name:c0,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ql=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ra,this.savedSearchesService=new Ea,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();(0,La.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Aa.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Aa.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Aa.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}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;Aa.actions.bookmarks(r)}}},Vm=new Ql});var Xl,jm=p(()=>{"use strict";Ht();Xl=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Xl});var Gm,Jl,Km=p(()=>{"use strict";Gm=u(v()),Jl=class{highlightHtml(e,r,i){(0,Gm.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Jl});var qm,ec,Zm=p(()=>{"use strict";qm=u(v());Ht();ec=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=_.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 qm.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:_.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ec});var Qm,Wr,tc=p(()=>{"use strict";Qm=u(v());Ht();Wr=class{static get(e,r){var i,n,a,s;let c=_.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 Qm.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 Ia,Ym=p(()=>{"use strict";yl();Ia=class extends hi{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(r)})}}});var rc,Xm=p(()=>{"use strict";tc();rc=class{urlToSearchRequest(e){return Wr.get().parse(e)}searchRequestToUrl(e){return Wr.get().serialize(e)}};window.FluidTopicsUrlService=new rc});var Uo,Jm=p(()=>{"use strict";Uo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Uo.eventName="change"});var oc,eg,tg=p(()=>{"use strict";oc=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))}},eg=new oc});var co,ka,rg=p(()=>{"use strict";co=u(v());Jm();tg();ka=class t extends co.WithEventBus{static build(){return new t(window.history,eg,()=>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,co.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Uo(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(Uo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Uo.eventName,e)}currentItem(){return(0,co.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,co.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,co.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 og=p(()=>{"use strict";rg();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ka.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 ig=p(()=>{"use strict";Zl();oa();jm();xl();an();Km();ql();Zm();tc();Ym();Xm();og()});var ng=p(()=>{"use strict"});var ag,Cr=p(()=>{"use strict";ag=u(v());vl();mm();Ht();Yl();ig();gl();ng();vl();(0,ag.customElement)("ft-app-context")($e)});function sg(t){return t.match(/^[\w-]+\.[\w-]+$/)}var d0,lg=p(()=>{"use strict";mn();d0=u(v())});function jt(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?na:mi}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(sg(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,x)=>x?.context&&x.key&&a(b,y,x)?{...x,message:this.i18n({context:x.context,key:x.key,...b})}:x;(s=this[cg])===null||s===void 0||s.forEach((b,y)=>f[y]=h(b,y,f[y])),(c=this[dg])===null||c===void 0||c.forEach((b,y)=>{var x;return f[y]=(x=f[y])===null||x===void 0?void 0:x.map(O=>h(b,y,O))})}updateI18nProperties(a){var s;(s=this[fg])===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[gn].has(f)||this[gn].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[gn].forEach(a=>a()),this[gn].clear()}}return e=$a,r=gn,p0([(0,ug.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Pa,ug,p0,cg,dg,fg,$a,gn,pg,Ta,mn=p(()=>{"use strict";Pa=u(v());Cr();ug=u(W());lg();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},cg=Symbol("i18nAttributes"),dg=Symbol("i18nListAttributes"),fg=Symbol("i18nProperties"),$a=Symbol("i18nContexts"),gn=Symbol("i18nUnsubs");pg=class extends jt(Pa.FtLitElement){},Ta=class extends jt(Pa.FtLitElementRedux){}});var _a,Na,Ba,yn,ir,ic=p(()=>{"use strict";_a=u(A()),Na=u(W()),Ba=u(v());ml();mn();Cr();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},ir=class extends Ta{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":_a.nothing:_a.html`
1159
1159
  <span class="ft-i18n">
1160
1160
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1161
1161
  </span>
1162
- `}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:""})}};ir.elementDefinitions={};ir.styles=Jf;yn([(0,Na.redux)()],ir.prototype,"editorMode",void 0);yn([(0,_a.property)()],ir.prototype,"context",void 0);yn([(0,_a.property)()],ir.prototype,"key",void 0);yn([(0,Na.jsonProperty)([])],ir.prototype,"args",void 0);yn([(0,_a.property)()],ir.prototype,"defaultMessage",void 0)});var Or,fg=p(()=>{"use strict";Cr();Or=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?ia:mi}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 hg=p(()=>{"use strict";mn()});var mg=p(()=>{"use strict"});var gg,wr=p(()=>{"use strict";gg=u(v());oc();fg();mn();hg();fl();mg();oc();(0,gg.customElement)("ft-i18n")(ir)});var Sg,Cg=p(()=>{Ts();Sg=t=>t??Be});var Og=p(()=>{Cg()});function wg(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)===Oa.EXTERNAL}function Da(t){var e,r,i,n,a;if(wg(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 jt.MAP:return t.map.readerUrl;case jt.DOCUMENT:return t.document.viewerUrl;case jt.TOPIC:return t.topic.readerUrl}return""}function Eg(t,e){return Sg(e&&wg(t)?"_blank":void 0)}var ac=p(()=>{"use strict";hn();Og()});var Ai,Ii,lc=p(()=>{"use strict";Ai=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Ii=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Lg,f0,cc,dc=p(()=>{"use strict";Lg=u(A()),f0={},cc=Lg.css`
1163
- `});var kg=p(()=>{"use strict"});var Ma,h0,$g,Tg=p(()=>{"use strict";Ma=u(v()),h0={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,Ma.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:[]}},$g=t=>Ma.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:h0})});var za,Pg=p(()=>{"use strict";Cr();za=class extends xr{constructor(e){super(!0,e),this.sortObjectFields=(r,i)=>typeof i!="object"||i==null||Array.isArray(i)?i:Object.fromEntries(Object.entries(i).sort(([n],[a])=>n.localeCompare(a)))}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))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var $t,_g,xn,Li,pc=p(()=>{"use strict";$t=u(v());Tg();hn();Pg();_g=t=>t.request.virtualField===wi.TITLE_ONLY&&t.request.scope===Ei.DOCUMENTS,xn=class t extends Event{constructor(){super(t.eventName)}};xn.eventName="search-context-clear-all-filters";Li=class t{static build(e,r){return new t($g(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new $t.Debouncer(10),this.searchDebouncer=new $t.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 $t.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 za,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,$t.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,$t.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(wi.TITLE_ONLY),this.store.actions.setRequestScope(Ei.DOCUMENTS)):(this.store.actions.setRequestVirtualField(wi.EVERYWHERE),this.store.actions.setRequestScope(Ei.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return _g(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(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,$t.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 $t.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,$t.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof $t.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 y0(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[uc]=0,this[Ng]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[uc]>g0?window.clearInterval(this[Ng]):(this[uc]++,this.dispatchEvent(new fc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return m0([(0,Dg.state)()],e.prototype,"stateManager",void 0),e}var Bg,Dg,m0,fc,Ng,uc,g0,Kt,Wo=p(()=>{"use strict";Bg=u(v()),Dg=u(H());kg();pc();m0=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 Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ng=Symbol("registerInterval"),uc=Symbol("registerAttempts"),g0=40;Kt=class extends y0(Bg.FtLitElementRedux){}});function ki(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function $i(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 hc=p(()=>{"use strict"});var Fg,Ua,Mg=p(()=>{"use strict";Fg=u(v());hn();Cr();hc();Ua=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 Ia,this.resultsWatcher=(0,Fg.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}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}=_.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:ki(e.metadataFilters),facets:e.metadataFilters.map(n=>$i(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){let i={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:ki(e.metadataFilters),facets:e.metadataFilters.map(n=>$i(n))},document:this.document};this.eventsService.sendDocumentSearchEvent(i)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==jt.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:ki(i.metadataFilters),facets:i.metadataFilters.map(s=>$i(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==jt.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:ki(i.metadataFilters),facets:i.metadataFilters.map(s=>$i(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 jt.MAP:return{id:e.map.mapId,title:e.map.title,type:Oi.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case jt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Oi.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case jt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Oi.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 zg,Vr,qt,ot,Ha,Wa,Va,Le,mc=p(()=>{"use strict";zg=u(A()),Vr=u(H()),qt=u(v());dc();Wo();Cr();Ql();Mg();ot=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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},Ha=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Wa=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Va=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Le=class extends qt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Li.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 Ua(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(_)}render(){return zg.html`
1162
+ `}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:""})}};ir.elementDefinitions={};ir.styles=Jf;yn([(0,Ba.redux)()],ir.prototype,"editorMode",void 0);yn([(0,Na.property)()],ir.prototype,"context",void 0);yn([(0,Na.property)()],ir.prototype,"key",void 0);yn([(0,Ba.jsonProperty)([])],ir.prototype,"args",void 0);yn([(0,Na.property)()],ir.prototype,"defaultMessage",void 0)});var Or,hg=p(()=>{"use strict";Cr();Or=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?na:mi}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 mg=p(()=>{"use strict";mn()});var gg=p(()=>{"use strict"});var yg,wr=p(()=>{"use strict";yg=u(v());ic();hg();mn();mg();ml();gg();ic();(0,yg.customElement)("ft-i18n")(ir)});var Cg,Og=p(()=>{_s();Cg=t=>t??Be});var wg=p(()=>{Og()});function Eg(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)===wa.EXTERNAL}function Fa(t){var e,r,i,n,a;if(Eg(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 Rg(t,e){return Cg(e&&Eg(t)?"_blank":void 0)}var sc=p(()=>{"use strict";hn();wg()});var Ai,Li,cc=p(()=>{"use strict";Ai=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Li=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var kg,h0,dc,pc=p(()=>{"use strict";kg=u(A()),h0={},dc=kg.css`
1163
+ `});var $g=p(()=>{"use strict"});var za,m0,Tg,Pg=p(()=>{"use strict";za=u(v()),m0={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,za.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:[]}},Tg=t=>za.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:m0})});var Ua,_g=p(()=>{"use strict";Cr();Ua=class extends xr{constructor(e){super(!0,e),this.sortObjectFields=(r,i)=>typeof i!="object"||i==null||Array.isArray(i)?i:Object.fromEntries(Object.entries(i).sort(([n],[a])=>n.localeCompare(a)))}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))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var $t,Ng,xn,Ii,uc=p(()=>{"use strict";$t=u(v());Pg();hn();_g();Ng=t=>t.request.virtualField===wi.TITLE_ONLY&&t.request.scope===Ei.DOCUMENTS,xn=class t extends Event{constructor(){super(t.eventName)}};xn.eventName="search-context-clear-all-filters";Ii=class t{static build(e,r){return new t(Tg(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new $t.Debouncer(10),this.searchDebouncer=new $t.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 $t.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 Ua,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,$t.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,$t.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(wi.TITLE_ONLY),this.store.actions.setRequestScope(Ei.DOCUMENTS)):(this.store.actions.setRequestVirtualField(wi.EVERYWHERE),this.store.actions.setRequestScope(Ei.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Ng(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(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,$t.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 $t.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,$t.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof $t.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 b0(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[fc]=0,this[Bg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[fc]>y0?window.clearInterval(this[Bg]):(this[fc]++,this.dispatchEvent(new hc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return g0([(0,Fg.state)()],e.prototype,"stateManager",void 0),e}var Dg,Fg,g0,hc,Bg,fc,y0,Gt,Wo=p(()=>{"use strict";Dg=u(v()),Fg=u(W());$g();uc();g0=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},hc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Bg=Symbol("registerInterval"),fc=Symbol("registerAttempts"),y0=40;Gt=class extends b0(Dg.FtLitElementRedux){}});function ki(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function $i(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 mc=p(()=>{"use strict"});var Mg,Ha,zg=p(()=>{"use strict";Mg=u(v());hn();Cr();mc();Ha=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 Ia,this.resultsWatcher=(0,Mg.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}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}=_.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:ki(e.metadataFilters),facets:e.metadataFilters.map(n=>$i(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){let i={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:ki(e.metadataFilters),facets:e.metadataFilters.map(n=>$i(n))},document:this.document};this.eventsService.sendDocumentSearchEvent(i)}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:ki(i.metadataFilters),facets:i.metadataFilters.map(s=>$i(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:ki(i.metadataFilters),facets:i.metadataFilters.map(s=>$i(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:Oi.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Vt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Oi.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Vt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Oi.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 Ug,Vr,Kt,ot,Wa,Va,ja,ke,gc=p(()=>{"use strict";Ug=u(A()),Vr=u(W()),Kt=u(v());pc();Wo();Cr();Yl();zg();ot=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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},Wa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Va=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},ja=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},ke=class extends Kt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ii.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 Ha(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(_)}render(){return Ug.html`
1164
1164
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
1165
1165
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
1166
- `}update(e){super.update(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 Wa(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Va(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 Ha(e))}reloadSavedSearches(){Wm.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)}};Le.elementDefinitions={};Le.styles=cc;ot([(0,qt.redux)({store:_.name})],Le.prototype,"session",void 0);ot([(0,Vr.property)()],Le.prototype,"query",void 0);ot([(0,Vr.property)()],Le.prototype,"contentLocale",void 0);ot([(0,Vr.property)({type:Number})],Le.prototype,"pageSize",void 0);ot([(0,Vr.property)({type:Boolean})],Le.prototype,"searchInDocumentTitlesOnly",void 0);ot([(0,Vr.property)()],Le.prototype,"scope",void 0);ot([(0,Vr.property)()],Le.prototype,"virtualField",void 0);ot([(0,Vr.property)({type:Boolean})],Le.prototype,"ignoreEmptyQuery",void 0);ot([(0,qt.redux)({store:_.name})],Le.prototype,"openExternalDocumentInNewTab",void 0);ot([(0,qt.jsonProperty)([])],Le.prototype,"filters",void 0);ot([(0,qt.jsonProperty)([])],Le.prototype,"sort",void 0);ot([(0,qt.jsonProperty)({})],Le.prototype,"otherQueryParams",void 0);ot([(0,qt.redux)({store:"search"})],Le.prototype,"request",void 0);ot([(0,qt.redux)({store:"search"})],Le.prototype,"paging",void 0);ot([(0,qt.redux)({store:"search",selector:t=>t.spellcheck})],Le.prototype,"autocorrect",void 0);ot([(0,Vr.property)({attribute:!1})],Le.prototype,"searchServiceProvider",void 0)});var Ug=p(()=>{"use strict"});var Wg={};Ro(Wg,{ClearAllFiltersEvent:()=>xn,FtSearchContext:()=>Le,FtSearchContextCssVariables:()=>f0,FtSearchStateManager:()=>Li,LoadErrorEvent:()=>Ha,SearchRequestChangeEvent:()=>Wa,SearchResultsChangeEvent:()=>Va,convertMetadataFilterToAnalyticsFacet:()=>$i,getAnalyticsLastUpdate:()=>ki,searchInDocumentTitlesOnlySelector:()=>_g,styles:()=>cc});var Hg,Vg=p(()=>{"use strict";Hg=u(v());mc();dc();Ug();mc();pc();hc();(0,Hg.customElement)("ft-search-context")(Le)});var po,gc=p(()=>{"use strict";wr();po=Or.build("designedSearchInput")});var jr=Eo((B1,jg)=>{jg.exports=ftGlobals.litRepeat});var Zt,yc=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Zt||(Zt={}))});var Gg,Kg,bc=p(()=>{"use strict";Gg=u(A()),Kg=Gg.css`
1166
+ `}update(e){super.update(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 Va(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ja(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 Wa(e))}reloadSavedSearches(){Vm.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)}};ke.elementDefinitions={};ke.styles=dc;ot([(0,Kt.redux)({store:_.name})],ke.prototype,"session",void 0);ot([(0,Vr.property)()],ke.prototype,"query",void 0);ot([(0,Vr.property)()],ke.prototype,"contentLocale",void 0);ot([(0,Vr.property)({type:Number})],ke.prototype,"pageSize",void 0);ot([(0,Vr.property)({type:Boolean})],ke.prototype,"searchInDocumentTitlesOnly",void 0);ot([(0,Vr.property)()],ke.prototype,"scope",void 0);ot([(0,Vr.property)()],ke.prototype,"virtualField",void 0);ot([(0,Vr.property)({type:Boolean})],ke.prototype,"ignoreEmptyQuery",void 0);ot([(0,Kt.redux)({store:_.name})],ke.prototype,"openExternalDocumentInNewTab",void 0);ot([(0,Kt.jsonProperty)([])],ke.prototype,"filters",void 0);ot([(0,Kt.jsonProperty)([])],ke.prototype,"sort",void 0);ot([(0,Kt.jsonProperty)({})],ke.prototype,"otherQueryParams",void 0);ot([(0,Kt.redux)({store:"search"})],ke.prototype,"request",void 0);ot([(0,Kt.redux)({store:"search"})],ke.prototype,"paging",void 0);ot([(0,Kt.redux)({store:"search",selector:t=>t.spellcheck})],ke.prototype,"autocorrect",void 0);ot([(0,Vr.property)({attribute:!1})],ke.prototype,"searchServiceProvider",void 0)});var Hg=p(()=>{"use strict"});var Vg={};Ro(Vg,{ClearAllFiltersEvent:()=>xn,FtSearchContext:()=>ke,FtSearchContextCssVariables:()=>h0,FtSearchStateManager:()=>Ii,LoadErrorEvent:()=>Wa,SearchRequestChangeEvent:()=>Va,SearchResultsChangeEvent:()=>ja,convertMetadataFilterToAnalyticsFacet:()=>$i,getAnalyticsLastUpdate:()=>ki,searchInDocumentTitlesOnlySelector:()=>Ng,styles:()=>dc});var Wg,jg=p(()=>{"use strict";Wg=u(v());gc();pc();Hg();gc();uc();mc();(0,Wg.customElement)("ft-search-context")(ke)});var po,yc=p(()=>{"use strict";wr();po=Or.build("designedSearchInput")});var jr=Eo((D1,Gg)=>{Gg.exports=ftGlobals.litRepeat});var qt,bc=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(qt||(qt={}))});var Kg,qg,xc=p(()=>{"use strict";Kg=u(A()),qg=Kg.css`
1167
1167
  .ft-size-watcher--pixel {
1168
1168
  width: 0;
1169
1169
  height: 0;
@@ -1182,11 +1182,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1182
1182
  .ft-size-watcher--local .ft-size-watcher--watcher {
1183
1183
  width: 100%;
1184
1184
  }
1185
- `});var qg,Vo,ja,vn,xc,Tt,vc=p(()=>{"use strict";qg=u(A()),Vo=u(H()),ja=u(v());yc();bc();vn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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},xc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Tt=class extends ja.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Zt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ja.Debouncer}render(){return qg.html`
1185
+ `});var Zg,Vo,Ga,vn,vc,Tt,Sc=p(()=>{"use strict";Zg=u(A()),Vo=u(W()),Ga=u(v());bc();xc();vn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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},vc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Tt=class extends Ga.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 Ga.Debouncer}render(){return Zg.html`
1186
1186
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1187
1187
  <div class="ft-size-watcher--watcher"></div>
1188
1188
  </div>
1189
- `}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=Zt.S:this.size<976?this.category=Zt.M:this.size<1024?this.category=Zt.L:this.size<1440?this.category=Zt.XL:this.category=Zt.XXL,this.dispatchEvent(new xc(this.size,this.category)))},this.debounceTimeout)}};Tt.elementDefinitions={};Tt.styles=Kg;vn([(0,Vo.property)({type:Number})],Tt.prototype,"debounceTimeout",void 0);vn([(0,Vo.property)({type:Boolean})],Tt.prototype,"local",void 0);vn([(0,Vo.property)({type:Number,reflect:!0})],Tt.prototype,"size",void 0);vn([(0,Vo.property)({type:String,reflect:!0})],Tt.prototype,"category",void 0);vn([(0,Vo.query)(".ft-size-watcher--watcher")],Tt.prototype,"watcher",void 0)});var Zg,Qg=p(()=>{"use strict";Zg=u(v());vc();vc();bc();yc();(0,Zg.customElement)("ft-size-watcher")(Tt)});function Ga(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Yg(t){return Ga(t).split("|").pop()}function Xg(t){return Ga(t).split("|").join(" > ")}function Jg(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Jg(r,t.selected)),value:t.value}}function ey(t){return(0,Sc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Cc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Jg(e,!1))}}function ty(t){return(0,Sc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Sc,Oc=p(()=>{"use strict";Sc=u(v())});var Ye,ry,Pt,oy,wc=p(()=>{"use strict";Ye=u(v()),ry=u(A());Pe();bt();Pt={textColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ye.designSystemVariables.colorOnSurfaceHigh),fontSize:Ye.FtCssVariableFactory.extend("--ft-checkbox-font-size","",k.fontSize),activeColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Ye.designSystemVariables.colorPrimary),checkColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Ye.designSystemVariables.colorOnPrimary),borderColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ye.designSystemVariables.colorOnSurfaceMedium),disabledColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Ye.designSystemVariables.colorOnSurfaceDisabled),errorColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Ye.designSystemVariables.colorError)},oy=ry.css`
1189
+ `}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 vc(this.size,this.category)))},this.debounceTimeout)}};Tt.elementDefinitions={};Tt.styles=qg;vn([(0,Vo.property)({type:Number})],Tt.prototype,"debounceTimeout",void 0);vn([(0,Vo.property)({type:Boolean})],Tt.prototype,"local",void 0);vn([(0,Vo.property)({type:Number,reflect:!0})],Tt.prototype,"size",void 0);vn([(0,Vo.property)({type:String,reflect:!0})],Tt.prototype,"category",void 0);vn([(0,Vo.query)(".ft-size-watcher--watcher")],Tt.prototype,"watcher",void 0)});var Qg,Yg=p(()=>{"use strict";Qg=u(v());Sc();Sc();xc();bc();(0,Qg.customElement)("ft-size-watcher")(Tt)});function Ka(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Xg(t){return Ka(t).split("|").pop()}function Jg(t){return Ka(t).split("|").join(" > ")}function ey(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>ey(r,t.selected)),value:t.value}}function ty(t){return(0,Cc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Oc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ey(e,!1))}}function ry(t){return(0,Cc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Cc,wc=p(()=>{"use strict";Cc=u(v())});var Ye,oy,Pt,iy,Ec=p(()=>{"use strict";Ye=u(v()),oy=u(A());Pe();bt();Pt={textColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ye.designSystemVariables.colorOnSurfaceHigh),fontSize:Ye.FtCssVariableFactory.extend("--ft-checkbox-font-size","",k.fontSize),activeColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Ye.designSystemVariables.colorPrimary),checkColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Ye.designSystemVariables.colorOnPrimary),borderColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ye.designSystemVariables.colorOnSurfaceMedium),disabledColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Ye.designSystemVariables.colorOnSurfaceDisabled),errorColor:Ye.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Ye.designSystemVariables.colorError)},iy=oy.css`
1190
1190
  * {
1191
1191
  box-sizing: border-box;
1192
1192
  }
@@ -1279,8 +1279,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1279
1279
  }
1280
1280
  }
1281
1281
  }
1282
- `});var iy,Er,ny,ay,uo,it,Ec=p(()=>{"use strict";iy=u(A()),Er=u(H()),ny=u(v()),ay=u(gt());bt();Pe();wc();uo=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},it=class extends ny.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 iy.html`
1283
- <label class="${(0,ay.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1282
+ `});var ny,Er,ay,sy,uo,it,Rc=p(()=>{"use strict";ny=u(A()),Er=u(W()),ay=u(v()),sy=u(gt());bt();Pe();Ec();uo=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},it=class extends ay.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 ny.html`
1283
+ <label class="${(0,sy.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1284
1284
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1285
1285
  <ft-ripple part="checkbox-ripple"
1286
1286
  ?disabled=${this.disabled}
@@ -1306,7 +1306,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1306
1306
  <slot></slot>
1307
1307
  </ft-typography>
1308
1308
  </label>
1309
- `}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)}};it.elementDefinitions={"ft-ripple":V,"ft-typography":K};it.styles=oy;uo([(0,Er.property)()],it.prototype,"name",void 0);uo([(0,Er.property)({type:Boolean,reflect:!0})],it.prototype,"checked",void 0);uo([(0,Er.property)({type:Boolean})],it.prototype,"indeterminate",void 0);uo([(0,Er.property)({type:Boolean})],it.prototype,"disabled",void 0);uo([(0,Er.property)({type:Boolean})],it.prototype,"error",void 0);uo([(0,Er.query)(".ft-checkbox")],it.prototype,"container",void 0);uo([(0,Er.query)("ft-ripple")],it.prototype,"ripple",void 0);uo([(0,Er.query)("input")],it.prototype,"input",void 0)});var sy=p(()=>{"use strict"});var ly,cy=p(()=>{"use strict";ly=u(v());Ec();Ec();wc();sy();(0,ly.customElement)("ft-checkbox")(it)});var dy,wt,fo,py,Rc=p(()=>{"use strict";dy=u(A()),wt=u(v());Pe();fo={textColor:wt.FtCssVariableFactory.extend("--ft-radio-text-color","",wt.designSystemVariables.colorOnSurfaceHigh),fontSize:wt.FtCssVariableFactory.extend("--ft-radio-font-size","",k.fontSize),colorPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:wt.FtCssVariableFactory.extend("--ft-radio-border-color","",wt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},py=dy.css`
1309
+ `}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)}};it.elementDefinitions={"ft-ripple":j,"ft-typography":q};it.styles=iy;uo([(0,Er.property)()],it.prototype,"name",void 0);uo([(0,Er.property)({type:Boolean,reflect:!0})],it.prototype,"checked",void 0);uo([(0,Er.property)({type:Boolean})],it.prototype,"indeterminate",void 0);uo([(0,Er.property)({type:Boolean})],it.prototype,"disabled",void 0);uo([(0,Er.property)({type:Boolean})],it.prototype,"error",void 0);uo([(0,Er.query)(".ft-checkbox")],it.prototype,"container",void 0);uo([(0,Er.query)("ft-ripple")],it.prototype,"ripple",void 0);uo([(0,Er.query)("input")],it.prototype,"input",void 0)});var ly=p(()=>{"use strict"});var cy,dy=p(()=>{"use strict";cy=u(v());Rc();Rc();Ec();ly();(0,cy.customElement)("ft-checkbox")(it)});var py,wt,fo,uy,Ac=p(()=>{"use strict";py=u(A()),wt=u(v());Pe();fo={textColor:wt.FtCssVariableFactory.extend("--ft-radio-text-color","",wt.designSystemVariables.colorOnSurfaceHigh),fontSize:wt.FtCssVariableFactory.extend("--ft-radio-font-size","",k.fontSize),colorPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:wt.FtCssVariableFactory.extend("--ft-radio-border-color","",wt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:wt.FtCssVariableFactory.external(wt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},uy=py.css`
1310
1310
  * {
1311
1311
  box-sizing: border-box;
1312
1312
  }
@@ -1395,8 +1395,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1395
1395
  .ft-radio ft-typography {
1396
1396
  padding-right: 2px;
1397
1397
  }
1398
- `});var uy,nr,fy,hy,Gr,Ka,We,Ac=p(()=>{"use strict";uy=u(A()),nr=u(H()),fy=u(v()),hy=u(gt());bt();Pe();Rc();Gr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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},Ka=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},We=class extends fy.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 uy.html`
1399
- <div class="${(0,hy.classMap)(e)}">
1398
+ `});var fy,nr,hy,my,Gr,qa,We,Lc=p(()=>{"use strict";fy=u(A()),nr=u(W()),hy=u(v()),my=u(gt());bt();Pe();Ac();Gr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var 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})}},We=class extends hy.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 fy.html`
1399
+ <div class="${(0,my.classMap)(e)}">
1400
1400
  <div class="ft-radio--box-container">
1401
1401
  <ft-ripple
1402
1402
  ?disabled=${this.disabled}
@@ -1420,7 +1420,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1420
1420
  </ft-typography>
1421
1421
  </label>
1422
1422
  </div>
1423
- `}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 Ka(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 Ka(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)}};We.elementDefinitions={"ft-ripple":V,"ft-typography":K};We.styles=py;Gr([(0,nr.property)()],We.prototype,"value",void 0);Gr([(0,nr.property)()],We.prototype,"name",void 0);Gr([(0,nr.property)({type:Boolean,reflect:!0})],We.prototype,"checked",void 0);Gr([(0,nr.property)({attribute:"aria-checked",reflect:!0})],We.prototype,"ariaChecked",void 0);Gr([(0,nr.property)({type:Boolean})],We.prototype,"disabled",void 0);Gr([(0,nr.property)({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Gr([(0,nr.query)(".ft-radio")],We.prototype,"container",void 0);Gr([(0,nr.query)("ft-ripple")],We.prototype,"ripple",void 0);Gr([(0,nr.query)("input")],We.prototype,"input",void 0)});var my,gy,Ic=p(()=>{"use strict";my=u(A()),gy=my.css`
1423
+ `}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)}};We.elementDefinitions={"ft-ripple":j,"ft-typography":q};We.styles=uy;Gr([(0,nr.property)()],We.prototype,"value",void 0);Gr([(0,nr.property)()],We.prototype,"name",void 0);Gr([(0,nr.property)({type:Boolean,reflect:!0})],We.prototype,"checked",void 0);Gr([(0,nr.property)({attribute:"aria-checked",reflect:!0})],We.prototype,"ariaChecked",void 0);Gr([(0,nr.property)({type:Boolean})],We.prototype,"disabled",void 0);Gr([(0,nr.property)({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Gr([(0,nr.query)(".ft-radio")],We.prototype,"container",void 0);Gr([(0,nr.query)("ft-ripple")],We.prototype,"ripple",void 0);Gr([(0,nr.query)("input")],We.prototype,"input",void 0)});var gy,yy,Ic=p(()=>{"use strict";gy=u(A()),yy=gy.css`
1424
1424
  :host {
1425
1425
  display: block;
1426
1426
  }
@@ -1428,12 +1428,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1428
1428
  :host(:focus-visible) {
1429
1429
  outline: none;
1430
1430
  }
1431
- `});var yy,Kr,by,Ti,Et,Lc=p(()=>{"use strict";yy=u(v()),Kr=u(H()),by=u(A());Ic();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},Et=class extends yy.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 by.html`
1431
+ `});var by,Kr,xy,Ti,Et,kc=p(()=>{"use strict";by=u(v()),Kr=u(W()),xy=u(A());Ic();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},Et=class extends by.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 xy.html`
1432
1432
  <slot @slotchange=${this.onSlotChange}
1433
1433
  @change=${this.onChange}
1434
1434
  @keydown=${this.onKeyDown}
1435
1435
  ></slot>
1436
- `}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()}};Et.elementDefinitions={};Et.styles=gy;Ti([(0,Kr.property)()],Et.prototype,"name",void 0);Ti([(0,Kr.property)({reflect:!0,attribute:"role"})],Et.prototype,"role",void 0);Ti([(0,Kr.property)({reflect:!0})],Et.prototype,"tabIndex",void 0);Ti([(0,Kr.property)({reflect:!0,attribute:"aria-labelledby"})],Et.prototype,"ariaLabelledBy",void 0);Ti([(0,Kr.queryAssignedElements)()],Et.prototype,"assignedElements",void 0);Ti([(0,Kr.state)()],Et.prototype,"currentSelectedIndex",void 0)});var xy=p(()=>{"use strict"});var vy=p(()=>{"use strict"});var kc,$c=p(()=>{"use strict";kc=u(v());Ac();Lc();Ac();Rc();xy();Lc();Ic();vy();(0,kc.customElement)("ft-radio")(We);(0,kc.customElement)("ft-radio-group")(Et)});var Sy,me,Sn,Cy,Tc=p(()=>{"use strict";Sy=u(A()),me=u(v());Lo();zt();Sn={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")},Cy=Sy.css`
1436
+ `}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()}};Et.elementDefinitions={};Et.styles=yy;Ti([(0,Kr.property)()],Et.prototype,"name",void 0);Ti([(0,Kr.property)({reflect:!0,attribute:"role"})],Et.prototype,"role",void 0);Ti([(0,Kr.property)({reflect:!0})],Et.prototype,"tabIndex",void 0);Ti([(0,Kr.property)({reflect:!0,attribute:"aria-labelledby"})],Et.prototype,"ariaLabelledBy",void 0);Ti([(0,Kr.queryAssignedElements)()],Et.prototype,"assignedElements",void 0);Ti([(0,Kr.state)()],Et.prototype,"currentSelectedIndex",void 0)});var vy=p(()=>{"use strict"});var Sy=p(()=>{"use strict"});var $c,Tc=p(()=>{"use strict";$c=u(v());Lc();kc();Lc();Ac();vy();kc();Ic();Sy();(0,$c.customElement)("ft-radio")(We);(0,$c.customElement)("ft-radio-group")(Et)});var Cy,me,Sn,Oy,Pc=p(()=>{"use strict";Cy=u(A()),me=u(v());Io();zt();Sn={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")},Oy=Cy.css`
1437
1437
  .ft-filter-level--container {
1438
1438
  display: flex;
1439
1439
  flex-direction: column;
@@ -1483,11 +1483,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1483
1483
  }
1484
1484
 
1485
1485
  ft-button {
1486
- ${(0,me.setVariable)(W.color,Sn.colorOnSurface)};
1486
+ ${(0,me.setVariable)(V.color,Sn.colorOnSurface)};
1487
1487
  }
1488
1488
 
1489
1489
  ft-button.ft-filter-level--display-more {
1490
- ${(0,me.setVariable)(W.color,Sn.buttonMoreColor)};
1490
+ ${(0,me.setVariable)(V.color,Sn.buttonMoreColor)};
1491
1491
  }
1492
1492
 
1493
1493
  ft-radio, ft-checkbox {
@@ -1503,7 +1503,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1503
1503
  margin: 10px 0;
1504
1504
  color: ${Sn.colorOnSurfaceMedium};
1505
1505
  }
1506
- `});var _t,je,Oy,qa,pt,_e,wy=p(()=>{"use strict";_t=u(A()),je=u(H()),Oy=u(jr()),qa=u(v());tr();Pe();bt();Ht();cy();$c();Tc();pt=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 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 _t.html`
1506
+ `});var _t,je,wy,Za,pt,_e,Ey=p(()=>{"use strict";_t=u(A()),je=u(W()),wy=u(jr()),Za=u(v());tr();Pe();bt();Ut();dy();Tc();Pc();pt=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 Za.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 _t.html`
1507
1507
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1508
1508
  ${this.parent==null?null:_t.html`
1509
1509
  <div tabindex="0"
@@ -1524,7 +1524,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1524
1524
  ${this.noValuesLabel}
1525
1525
  </ft-typography>
1526
1526
  `:_t.nothing}
1527
- ${(0,Oy.repeat)(r,i=>i.value,i=>{var n;return _t.html`
1527
+ ${(0,wy.repeat)(r,i=>i.value,i=>{var n;return _t.html`
1528
1528
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1529
1529
  ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1530
1530
  ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?_t.nothing:_t.html`
@@ -1555,7 +1555,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1555
1555
  data-value="${e.value}"
1556
1556
  .checked=${e.selected}
1557
1557
  .disabled=${this.disabled}
1558
- .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)}
1558
+ .indeterminate=${(0,Za.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)}
1559
1559
  @change=${i=>this.optionsChanged(i,e)}>
1560
1560
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1561
1561
  </ft-checkbox>
@@ -1570,7 +1570,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1570
1570
  @change=${r=>this.optionsChanged(r,e)}>
1571
1571
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1572
1572
  </ft-radio>
1573
- `}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":V,"ft-typography":K,"ft-checkbox":it,"ft-icon":fe,"ft-radio":We};_e.styles=Cy;pt([(0,je.property)({type:String})],_e.prototype,"filterId",void 0);pt([(0,je.property)({type:Object})],_e.prototype,"parent",void 0);pt([(0,je.property)({type:Array})],_e.prototype,"options",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"multivalued",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"disabled",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"hideSelectedOptions",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"displayCount",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"preventNavigation",void 0);pt([(0,je.property)({type:String})],_e.prototype,"filter",void 0);pt([(0,je.property)({type:String})],_e.prototype,"moreValuesButtonLabel",void 0);pt([(0,je.property)({type:String})],_e.prototype,"noValuesLabel",void 0);pt([(0,je.property)({type:Number})],_e.prototype,"displayedValuesLimit",void 0);pt([(0,je.query)(".ft-filter-level--container")],_e.prototype,"container",void 0);pt([(0,je.state)()],_e.prototype,"radios",void 0);pt([(0,je.state)()],_e.prototype,"displayedPages",void 0)});var Ey,ar,ut,Ry,Za=p(()=>{"use strict";Ey=u(A()),ar=u(v());Lo();ut={buttonsColor:ar.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",ar.designSystemVariables.colorPrimary),buttonsZIndex:ar.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:ar.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ar.FtCssVariableFactory.external(ar.designSystemVariables.colorSurface,"Design system")},Ry=Ey.css`
1573
+ `}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":it,"ft-icon":fe,"ft-radio":We};_e.styles=Oy;pt([(0,je.property)({type:String})],_e.prototype,"filterId",void 0);pt([(0,je.property)({type:Object})],_e.prototype,"parent",void 0);pt([(0,je.property)({type:Array})],_e.prototype,"options",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"multivalued",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"disabled",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"hideSelectedOptions",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"displayCount",void 0);pt([(0,je.property)({type:Boolean})],_e.prototype,"preventNavigation",void 0);pt([(0,je.property)({type:String})],_e.prototype,"filter",void 0);pt([(0,je.property)({type:String})],_e.prototype,"moreValuesButtonLabel",void 0);pt([(0,je.property)({type:String})],_e.prototype,"noValuesLabel",void 0);pt([(0,je.property)({type:Number})],_e.prototype,"displayedValuesLimit",void 0);pt([(0,je.query)(".ft-filter-level--container")],_e.prototype,"container",void 0);pt([(0,je.state)()],_e.prototype,"radios",void 0);pt([(0,je.state)()],_e.prototype,"displayedPages",void 0)});var Ry,ar,ut,Ay,Qa=p(()=>{"use strict";Ry=u(A()),ar=u(v());Io();ut={buttonsColor:ar.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",ar.designSystemVariables.colorPrimary),buttonsZIndex:ar.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:ar.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ar.FtCssVariableFactory.external(ar.designSystemVariables.colorSurface,"Design system")},Ay=Ry.css`
1574
1574
  .ft-snap-scroll {
1575
1575
  box-sizing: border-box;
1576
1576
  position: relative;
@@ -1651,8 +1651,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1651
1651
  z-index: ${ut.buttonsZIndex};
1652
1652
  opacity: 1;
1653
1653
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1654
- ${(0,ar.setVariable)(W.backgroundColor,"transparent")};
1655
- ${(0,ar.setVariable)(W.color,ut.buttonsColor)};
1654
+ ${(0,ar.setVariable)(V.backgroundColor,"transparent")};
1655
+ ${(0,ar.setVariable)(V.color,ut.buttonsColor)};
1656
1656
  }
1657
1657
 
1658
1658
  .ft-snap-scroll--previous[hidden],
@@ -1695,7 +1695,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1695
1695
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1696
1696
  background-color: ${ut.colorSurface};
1697
1697
  }
1698
- `});var Ay,Nt,jo,Iy,Rr,Pc,De,_c=p(()=>{"use strict";Ay=u(A()),Nt=u(H()),jo=u(v());tr();Iy=u(gt());Za();Rr=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},Pc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends jo.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 jo.Debouncer(200),this.updateScrollDebouncer=new jo.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,Iy.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":jo.isSafari}),r=this.controls&&this.withScroll;return Ay.html`
1698
+ `});var Ly,Nt,jo,Iy,Rr,_c,De,Nc=p(()=>{"use strict";Ly=u(A()),Nt=u(W()),jo=u(v());tr();Iy=u(gt());Qa();Rr=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},_c=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends jo.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 jo.Debouncer(200),this.updateScrollDebouncer=new jo.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,Iy.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":jo.isSafari}),r=this.controls&&this.withScroll;return Ly.html`
1699
1699
  <div part="container" class="${e}">
1700
1700
  <ft-button
1701
1701
  class="ft-snap-scroll--previous"
@@ -1719,7 +1719,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1719
1719
  @click=${this.next}
1720
1720
  ></ft-button>
1721
1721
  </div>
1722
- `}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 Pc(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=Ry;Rr([(0,Nt.property)({type:Boolean})],De.prototype,"horizontal",void 0);Rr([(0,Nt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Rr([(0,Nt.property)({type:Boolean})],De.prototype,"controls",void 0);Rr([(0,Nt.property)({type:Boolean})],De.prototype,"limitSize",void 0);Rr([(0,Nt.state)()],De.prototype,"elements",void 0);Rr([(0,Nt.state)()],De.prototype,"currentElement",void 0);Rr([(0,Nt.state)()],De.prototype,"withScroll",void 0);Rr([(0,Nt.state)()],De.prototype,"startReached",void 0);Rr([(0,Nt.state)()],De.prototype,"endReached",void 0);Rr([(0,Nt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var Ly=p(()=>{"use strict"});var ky,Qa=p(()=>{"use strict";ky=u(v());_c();_c();Za();Ly();(0,ky.customElement)("ft-snap-scroll")(De)});var $y,xe,Rt,Ty,Ya=p(()=>{"use strict";$y=u(A()),xe=u(v());zt();Lo();Rt={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","",k.fontSize,"16px")},Ty=[mr,xe.noTextInputDefaultClearButton,$y.css`
1722
+ `}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 _c(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=Ay;Rr([(0,Nt.property)({type:Boolean})],De.prototype,"horizontal",void 0);Rr([(0,Nt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Rr([(0,Nt.property)({type:Boolean})],De.prototype,"controls",void 0);Rr([(0,Nt.property)({type:Boolean})],De.prototype,"limitSize",void 0);Rr([(0,Nt.state)()],De.prototype,"elements",void 0);Rr([(0,Nt.state)()],De.prototype,"currentElement",void 0);Rr([(0,Nt.state)()],De.prototype,"withScroll",void 0);Rr([(0,Nt.state)()],De.prototype,"startReached",void 0);Rr([(0,Nt.state)()],De.prototype,"endReached",void 0);Rr([(0,Nt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var ky=p(()=>{"use strict"});var $y,Ya=p(()=>{"use strict";$y=u(v());Nc();Nc();Qa();ky();(0,$y.customElement)("ft-snap-scroll")(De)});var Ty,xe,Rt,Py,Xa=p(()=>{"use strict";Ty=u(A()),xe=u(v());zt();Io();Rt={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","",k.fontSize,"16px")},Py=[mr,xe.noTextInputDefaultClearButton,Ty.css`
1723
1723
  :host {
1724
1724
  display: flex;
1725
1725
  max-height: 100%;
@@ -1747,7 +1747,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1747
1747
  .ft-filter--header ft-button {
1748
1748
  flex-shrink: 0;
1749
1749
  margin-left: auto;
1750
- ${(0,xe.setVariable)(W.iconSize,"18px")};
1750
+ ${(0,xe.setVariable)(V.iconSize,"18px")};
1751
1751
  }
1752
1752
 
1753
1753
  .filter-label {
@@ -1836,7 +1836,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1836
1836
  slot:not([name]) {
1837
1837
  display: none;
1838
1838
  }
1839
- `]});var Go,ge,nt,Ee,Nc,ae,Bc=p(()=>{"use strict";Go=u(A()),ge=u(H()),nt=u(v());Pe();wy();tr();Qa();Ya();Ee=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},Nc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ae=class extends nt.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 nt.Debouncer(300),this.changeDebouncer=new nt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,nt.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,nt.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 Go.html`
1839
+ `]});var Go,ge,nt,Ee,Bc,ae,Dc=p(()=>{"use strict";Go=u(A()),ge=u(W()),nt=u(v());Pe();Ey();tr();Ya();Xa();Ee=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){super("change",{detail:e})}},ae=class extends nt.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 nt.Debouncer(300),this.changeDebouncer=new nt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,nt.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,nt.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 Go.html`
1840
1840
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1841
1841
  part="container">
1842
1842
  ${!this.label&&!e?null:Go.html`
@@ -1917,17 +1917,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1917
1917
  .exportpartsPrefixes=${["values","available-values"]}
1918
1918
  noValuesLabel="${this.noValuesLabel}"
1919
1919
  ></ft-filter-level>
1920
- `}goBack(e){this.slideOut=e.detail.value,(0,nt.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,nt.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,nt.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,nt.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Nc(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":K};ae.styles=Ty;Ee([(0,ge.property)({type:String})],ae.prototype,"id",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"label",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"filterPlaceHolder",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"clearButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Ee([(0,nt.jsonProperty)([])],ae.prototype,"options",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"disabled",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"raiseSelectedOptions",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Ee([(0,ge.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"hideClearButton",void 0);Ee([(0,ge.query)(".ft-filter--slot")],ae.prototype,"slotElement",void 0);Ee([(0,ge.query)(".ft-filter--container")],ae.prototype,"container",void 0);Ee([(0,ge.query)(".ft-filter--values")],ae.prototype,"valuesContainer",void 0);Ee([(0,ge.query)(".ft-filter--levels")],ae.prototype,"levelsContainer",void 0);Ee([(0,ge.state)()],ae.prototype,"lastLevelHasHiddenvalues",void 0);Ee([(0,ge.query)(".ft-filter--filter input")],ae.prototype,"filterInput",void 0);Ee([(0,ge.queryAll)(".ft-filter--levels ft-filter-level")],ae.prototype,"levels",void 0);Ee([(0,ge.state)()],ae.prototype,"withScroll",void 0);Ee([(0,ge.state)()],ae.prototype,"filter",void 0);Ee([(0,ge.state)()],ae.prototype,"slideIn",void 0);Ee([(0,ge.state)()],ae.prototype,"slideOut",void 0)});var Xa,Ko,Py,Pi,Bt,Dc=p(()=>{"use strict";Xa=u(v()),Ko=u(H()),Py=u(A()),Pi=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},Bt=class extends Xa.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Py.html`
1920
+ `}goBack(e){this.slideOut=e.detail.value,(0,nt.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,nt.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,nt.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,nt.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Bc(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=Py;Ee([(0,ge.property)({type:String})],ae.prototype,"id",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"label",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"filterPlaceHolder",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"clearButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Ee([(0,nt.jsonProperty)([])],ae.prototype,"options",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"disabled",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"raiseSelectedOptions",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Ee([(0,ge.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"hideClearButton",void 0);Ee([(0,ge.query)(".ft-filter--slot")],ae.prototype,"slotElement",void 0);Ee([(0,ge.query)(".ft-filter--container")],ae.prototype,"container",void 0);Ee([(0,ge.query)(".ft-filter--values")],ae.prototype,"valuesContainer",void 0);Ee([(0,ge.query)(".ft-filter--levels")],ae.prototype,"levelsContainer",void 0);Ee([(0,ge.state)()],ae.prototype,"lastLevelHasHiddenvalues",void 0);Ee([(0,ge.query)(".ft-filter--filter input")],ae.prototype,"filterInput",void 0);Ee([(0,ge.queryAll)(".ft-filter--levels ft-filter-level")],ae.prototype,"levels",void 0);Ee([(0,ge.state)()],ae.prototype,"withScroll",void 0);Ee([(0,ge.state)()],ae.prototype,"filter",void 0);Ee([(0,ge.state)()],ae.prototype,"slideIn",void 0);Ee([(0,ge.state)()],ae.prototype,"slideOut",void 0)});var Ja,Ko,_y,Pi,Bt,Fc=p(()=>{"use strict";Ja=u(v()),Ko=u(W()),_y=u(A()),Pi=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},Bt=class extends Ja.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _y.html`
1921
1921
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1922
- `}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}))}};Bt.elementDefinitions={};Pi([(0,Ko.property)({type:String})],Bt.prototype,"label",void 0);Pi([(0,Ko.property)({type:Object,converter:t=>t})],Bt.prototype,"value",void 0);Pi([(0,Ko.property)({type:Boolean,reflect:!0})],Bt.prototype,"selected",void 0);Pi([(0,Ko.property)({type:Object})],Bt.prototype,"subOptions",void 0);Pi([(0,Xa.jsonProperty)({})],Bt.prototype,"renderOption",void 0);Pi([(0,Ko.query)(".ft-filter-option--slot")],Bt.prototype,"slotElement",void 0)});var _y=p(()=>{"use strict"});var Ny=p(()=>{"use strict"});var Fc,By=p(()=>{"use strict";Fc=u(v());Bc();Dc();Tc();Bc();Ya();_y();Dc();Ny();(0,Fc.customElement)("ft-filter")(ae);(0,Fc.customElement)("ft-filter-option")(Bt)});var Dy,Fy,Mc=p(()=>{"use strict";Dy=u(A()),Fy=Dy.css`
1922
+ `}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}))}};Bt.elementDefinitions={};Pi([(0,Ko.property)({type:String})],Bt.prototype,"label",void 0);Pi([(0,Ko.property)({type:Object,converter:t=>t})],Bt.prototype,"value",void 0);Pi([(0,Ko.property)({type:Boolean,reflect:!0})],Bt.prototype,"selected",void 0);Pi([(0,Ko.property)({type:Object})],Bt.prototype,"subOptions",void 0);Pi([(0,Ja.jsonProperty)({})],Bt.prototype,"renderOption",void 0);Pi([(0,Ko.query)(".ft-filter-option--slot")],Bt.prototype,"slotElement",void 0)});var Ny=p(()=>{"use strict"});var By=p(()=>{"use strict"});var Mc,Dy=p(()=>{"use strict";Mc=u(v());Dc();Fc();Pc();Dc();Xa();Ny();Fc();By();(0,Mc.customElement)("ft-filter")(ae);(0,Mc.customElement)("ft-filter-option")(Bt)});var Fy,My,zc=p(()=>{"use strict";Fy=u(A()),My=Fy.css`
1923
1923
  .ft-accordion {
1924
1924
  box-sizing: border-box;
1925
1925
  }
1926
- `});var zy,Ja,Uy,My,Ar,zc=p(()=>{"use strict";zy=u(A()),Ja=u(H()),Uy=u(v());Mc();My=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 Uy.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return zy.html`
1926
+ `});var Uy,es,Hy,zy,Ar,Uc=p(()=>{"use strict";Uy=u(A()),es=u(W()),Hy=u(v());zc();zy=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 Hy.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Uy.html`
1927
1927
  <div class="ft-accordion">
1928
1928
  <slot @activated=${this.onChange}></slot>
1929
1929
  </div>
1930
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Ar.elementDefinitions={};Ar.styles=Fy;My([(0,Ja.property)({type:Boolean})],Ar.prototype,"multi",void 0);My([(0,Ja.query)("slot")],Ar.prototype,"content",void 0)});var Hy,Zo,qo,Wy,Uc=p(()=>{"use strict";Hy=u(A()),Zo=u(v()),qo={horizontalSpacing:Zo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:Zo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:Zo.FtCssVariableFactory.external(Zo.designSystemVariables.colorOutline,"Design system"),backgroundColor:Zo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Wy=Hy.css`
1930
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Ar.elementDefinitions={};Ar.styles=My;zy([(0,es.property)({type:Boolean})],Ar.prototype,"multi",void 0);zy([(0,es.query)("slot")],Ar.prototype,"content",void 0)});var Wy,Zo,qo,Vy,Hc=p(()=>{"use strict";Wy=u(A()),Zo=u(v()),qo={horizontalSpacing:Zo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:Zo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:Zo.FtCssVariableFactory.external(Zo.designSystemVariables.colorOutline,"Design system"),backgroundColor:Zo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Vy=Wy.css`
1931
1931
  .ft-accordion-item {
1932
1932
  display: flex;
1933
1933
  flex-direction: column;
@@ -1973,7 +1973,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1973
1973
  .ft-accordion-item--separator {
1974
1974
  border-bottom: 1px solid ${qo.colorOutline};
1975
1975
  }
1976
- `});var Cn,On,Vy,es,Qt,Hc=p(()=>{"use strict";Cn=u(A()),On=u(H()),Vy=u(v());bt();Pe();Ht();Uc();es=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},Qt=class extends Vy.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Cn.html`
1976
+ `});var Cn,On,jy,ts,Zt,Wc=p(()=>{"use strict";Cn=u(A()),On=u(W()),jy=u(v());bt();Pe();Ut();Hc();ts=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},Zt=class extends jy.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Cn.html`
1977
1977
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1978
1978
  <div class="ft-accordion-item--toggle"
1979
1979
  part="toggle"
@@ -2003,7 +2003,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2003
2003
  </div>
2004
2004
  <div class="ft-accordion-item--separator" part="separator"></div>
2005
2005
  </div>
2006
- `}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)}};Qt.elementDefinitions={"ft-ripple":V,"ft-typography":K,"ft-icon":fe};Qt.styles=Wy;es([(0,On.property)()],Qt.prototype,"icon",void 0);es([(0,On.property)()],Qt.prototype,"iconVariant",void 0);es([(0,On.property)()],Qt.prototype,"label",void 0);es([(0,On.property)({type:Boolean,reflect:!0})],Qt.prototype,"active",void 0)});var jy=p(()=>{"use strict"});var Gy=p(()=>{"use strict"});var Wc,Ky=p(()=>{"use strict";Wc=u(v());zc();Hc();zc();Mc();jy();Hc();Uc();Gy();(0,Wc.customElement)("ft-accordion")(Ar);(0,Wc.customElement)("ft-accordion-item")(Qt)});var ts,q,qy,at,Zy,Vc,Qy,Yy,jc=p(()=>{"use strict";ts=u(A()),q=u(v());Pr();zt();Io();tr();qy=q.FtCssVariableFactory.extend("--ft-chip-color","",q.designSystemVariables.colorOnSurface),at={backgroundColor:q.FtCssVariableFactory.extend("--ft-chip-background-color","",q.designSystemVariables.colorSurface),color:qy,fontSize:q.FtCssVariableFactory.extend("--ft-chip-font-size","",Me.fontSize),fontWeight:q.FtCssVariableFactory.extend("--ft-chip-font-weight","",Me.fontWeight),iconSize:q.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:q.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:q.FtCssVariableFactory.extend("--ft-chip-ripple-color","",qy),horizontalPadding:q.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:q.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:q.FtCssVariableFactory.extend("--ft-chip-border-color","",q.designSystemVariables.colorOutline),opacityDisabled:q.FtCssVariableFactory.external(q.designSystemVariables.colorOpacityDisabled,"Design system")},Zy=q.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",q.FtCssVariableFactory.extend("--ft-chip-color","",q.designSystemVariables.colorOnPrimary)),Vc={backgroundColor:q.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",q.FtCssVariableFactory.extend("--ft-chip-background-color","",q.designSystemVariables.colorPrimary)),color:Zy,rippleColor:q.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Zy)},Qy={horizontalPadding:q.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:q.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Yy=[q.noTextSelect,ts.css`
2006
+ `}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)}};Zt.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe};Zt.styles=Vy;ts([(0,On.property)()],Zt.prototype,"icon",void 0);ts([(0,On.property)()],Zt.prototype,"iconVariant",void 0);ts([(0,On.property)()],Zt.prototype,"label",void 0);ts([(0,On.property)({type:Boolean,reflect:!0})],Zt.prototype,"active",void 0)});var Gy=p(()=>{"use strict"});var Ky=p(()=>{"use strict"});var Vc,qy=p(()=>{"use strict";Vc=u(v());Uc();Wc();Uc();zc();Gy();Wc();Hc();Ky();(0,Vc.customElement)("ft-accordion")(Ar);(0,Vc.customElement)("ft-accordion-item")(Zt)});var rs,Z,Zy,at,Qy,jc,Yy,Xy,Gc=p(()=>{"use strict";rs=u(A()),Z=u(v());Pr();zt();Lo();tr();Zy=Z.FtCssVariableFactory.extend("--ft-chip-color","",Z.designSystemVariables.colorOnSurface),at={backgroundColor:Z.FtCssVariableFactory.extend("--ft-chip-background-color","",Z.designSystemVariables.colorSurface),color:Zy,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","",Zy),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")},Qy=Z.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Z.FtCssVariableFactory.extend("--ft-chip-color","",Z.designSystemVariables.colorOnPrimary)),jc={backgroundColor:Z.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Z.FtCssVariableFactory.extend("--ft-chip-background-color","",Z.designSystemVariables.colorPrimary)),color:Qy,rippleColor:Z.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Qy)},Yy={horizontalPadding:Z.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Z.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Xy=[Z.noTextSelect,rs.css`
2007
2007
  :host {
2008
2008
  display: inline-block;
2009
2009
  max-width: 100%;
@@ -2022,7 +2022,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2022
2022
  --ft-chip-internal-font-size: ${at.fontSize};
2023
2023
  --ft-chip-internal-font-weight: ${at.fontWeight};
2024
2024
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
2025
- ${(0,q.setVariable)(ke.size,at.iconSize)};
2025
+ ${(0,Z.setVariable)(Le.size,at.iconSize)};
2026
2026
  --ft-chip-internal-vertical-padding: ${at.verticalPadding};
2027
2027
  --ft-chip-internal-horizontal-padding: ${at.horizontalPadding};
2028
2028
  --ft-chip-internal-icon-padding: 3px;
@@ -2030,8 +2030,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2030
2030
 
2031
2031
  border: 1px solid ${at.borderColor};
2032
2032
  color: ${at.color};
2033
- ${(0,q.setVariable)(w.color,at.rippleColor)};
2034
- border-radius: var(${(0,ts.unsafeCSS)(at.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
2033
+ ${(0,Z.setVariable)(w.color,at.rippleColor)};
2034
+ border-radius: var(${(0,rs.unsafeCSS)(at.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
2035
2035
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
2036
2036
  background-color: ${at.backgroundColor};
2037
2037
  line-height: var(--ft-chip-internal-content-height);
@@ -2043,8 +2043,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2043
2043
 
2044
2044
  .ft-chip--dense {
2045
2045
  --ft-chip-internal-icon-padding: 3px;
2046
- --ft-chip-internal-vertical-padding: ${Qy.verticalPadding};
2047
- --ft-chip-internal-horizontal-padding: ${Qy.horizontalPadding};
2046
+ --ft-chip-internal-vertical-padding: ${Yy.verticalPadding};
2047
+ --ft-chip-internal-horizontal-padding: ${Yy.horizontalPadding};
2048
2048
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
2049
2049
  }
2050
2050
 
@@ -2062,9 +2062,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2062
2062
  .ft-chip--highlighted {
2063
2063
  border: none;
2064
2064
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
2065
- background-color: ${Vc.backgroundColor};
2066
- ${(0,q.setVariable)(w.color,Vc.rippleColor)};
2067
- color: ${Vc.color};
2065
+ background-color: ${jc.backgroundColor};
2066
+ ${(0,Z.setVariable)(w.color,jc.rippleColor)};
2067
+ color: ${jc.color};
2068
2068
  }
2069
2069
 
2070
2070
  .ft-chip--clickable {
@@ -2095,9 +2095,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2095
2095
  }
2096
2096
 
2097
2097
  .ft-chip--icon-button {
2098
- ${(0,q.setVariable)(W.iconSize,at.iconSize)};
2099
- ${(0,q.setVariable)(W.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
2100
- ${(0,q.setVariable)(W.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
2098
+ ${(0,Z.setVariable)(V.iconSize,at.iconSize)};
2099
+ ${(0,Z.setVariable)(V.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
2100
+ ${(0,Z.setVariable)(V.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
2101
2101
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
2102
2102
  }
2103
2103
 
@@ -2105,9 +2105,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2105
2105
  vertical-align: bottom;
2106
2106
  display: block;
2107
2107
  margin: 0 var(--ft-chip-internal-horizontal-padding);
2108
- ${(0,q.setVariable)(Me.fontSize,"var(--ft-chip-internal-font-size)")};
2109
- ${(0,q.setVariable)(Me.fontWeight,"var(--ft-chip-internal-font-weight)")};
2110
- ${(0,q.setVariable)(Me.lineHeight,"var(--ft-chip-internal-content-height)")};
2108
+ ${(0,Z.setVariable)(Me.fontSize,"var(--ft-chip-internal-font-size)")};
2109
+ ${(0,Z.setVariable)(Me.fontWeight,"var(--ft-chip-internal-font-weight)")};
2110
+ ${(0,Z.setVariable)(Me.lineHeight,"var(--ft-chip-internal-content-height)")};
2111
2111
  }
2112
2112
 
2113
2113
  .ft-chip--safari-fix .ft-chip--label {
@@ -2143,8 +2143,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2143
2143
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2144
2144
  order: -1;
2145
2145
  }
2146
- `]});var rs,st,Xy,_i,At,os,Te,Gc=p(()=>{"use strict";rs=u(A()),st=u(H()),Xy=u(gt()),_i=u(v());bt();Pe();Ht();jc();tr();At=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},os=class extends CustomEvent{constructor(){super("icon-click")}},Te=class extends _i.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":_i.isSafari};return rs.html`
2147
- <div class="${(0,Xy.classMap)(e)}"
2146
+ `]});var os,st,Jy,_i,At,is,Te,Kc=p(()=>{"use strict";os=u(A()),st=u(W()),Jy=u(gt()),_i=u(v());bt();Pe();Ut();Gc();tr();At=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},is=class extends CustomEvent{constructor(){super("icon-click")}},Te=class extends _i.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":_i.isSafari};return os.html`
2147
+ <div class="${(0,Jy.classMap)(e)}"
2148
2148
  aria-label="${this.getLabel()}"
2149
2149
  tabindex="${this.interactionsOnChip?0:-1}"
2150
2150
  @keyup=${this.onKeyUp}
@@ -2155,7 +2155,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2155
2155
  </ft-typography>
2156
2156
  ${this.internalIcon?this.renderIcon():null}
2157
2157
  </div>
2158
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?rs.html`
2158
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?os.html`
2159
2159
  <ft-button round
2160
2160
  class="ft-chip--icon-button"
2161
2161
  @click=${this.onIconClick}
@@ -2166,11 +2166,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2166
2166
  part="icon-button"
2167
2167
  ?hideTooltip=${this.hideIconTooltip}
2168
2168
  ></ft-button>
2169
- `:rs.html`
2169
+ `:os.html`
2170
2170
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2171
2171
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2172
2172
  </div>
2173
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new os))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new os))}getLabel(){return this.label||this.textContent}get textContent(){return(0,_i.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Te.elementDefinitions={"ft-ripple":V,"ft-typography":K,"ft-icon":fe,"ft-button":Ie};Te.styles=Yy;At([(0,st.property)({type:Boolean})],Te.prototype,"highlighted",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"removable",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"disabled",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"clickable",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"iconClickable",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"dense",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"multiLine",void 0);At([(0,st.property)()],Te.prototype,"label",void 0);At([(0,st.property)()],Te.prototype,"iconLabel",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"hideIconTooltip",void 0);At([(0,st.property)()],Te.prototype,"icon",void 0);At([(0,st.property)()],Te.prototype,"iconVariant",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"trailingIcon",void 0);At([(0,st.query)("ft-typography slot")],Te.prototype,"slottedContent",void 0)});var Jy,Kc,eb,qc=p(()=>{"use strict";Jy=u(A());ie();Kc=u(v());Ht();eb=[Jy.css`
2173
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new is))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new is))}getLabel(){return this.label||this.textContent}get textContent(){return(0,_i.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Te.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe,"ft-button":Ie};Te.styles=Xy;At([(0,st.property)({type:Boolean})],Te.prototype,"highlighted",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"removable",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"disabled",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"clickable",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"iconClickable",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"dense",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"multiLine",void 0);At([(0,st.property)()],Te.prototype,"label",void 0);At([(0,st.property)()],Te.prototype,"iconLabel",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"hideIconTooltip",void 0);At([(0,st.property)()],Te.prototype,"icon",void 0);At([(0,st.property)()],Te.prototype,"iconVariant",void 0);At([(0,st.property)({type:Boolean})],Te.prototype,"trailingIcon",void 0);At([(0,st.query)("ft-typography slot")],Te.prototype,"slottedContent",void 0)});var eb,ns,tb,qc=p(()=>{"use strict";eb=u(A());ie();ns=u(v());Ut();tb=[eb.css`
2174
2174
  :host {
2175
2175
  display: inline-block;
2176
2176
  max-width: 100%;
@@ -2180,6 +2180,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2180
2180
  .ftds-chip {
2181
2181
  display: flex;
2182
2182
  align-items: center;
2183
+ box-sizing: border-box;
2183
2184
  }
2184
2185
 
2185
2186
  .ftds-chip--icon-container {
@@ -2192,98 +2193,152 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2192
2193
  display: flex; /* For typo alignment in the chip */
2193
2194
  }
2194
2195
 
2196
+
2197
+ .ftds-chip--remove-button::part(icon) {
2198
+ transform: scale(1.35); /* Little trick to have a bigger icon inside of the button */
2199
+ }
2200
+
2201
+ .ftds-chip--remove-button {
2202
+ position: relative;
2203
+ }
2204
+
2205
+ /* SMALL VARIANT */
2206
+ .ftds--size-small {
2207
+ min-height: ${F.smallMinHeight};
2208
+ padding: 0 ${F.smallHorizontalPadding};
2209
+ border-radius: ${F.smallBorderRadius};
2210
+ border-width: ${F.smallBorderWidth};
2211
+ border-style: solid;
2212
+ ${(0,ns.setVariable)(Le.size,F.smallIconSize)}
2213
+ }
2214
+
2215
+ .ftds--size-small.ftds-chip--with-action {
2216
+ padding-right: ${F.smallButtonRightPadding};
2217
+ }
2218
+
2219
+ .ftds--size-small ft-typography {
2220
+ overflow: visible;
2221
+ padding: 0 2px;
2222
+ }
2223
+
2224
+ .ftds--size-small .ftds-chip--icon-container {
2225
+ overflow: visible;
2226
+ height: ${F.smallIconSize};
2227
+ margin-right: ${F.smallButtonRightPadding};
2228
+ }
2229
+
2230
+ /* Dirty non-variabilized tweaks to properly center the icon */
2231
+ .ftds--size-small .ftds-chip--remove-button {
2232
+ overflow: visible;
2233
+ top: -3px;
2234
+ height: ${F.smallIconSize};
2235
+ transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
2236
+ --ft-button-small-icon-only-width: 15px;
2237
+ }
2238
+
2239
+ .ftds--size-small .ftds-chip--remove-button::part(icon) {
2240
+ transform: scale(2); /* Same as above */
2241
+ }
2242
+
2195
2243
  /* MEDIUM VARIANT */
2196
2244
  .ftds--size-medium {
2197
- min-height: ${te.mediumMinHeight};
2198
- padding: 0 ${te.mediumHorizontalPadding};
2199
- border-radius: ${te.mediumBorderRadius};
2200
- border-width: ${te.mediumBorderWidth};
2245
+ min-height: ${F.mediumMinHeight};
2246
+ padding: 0 ${F.mediumHorizontalPadding};
2247
+ border-radius: ${F.mediumBorderRadius};
2248
+ border-width: ${F.mediumBorderWidth};
2201
2249
  border-style: solid;
2202
- gap: ${te.mediumGap};
2203
- ${(0,Kc.setVariable)(ke.size,te.mediumIconSize)}
2250
+ gap: ${F.mediumGap};
2251
+ ${(0,ns.setVariable)(Le.size,F.mediumIconSize)}
2204
2252
  }
2205
2253
 
2206
2254
  .ftds--size-medium.ftds-chip--with-action {
2207
- padding-right: ${te.mediumButtonRightPadding};
2255
+ padding-right: ${F.mediumButtonRightPadding};
2208
2256
  }
2209
2257
 
2258
+ .ftds--size-medium .ftds-chip--remove-button {
2259
+ right: -1px; /* Fixing manually the alignement of the button with the border of the chip */
2260
+ }
2210
2261
 
2211
2262
  /* LARGE VARIANT */
2212
2263
  .ftds--size-large {
2213
- min-height: ${te.largeMinHeight};
2214
- padding: 0 ${te.largeHorizontalPadding};
2215
- border-radius: ${te.largeBorderRadius};
2216
- border-width: ${te.largeBorderWidth};
2264
+ min-height: ${F.largeMinHeight};
2265
+ padding: 0 ${F.largeHorizontalPadding};
2266
+ border-radius: ${F.largeBorderRadius};
2267
+ border-width: ${F.largeBorderWidth};
2217
2268
  border-style: solid;
2218
- gap: ${te.largeGap};
2219
- ${(0,Kc.setVariable)(ke.size,te.largeIconSize)}
2269
+ gap: ${F.largeGap};
2270
+ ${(0,ns.setVariable)(Le.size,F.largeIconSize)}
2220
2271
  }
2221
2272
 
2222
2273
  .ftds--size-large.ftds-chip--with-action {
2223
- padding-right: ${te.largeButtonRightPadding};
2274
+ padding-right: ${F.largeButtonRightPadding};
2275
+ }
2276
+
2277
+ .ftds--size-large .ftds-chip--remove-button {
2278
+ right: -2px; /* Fixing manually the alignement of the button with the border of the chip */
2224
2279
  }
2225
2280
 
2226
2281
 
2227
2282
  /* NEUTRAL COLORS */
2228
2283
  .ftds--family-neutral {
2229
- background-color: ${te.neutralBackgroundColor};
2230
- border-color: ${te.neutralBorderColor};
2231
- color: ${te.neutralColor};
2284
+ background-color: ${F.neutralBackgroundColor};
2285
+ border-color: ${F.neutralBorderColor};
2286
+ color: ${F.neutralColor};
2232
2287
  }
2233
2288
 
2234
2289
  .ftds--family-neutral .ftds-chip--icon-container {
2235
- color: ${te.neutralIconColor};
2290
+ color: ${F.neutralIconColor};
2236
2291
  }
2237
2292
 
2238
2293
 
2239
2294
  /* INFO COLORS */
2240
2295
  .ftds--family-info {
2241
- background-color: ${te.infoBackgroundColor};
2242
- border-color: ${te.infoBorderColor};
2243
- color: ${te.infoColor};
2296
+ background-color: ${F.infoBackgroundColor};
2297
+ border-color: ${F.infoBorderColor};
2298
+ color: ${F.infoColor};
2244
2299
  }
2245
2300
 
2246
2301
  .ftds--family-info .ftds-chip--icon-container {
2247
- color: ${te.infoIconColor};
2302
+ color: ${F.infoIconColor};
2248
2303
  }
2249
2304
 
2250
2305
 
2251
2306
  /* SUCCESS COLORS */
2252
2307
  .ftds--family-success {
2253
- background-color: ${te.successBackgroundColor};
2254
- border-color: ${te.successBorderColor};
2255
- color: ${te.successColor};
2308
+ background-color: ${F.successBackgroundColor};
2309
+ border-color: ${F.successBorderColor};
2310
+ color: ${F.successColor};
2256
2311
  }
2257
2312
 
2258
2313
  .ftds--family-success .ftds-chip--icon-container {
2259
- color: ${te.successIconColor};
2314
+ color: ${F.successIconColor};
2260
2315
  }
2261
2316
 
2262
2317
 
2263
2318
  /* WARNING COLORS */
2264
2319
  .ftds--family-warning {
2265
- background-color: ${te.warningBackgroundColor};
2266
- border-color: ${te.warningBorderColor};
2267
- color: ${te.warningColor};
2320
+ background-color: ${F.warningBackgroundColor};
2321
+ border-color: ${F.warningBorderColor};
2322
+ color: ${F.warningColor};
2268
2323
  }
2269
2324
 
2270
2325
  .ftds--family-warning .ftds-chip--icon-container {
2271
- color: ${te.warningIconColor};
2326
+ color: ${F.warningIconColor};
2272
2327
  }
2273
2328
 
2274
2329
 
2275
2330
  /* ERROR COLORS */
2276
2331
  .ftds--family-error {
2277
- background-color: ${te.errorBackgroundColor};
2278
- border-color: ${te.errorBorderColor};
2279
- color: ${te.errorColor};
2332
+ background-color: ${F.errorBackgroundColor};
2333
+ border-color: ${F.errorBorderColor};
2334
+ color: ${F.errorColor};
2280
2335
  }
2281
2336
 
2282
2337
  .ftds--family-error .ftds-chip--icon-container {
2283
- color: ${te.errorIconColor};
2338
+ color: ${F.errorIconColor};
2284
2339
  }
2285
- `]});var ho,mo,tb,is,Ni,Zc,Yt,Qc=p(()=>{"use strict";ho=u(A()),mo=u(H()),tb=u(gt()),is=u(v());Pe();Ht();qc();ie();tr();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},Zc=class extends CustomEvent{constructor(){super("remove")}},Yt=class extends is.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 ho.html`
2286
- <div class="${(0,tb.classMap)(e)}"
2340
+ `]});var ho,mo,rb,as,Ni,Zc,Qt,Qc=p(()=>{"use strict";ho=u(A()),mo=u(W()),rb=u(gt()),as=u(v());Pe();Ut();qc();ie();tr();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},Zc=class extends CustomEvent{constructor(){super("remove")}},Qt=class extends as.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 ho.html`
2341
+ <div class="${(0,rb.classMap)(e)}"
2287
2342
  aria-label="${this.getLabel()}"
2288
2343
  part="chip">
2289
2344
  ${this.renderIcon()}
@@ -2302,31 +2357,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2302
2357
  @click=${this.dispatchRemoveEvent}
2303
2358
  icon=${St.X_MARK}
2304
2359
  label=${this.removeButtonLabel}
2305
- family=${is.DesignSystemFamily.neutral}
2360
+ family=${as.DesignSystemFamily.neutral}
2306
2361
  size=${this.resolveButtonSize()}
2307
2362
  part="icon-button"
2308
2363
  ></ftds-button>
2309
2364
  `:this.withAction?ho.html`
2310
2365
  <slot name="action"></slot>
2311
- `:ho.nothing}resolveButtonSize(){switch(this.size){case dt.large:return dt.medium;case dt.medium:case dt.small:return dt.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 Zc)}typographyVariant(){switch(this.size){case dt.large:return Ut.body2medium;case dt.medium:return Ut.caption1medium;case dt.small:return Ut.caption2medium}}};Yt.elementDefinitions={"ft-typography":K,"ft-icon":fe,"ftds-button":er};Yt.styles=eb;Ni([(0,mo.property)({type:Boolean})],Yt.prototype,"withAction",void 0);Ni([(0,mo.property)({type:Boolean})],Yt.prototype,"removable",void 0);Ni([(0,mo.property)()],Yt.prototype,"removeButtonLabel",void 0);Ni([(0,mo.property)()],Yt.prototype,"label",void 0);Ni([(0,mo.property)()],Yt.prototype,"icon",void 0);Ni([(0,mo.query)("ft-typography slot")],Yt.prototype,"slottedContent",void 0)});var rb=p(()=>{"use strict"});var ob=p(()=>{"use strict"});var Yc,Xc=p(()=>{"use strict";Yc=u(v());Gc();Qc();Gc();jc();rb();Qc();qc();ob();(0,Yc.customElement)("ft-chip")(Te);(0,Yc.customElement)("ftds-chip")(Yt)});var ib,ve,z,nb,Bi=p(()=>{"use strict";ib=u(A()),ve=u(v());zt();z={fontSize:ve.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.FtCssVariableFactory.extend("--ft-input-label-border-color","",ve.designSystemVariables.colorOutline),textColor:ve.FtCssVariableFactory.extend("--ft-input-label-text-color","",ve.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ve.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ve.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ve.FtCssVariableFactory.extend("--ft-input-label-background-color","",ve.designSystemVariables.colorSurface),borderRadius:ve.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ve.designSystemVariables.borderRadiusS),colorError:ve.FtCssVariableFactory.external(ve.designSystemVariables.colorError,"Design system")},nb=ib.css`
2366
+ `:ho.nothing}resolveButtonSize(){switch(this.size){case dt.large:return dt.medium;case dt.medium:case dt.small:return dt.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 Zc)}typographyVariant(){switch(this.size){case dt.large:return Xt.body2medium;case dt.medium:case dt.small:return Xt.caption1medium}}};Qt.elementDefinitions={"ft-typography":q,"ft-icon":fe,"ftds-button":er};Qt.styles=tb;Ni([(0,mo.property)({type:Boolean})],Qt.prototype,"withAction",void 0);Ni([(0,mo.property)({type:Boolean})],Qt.prototype,"removable",void 0);Ni([(0,mo.property)()],Qt.prototype,"removeButtonLabel",void 0);Ni([(0,mo.property)()],Qt.prototype,"label",void 0);Ni([(0,mo.property)()],Qt.prototype,"icon",void 0);Ni([(0,mo.query)("ft-typography slot")],Qt.prototype,"slottedContent",void 0)});var ob=p(()=>{"use strict"});var ib=p(()=>{"use strict"});var Yc,Xc=p(()=>{"use strict";Yc=u(v());Kc();Qc();Kc();Gc();ob();Qc();qc();ib();(0,Yc.customElement)("ft-chip")(Te);(0,Yc.customElement)("ftds-chip")(Qt)});var nb,ve,U,ab,Bi=p(()=>{"use strict";nb=u(A()),ve=u(v());zt();U={fontSize:ve.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.FtCssVariableFactory.extend("--ft-input-label-border-color","",ve.designSystemVariables.colorOutline),textColor:ve.FtCssVariableFactory.extend("--ft-input-label-text-color","",ve.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ve.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ve.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ve.FtCssVariableFactory.extend("--ft-input-label-background-color","",ve.designSystemVariables.colorSurface),borderRadius:ve.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ve.designSystemVariables.borderRadiusS),colorError:ve.FtCssVariableFactory.external(ve.designSystemVariables.colorError,"Design system")},ab=nb.css`
2312
2367
  .ft-input-label {
2313
2368
  position: absolute;
2314
2369
  inset: 0;
2315
2370
  display: flex;
2316
- background-color: ${z.backgroundColor};
2317
- border-radius: ${z.borderRadius} ${z.borderRadius} 0 0;
2371
+ background-color: ${U.backgroundColor};
2372
+ border-radius: ${U.borderRadius} ${U.borderRadius} 0 0;
2318
2373
  }
2319
2374
 
2320
2375
  .ft-input-label--outlined {
2321
- border-radius: ${z.borderRadius};
2376
+ border-radius: ${U.borderRadius};
2322
2377
  }
2323
2378
 
2324
2379
  .ft-input-label {
2325
- border-color: ${z.borderColor};
2380
+ border-color: ${U.borderColor};
2326
2381
  }
2327
2382
 
2328
2383
  .ft-input-label.ft-input-label--in-error {
2329
- border-color: ${z.colorError}
2384
+ border-color: ${U.colorError}
2330
2385
  }
2331
2386
 
2332
2387
  .ft-input-label:before,
@@ -2339,7 +2394,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2339
2394
  }
2340
2395
 
2341
2396
  .ft-input-label:before {
2342
- width: calc(${z.horizontalSpacing} - 4px);
2397
+ width: calc(${U.horizontalSpacing} - 4px);
2343
2398
  flex-shrink: 0;
2344
2399
  }
2345
2400
 
@@ -2355,20 +2410,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2355
2410
  border-bottom-width: 1px;
2356
2411
  border-bottom-style: solid;
2357
2412
  border-color: inherit;
2358
- color: ${z.textColor};
2413
+ color: ${U.textColor};
2359
2414
  transition: font-size 250ms, line-height 250ms, color 250ms;
2360
- max-width: calc(${z.labelMaxWidth} - 2 * (${z.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
2415
+ max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
2361
2416
  text-overflow: ellipsis;
2362
- ${(0,ve.setVariable)(Je.fontSize,z.fontSize)};
2363
- ${(0,ve.setVariable)(Je.lineHeight,z.fontSize)};
2417
+ ${(0,ve.setVariable)(Je.fontSize,U.fontSize)};
2418
+ ${(0,ve.setVariable)(Je.lineHeight,U.fontSize)};
2364
2419
  }
2365
2420
 
2366
2421
  .ft-input-label--in-error .ft-input-label--text {
2367
- color: ${z.colorError}
2422
+ color: ${U.colorError}
2368
2423
  }
2369
2424
 
2370
2425
  .ft-input-label--disabled .ft-input-label--text {
2371
- color: ${z.disabledTextColor};
2426
+ color: ${U.disabledTextColor};
2372
2427
  }
2373
2428
 
2374
2429
  .ft-input-label--hidden-text {
@@ -2385,19 +2440,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2385
2440
  overflow: hidden;
2386
2441
  white-space: nowrap;
2387
2442
  text-overflow: ellipsis;
2388
- padding: ${z.verticalSpacing} 4px;
2389
- margin: calc(${z.verticalSpacing} * -1) 0;
2443
+ padding: ${U.verticalSpacing} 4px;
2444
+ margin: calc(${U.verticalSpacing} * -1) 0;
2390
2445
  max-width: 100%;
2391
2446
  box-sizing: border-box;
2392
2447
  }
2393
2448
 
2394
2449
  .ft-input-label--raised .ft-input-label--text {
2395
- ${(0,ve.setVariable)(Je.fontSize,z.raisedFontSize)};
2396
- ${(0,ve.setVariable)(Je.lineHeight,z.raisedFontSize)};
2450
+ ${(0,ve.setVariable)(Je.fontSize,U.raisedFontSize)};
2451
+ ${(0,ve.setVariable)(Je.lineHeight,U.raisedFontSize)};
2397
2452
  }
2398
2453
 
2399
2454
  .ft-input-label--raised .ft-input-label--floating-text {
2400
- top: ${z.verticalSpacing};
2455
+ top: ${U.verticalSpacing};
2401
2456
  }
2402
2457
 
2403
2458
  .ft-input-label--outlined .ft-input-label--text,
@@ -2410,36 +2465,36 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2410
2465
  .ft-input-label--outlined:before {
2411
2466
  border-left-width: 1px;
2412
2467
  border-left-style: solid;
2413
- border-radius: ${z.borderRadius} 0 0 ${z.borderRadius};
2468
+ border-radius: ${U.borderRadius} 0 0 ${U.borderRadius};
2414
2469
  }
2415
2470
 
2416
2471
  .ft-input-label--outlined:after {
2417
2472
  border-right-width: 1px;
2418
2473
  border-right-style: solid;
2419
- border-radius: 0 ${z.borderRadius} ${z.borderRadius} 0;
2474
+ border-radius: 0 ${U.borderRadius} ${U.borderRadius} 0;
2420
2475
  }
2421
2476
 
2422
2477
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
2423
2478
  padding: 2px 4px;
2424
- z-index: ${z.raisedZIndex};
2425
- background-color: ${z.backgroundColor};
2426
- border-radius: ${z.borderRadius};
2479
+ z-index: ${U.raisedZIndex};
2480
+ background-color: ${U.backgroundColor};
2481
+ border-radius: ${U.borderRadius};
2427
2482
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
2428
2483
  }
2429
2484
 
2430
2485
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2431
2486
  border-top: none;
2432
2487
  }
2433
- `});function ab(t,e,r){return t?e(t):r?.(t)}var sb=p(()=>{});var lb=p(()=>{sb()});var Jc,ed,db,pb,cb,qr,td=p(()=>{"use strict";Jc=u(A()),ed=u(H());lb();db=u(gt()),pb=u(v()),cb=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 pb.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Jc.html`
2434
- <div class="${(0,db.classMap)(this.inputLabelClasses)}">
2435
- ${ab(this.text,()=>Jc.html`
2488
+ `});function sb(t,e,r){return t?e(t):r?.(t)}var lb=p(()=>{});var cb=p(()=>{lb()});var Jc,ed,pb,ub,db,qr,td=p(()=>{"use strict";Jc=u(A()),ed=u(W());cb();pb=u(gt()),ub=u(v()),db=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 ub.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Jc.html`
2489
+ <div class="${(0,pb.classMap)(this.inputLabelClasses)}">
2490
+ ${sb(this.text,()=>Jc.html`
2436
2491
  <div class="ft-input-label--text ft-typography--caption">
2437
2492
  <label class="ft-input-label--floating-text">${this.text}</label>
2438
2493
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
2439
2494
  </div>
2440
2495
  `)}
2441
2496
  </div>
2442
- `}};qr.elementDefinitions={};cb([(0,ed.property)({type:String})],qr.prototype,"text",void 0);cb([(0,ed.property)({type:Boolean})],qr.prototype,"raised",void 0)});var ns,rd,sr,od=p(()=>{"use strict";ns=u(H());zt();Bi();td();rd=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},sr=class extends qr{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}}};sr.elementDefinitions={};sr.styles=[mr,nb];rd([(0,ns.property)({type:Boolean})],sr.prototype,"outlined",void 0);rd([(0,ns.property)({type:Boolean})],sr.prototype,"error",void 0);rd([(0,ns.property)({type:Boolean})],sr.prototype,"disabled",void 0)});var ub,Fe,lt,fb,id=p(()=>{"use strict";ub=u(A());ie();zt();Bi();Fe=u(v()),lt={fontSize:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size","",ti.fontSize),fontSizeRaised:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",Ao.fontSize),lineHeight:Fe.FtCssVariableFactory.extend("--ft-input-label-line-height","",Ao.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")},fb=[ub.css`
2497
+ `}};qr.elementDefinitions={};db([(0,ed.property)({type:String})],qr.prototype,"text",void 0);db([(0,ed.property)({type:Boolean})],qr.prototype,"raised",void 0)});var ss,rd,sr,od=p(()=>{"use strict";ss=u(W());zt();Bi();td();rd=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},sr=class extends qr{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}}};sr.elementDefinitions={};sr.styles=[mr,ab];rd([(0,ss.property)({type:Boolean})],sr.prototype,"outlined",void 0);rd([(0,ss.property)({type:Boolean})],sr.prototype,"error",void 0);rd([(0,ss.property)({type:Boolean})],sr.prototype,"disabled",void 0)});var fb,Fe,lt,hb,id=p(()=>{"use strict";fb=u(A());ie();zt();Bi();Fe=u(v()),lt={fontSize:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size","",ti.fontSize),fontSizeRaised:Fe.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",Ao.fontSize),lineHeight:Fe.FtCssVariableFactory.extend("--ft-input-label-line-height","",Ao.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")},hb=[fb.css`
2443
2498
 
2444
2499
  :root {
2445
2500
  --field-height: ${lt.largeFieldHeight};
@@ -2503,12 +2558,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2503
2558
  white-space: nowrap;
2504
2559
  text-overflow: ellipsis;
2505
2560
 
2506
- padding-top: ${z.verticalSpacing};
2507
- padding-bottom: ${z.verticalSpacing};
2561
+ padding-top: ${U.verticalSpacing};
2562
+ padding-bottom: ${U.verticalSpacing};
2508
2563
  padding-left: calc(var(--field-horizontal-padding) + ${lt.additionalPaddingLeft});
2509
2564
  padding-right: calc(var(--field-horizontal-padding) + ${lt.additionalPaddingRight});
2510
2565
 
2511
- margin: calc(${z.verticalSpacing} * -1) 0;
2566
+ margin: calc(${U.verticalSpacing} * -1) 0;
2512
2567
  color: ${lt.color};
2513
2568
  }
2514
2569
 
@@ -2521,7 +2576,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2521
2576
  top: var(--input-content-vertical-padding);
2522
2577
  }
2523
2578
 
2524
- `]});var hb,wn,nd=p(()=>{"use strict";td();hb=u(v());id();Pe();wn=class extends(0,hb.toFtdsBase)(qr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};wn.styles=[mr,fb]});var mb=p(()=>{"use strict"});var gb=p(()=>{"use strict"});var ad,yb=p(()=>{"use strict";ad=u(v());od();nd();od();Bi();mb();nd();id();gb();(0,ad.customElement)("ft-input-label")(sr);(0,ad.customElement)("ftds-input-label")(wn)});var bb,j,Z,xb,as=p(()=>{"use strict";bb=u(A()),j=u(v());Bi();zt();Pr();Io();Z={labelSize:j.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:j.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:j.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:j.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:j.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:j.FtCssVariableFactory.extend("--ft-select-selected-option-color","",j.designSystemVariables.colorOnSurface),helperColor:j.FtCssVariableFactory.extend("--ft-select-helper-color","",j.designSystemVariables.colorOnSurfaceMedium),optionsColor:j.FtCssVariableFactory.extend("--ft-select-options-color","",j.designSystemVariables.colorOnSurface),optionsZIndex:j.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:j.FtCssVariableFactory.extend("--ft-select-background-color","",j.designSystemVariables.colorSurface),colorOnSurfaceDisabled:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:j.FtCssVariableFactory.external(j.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:j.FtCssVariableFactory.external(j.designSystemVariables.borderRadiusS,"Design system"),elevation02:j.FtCssVariableFactory.external(j.designSystemVariables.elevation02,"Design system"),colorError:j.FtCssVariableFactory.external(j.designSystemVariables.colorError,"Design system")},xb=bb.css`
2579
+ `]});var mb,wn,nd=p(()=>{"use strict";td();mb=u(v());id();Pe();wn=class extends(0,mb.toFtdsBase)(qr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};wn.styles=[mr,hb]});var gb=p(()=>{"use strict"});var yb=p(()=>{"use strict"});var ad,bb=p(()=>{"use strict";ad=u(v());od();nd();od();Bi();gb();nd();id();yb();(0,ad.customElement)("ft-input-label")(sr);(0,ad.customElement)("ftds-input-label")(wn)});var xb,G,Q,vb,ls=p(()=>{"use strict";xb=u(A()),G=u(v());Bi();zt();Pr();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")},vb=xb.css`
2525
2580
  *:focus {
2526
2581
  outline: none;
2527
2582
  }
@@ -2535,7 +2590,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2535
2590
  .ft-select--main-panel {
2536
2591
  position: relative;
2537
2592
  display: flex;
2538
- height: calc(4 * ${Z.verticalSpacing} + ${Z.labelSize} + ${Z.selectedOptionSize});
2593
+ height: calc(4 * ${Q.verticalSpacing} + ${Q.labelSize} + ${Q.selectedOptionSize});
2539
2594
  }
2540
2595
 
2541
2596
  .ft-select--input-panel {
@@ -2544,17 +2599,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2544
2599
  display: flex;
2545
2600
  align-items: center;
2546
2601
  overflow: hidden;
2547
- padding-left: ${Z.horizontalSpacing};
2548
- padding-right: ${Z.horizontalSpacing};
2602
+ padding-left: ${Q.horizontalSpacing};
2603
+ padding-right: ${Q.horizontalSpacing};
2549
2604
  gap: 8px;
2550
- color: ${Z.selectedOptionColor};
2551
- ${(0,j.setVariable)(w.color,Z.selectedOptionColor)};
2605
+ color: ${Q.selectedOptionColor};
2606
+ ${(0,G.setVariable)(w.color,Q.selectedOptionColor)};
2552
2607
  }
2553
2608
 
2554
2609
  .ft-select--input-panel,
2555
2610
  .ft-select--option {
2556
- ${(0,j.setVariable)(w.opacityContentOnSurfaceHover,"0.08")};
2557
- ${(0,j.setVariable)(w.opacityContentOnSurfacePressed,"0.04")};
2611
+ ${(0,G.setVariable)(w.opacityContentOnSurfaceHover,"0.08")};
2612
+ ${(0,G.setVariable)(w.opacityContentOnSurfacePressed,"0.04")};
2558
2613
  }
2559
2614
 
2560
2615
  .ft-select--input-panel > *:not(ft-ripple),
@@ -2564,7 +2619,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2564
2619
 
2565
2620
  .ft-select--disabled .ft-select--input-panel,
2566
2621
  .ft-select--disabled .ft-select--option {
2567
- color: ${Z.colorOnSurfaceDisabled};
2622
+ color: ${Q.colorOnSurfaceDisabled};
2568
2623
  }
2569
2624
 
2570
2625
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -2573,21 +2628,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2573
2628
  }
2574
2629
 
2575
2630
  ft-input-label {
2576
- ${(0,j.setVariable)(z.fontSize,Z.selectedOptionSize)};
2577
- ${(0,j.setVariable)(z.raisedFontSize,Z.labelSize)};
2578
- ${(0,j.setVariable)(z.verticalSpacing,Z.verticalSpacing)};
2579
- ${(0,j.setVariable)(z.horizontalSpacing,Z.horizontalSpacing)};
2580
- ${(0,j.setVariable)(z.backgroundColor,Z.backgroundColor)};
2581
- ${(0,j.setVariable)(z.labelMaxWidth,`calc(100% - ${ke.size} - 8px)`)};
2631
+ ${(0,G.setVariable)(U.fontSize,Q.selectedOptionSize)};
2632
+ ${(0,G.setVariable)(U.raisedFontSize,Q.labelSize)};
2633
+ ${(0,G.setVariable)(U.verticalSpacing,Q.verticalSpacing)};
2634
+ ${(0,G.setVariable)(U.horizontalSpacing,Q.horizontalSpacing)};
2635
+ ${(0,G.setVariable)(U.backgroundColor,Q.backgroundColor)};
2636
+ ${(0,G.setVariable)(U.labelMaxWidth,`calc(100% - ${Le.size} - 8px)`)};
2582
2637
  }
2583
2638
 
2584
2639
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
2585
- color: ${Z.colorPrimary};
2640
+ color: ${Q.colorPrimary};
2586
2641
  }
2587
2642
 
2588
2643
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
2589
- ${(0,j.setVariable)(z.borderColor,Z.colorPrimary)};
2590
- ${(0,j.setVariable)(z.textColor,Z.colorPrimary)};
2644
+ ${(0,G.setVariable)(U.borderColor,Q.colorPrimary)};
2645
+ ${(0,G.setVariable)(U.textColor,Q.colorPrimary)};
2591
2646
  }
2592
2647
 
2593
2648
  .ft-select--selected-option {
@@ -2597,12 +2652,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2597
2652
  overflow: hidden;
2598
2653
  white-space: nowrap;
2599
2654
  text-overflow: ellipsis;
2600
- ${(0,j.setVariable)(Nr.fontSize,Z.selectedOptionSize)};
2601
- ${(0,j.setVariable)(Nr.lineHeight,Z.selectedOptionSize)};
2655
+ ${(0,G.setVariable)(Nr.fontSize,Q.selectedOptionSize)};
2656
+ ${(0,G.setVariable)(Nr.lineHeight,Q.selectedOptionSize)};
2602
2657
  }
2603
2658
 
2604
2659
  .ft-select--in-error .ft-select--selected-option {
2605
- color: ${Z.colorError};
2660
+ color: ${Q.colorError};
2606
2661
  }
2607
2662
 
2608
2663
  ft-icon {
@@ -2614,26 +2669,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2614
2669
  }
2615
2670
 
2616
2671
  .ft-select--filled .ft-select--input-panel {
2617
- border-radius: ${Z.borderRadiusS} ${Z.borderRadiusS} 0 0;
2672
+ border-radius: ${Q.borderRadiusS} ${Q.borderRadiusS} 0 0;
2618
2673
  }
2619
2674
 
2620
2675
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
2621
2676
  align-self: stretch;
2622
- padding-top: calc(${Z.labelSize} + 2 * ${Z.verticalSpacing});
2677
+ padding-top: calc(${Q.labelSize} + 2 * ${Q.verticalSpacing});
2623
2678
  }
2624
2679
 
2625
2680
  .ft-select--outlined .ft-select--input-panel {
2626
- border-radius: ${Z.borderRadiusS};
2681
+ border-radius: ${Q.borderRadiusS};
2627
2682
  }
2628
2683
 
2629
2684
  .ft-select--options {
2630
2685
  display: none;
2631
2686
  position: absolute;
2632
2687
  top: 100%;
2633
- color: ${Z.optionsColor};
2634
- background: ${Z.backgroundColor};
2635
- z-index: ${Z.optionsZIndex};
2636
- box-shadow: ${Z.elevation02};
2688
+ color: ${Q.optionsColor};
2689
+ background: ${Q.backgroundColor};
2690
+ z-index: ${Q.optionsZIndex};
2691
+ box-shadow: ${Q.elevation02};
2637
2692
  }
2638
2693
 
2639
2694
  .ft-select--fixed .ft-select--options {
@@ -2642,13 +2697,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2642
2697
 
2643
2698
  .ft-select--options-displayed .ft-select--options {
2644
2699
  display: block;
2645
- max-height: ${Z.optionsHeight};
2700
+ max-height: ${Q.optionsHeight};
2646
2701
  overflow-y: auto;
2647
2702
  }
2648
2703
 
2649
2704
  .ft-select--option {
2650
2705
  position: relative;
2651
- padding: 4px ${Z.horizontalSpacing};
2706
+ padding: 4px ${Q.horizontalSpacing};
2652
2707
  min-height: 32px;
2653
2708
  display: flex;
2654
2709
  align-items: center;
@@ -2660,14 +2715,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2660
2715
  }
2661
2716
 
2662
2717
  .ft-select--helper-text {
2663
- padding: 0 ${Z.horizontalSpacing};
2664
- color: ${Z.helperColor};
2718
+ padding: 0 ${Q.horizontalSpacing};
2719
+ color: ${Q.helperColor};
2665
2720
  }
2666
2721
 
2667
2722
  .ft-select--in-error .ft-select--helper-text {
2668
- color: ${Z.colorError};
2723
+ color: ${Q.colorError};
2669
2724
  }
2670
- `});var Qo,ye,sd,vb,Yo,Re,Ir,ce,ld=p(()=>{"use strict";Qo=u(A()),ye=u(H()),sd=u(gt()),vb=u(jr()),Yo=u(v());Pe();yb();bt();Ht();as();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},Ir=class extends Yo.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Qo.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ir.elementDefinitions={};Re([(0,ye.property)({type:String})],Ir.prototype,"label",void 0);Re([(0,ye.property)({type:Object,converter:t=>t})],Ir.prototype,"value",void 0);Re([(0,ye.property)({type:Boolean,reflect:!0})],Ir.prototype,"selected",void 0);ce=class t extends Yo.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 Qo.html`
2725
+ `});var Qo,ye,sd,Sb,Yo,Re,Lr,ce,ld=p(()=>{"use strict";Qo=u(A()),ye=u(W()),sd=u(gt()),Sb=u(jr()),Yo=u(v());Pe();bb();bt();Ut();ls();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},Lr=class extends Yo.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Qo.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Lr.elementDefinitions={};Re([(0,ye.property)({type:String})],Lr.prototype,"label",void 0);Re([(0,ye.property)({type:Object,converter:t=>t})],Lr.prototype,"value",void 0);Re([(0,ye.property)({type:Boolean,reflect:!0})],Lr.prototype,"selected",void 0);ce=class t extends Yo.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 Qo.html`
2671
2726
  <div class="${(0,sd.classMap)(h)}" part="container">
2672
2727
  <div class="ft-select--main-panel" part="main-panel">
2673
2728
  <ft-input-label text="${this.label}"
@@ -2696,7 +2751,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2696
2751
  part="options"
2697
2752
  @keydown=${this.onOptionsKeyDown}
2698
2753
  innerrole="listbox">
2699
- ${(0,vb.repeat)(this.options,b=>b.value,b=>this.renderOption(b))}
2754
+ ${(0,Sb.repeat)(this.options,b=>b.value,b=>this.renderOption(b))}
2700
2755
  </div>
2701
2756
  </div>
2702
2757
  <slot name="helper" part="helper">
@@ -2718,7 +2773,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2718
2773
  <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
2719
2774
  <span>${e.label}</span>
2720
2775
  </div>
2721
- `}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,Yo.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Z.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,Yo.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":sr,"ft-typography":K,"ft-ripple":V,"ft-icon":fe};ce.searchTimeoutMilliseconds=2e3;ce.styles=[Yr,mr,xb];Re([(0,ye.property)({type:String})],ce.prototype,"label",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"ariaLabel",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"helper",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"outlined",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"disabled",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"error",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);Re([(0,ye.property)({type:Array})],ce.prototype,"options",void 0);Re([(0,ye.state)()],ce.prototype,"selectedOption",void 0);Re([(0,ye.state)()],ce.prototype,"optionsDisplayed",void 0);Re([(0,ye.state)()],ce.prototype,"focusOptions",void 0);Re([(0,ye.state)()],ce.prototype,"currentSearch",void 0);Re([(0,ye.state)()],ce.prototype,"lastSearchInputDate",void 0);Re([(0,ye.query)(".ft-select")],ce.prototype,"container",void 0);Re([(0,ye.query)(".ft-select--options")],ce.prototype,"optionsMenu",void 0);Re([(0,ye.query)(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);Re([(0,ye.query)(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);Re([(0,ye.query)(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);Re([(0,ye.query)(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);Re([(0,ye.query)(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);Re([(0,ye.query)("slot:not([name])")],ce.prototype,"optionsSlot",void 0)});var Sb=p(()=>{"use strict"});var cd,Cb=p(()=>{"use strict";cd=u(v());ld();ld();as();Sb();(0,cd.customElement)("ft-select")(ce);(0,cd.customElement)("ft-select-option")(Ir)});var Ob,lr,Xe,wb,ss=p(()=>{"use strict";Ob=u(A()),lr=u(v()),Xe={display:lr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:lr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:lr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:lr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:lr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:lr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:lr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:lr.FtCssVariableFactory.external(lr.designSystemVariables.borderRadiusM,"Design system")},wb=Ob.css`
2776
+ `}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,Yo.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,Yo.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":sr,"ft-typography":q,"ft-ripple":j,"ft-icon":fe};ce.searchTimeoutMilliseconds=2e3;ce.styles=[Yr,mr,vb];Re([(0,ye.property)({type:String})],ce.prototype,"label",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"ariaLabel",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"helper",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"outlined",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"disabled",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"error",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);Re([(0,ye.property)({type:Array})],ce.prototype,"options",void 0);Re([(0,ye.state)()],ce.prototype,"selectedOption",void 0);Re([(0,ye.state)()],ce.prototype,"optionsDisplayed",void 0);Re([(0,ye.state)()],ce.prototype,"focusOptions",void 0);Re([(0,ye.state)()],ce.prototype,"currentSearch",void 0);Re([(0,ye.state)()],ce.prototype,"lastSearchInputDate",void 0);Re([(0,ye.query)(".ft-select")],ce.prototype,"container",void 0);Re([(0,ye.query)(".ft-select--options")],ce.prototype,"optionsMenu",void 0);Re([(0,ye.query)(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);Re([(0,ye.query)(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);Re([(0,ye.query)(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);Re([(0,ye.query)(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);Re([(0,ye.query)(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);Re([(0,ye.query)("slot:not([name])")],ce.prototype,"optionsSlot",void 0)});var Cb=p(()=>{"use strict"});var cd,Ob=p(()=>{"use strict";cd=u(v());ld();ld();ls();Cb();(0,cd.customElement)("ft-select")(ce);(0,cd.customElement)("ft-select-option")(Lr)});var wb,lr,Xe,Eb,cs=p(()=>{"use strict";wb=u(A()),lr=u(v()),Xe={display:lr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:lr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:lr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:lr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:lr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:lr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:lr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:lr.FtCssVariableFactory.external(lr.designSystemVariables.borderRadiusM,"Design system")},Eb=wb.css`
2722
2777
  :host {
2723
2778
  width: ${Xe.width};
2724
2779
  height: ${Xe.height};
@@ -2745,7 +2800,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2745
2800
  background-position: calc(100vw + ${Xe.glareWidth}) 0, calc(${Xe.glareWidth} * -1) 0;
2746
2801
  }
2747
2802
  }
2748
- `});var M,dd,B,Eb,Rb,ls=p(()=>{"use strict";M=u(v()),dd=u(A());Lo();Bi();as();ss();Fn();Za();Ya();zt();B={height:M.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:M.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",M.designSystemVariables.borderRadiusS),mobileOpenPosition:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:M.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:M.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:M.FtCssVariableFactory.external(M.designSystemVariables.colorSurface,"Design system"),colorOnSurface:M.FtCssVariableFactory.external(M.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:M.FtCssVariableFactory.external(M.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:M.FtCssVariableFactory.external(M.designSystemVariables.colorOutline,"Design system"),colorPrimary:M.FtCssVariableFactory.external(M.designSystemVariables.colorPrimary,"Design system"),elevation02:M.FtCssVariableFactory.external(M.designSystemVariables.elevation02,"Design system"),buttonColor:M.FtCssVariableFactory.external(W.color,"Button"),buttonRippleColor:M.FtCssVariableFactory.external(W.rippleColor,"Button"),activeItemBorderColor:M.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",M.designSystemVariables.colorPrimary)},Eb=dd.css`
2803
+ `});var z,dd,B,Rb,Ab,ds=p(()=>{"use strict";z=u(v()),dd=u(A());Io();Bi();ls();cs();Fn();Qa();Xa();zt();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)},Rb=dd.css`
2749
2804
  * {
2750
2805
  box-sizing: border-box;
2751
2806
  }
@@ -2793,8 +2848,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2793
2848
  }
2794
2849
 
2795
2850
  .ft-search-bar--skeleton {
2796
- ${(0,M.setVariable)(Xe.height,B.height)};
2797
- ${(0,M.setVariable)(Xe.borderRadiusM,B.borderRadius)};
2851
+ ${(0,z.setVariable)(Xe.height,B.height)};
2852
+ ${(0,z.setVariable)(Xe.borderRadiusM,B.borderRadius)};
2798
2853
  }
2799
2854
 
2800
2855
  .ft-search-bar--floating-panel-open .ft-search-bar {
@@ -2848,17 +2903,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2848
2903
  align-items: center;
2849
2904
  height: 100%;
2850
2905
 
2851
- ${(0,M.setVariable)(yr.zIndex,`calc(${B.floatingZIndex} + 1)`)};
2906
+ ${(0,z.setVariable)(yr.zIndex,`calc(${B.floatingZIndex} + 1)`)};
2852
2907
  }
2853
2908
 
2854
2909
  .ft-search-bar > ft-button,
2855
2910
  .ft-search-bar--actions ft-button {
2856
2911
  flex-shrink: 0;
2857
- ${(0,M.setVariable)(W.backgroundColor,"transparent")};
2912
+ ${(0,z.setVariable)(V.backgroundColor,"transparent")};
2858
2913
  }
2859
2914
 
2860
2915
  .ft-search-bar--left-action {
2861
- ${(0,M.setVariable)(W.borderRadius,`calc(${B.borderRadius} - 1px) 0 0 calc(${B.borderRadius} - 1px)`)};
2916
+ ${(0,z.setVariable)(V.borderRadius,`calc(${B.borderRadius} - 1px) 0 0 calc(${B.borderRadius} - 1px)`)};
2862
2917
  border-right: 1px solid ${B.colorOutline};
2863
2918
  height: 100%;
2864
2919
  }
@@ -2868,7 +2923,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2868
2923
  }
2869
2924
 
2870
2925
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2871
- ${(0,M.setVariable)(W.borderRadius,`calc(${B.borderRadius} - 1px) 0 0 0`)};
2926
+ ${(0,z.setVariable)(V.borderRadius,`calc(${B.borderRadius} - 1px) 0 0 0`)};
2872
2927
  }
2873
2928
 
2874
2929
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2882,9 +2937,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2882
2937
  }
2883
2938
 
2884
2939
  .ft-search-bar--left-action.ft-search-bar--content-locale {
2885
- ${(0,M.setVariable)(z.borderColor,"transparent")};
2886
- ${(0,M.setVariable)(z.borderRadius,`calc(${B.borderRadius} - 1px)`)};
2887
- ${(0,M.setVariable)(Z.selectedOptionColor,B.buttonColor)};
2940
+ ${(0,z.setVariable)(U.borderColor,"transparent")};
2941
+ ${(0,z.setVariable)(U.borderRadius,`calc(${B.borderRadius} - 1px)`)};
2942
+ ${(0,z.setVariable)(Q.selectedOptionColor,B.buttonColor)};
2888
2943
  }
2889
2944
 
2890
2945
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -2928,7 +2983,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2928
2983
  flex-shrink: 0;
2929
2984
  padding: 0 10px;
2930
2985
  margin-bottom: 8px;
2931
- ${(0,M.setVariable)(k.fontSize,"14px")};
2986
+ ${(0,z.setVariable)(k.fontSize,"14px")};
2932
2987
  }
2933
2988
 
2934
2989
  [part="content-locale-selector-label"] {
@@ -2936,18 +2991,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2936
2991
  flex-shrink: 1;
2937
2992
  flex-grow: 1;
2938
2993
  word-break: break-word;
2939
- ${(0,M.setVariable)(k.lineHeight,"22px")};
2940
- ${(0,M.setVariable)(k.fontWeight,"bold")};
2994
+ ${(0,z.setVariable)(k.lineHeight,"22px")};
2995
+ ${(0,z.setVariable)(k.fontWeight,"bold")};
2941
2996
  }
2942
2997
 
2943
- `,Rb=dd.css`
2998
+ `,Ab=dd.css`
2944
2999
  .ft-search-bar--presets {
2945
3000
  min-width: 200px;
2946
3001
  }
2947
3002
 
2948
3003
  .ft-search-bar--desktop-menu .ft-search-bar--presets {
2949
3004
  margin-right: auto;
2950
- ${(0,M.setVariable)(Z.optionsZIndex,"2")};
3005
+ ${(0,z.setVariable)(Q.optionsZIndex,"2")};
2951
3006
  }
2952
3007
 
2953
3008
  .ft-search-bar--desktop-menu {
@@ -3001,7 +3056,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3001
3056
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
3002
3057
  display: block;
3003
3058
  height: ${B.desktopFiltersHeight};
3004
- ${(0,M.setVariable)(ut.gap,"16px")};
3059
+ ${(0,z.setVariable)(ut.gap,"16px")};
3005
3060
  }
3006
3061
 
3007
3062
  .ft-search-bar--desktop-menu ft-filter {
@@ -3101,16 +3156,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3101
3156
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3102
3157
  margin: 0;
3103
3158
  }
3104
- `});var Ab,Ib,go,pd=p(()=>{"use strict";Ab=u(A()),Ib=u(v());ss();go=class extends Ib.FtLitElement{render(){return Ab.html`
3105
- `}};go.elementDefinitions={};go.styles=wb});var Lb=p(()=>{"use strict"});var kb,$b=p(()=>{"use strict";kb=u(v());pd();pd();ss();Lb();(0,kb.customElement)("ft-skeleton")(go)});var Lr,ud,Di,kr,cs=p(()=>{"use strict";Lr=u(A()),ud=u(jr());Ht();Di=u(v());ls();bt();kr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new Di.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Lr.html`
3159
+ `});var Lb,Ib,go,pd=p(()=>{"use strict";Lb=u(A()),Ib=u(v());cs();go=class extends Ib.FtLitElement{render(){return Lb.html`
3160
+ `}};go.elementDefinitions={};go.styles=Eb});var kb=p(()=>{"use strict"});var $b,Tb=p(()=>{"use strict";$b=u(v());pd();pd();cs();kb();(0,$b.customElement)("ft-skeleton")(go)});var Ir,ud,Di,kr,ps=p(()=>{"use strict";Ir=u(A()),ud=u(jr());Ut();Di=u(v());ds();bt();kr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new Di.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Ir.html`
3106
3161
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3107
3162
  id="${this.listboxId}"
3108
3163
  role="listbox"
3109
3164
  aria-label="${this.searchBar.labelResolver.resolve("suggestionsAriaLabel")}"
3110
3165
  part="suggestions-container">
3111
- ${(0,ud.repeat)(e.slice(0,5),r=>r,(r,i)=>Lr.html`
3166
+ ${(0,ud.repeat)(e.slice(0,5),r=>r,(r,i)=>Ir.html`
3112
3167
  <div part="suggestion-container"
3113
- class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Lr.nothing}>
3168
+ class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Ir.nothing}>
3114
3169
  <a href="${this.getRequestWithQuery(r)}"
3115
3170
  part="suggestions"
3116
3171
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
@@ -3137,9 +3192,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3137
3192
  </ft-button>
3138
3193
  </div>
3139
3194
  `)}
3140
- ${(0,ud.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Lr.html`
3195
+ ${(0,ud.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Ir.html`
3141
3196
  <div part="suggestion-container"
3142
- class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Lr.nothing}>
3197
+ class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Ir.nothing}>
3143
3198
  <a href="${this.getRequestWithQuery(r.value)}"
3144
3199
  part="suggestions"
3145
3200
  class="ft-search-bar--suggestion"
@@ -3155,9 +3210,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3155
3210
  </div>
3156
3211
  `)}
3157
3212
  </div>
3158
- `}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"?Ve.file_format:Ve.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?St.BOOK:St.ARTICLE;break;case"DOCUMENT":i=Kn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=St.TOPICS;break}return Lr.html`
3213
+ `}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"?Ve.file_format:Ve.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?St.BOOK:St.ARTICLE;break;case"DOCUMENT":i=Kn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=St.TOPICS;break}return Ir.html`
3159
3214
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3160
- `}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()))}};kr.styles=[Di.wordWrap,Lr.css`
3215
+ `}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()))}};kr.styles=[Di.wordWrap,Ir.css`
3161
3216
  .ft-search-bar--mobile .ft-search-bar--suggestions {
3162
3217
  flex-grow: 1;
3163
3218
  flex-shrink: 1;
@@ -3247,7 +3302,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3247
3302
  ft-ripple {
3248
3303
  ${(0,Di.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3249
3304
  }
3250
- `]});var ft,fd,ds,$r,ps=p(()=>{"use strict";ft=u(A()),fd=u(jr());Oc();ds=u(v());Qa();Xc();$r=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ft.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=ft.html`
3305
+ `]});var ft,fd,us,$r,fs=p(()=>{"use strict";ft=u(A()),fd=u(jr());wc();us=u(v());Ya();Xc();$r=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ft.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=ft.html`
3251
3306
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?ft.html`
3252
3307
  <ft-chip part="selected-filters selected-filter-ft-locale"
3253
3308
  ?dense=${this.searchBar.dense&&!e}
@@ -3258,7 +3313,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3258
3313
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3259
3314
  </ft-chip>
3260
3315
  `:null}
3261
- ${(0,fd.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ty(n);return(0,fd.repeat)(a,s=>{let c=n.label+": "+Xg(s),f=n.key.replace(":","-"),h=ft.html`
3316
+ ${(0,fd.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=ry(n);return(0,fd.repeat)(a,s=>{let c=n.label+": "+Jg(s),f=n.key.replace(":","-"),h=ft.html`
3262
3317
  <ft-chip
3263
3318
  part="selected-filters selected-filter-${f}"
3264
3319
  ?dense=${this.searchBar.dense&&!e}
@@ -3271,7 +3326,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3271
3326
  @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(b=>b!==s))}
3272
3327
  data-key="${n.key}"
3273
3328
  data-value="${s}">
3274
- ${Yg(s)}
3329
+ ${Xg(s)}
3275
3330
  </ft-chip>
3276
3331
  `;return r?h:ft.html`
3277
3332
  <ft-tooltip inline text="${c}">
@@ -3308,7 +3363,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3308
3363
 
3309
3364
  ft-snap-scroll.ft-search-bar--selected-filters {
3310
3365
  overflow: hidden;
3311
- ${(0,ds.setVariable)(ut.gap,"4px")};
3366
+ ${(0,us.setVariable)(ut.gap,"4px")};
3312
3367
  }
3313
3368
 
3314
3369
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -3316,8 +3371,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3316
3371
  }
3317
3372
 
3318
3373
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
3319
- ${(0,ds.setVariable)(at.iconSize,"17px")};
3320
- ${(0,ds.setVariable)(at.fontSize,"12px")};
3374
+ ${(0,us.setVariable)(at.iconSize,"17px")};
3375
+ ${(0,us.setVariable)(at.fontSize,"12px")};
3321
3376
  }
3322
3377
 
3323
3378
  .ft-search-bar--selected-filters * {
@@ -3327,8 +3382,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3327
3382
  .ft-search-bar--selected-filters ft-chip {
3328
3383
  flex-grow: 0;
3329
3384
  }
3330
- `});var cr,Tb,En,Pb=p(()=>{"use strict";cr=u(A());ps();cs();Tb=u(gt()),En=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new kr(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 cr.html`
3331
- <div class="${(0,Tb.classMap)(r)}" part="container" tabindex="-1">
3385
+ `});var cr,Pb,En,_b=p(()=>{"use strict";cr=u(A());fs();ps();Pb=u(gt()),En=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new kr(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 cr.html`
3386
+ <div class="${(0,Pb.classMap)(r)}" part="container" tabindex="-1">
3332
3387
  <div class="ft-search-bar" role="search">
3333
3388
  <div class="ft-search-bar--input-container" part="input-container">
3334
3389
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -3386,8 +3441,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3386
3441
  </div>
3387
3442
  `}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}};En.styles=cr.css`
3388
3443
 
3389
- `});var ht,_b,Nb,Rn,Bb=p(()=>{"use strict";ht=u(A()),_b=u(jr());ps();cs();Nb=u(gt()),Rn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new kr(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 ht.html`
3390
- <div class="${(0,Nb.classMap)(r)}" part="container" tabindex="-1">
3444
+ `});var ht,Nb,Bb,Rn,Db=p(()=>{"use strict";ht=u(A()),Nb=u(jr());fs();ps();Bb=u(gt()),Rn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new $r(e),this.suggestManager=i??new kr(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 ht.html`
3445
+ <div class="${(0,Bb.classMap)(r)}" part="container" tabindex="-1">
3391
3446
  <div class="ft-search-bar" part="search-bar" role="search">
3392
3447
  ${this.renderSearchBarLeftAction()}
3393
3448
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -3434,7 +3489,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3434
3489
  ariaLabel="${this.searchBar.labelResolver.resolve("selectLocale")}"
3435
3490
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
3436
3491
  @change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
3437
- ${(0,_b.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>ht.html`
3492
+ ${(0,Nb.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>ht.html`
3438
3493
  <ft-select-option .value=${e.lang}
3439
3494
  label="${e.label}"
3440
3495
  ?selected=${e.lang==this.searchBar.contentLocale}>
@@ -3465,7 +3520,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3465
3520
  </div>
3466
3521
  `}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)}};Rn.styles=ht.css`
3467
3522
 
3468
- `});var le,Y,An,be,Q,Db,hd,b0,F,md=p(()=>{"use strict";le=u(A()),Y=u(H()),An=u(jr()),be=u(v());Qg();Pe();Oc();By();Ht();Ky();tr();Xc();Cb();Qa();jn();bt();ls();$b();cs();ps();Pb();Bb();$c();Cr();Q=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");Db={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"},hd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},b0=()=>{},F=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(Db,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new be.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Zt.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 kr(this),this.selectedFacetsManager=new $r(this),this.desktopSearchBarManager=new Rn(this),this.mobileSearchBarManager=new En(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===Zt.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`
3523
+ `});var le,X,An,be,Y,Fb,hd,x0,M,md=p(()=>{"use strict";le=u(A()),X=u(W()),An=u(jr()),be=u(v());Yg();Pe();wc();Dy();Ut();qy();tr();Xc();Ob();Ya();jn();bt();ds();Tb();ps();fs();_b();Db();Tc();Cr();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");Fb={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"},hd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},x0=()=>{},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(Fb,{}),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 kr(this),this.selectedFacetsManager=new $r(this),this.desktopSearchBarManager=new Rn(this),this.mobileSearchBarManager=new En(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`
3469
3524
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3470
3525
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3471
3526
  ${this.renderLiveText()}
@@ -3493,7 +3548,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3493
3548
  </div>
3494
3549
  </ft-accordion-item>
3495
3550
  `:null}
3496
- ${(0,An.repeat)(this.facets,r=>r.key,r=>{let i=Cc(r),n=r.key.replace(":","-"),a=ey(i);return r.rootNodes.length>0?le.html`
3551
+ ${(0,An.repeat)(this.facets,r=>r.key,r=>{let i=Oc(r),n=r.key.replace(":","-"),a=ty(i);return r.rootNodes.length>0?le.html`
3497
3552
  <ft-accordion-item data-facet-key="${r.key}">
3498
3553
  <div class="ft-search-bar--filter-label" slot="toggle">
3499
3554
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -3586,7 +3641,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3586
3641
  ${this.getContentLocaleRadioGroup()}
3587
3642
  </div>
3588
3643
  `:le.nothing}
3589
- ${(0,An.repeat)(this.facets,e=>e.key,e=>{let r=Cc(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`
3644
+ ${(0,An.repeat)(this.facets,e=>e.key,e=>{let r=Oc(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`
3590
3645
  <ft-filter
3591
3646
  class="${i?"ft-search-bar--hierarchical-filter":""}"
3592
3647
  part="filters filter filter-${n}"
@@ -3605,14 +3660,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3605
3660
  ></ft-filter>
3606
3661
  `})}
3607
3662
  </ft-snap-scroll>
3608
- `: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(Db,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=>Ga(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 hd(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(b0)),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(),_.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),_.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`
3663
+ `: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(Fb,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=>Ka(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 hd(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(x0)),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(),_.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),_.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`
3609
3664
  <div class="ft-search-bar--floating-panel"
3610
3665
  id="ft-search-bar-floating-panel"
3611
3666
  @keyup=${this.onFloatingContainerKeyUp}
3612
3667
  part="floating-panel"
3613
3668
  tabindex="-1">
3614
3669
  ${this.renderDesktopMenu()}
3615
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};F.elementDefinitions={"ft-accordion":Ar,"ft-accordion-item":Qt,"ft-button":Ie,"ft-chip":Te,"ft-filter":ae,"ft-filter-option":Bt,"ft-icon":fe,"ft-ripple":V,"ft-select":ce,"ft-select-option":Ir,"ft-size-watcher":Tt,"ft-skeleton":go,"ft-snap-scroll":De,"ft-tooltip":Ce,"ft-typography":K,"ft-radio-group":Et,"ft-radio":We};F.styles=[Yr,be.noTextInputDefaultClearButton,Eb,Rb,$r.styles,kr.styles,be.screenReaderStyles];Q([(0,Y.property)({type:Boolean})],F.prototype,"dense",void 0);Q([(0,Y.property)()],F.prototype,"mode",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"forceMobileMenuOpen",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"forceMenuOpen",void 0);Q([(0,Y.property)()],F.prototype,"baseUrl",void 0);Q([(0,Y.property)()],F.prototype,"apiIntegrationIdentifier",void 0);Q([(0,Y.property)()],F.prototype,"contentLocale",void 0);Q([(0,Y.state)()],F.prototype,"availableContentLocales",void 0);Q([(0,Y.state)()],F.prototype,"availableContentLocalesInitialized",void 0);Q([(0,Y.property)()],F.prototype,"uiLocale",void 0);Q([(0,be.jsonProperty)({})],F.prototype,"labels",void 0);Q([(0,be.jsonProperty)([])],F.prototype,"displayedFilters",void 0);Q([(0,be.jsonProperty)([])],F.prototype,"presets",void 0);Q([(0,Y.property)({type:String,reflect:!0})],F.prototype,"selectedPreset",void 0);Q([(0,be.jsonProperty)([])],F.prototype,"priors",void 0);Q([(0,Y.property)()],F.prototype,"searchRequestSerializer",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"focusOnDisplay",void 0);Q([(0,Y.state)()],F.prototype,"metadataFilters",void 0);Q([(0,Y.state)()],F.prototype,"sizeCategory",void 0);Q([(0,Y.state)()],F.prototype,"displayFacets",void 0);Q([(0,Y.state)()],F.prototype,"mobileMenuOpen",void 0);Q([(0,Y.state)()],F.prototype,"facets",void 0);Q([(0,Y.state)()],F.prototype,"facetsInitialized",void 0);Q([(0,Y.query)(".ft-search-bar--container")],F.prototype,"container",void 0);Q([(0,Y.query)(".ft-search-bar--filters-opener")],F.prototype,"filtersOpener",void 0);Q([(0,Y.query)(".ft-search-bar--floating-panel")],F.prototype,"floatingContainer",void 0);Q([(0,Y.query)("ft-snap-scroll.ft-search-bar--filters-container")],F.prototype,"scrollingFiltersContainer",void 0);Q([(0,Y.query)(".ft-search-bar--input")],F.prototype,"input",void 0);Q([(0,Y.query)(".ft-search-bar--launch-search")],F.prototype,"launchSearchButton",void 0);Q([(0,Y.state)()],F.prototype,"query",void 0);Q([(0,Y.state)()],F.prototype,"suggestions",void 0);Q([(0,Y.state)()],F.prototype,"recentSearches",void 0);Q([(0,Y.state)()],F.prototype,"scrollToFacet",void 0);Q([(0,Y.state)()],F.prototype,"api",void 0);Q([(0,Y.state)()],F.prototype,"displaySuggestListbox",void 0);Q([(0,Y.state)()],F.prototype,"selectedSuggestOptionId",void 0);Q([(0,Y.state)()],F.prototype,"selectedSuggestRemoveRecent",void 0);Q([(0,Y.state)()],F.prototype,"facetsLoaded",void 0)});var Fb=p(()=>{"use strict"});var Mb,zb=p(()=>{"use strict";Mb=u(v());md();md();ls();Fb();(0,Mb.customElement)("ft-search-bar")(F)});var Ub,Hb,Wb,Vb=p(()=>{"use strict";Ub=u(A());nn();Hb=u(v());bt();zb();Wb=Ub.css`
3670
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};M.elementDefinitions={"ft-accordion":Ar,"ft-accordion-item":Zt,"ft-button":Ie,"ft-chip":Te,"ft-filter":ae,"ft-filter-option":Bt,"ft-icon":fe,"ft-ripple":j,"ft-select":ce,"ft-select-option":Lr,"ft-size-watcher":Tt,"ft-skeleton":go,"ft-snap-scroll":De,"ft-tooltip":Ce,"ft-typography":q,"ft-radio-group":Et,"ft-radio":We};M.styles=[Yr,be.noTextInputDefaultClearButton,Rb,Ab,$r.styles,kr.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 Mb=p(()=>{"use strict"});var zb,Ub=p(()=>{"use strict";zb=u(v());md();md();ds();Mb();(0,zb.customElement)("ft-search-bar")(M)});var Hb,Wb,Vb,jb=p(()=>{"use strict";Hb=u(A());nn();Wb=u(v());bt();Ub();Vb=Hb.css`
3616
3671
  * {
3617
3672
  box-sizing: border-box;
3618
3673
  }
@@ -3659,15 +3714,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3659
3714
  }
3660
3715
 
3661
3716
  ft-ripple {
3662
- ${(0,Hb.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3717
+ ${(0,Wb.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3663
3718
  }
3664
- `});var jb,Fi,Gb,yo,Kb=p(()=>{"use strict";jb=u(v()),Fi=u(A());Vb();Gb=u(jr());Ht();bt();Pe();Cr();gc();yo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Wr.get();return Fi.html`
3719
+ `});var Gb,Fi,Kb,yo,qb=p(()=>{"use strict";Gb=u(v()),Fi=u(A());jb();Kb=u(jr());Ut();bt();Pe();Cr();yc();yo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Wr.get();return Fi.html`
3665
3720
  <div class="ft-search-input-suggestion ft-word-wrap"
3666
3721
  id="${this.listboxId}"
3667
3722
  role="listbox"
3668
3723
  aria-label="${po.messages.suggestionsLabel()}"
3669
3724
  part="container">
3670
- ${(0,Gb.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3725
+ ${(0,Kb.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3671
3726
  </div>
3672
3727
  `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=Fi.html`
3673
3728
  <ft-ripple ?activated=${this.ftSearchInput.selectedSuggestOptionId===n}></ft-ripple>
@@ -3697,8 +3752,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3697
3752
  </div>
3698
3753
  `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Ve.file_format:Ve.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?St.BOOK:St.ARTICLE;break;case"DOCUMENT":i=Kn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=St.TOPICS;break}return Fi.html`
3699
3754
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3700
- `}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)}};yo.elementDefinitions={"ft-ripple":V,"ft-typography":K,"ft-icon":fe};yo.styles=[jb.wordWrap,Wb]});var Xo,bo,pr,qb,dr,Ge,gd=p(()=>{"use strict";Xo=u(A()),bo=u(v());nn();Wo();wr();gc();pr=u(H()),qb=u(gt());Kb();tr();Pe();Cr();dr=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},Ge=class extends Gt(Kt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new yo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(po)}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=Wr.get().serializeToCurrentPageIfPossible(a,s);return Xo.html`
3701
- <div class="${(0,qb.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3755
+ `}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)}};yo.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":fe};yo.styles=[Gb.wordWrap,Vb]});var Xo,bo,pr,Zb,dr,Ge,gd=p(()=>{"use strict";Xo=u(A()),bo=u(v());nn();Wo();wr();yc();pr=u(W()),Zb=u(gt());qb();tr();Pe();Cr();dr=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},Ge=class extends jt(Gt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new yo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(po)}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=Wr.get().serializeToCurrentPageIfPossible(a,s);return Xo.html`
3756
+ <div class="${(0,Zb.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3702
3757
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3703
3758
  <div class="ft-search-input--input-outline" part="input-outline">
3704
3759
  <input class="ft-search-input--input ft-typography--body2"
@@ -3744,59 +3799,59 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3744
3799
  ></ft-button>
3745
3800
  </div>
3746
3801
  </div>
3747
- `}renderLiveText(){return this.shouldDisplaySuggestions?po.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(""):Xo.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)}};Ge.elementDefinitions={"ft-button":Ie,...yo.elementDefinitions};Ge.styles=[Yr,bo.noTextInputDefaultClearButton,cl,...yo.styles,bo.screenReaderStyles];dr([(0,bo.redux)()],Ge.prototype,"request",void 0);dr([(0,bo.redux)()],Ge.prototype,"liveQuery",void 0);dr([(0,bo.redux)()],Ge.prototype,"suggestResults",void 0);dr([(0,pr.state)()],Ge.prototype,"forceCloseSuggestion",void 0);dr([(0,pr.state)()],Ge.prototype,"displaySuggestListbox",void 0);dr([(0,pr.state)()],Ge.prototype,"selectedSuggestOptionId",void 0);dr([(0,pr.property)()],Ge.prototype,"launchSearchPath",void 0);dr([(0,pr.property)({type:Boolean})],Ge.prototype,"useCustomSearchPath",void 0);dr([(0,pr.property)({type:Boolean})],Ge.prototype,"triggerSearchOnClear",void 0);dr([(0,pr.query)(".ft-search-input--input")],Ge.prototype,"input",void 0);dr([(0,pr.query)('[part="launch-search-in-input"]')],Ge.prototype,"launchSearchButton",void 0)});var Zb=p(()=>{"use strict"});var Yb={};Ro(Yb,{FtSearchInput:()=>Ge,FtSearchInputCssVariables:()=>he,styles:()=>cl});var Qb,Xb=p(()=>{"use strict";Qb=u(v());gd();nn();Zb();gd();(0,Qb.customElement)("ft-search-input")(Ge)});var Jb,x0,yd,bd=p(()=>{"use strict";Jb=u(A()),x0={},yd=Jb.css`
3748
- `});var xd,ex=p(()=>{"use strict";wr();xd=Or.fromGwt("designedActionBlockAriaLabels")});var us,vd,tx,Zr,Sd=p(()=>{"use strict";us=u(A()),vd=u(v());bd();tr();Wo();wr();ex();tx=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 Gt(Kt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(xd)}render(){return this.isLastPage?us.nothing:us.html`
3802
+ `}renderLiveText(){return this.shouldDisplaySuggestions?po.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(""):Xo.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)}};Ge.elementDefinitions={"ft-button":Ie,...yo.elementDefinitions};Ge.styles=[Yr,bo.noTextInputDefaultClearButton,pl,...yo.styles,bo.screenReaderStyles];dr([(0,bo.redux)()],Ge.prototype,"request",void 0);dr([(0,bo.redux)()],Ge.prototype,"liveQuery",void 0);dr([(0,bo.redux)()],Ge.prototype,"suggestResults",void 0);dr([(0,pr.state)()],Ge.prototype,"forceCloseSuggestion",void 0);dr([(0,pr.state)()],Ge.prototype,"displaySuggestListbox",void 0);dr([(0,pr.state)()],Ge.prototype,"selectedSuggestOptionId",void 0);dr([(0,pr.property)()],Ge.prototype,"launchSearchPath",void 0);dr([(0,pr.property)({type:Boolean})],Ge.prototype,"useCustomSearchPath",void 0);dr([(0,pr.property)({type:Boolean})],Ge.prototype,"triggerSearchOnClear",void 0);dr([(0,pr.query)(".ft-search-input--input")],Ge.prototype,"input",void 0);dr([(0,pr.query)('[part="launch-search-in-input"]')],Ge.prototype,"launchSearchButton",void 0)});var Qb=p(()=>{"use strict"});var Xb={};Ro(Xb,{FtSearchInput:()=>Ge,FtSearchInputCssVariables:()=>he,styles:()=>pl});var Yb,Jb=p(()=>{"use strict";Yb=u(v());gd();nn();Qb();gd();(0,Yb.customElement)("ft-search-input")(Ge)});var ex,v0,yd,bd=p(()=>{"use strict";ex=u(A()),v0={},yd=ex.css`
3803
+ `});var xd,tx=p(()=>{"use strict";wr();xd=Or.fromGwt("designedActionBlockAriaLabels")});var hs,vd,rx,Zr,Sd=p(()=>{"use strict";hs=u(A()),vd=u(v());bd();tr();Wo();wr();tx();rx=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 jt(Gt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(xd)}render(){return this.isLastPage?hs.nothing:hs.html`
3749
3804
  <ft-button @click="${this.loadMore}">
3750
3805
  ${xd.messages.searchPageLoadMore()}
3751
3806
  </ft-button>
3752
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Zr.elementDefinitions={"ft-button":Ie};Zr.styles=yd;tx([(0,vd.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}})],Zr.prototype,"currentPage",void 0);tx([(0,vd.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}})],Zr.prototype,"isLastPage",void 0)});var rx=p(()=>{"use strict"});var ix={};Ro(ix,{FtSearchLoadMoreButton:()=>Zr,FtSearchLoadMoreButtonCssVariables:()=>x0,styles:()=>yd});var ox,nx=p(()=>{"use strict";ox=u(v());Sd();bd();rx();Sd();(0,ox.customElement)("ft-search-load-more-button")(Zr)});function v0(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[Cd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Cd]):this.dispatchEvent(new Od)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Cd,fs([(0,In.property)({attribute:!1})],r.prototype,"cluster",void 0),fs([(0,In.property)({attribute:!1})],r.prototype,"result",void 0),fs([(0,In.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),fs([(0,In.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var In,fs,Od,Cd,Mi,wd=p(()=>{"use strict";Wo();In=u(H()),fs=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},Od=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Cd=Symbol("registerInterval");Mi=class extends v0(Kt){}});var Ed,ax,Jo,Rd=p(()=>{"use strict";Ed=u(A());wd();Xn();ax=u(Gn());Pe();Jo=class extends Mi{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Ed.html`
3753
- <ft-typography variant="body1" part="text">${(0,ax.unsafeHTML)(e)}</ft-typography>
3807
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Zr.elementDefinitions={"ft-button":Ie};Zr.styles=yd;rx([(0,vd.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}})],Zr.prototype,"currentPage",void 0);rx([(0,vd.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}})],Zr.prototype,"isLastPage",void 0)});var ox=p(()=>{"use strict"});var nx={};Ro(nx,{FtSearchLoadMoreButton:()=>Zr,FtSearchLoadMoreButtonCssVariables:()=>v0,styles:()=>yd});var ix,ax=p(()=>{"use strict";ix=u(v());Sd();bd();ox();Sd();(0,ix.customElement)("ft-search-load-more-button")(Zr)});function S0(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[Cd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Cd]):this.dispatchEvent(new Od)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Cd,ms([(0,Ln.property)({attribute:!1})],r.prototype,"cluster",void 0),ms([(0,Ln.property)({attribute:!1})],r.prototype,"result",void 0),ms([(0,Ln.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),ms([(0,Ln.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var Ln,ms,Od,Cd,Mi,wd=p(()=>{"use strict";Wo();Ln=u(W()),ms=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},Od=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Cd=Symbol("registerInterval");Mi=class extends S0(Gt){}});var Ed,sx,Jo,Rd=p(()=>{"use strict";Ed=u(A());wd();Xn();sx=u(Gn());Pe();Jo=class extends Mi{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Ed.html`
3808
+ <ft-typography variant="body1" part="text">${(0,sx.unsafeHTML)(e)}</ft-typography>
3754
3809
  `:Ed.html`
3755
3810
  <style>
3756
3811
  :host {
3757
3812
  display: none !important;
3758
3813
  }
3759
3814
  </style>
3760
- `}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"))}};Jo.elementDefinitions={"ft-typography":K};Jo.styles=dl});var sx=p(()=>{"use strict"});var cx={};Ro(cx,{FtSearchResultAbstract:()=>Jo,FtSearchResultAbstractCssVariables:()=>Yn,styles:()=>dl});var lx,Ad=p(()=>{"use strict";lx=u(v());Rd();Xn();sx();Rd();(0,lx.customElement)("ft-search-result-abstract")(Jo)});var Ln,dx,px,S0,xo,Id=p(()=>{"use strict";Ln=u(A()),dx=u(H());wd();ea();Pe();px=u(Gn());ac();lc();S0=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},xo=class extends Mi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():Ln.html`
3761
- <a href="${Da(this.result)}"
3815
+ `}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"))}};Jo.elementDefinitions={"ft-typography":q};Jo.styles=ul});var lx=p(()=>{"use strict"});var dx={};Ro(dx,{FtSearchResultAbstract:()=>Jo,FtSearchResultAbstractCssVariables:()=>Yn,styles:()=>ul});var cx,Ad=p(()=>{"use strict";cx=u(v());Rd();Xn();lx();Rd();(0,cx.customElement)("ft-search-result-abstract")(Jo)});var In,px,ux,C0,xo,Ld=p(()=>{"use strict";In=u(A()),px=u(W());wd();ea();Pe();ux=u(Gn());sc();cc();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 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},xo=class extends Mi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():In.html`
3816
+ <a href="${Fa(this.result)}"
3762
3817
  @click=${this.onResultClick}
3763
3818
  @auxclick=${r=>this.onAuxClick(r)}
3764
3819
  @contextmenu=${this.onContextMenu}
3765
- target="${Eg(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3820
+ target="${Rg(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3766
3821
  part="link">
3767
3822
  ${this.renderTitle()}
3768
3823
  </a>
3769
- `:Ln.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return Ln.html`
3770
- <ft-typography variant="title" part="text">${(0,px.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3771
- `}onResultClick(){this.dispatchEvent(new Ai(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Ii(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"})}};xo.elementDefinitions={"ft-typography":K};xo.styles=pl;S0([(0,dx.property)({type:Boolean})],xo.prototype,"withoutLink",void 0)});var ux=p(()=>{"use strict"});var hx={};Ro(hx,{FtSearchResultTitle:()=>xo,FtSearchResultTitleCssVariables:()=>Jn,styles:()=>pl});var fx,Ld=p(()=>{"use strict";fx=u(v());Id();ea();ux();Id();(0,fx.customElement)("ft-search-result-title")(xo)});var mx,C0,kd,$d=p(()=>{"use strict";mx=u(A()),C0={},kd=mx.css`
3824
+ `:In.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return In.html`
3825
+ <ft-typography variant="title" part="text">${(0,ux.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3826
+ `}onResultClick(){this.dispatchEvent(new Ai(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Li(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"})}};xo.elementDefinitions={"ft-typography":q};xo.styles=fl;C0([(0,px.property)({type:Boolean})],xo.prototype,"withoutLink",void 0)});var fx=p(()=>{"use strict"});var mx={};Ro(mx,{FtSearchResultTitle:()=>xo,FtSearchResultTitleCssVariables:()=>Jn,styles:()=>fl});var hx,Id=p(()=>{"use strict";hx=u(v());Ld();ea();fx();Ld();(0,hx.customElement)("ft-search-result-title")(xo)});var gx,O0,kd,$d=p(()=>{"use strict";gx=u(A()),O0={},kd=gx.css`
3772
3827
  [part="no-results-message"] {
3773
3828
  text-align: center;
3774
3829
  padding: 12px;
3775
3830
  }
3776
- `});var gx,yx,Td=p(()=>{"use strict";gx=u(A()),yx=gx.css`
3831
+ `});var yx,bx,Td=p(()=>{"use strict";yx=u(A()),bx=yx.css`
3777
3832
  a {
3778
3833
  color: inherit;
3779
3834
  text-decoration: inherit;
3780
3835
  }
3781
- `});var hs,bx=p(()=>{"use strict";hs=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 xx,zi,vx,ms,Pd,Tr,_d=p(()=>{"use strict";xx=u(A()),zi=u(H()),vx=u(v());Td();bx();ms=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},Pd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Tr=class extends vx.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new hs(e=>this.onResultSelected(e))}render(){return xx.html`
3836
+ `});var gs,xx=p(()=>{"use strict";gs=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 vx,zi,Sx,ys,Pd,Tr,_d=p(()=>{"use strict";vx=u(A()),zi=u(W()),Sx=u(v());Td();xx();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},Pd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Tr=class extends Sx.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new gs(e=>this.onResultSelected(e))}render(){return vx.html`
3782
3837
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3783
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Pd(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()}};Tr.elementDefinitions={};Tr.styles=yx;ms([(0,zi.property)({attribute:!1})],Tr.prototype,"cluster",void 0);ms([(0,zi.property)({attribute:!1,type:Boolean})],Tr.prototype,"openResultInNewTab",void 0);ms([(0,zi.state)()],Tr.prototype,"result",void 0);ms([(0,zi.property)()],Tr.prototype,"index",void 0)});var Sx=p(()=>{"use strict"});var Cx,Ox=p(()=>{"use strict";Cx=u(v());_d();Td();Sx();_d();(0,Cx.customElement)("ft-search-result-context")(Tr)});var Ui,wx,Nd=p(()=>{"use strict";wr();Ui=Or.build("searchResultsNumber"),wx={results:"{0} results","results[\\=1]":"1 result"}});var gs,Ex,ys,vo,ei,Dt,Bd=p(()=>{"use strict";gs=u(A()),Ex=u(jr()),ys=u(H()),vo=u(v());$d();Wo();Ox();Ld();Ad();wr();Nd();ei=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},Dt=class extends Gt(Kt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>gs.html`
3838
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Pd(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()}};Tr.elementDefinitions={};Tr.styles=bx;ys([(0,zi.property)({attribute:!1})],Tr.prototype,"cluster",void 0);ys([(0,zi.property)({attribute:!1,type:Boolean})],Tr.prototype,"openResultInNewTab",void 0);ys([(0,zi.state)()],Tr.prototype,"result",void 0);ys([(0,zi.property)()],Tr.prototype,"index",void 0)});var Cx=p(()=>{"use strict"});var Ox,wx=p(()=>{"use strict";Ox=u(v());_d();Td();Cx();_d();(0,Ox.customElement)("ft-search-result-context")(Tr)});var Ui,Ex,Nd=p(()=>{"use strict";wr();Ui=Or.build("searchResultsNumber"),Ex={results:"{0} results","results[\\=1]":"1 result"}});var bs,Rx,xs,vo,ei,Dt,Bd=p(()=>{"use strict";bs=u(A()),Rx=u(jr()),xs=u(W()),vo=u(v());$d();Wo();wx();Id();Ad();wr();Nd();ei=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},Dt=class extends jt(Gt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>bs.html`
3784
3839
  <ft-search-result-title></ft-search-result-title>
3785
3840
  <ft-search-result-abstract></ft-search-result-abstract>
3786
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Ui)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return gs.html`
3841
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Ui)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return bs.html`
3787
3842
  <ft-typography part="no-results-message" variant="body1">${Ui.messages.results(0)}</ft-typography>
3788
- `;let e=this.buildClusters();return(0,Ex.repeat)(e,r=>r.id,(r,i)=>{var n;return gs.html`
3843
+ `;let e=this.buildClusters();return(0,Rx.repeat)(e,r=>r.id,(r,i)=>{var n;return bs.html`
3789
3844
  <ft-search-result-context .cluster=${r} index="${i}"
3790
3845
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
3791
3846
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],i)}
3792
3847
  </ft-search-result-context>
3793
- `})}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&&vo.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}};Dt.styles=kd;ei([(0,ys.property)({type:String,attribute:"cluster-policy"})],Dt.prototype,"clusterPolicy",void 0);ei([(0,ys.property)({type:Boolean})],Dt.prototype,"displayNoResultsMessage",void 0);ei([(0,ys.property)({attribute:!1})],Dt.prototype,"renderResult",void 0);ei([(0,vo.jsonProperty)([])],Dt.prototype,"clusterSortCriterion",void 0);ei([(0,vo.redux)({selector:t=>({...t.request,paging:void 0})})],Dt.prototype,"requestWithoutPaging",void 0);ei([(0,vo.redux)({selector:t=>t.request.paging})],Dt.prototype,"paging",void 0);ei([(0,vo.redux)()],Dt.prototype,"results",void 0)});var Rx=p(()=>{"use strict"});var Ix={};Ro(Ix,{FtSearchResults:()=>Dt,FtSearchResultsCssVariables:()=>C0,styles:()=>kd});var Ax,Lx=p(()=>{"use strict";Ax=u(v());Bd();$d();Rx();Bd();(0,Ax.customElement)("ft-search-results")(Dt)});var kx,O0,Dd,Fd=p(()=>{"use strict";kx=u(A()),O0={},Dd=kx.css`
3848
+ `})}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&&vo.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}};Dt.styles=kd;ei([(0,xs.property)({type:String,attribute:"cluster-policy"})],Dt.prototype,"clusterPolicy",void 0);ei([(0,xs.property)({type:Boolean})],Dt.prototype,"displayNoResultsMessage",void 0);ei([(0,xs.property)({attribute:!1})],Dt.prototype,"renderResult",void 0);ei([(0,vo.jsonProperty)([])],Dt.prototype,"clusterSortCriterion",void 0);ei([(0,vo.redux)({selector:t=>({...t.request,paging:void 0})})],Dt.prototype,"requestWithoutPaging",void 0);ei([(0,vo.redux)({selector:t=>t.request.paging})],Dt.prototype,"paging",void 0);ei([(0,vo.redux)()],Dt.prototype,"results",void 0)});var Ax=p(()=>{"use strict"});var Ix={};Ro(Ix,{FtSearchResults:()=>Dt,FtSearchResultsCssVariables:()=>O0,styles:()=>kd});var Lx,kx=p(()=>{"use strict";Lx=u(v());Bd();$d();Ax();Bd();(0,Lx.customElement)("ft-search-results")(Dt)});var $x,w0,Dd,Fd=p(()=>{"use strict";$x=u(A()),w0={},Dd=$x.css`
3794
3849
 
3795
- `});var bs,$x,w0,So,Md=p(()=>{"use strict";bs=u(A()),$x=u(v());Fd();Wo();wr();Nd();Pe();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},So=class extends Gt(Kt){constructor(){super(),this.addI18nContext(Ui,wx)}render(){return this.paging==null?bs.nothing:bs.html`
3850
+ `});var vs,Tx,E0,So,Md=p(()=>{"use strict";vs=u(A()),Tx=u(v());Fd();Wo();wr();Nd();Pe();E0=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},So=class extends jt(Gt){constructor(){super(),this.addI18nContext(Ui,Ex)}render(){return this.paging==null?vs.nothing:vs.html`
3796
3851
  <ft-typography variant="body1">
3797
3852
  ${Ui.messages.results(this.paging.totalClustersCount)}
3798
3853
  </ft-typography>
3799
- `}};So.elementDefinitions={"ft-typography":K};So.styles=Dd;w0([(0,$x.redux)()],So.prototype,"paging",void 0)});var Tx=p(()=>{"use strict"});var _x={};Ro(_x,{FtSearchResultsNumber:()=>So,FtSearchResultsNumberCssVariables:()=>O0,styles:()=>Dd});var Px,Nx=p(()=>{"use strict";Px=u(v());Md();Fd();Tx();Md();(0,Px.customElement)("ft-search-results-number")(So)});var Bx=u(v());var Ft=u(A()),zd=u(v());var ul=u(A()),N=u(v());var Yd=u(A()),ne=u(v());Pr();var de={padding:ne.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ne.FtCssVariableFactory.extend("--ft-card-border-radius","",ne.designSystemVariables.borderRadiusM),borderStyle:ne.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ne.FtCssVariableFactory.extend("--ft-card-border-color","",ne.designSystemVariables.colorOutline),hoverBorderColor:ne.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ne.designSystemVariables.colorPrimary),outlineStyle:ne.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ne.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ne.FtCssVariableFactory.extend("--ft-card-outline-color","",ne.designSystemVariables.colorPrimary),selectedOutlineStyle:ne.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ne.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ne.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ne.designSystemVariables.colorPrimary),selectedBorderRadius:ne.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ne.designSystemVariables.borderRadiusM),colorSurface:ne.FtCssVariableFactory.extend("--ft-card-background-color","",ne.designSystemVariables.colorSurface),colorOnSurfaceMedium:ne.FtCssVariableFactory.extend("--ft-card-content-color","",ne.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ne.FtCssVariableFactory.extend("--ft-card-title-color","",ne.designSystemVariables.colorOnSurfaceHigh),elevation02:ne.FtCssVariableFactory.extend("--ft-card-elevation","",ne.designSystemVariables.elevation02),elevation04:ne.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ne.designSystemVariables.elevation04)},Xd=Yd.css`
3854
+ `}};So.elementDefinitions={"ft-typography":q};So.styles=Dd;E0([(0,Tx.redux)()],So.prototype,"paging",void 0)});var Px=p(()=>{"use strict"});var Nx={};Ro(Nx,{FtSearchResultsNumber:()=>So,FtSearchResultsNumberCssVariables:()=>w0,styles:()=>Dd});var _x,Bx=p(()=>{"use strict";_x=u(v());Md();Fd();Px();Md();(0,_x.customElement)("ft-search-results-number")(So)});var Dx=u(v());var Ft=u(A()),zd=u(v());var hl=u(A()),N=u(v());var Yd=u(A()),ne=u(v());Pr();var de={padding:ne.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ne.FtCssVariableFactory.extend("--ft-card-border-radius","",ne.designSystemVariables.borderRadiusM),borderStyle:ne.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ne.FtCssVariableFactory.extend("--ft-card-border-color","",ne.designSystemVariables.colorOutline),hoverBorderColor:ne.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ne.designSystemVariables.colorPrimary),outlineStyle:ne.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ne.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ne.FtCssVariableFactory.extend("--ft-card-outline-color","",ne.designSystemVariables.colorPrimary),selectedOutlineStyle:ne.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ne.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ne.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ne.designSystemVariables.colorPrimary),selectedBorderRadius:ne.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ne.designSystemVariables.borderRadiusM),colorSurface:ne.FtCssVariableFactory.extend("--ft-card-background-color","",ne.designSystemVariables.colorSurface),colorOnSurfaceMedium:ne.FtCssVariableFactory.extend("--ft-card-content-color","",ne.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ne.FtCssVariableFactory.extend("--ft-card-title-color","",ne.designSystemVariables.colorOnSurfaceHigh),elevation02:ne.FtCssVariableFactory.extend("--ft-card-elevation","",ne.designSystemVariables.elevation02),elevation04:ne.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ne.designSystemVariables.elevation04)},Xd=Yd.css`
3800
3855
  :host {
3801
3856
  display: block;
3802
3857
  }
@@ -3885,7 +3940,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3885
3940
  #action {
3886
3941
  grid-area: actions;
3887
3942
  }
3888
- `;nn();Xn();Pr();ea();var et={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)},Qf=ul.css`
3943
+ `;nn();Xn();Pr();ea();var et={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)},Qf=hl.css`
3889
3944
  .ft-search-in-doc--container {
3890
3945
  display: flex;
3891
3946
  flex-direction: column;
@@ -3911,7 +3966,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3911
3966
  ft-search-load-more-button {
3912
3967
  margin: auto;
3913
3968
  }
3914
- `,Yf=ul.css`
3969
+ `,Yf=hl.css`
3915
3970
  ft-card {
3916
3971
  margin-bottom: 8px;
3917
3972
  ${(0,N.setVariable)(de.elevation04,"none")};
@@ -3952,8 +4007,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3952
4007
  text-decoration: none;
3953
4008
  color: inherit;
3954
4009
  }
3955
- `;wr();var xg=u(v()),vg=u(H());var yg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(yg||(yg={}));var bg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(bg||(bg={}));var 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},nc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ic=Symbol("registerInterval");function u0(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[ic]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ic]):this.dispatchEvent(new nc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ic,p0([(0,vg.state)()],r.prototype,"stateManager",void 0),r}var Ba=class extends u0(xg.FtLitElementRedux){};var Oo=u(H());ac();var Fa=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};wr();var sc=Or.build("designedReaderSearchInDocument");var Ig=u(v());var bn=u(A()),Ho=u(H()),Rg=u(v());bt();Pe();var Ag=u(gt()),Ri=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},Ot=class extends Rg.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 bn.html`
3956
- <div id="container" part="container" class=${(0,Ag.classMap)(e)}>
4010
+ `;wr();var vg=u(v()),Sg=u(W());var bg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(bg||(bg={}));var xg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(xg||(xg={}));var u0=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},ac=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},nc=Symbol("registerInterval");function f0(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[nc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[nc]):this.dispatchEvent(new ac)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=nc,u0([(0,Sg.state)()],r.prototype,"stateManager",void 0),r}var Da=class extends f0(vg.FtLitElementRedux){};var Oo=u(W());sc();var Ma=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};wr();var lc=Or.build("designedReaderSearchInDocument");var Ig=u(v());var bn=u(A()),Ho=u(W()),Ag=u(v());bt();Pe();var Lg=u(gt()),Ri=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},Ot=class extends Ag.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 bn.html`
4011
+ <div id="container" part="container" class=${(0,Lg.classMap)(e)}>
3957
4012
  ${this.clickable?bn.html`
3958
4013
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
3959
4014
  `:bn.nothing}
@@ -3970,9 +4025,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3970
4025
  </ft-typography>
3971
4026
  </div>
3972
4027
  </div>
3973
- `}};Ot.elementDefinitions={"ft-ripple":V,"ft-typography":K};Ot.styles=Xd;Ri([(0,Ho.property)()],Ot.prototype,"title",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"clickable",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"selected",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"noHeader",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"noContent",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"oneLineHeader",void 0);(0,Ig.customElement)("ft-card")(Ot);lc();var Co=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},It=class t extends Gt(Ba){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(sc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Ft.html`
4028
+ `}};Ot.elementDefinitions={"ft-ripple":j,"ft-typography":q};Ot.styles=Xd;Ri([(0,Ho.property)()],Ot.prototype,"title",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"clickable",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"selected",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"noHeader",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"noContent",void 0);Ri([(0,Ho.property)({type:Boolean})],Ot.prototype,"oneLineHeader",void 0);(0,Ig.customElement)("ft-card")(Ot);cc();var Co=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},Lt=class t extends jt(Da){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(lc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Ft.html`
3974
4029
  <style> ${Yf}</style>
3975
- <a href="${Da(e)}" @click="${()=>this.onLinkClick(e,r)}"
4030
+ <a href="${Fa(e)}" @click="${()=>this.onLinkClick(e,r)}"
3976
4031
  @auxclick="${n=>this.onAuxClick(n,e,r)}"
3977
4032
  @contextmenu="${()=>this.onContextMenu(e,r)}">
3978
4033
  <ft-card clickable noheader>
@@ -3988,16 +4043,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3988
4043
  </div>
3989
4044
  </ft-card>
3990
4045
  </a>
3991
- `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new Ii(e,r))}render(){return this.map?Ft.html`
4046
+ `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new Li(e,r))}render(){return this.map?Ft.html`
3992
4047
  <ft-search-context id="${this.uniqueId}"
3993
4048
  contentLocale="${this.map.lang}"
3994
4049
  query="${this.searchInDocumentQuery}"
3995
4050
  .filters=${this.filters}
3996
4051
  scope="ALL_TOPICS"
3997
4052
  ignoreEmptyQuery
3998
- @ft-search-results-change=${e=>{var r,i;this.userHasDoneManualAction&&(this.dispatchEvent(new Fa({mapId:this.map.id,mapTitle:this.map.title,metadata:(i=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&i!==void 0?i:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
4053
+ @ft-search-results-change=${e=>{var r,i;this.userHasDoneManualAction&&(this.dispatchEvent(new Ma({mapId:this.map.id,mapTitle:this.map.title,metadata:(i=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&i!==void 0?i:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
3999
4054
  <div class="ft-search-in-doc--container">
4000
- <ft-search-input placeholder=${sc.messages.placeholder()}
4055
+ <ft-search-input placeholder=${lc.messages.placeholder()}
4001
4056
  ?triggerSearchOnClear=${this.emptyResultOnClear}
4002
4057
  @change="${e=>{var r;this.userHasDoneManualAction=!0,(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
4003
4058
  ${this.hideResultsNumber?Ft.nothing:Ft.html`
@@ -4012,7 +4067,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4012
4067
  </slot>
4013
4068
  </div>
4014
4069
  </ft-search-context>
4015
- `:Ft.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new Ai(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Vg(),Wg)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Xb(),Yb)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(nx(),ix)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Ad(),cx)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Ld(),hx)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Lx(),Ix)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Nx(),_x)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};It.elementDefinitions={"ft-card":Ot};It.styles=Qf;Co([(0,zd.redux)()],It.prototype,"map",void 0);Co([(0,zd.redux)()],It.prototype,"searchInDocumentQuery",void 0);Co([(0,Oo.query)("ft-search-results")],It.prototype,"searchResults",void 0);Co([(0,Oo.property)({type:Boolean})],It.prototype,"hideResultTitle",void 0);Co([(0,Oo.property)({type:Boolean})],It.prototype,"hideResultBreadcrumb",void 0);Co([(0,Oo.property)({type:Boolean})],It.prototype,"hideResultAbstract",void 0);Co([(0,Oo.property)({type:Boolean})],It.prototype,"hideResultsNumber",void 0);Co([(0,Oo.property)({type:Boolean})],It.prototype,"emptyResultOnClear",void 0);(0,Bx.customElement)("ft-reader-search-in-document")(It);})();
4070
+ `:Ft.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new Ai(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(jg(),Vg)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Jb(),Xb)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(ax(),nx)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Ad(),dx)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Id(),mx)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(kx(),Ix)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Bx(),Nx)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Lt.elementDefinitions={"ft-card":Ot};Lt.styles=Qf;Co([(0,zd.redux)()],Lt.prototype,"map",void 0);Co([(0,zd.redux)()],Lt.prototype,"searchInDocumentQuery",void 0);Co([(0,Oo.query)("ft-search-results")],Lt.prototype,"searchResults",void 0);Co([(0,Oo.property)({type:Boolean})],Lt.prototype,"hideResultTitle",void 0);Co([(0,Oo.property)({type:Boolean})],Lt.prototype,"hideResultBreadcrumb",void 0);Co([(0,Oo.property)({type:Boolean})],Lt.prototype,"hideResultAbstract",void 0);Co([(0,Oo.property)({type:Boolean})],Lt.prototype,"hideResultsNumber",void 0);Co([(0,Oo.property)({type:Boolean})],Lt.prototype,"emptyResultOnClear",void 0);(0,Dx.customElement)("ft-reader-search-in-document")(Lt);})();
4016
4071
  /*! Bundled license information:
4017
4072
 
4018
4073
  lit-html/lit-html.js: